Forums » Linux
Can't set audio driver!
Greetings!
I installed Vendetta as a user without root-privileges into my home-directory. All works fine except the sound. My soundcard (soundblaster live) works fine with those "OSS"-Drivers. It is compiled into the kernel and DEBIAN also uses them. Also the audio-rights are set for the user. But in Vendetta, i can not set the audio drivers to "OSS". The message "Can't set audio driver!" appears in the console. At least, i must apologize for my english.
If more information is neccessary, just ask them.
Thanks,
Sascha
I installed Vendetta as a user without root-privileges into my home-directory. All works fine except the sound. My soundcard (soundblaster live) works fine with those "OSS"-Drivers. It is compiled into the kernel and DEBIAN also uses them. Also the audio-rights are set for the user. But in Vendetta, i can not set the audio drivers to "OSS". The message "Can't set audio driver!" appears in the console. At least, i must apologize for my english.
If more information is neccessary, just ask them.
Thanks,
Sascha
Could you give the output of these commands:
lsof | grep dsp
lsof | grep snd
cat /proc/asound/version
lsof | grep dsp
lsof | grep snd
cat /proc/asound/version
bash: lsof: command not found
cat: /proc/asound/version: Datei oder Verzeichnis nicht gefunden
^<< means: not found
cat: /proc/asound/version: Datei oder Verzeichnis nicht gefunden
^<< means: not found
Get lsof!
And don't use translations, only use English. Much easier to find errors with google.
The not found proc file is ok. Looking if you really have OSS and not ALSA.
And don't use translations, only use English. Much easier to find errors with google.
The not found proc file is ok. Looking if you really have OSS and not ALSA.
linux:~# lsof | grep dsp
xmms 1595 schaekel 9w CHR 14,3 5251 /dev/dsp
gconfd-2 1730 schaekel mem REG 3,1 11112 21146 /usr/lib/libartsdsp.so.0.0.0
firefox-b 2003 schaekel mem REG 3,1 11112 21146 /usr/lib/libartsdsp.so.0.0.0
linux:~# lsof | grep snd
linux:~#
About translation: I dont think it will failure because of that ;-).
xmms 1595 schaekel 9w CHR 14,3 5251 /dev/dsp
gconfd-2 1730 schaekel mem REG 3,1 11112 21146 /usr/lib/libartsdsp.so.0.0.0
firefox-b 2003 schaekel mem REG 3,1 11112 21146 /usr/lib/libartsdsp.so.0.0.0
linux:~# lsof | grep snd
linux:~#
About translation: I dont think it will failure because of that ;-).
No, translation are not the problem. But you shouldn't use them.
Close down XMMS and try again. You also want to close down ARTS. Do this with 'kconfig'.
Close down XMMS and try again. You also want to close down ARTS. Do this with 'kconfig'.
linux:~# kconfig
bash: kconfig: command not found
linux:~# apt-get install kconfig
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut... Fertig
E: Konnte Paket kconfig nicht finden
linux:~# apt-cache search kconfig
libsnack2-dev - Snack development files
linux:~#
would be too much work to throw out those translations ;). He just can not find any package.
bash: kconfig: command not found
linux:~# apt-get install kconfig
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut... Fertig
E: Konnte Paket kconfig nicht finden
linux:~# apt-cache search kconfig
libsnack2-dev - Snack development files
linux:~#
would be too much work to throw out those translations ;). He just can not find any package.
To trow out those translations for just one command you set the gloval var LANG. Like this:
LANG=en_US command
And I made a mistake, it's not kconfig but kcontrol. And you do it as normal user. Not as root.
You stop ARTS and XMMS. Make sure 'lsof | grep dsp' is not showing anything anymore.
LANG=en_US command
And I made a mistake, it's not kconfig but kcontrol. And you do it as normal user. Not as root.
You stop ARTS and XMMS. Make sure 'lsof | grep dsp' is not showing anything anymore.
He's not using ALSA. That thread won't help.
it has nothing to do with what he's using, but where he changes it, so that thread has all the info he'll need.
I have the same issue as you, I'm using Slackware Linux with only OSS drivers and have sound blaster live!. Everything is set good but OSS drivers of vendetta is not working.
Cheers!
Cheers!
I have the same problem with Debian (Unstable) as a workaround I do this:
After the game loads up and verifys the files:
cd ~/.vendetta/drivers
rm -rf gkalsa.so
ln -s osssound.so gkalsa.so
This will force it to use teh OSS driver which works fine..
NOTICE after you shutdown the game and startup again it will redownload the file gkalsa.so so you will have to do this everytime you want to play.
hope this helps...
After the game loads up and verifys the files:
cd ~/.vendetta/drivers
rm -rf gkalsa.so
ln -s osssound.so gkalsa.so
This will force it to use teh OSS driver which works fine..
NOTICE after you shutdown the game and startup again it will redownload the file gkalsa.so so you will have to do this everytime you want to play.
hope this helps...
And I thought I think complicated... *sheesh* you can just edit your config.ini to use the oss driver.
Quoteth a1k0n:
The only way to get it back to OSS (right now) is to edit config.ini and change this line:
AudioDriver=Open Sound System driver
http://www.vendetta-online.com/x/msgboard/6/5923
Quoteth a1k0n:
The only way to get it back to OSS (right now) is to edit config.ini and change this line:
AudioDriver=Open Sound System driver
http://www.vendetta-online.com/x/msgboard/6/5923
I had same problem as others in this thread: I don't use ALSA and I get the following error:
ALSA lib pcm.c:1908:(snd_pcm_open_noupdate) Unknown PCM default
cannot open audio device default (No such file or directory)
which makes sense except for the fact that I took your suggestion and put the line in Config.ini, AudioDriver=Open Sound System driver. I still get the same error.
ALSA lib pcm.c:1908:(snd_pcm_open_noupdate) Unknown PCM default
cannot open audio device default (No such file or directory)
which makes sense except for the fact that I took your suggestion and put the line in Config.ini, AudioDriver=Open Sound System driver. I still get the same error.
man i am a goof; I literally put AudioDriver=Open Sound System driver in config file when u need to put Audiodriver=osssound.so
problem fixed! thanks mr_spuck and a1c0n for the original post
problem fixed! thanks mr_spuck and a1c0n for the original post
"Audiodriver=osssound.so" works? weird. You are supposed to literally add "AudioDriver=Open Sound System driver". Anyway, I should probably make the ALSA driver smarter about falling back to OSS so we can avoid this whole issue.