You are not logged in.
Pages: 1
Hello,
zsnes/supertux/tuxracer (SDL?) all give distorted sound. There are no problems with alsa/arts. OSS doesn't work at all (busy). I think this problem started with the latest alsa upgrade.
Also, I am now able to hear multiple streams at once (now also without arts).
Does anyone else also have problems with games/SDL? I have an Acer TravelMate 4501 with a i855GM chipset. (snd_intel8x0).
Offline
Have you tried "killall artsd" before running SDL games?
Offline
it's an issue with recent alsa-lib 1.0.9, and SDL is compiled with --disable-alsa, try recompiling with alsa and check what happens
Offline
Sorry for hijacking old thread,
I'm having the same (?) or at least a very similiar
problem right now.
Using znes 1.50-1 and sdl 1.2.11-1 and don't have arts
Anyone know what might cause these distortions?
Offline
Using znes 1.50-1 and sdl 1.2.11-1 and don't have arts
Anyone know what might cause these distortions?
The default sample rate in zsnes is quite low (32 kHz) and some sound cards have trouble with that. I would try setting the sample rate in zsnes to a value that matches the rate of your card (usually 44.1 kHz or 48 kHz).
Offline
have you tried playing the SDL_AUDIODRIVER environment variable?
(you may not have these drivers enabled depending on how it was compiled, i don't know if stock arch sdl has alsa support but it's enabled in abs by default..)
try one of the following before starting an sdl app
export SDL_AUDIODRIVER=alsa
export SDL_AUDIODRIVER=dsp
export SDL_AUDIODRIVER=dma
Offline
okay, changed to 44.1 and set SDL_AUDIODRIVER=dma , and it worked almost perfectly
thank you guys. How can you live without your good ol' snes ?
now just one more thing, would it be a good idea to set sdl_audiodriver to dma at boot time?
And then where should I best do it, rc.conf?
Offline
Putting it in a user startup script should be fine. I have it in my ~/.xinitrc.
Offline
Sorry for bumping again but i have this issue too.
Stuttering and distortion occurs at any sampling rate.
Changing SDL_AUDIODRIVER= Environment variable doesn't help.
When it is set to dsp or dma i have no sound at all.
Zsnes has the '-ad' switch to choose an audio driver, again no success.
Current sdl PKGBUILD from ABS compiles sdl with --alsa-enabled, so alsa should work.
Any idea how to fix this ?
Last edited by randomguy (2007-06-19 18:14:33)
Offline
For me it helped to edit the config file ~/.zsnes/zsnesl.cfg
In the sound section:
; libAO driver to use. Use zsnes --help to see valid list.
; However "auto" (to automatically pick best one), and "sdl" should
; always be available.
libAoDriver="auto"
change this to
libAoDriver="sdl"
EDIT:
...well, sound is still out of sync.
Last edited by Doc Angelo (2008-01-24 22:04:50)
Offline
Pages: 1