Crackling noise in all games on linux

Ask for help with ScummVM problems

Moderator: ScummVM Team

Post Reply
mosdl
Posts: 7
Joined: Wed Jun 04, 2008 1:16 am

Crackling noise in all games on linux

Post by mosdl »

Running scummvm 0.12 on linux (Fedora core 10) and both Dig and Fate of Atlantis have constant crackling noise while there is music. If I turn down the music volume to 0, no more crackling. Same happens during speech.

Any ideas? Haven't found anything on these forums that sounds similar.

thanks!
User avatar
bobdevis
Posts: 567
Joined: Fri Jan 16, 2009 10:52 am

Post by bobdevis »

-Does this happen with any other programs that make sound?
-Are you running Gnome or KDE?
-If you open a console and type "ps -A" do you see something called "pulseaudio" anywhere?
-Where did you get your ScummVM? From the Fedora package manager or from somewhere else (like this site)?
mosdl
Posts: 7
Joined: Wed Jun 04, 2008 1:16 am

Post by mosdl »

bobdevis wrote:-Does this happen with any other programs that make sound?
-Are you running Gnome or KDE?
-If you open a console and type "ps -A" do you see something called "pulseaudio" anywhere?
-Where did you get your ScummVM? From the Fedora package manager or from somewhere else (like this site)?
It only happens with ScummVM and am running Gnome.

Pulseaudio does indeed show up and I used the rpm available from scummvm.org (32 bit).
User avatar
bobdevis
Posts: 567
Joined: Fri Jan 16, 2009 10:52 am

Post by bobdevis »

Here is something you can try;

- Make use no program is making sound and then kill pulseaudio with "killall pulseaudio" in the console and then start ScummVM.
(To get the audio back to normal, do a ctrl-alt-backspace to reset Gnome (or reboot, or start pulseaudio again in a console))

or

Remove your installed ScummVM and get the one from Fedora.
It is here:
https://admin.fedoraproject.org/pkgdb/s ... ND/scummvm
mosdl
Posts: 7
Joined: Wed Jun 04, 2008 1:16 am

Post by mosdl »

Looks like both versions (official and the fedora core one) start pulseaudio by themselves. So after killing it, it is restarted. Killing it while scummvm runs means no sound during the game.

So the problem persists.
mosdl
Posts: 7
Joined: Wed Jun 04, 2008 1:16 am

Post by mosdl »

Turns out there is a bug report on this already:
https://bugzilla.redhat.com/show_bug.cgi?id=478523

Not sure why killing pulseaudio didn't work for me, but setting export SDL_AUDIODRIVER=alsa seems to have fixed it.
User avatar
bobdevis
Posts: 567
Joined: Fri Jan 16, 2009 10:52 am

Post by bobdevis »

Ah cool so it was pulse-related :)
User avatar
MeddlingMonk
Posts: 221
Joined: Wed Jan 21, 2009 10:06 pm

Post by MeddlingMonk »

Looks like the problem is actually on the SDL side of things (which explains why Exult, Pentagram and other things which all use SDL have crackling sound in Fedora 10). A bug report was submitted in the SDL bug tracker a few days ago about it (see: http://bugzilla.libsdl.org/show_bug.cgi?id=698 if interested).
Post Reply