Author Topic: Issues with sound on Ubuntu linux  (Read 107 times)

andyburn

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Issues with sound on Ubuntu linux
« on: December 03, 2019, 12:15:34 AM »
I have been porting CoinOPS Next  Arcade Edition to Ubuntu Linux Bionic.
I have everything working fine in mame - bezels, screen effects etc
Theres just one thing left to fix.

When RetroFE boots, and the videos play, there is garbled sound.
This appears to be the sound muting and muting, or increasing and decreasing 10+ times per second.

I have run this on different machines with Intel/AMD processors and Nvidia/Radeon video cards.
I thought it might be the new animated volume, so I disabled all of those in layout.xml - didn't work  still garbled sound.

If I disable the <reloadableVideo imagetype screenshot statements, then the initial video plays, sounds fine,
  but now of course I have no video in the game previews.

I'm thinking that there may be a bug in the SDL sound implementation.
My other conversions of Attract Mode all work fine.
I just like retroFE and CoinOPS better :)

Would anyone have any ideas?
I have attached a video to show what happens.

Many Thanks,
Andy :o

« Last Edit: December 03, 2019, 12:18:03 AM by andyburn »

BritneysPAIRS

  • Newbie
  • *
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Re: Issues with sound on Ubuntu linux
« Reply #1 on: December 03, 2019, 09:47:09 AM »
It's prob the double video layout..that isn't in  arcadia 4 arcade edition. Did you port mame with the src patchs as well.....

I'd be interested to catch with you on the discord


BritneysPAIRS

  • Newbie
  • *
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Re: Issues with sound on Ubuntu linux
« Reply #2 on: December 03, 2019, 09:52:55 AM »
Also new patch Pieter made for next doesn't use double video layout statements....i can help on this stuff and it's something alot would love...for sure if it also did arcadia 4 as it's alot faster for arcade sorting

andyburn

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Issues with sound on Ubuntu linux
« Reply #3 on: December 04, 2019, 04:07:43 AM »
Also new patch Pieter made for next doesn't use double video layout statements....i can help on this stuff and it's something alot would love...for sure if it also did arcadia 4 as it's alot faster for arcade sorting

I will do some digging into the layout from Arcadia 4 to see the differences.
Mame was just compiled from source as per the Mamedev site with some ini tweaks (glsl) to get the look I was after.
Thanks for the offer of help, it is appreciated  :D

Andy

BritneysPAIRS

  • Newbie
  • *
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Re: Issues with sound on Ubuntu linux
« Reply #4 on: December 04, 2019, 06:42:53 AM »
OK but its already sorted on discord and being tested

andyburn

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Issues with sound on Ubuntu linux
« Reply #5 on: December 04, 2019, 07:25:15 AM »
Would you have link for Discord please?
I'd like to check it out.

Thanks!

BritneysPAIRS

  • Newbie
  • *
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Re: Issues with sound on Ubuntu linux
« Reply #6 on: December 04, 2019, 08:33:18 AM »
Discord Invite for “The CoinOPS Project”: https://discord.gg/YnWPefM

andyburn

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Issues with sound on Ubuntu linux
« Reply #7 on: December 04, 2019, 01:03:03 PM »
Awesome, thanks so much!
I will let you know on Discord how I get on :)

Andy

andyburn

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Issues with sound on Ubuntu linux
« Reply #8 on: December 05, 2019, 02:10:13 AM »
I applied the patch from Discord.
Here is the devel version starting in the attached video
Now to transfer it to a cabinet and get playing :)
I apologize for the bad camera work in advance...

Thanks so much for the help with the sound issue!

Andy
« Last Edit: December 05, 2019, 02:12:09 AM by andyburn »

BritneysPAIRS

  • Newbie
  • *
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Re: Issues with sound on Ubuntu linux
« Reply #9 on: December 05, 2019, 10:27:44 AM »
No worries Pieter did the heavy lifting

Pieter Hulshoff

  • Administrator
  • Hero Member
  • *****
  • Posts: 1145
  • Karma: +19/-0
    • View Profile
    • Towel 42
Re: Issues with sound on Ubuntu linux
« Reply #10 on: December 05, 2019, 04:35:36 PM »
Looks good. :)