RetroFE forums

General Category => General Discussion & Help => Topic started by: andyburn on December 03, 2019, 12:15:34 AM

Title: Issues with sound on Ubuntu linux
Post by: andyburn 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

Title: Re: Issues with sound on Ubuntu linux
Post by: BritneysPAIRS 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

Title: Re: Issues with sound on Ubuntu linux
Post by: BritneysPAIRS 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
Title: Re: Issues with sound on Ubuntu linux
Post by: andyburn 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
Title: Re: Issues with sound on Ubuntu linux
Post by: BritneysPAIRS on December 04, 2019, 06:42:53 AM
OK but its already sorted on discord and being tested
Title: Re: Issues with sound on Ubuntu linux
Post by: andyburn on December 04, 2019, 07:25:15 AM
Would you have link for Discord please?
I'd like to check it out.

Thanks!
Title: Re: Issues with sound on Ubuntu linux
Post by: BritneysPAIRS on December 04, 2019, 08:33:18 AM
Discord Invite for “The CoinOPS Project”: https://discord.gg/YnWPefM
Title: Re: Issues with sound on Ubuntu linux
Post by: andyburn on December 04, 2019, 01:03:03 PM
Awesome, thanks so much!
I will let you know on Discord how I get on :)

Andy
Title: Re: Issues with sound on Ubuntu linux
Post by: andyburn 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
Title: Re: Issues with sound on Ubuntu linux
Post by: BritneysPAIRS on December 05, 2019, 10:27:44 AM
No worries Pieter did the heavy lifting
Title: Re: Issues with sound on Ubuntu linux
Post by: Pieter Hulshoff on December 05, 2019, 04:35:36 PM
Looks good. :)