Forums » Linux
Sound does not work
Okay I hate to be a pain in the ass,but a bunch of shit like this is why I gave up early on Linux the first time:
The sound for VO has never worked on this install on this OS, LinuxMint 11, based on Ubuntu 11.04.
The following is info. that looks like it matters:
HDA NVidia Sound Card
MCP51 High Definition Audio (Presario V6133CL)
PCI
HP Pavilion dv6000 (RG266UA#ABA) (version Rev 1)
2 gigs ram
.
Any ideas? I like to hear the 'splosions.
The sound for VO has never worked on this install on this OS, LinuxMint 11, based on Ubuntu 11.04.
The following is info. that looks like it matters:
HDA NVidia Sound Card
MCP51 High Definition Audio (Presario V6133CL)
PCI
HP Pavilion dv6000 (RG266UA#ABA) (version Rev 1)
2 gigs ram
.
Any ideas? I like to hear the 'splosions.
Do you have OpenAL installed? If not, install it.
I assume sound works in general, just not in VO? Doublecheck that - might just be muted or something. (I have seriously dealt with people who were spazzing out trying to install new drivers and crap when the problem was just that they had it muted).
If at this point it still doesn't work, check the in-game audio settings. Of course, make sure the in-game volumes are up, and see if there is a driver or soundcard setting in VO that could be changed.
Those are my ideas so far.
I assume sound works in general, just not in VO? Doublecheck that - might just be muted or something. (I have seriously dealt with people who were spazzing out trying to install new drivers and crap when the problem was just that they had it muted).
If at this point it still doesn't work, check the in-game audio settings. Of course, make sure the in-game volumes are up, and see if there is a driver or soundcard setting in VO that could be changed.
Those are my ideas so far.
Yeah, I tried all the "obvious" solutions, and they are not always obvious!
As for OpenAL, I have installed it ( I think), run the cmake and built it, as per it's instructions. The backends look good too.
I still gots no sound though.
I really do appreciate the help, thanks again.
As for OpenAL, I have installed it ( I think), run the cmake and built it, as per it's instructions. The backends look good too.
I still gots no sound though.
I really do appreciate the help, thanks again.
If you see files named "libopenal.so" (possibly with numbers at the end) in /usr/lib or /usr/local/lib, then it is installed.
Try checking VO's error file for clues: ~/.vendetta/errors.log
Try checking VO's error file for clues: ~/.vendetta/errors.log
Since when did VO need OpenAL?
Anyways, what shows up if you run 'aplay -L' ?
Anyways, what shows up if you run 'aplay -L' ?
Erm, I guess it doesn't. I must have been thinking of Vegastrike.
aplay -L:
default
Playback/recording through the PulseAudio sound server
pulse
Playback/recording through the PulseAudio sound server
front:CARD=NVidia,DEV=0
HDA NVidia, CONEXANT Analog
Front speakers
surround40:CARD=NVidia,DEV=0
HDA NVidia, CONEXANT Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=NVidia,DEV=0
HDA NVidia, CONEXANT Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=NVidia,DEV=0
HDA NVidia, CONEXANT Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=NVidia,DEV=0
HDA NVidia, CONEXANT Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=NVidia,DEV=0
HDA NVidia, CONEXANT Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=NVidia,DEV=0
HDA NVidia, Conexant Digital
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=NVidia,DEV=0
HDA NVidia, CONEXANT Analog
Direct sample mixing device
dmix:CARD=NVidia,DEV=1
HDA NVidia, Conexant Digital
Direct sample mixing device
dsnoop:CARD=NVidia,DEV=0
HDA NVidia, CONEXANT Analog
Direct sample snooping device
dsnoop:CARD=NVidia,DEV=1
HDA NVidia, Conexant Digital
Direct sample snooping device
hw:CARD=NVidia,DEV=0
HDA NVidia, CONEXANT Analog
Direct hardware device without any conversions
hw:CARD=NVidia,DEV=1
HDA NVidia, Conexant Digital
Direct hardware device without any conversions
plughw:CARD=NVidia,DEV=0
HDA NVidia, CONEXANT Analog
Hardware device with all software conversions
plughw:CARD=NVidia,DEV=1
HDA NVidia, Conexant Digital
Hardware device with all software conversions
Thanks, ARF
default
Playback/recording through the PulseAudio sound server
pulse
Playback/recording through the PulseAudio sound server
front:CARD=NVidia,DEV=0
HDA NVidia, CONEXANT Analog
Front speakers
surround40:CARD=NVidia,DEV=0
HDA NVidia, CONEXANT Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=NVidia,DEV=0
HDA NVidia, CONEXANT Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=NVidia,DEV=0
HDA NVidia, CONEXANT Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=NVidia,DEV=0
HDA NVidia, CONEXANT Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=NVidia,DEV=0
HDA NVidia, CONEXANT Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=NVidia,DEV=0
HDA NVidia, Conexant Digital
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=NVidia,DEV=0
HDA NVidia, CONEXANT Analog
Direct sample mixing device
dmix:CARD=NVidia,DEV=1
HDA NVidia, Conexant Digital
Direct sample mixing device
dsnoop:CARD=NVidia,DEV=0
HDA NVidia, CONEXANT Analog
Direct sample snooping device
dsnoop:CARD=NVidia,DEV=1
HDA NVidia, Conexant Digital
Direct sample snooping device
hw:CARD=NVidia,DEV=0
HDA NVidia, CONEXANT Analog
Direct hardware device without any conversions
hw:CARD=NVidia,DEV=1
HDA NVidia, Conexant Digital
Direct hardware device without any conversions
plughw:CARD=NVidia,DEV=0
HDA NVidia, CONEXANT Analog
Hardware device with all software conversions
plughw:CARD=NVidia,DEV=1
HDA NVidia, Conexant Digital
Hardware device with all software conversions
Thanks, ARF
Stark,
check your errors.log file and see if VO logs anything that indicates which ALSA device it's trying to use. It might be goofed up somehow and using the wrong one.
There might also be something involved with PulseAudio that's getting in the way, since it emulates an ALSA device. I cant help you much with that one though, i don't use PulseAudio.
check your errors.log file and see if VO logs anything that indicates which ALSA device it's trying to use. It might be goofed up somehow and using the wrong one.
There might also be something involved with PulseAudio that's getting in the way, since it emulates an ALSA device. I cant help you much with that one though, i don't use PulseAudio.
okay, this part of the errors.log caught my eye, especially the ninth line:
Tue Sep 27 21:26:06 2011] Found driver: "Open Sound System driver". Type 1, Version 10.1. Load @0x095fc8c0
[Tue Sep 27 21:26:06 2011] Instantiate address: 0xa84210
[Tue Sep 27 21:26:06 2011] Found driver: "OpenGL Reference GKGL driver". Type 5, Version 88.0. Load @0x095fd1e8
[Tue Sep 27 21:26:06 2011] Instantiate address: 0x28d550
[Tue Sep 27 21:26:06 2011] Can't load driver /home/starkdar/.vendetta/drivers/gkvc.so: libfmodex.so: cannot open shared object file: No such file or directory
[Tue Sep 27 21:26:06 2011] Can't load driver /home/starkdar/.vendetta/drivers/gkalsa.so: /usr/lib/libasound.so.2: undefined symbol: clock_gettime, version GLIBC_2.2
[Tue Sep 27 21:26:06 2011] Loading intro progress thing.
/dev/js0: No such file or directory
/dev/input/js0: No such file or directory
/dev/js1: No such file or directory
/dev/input/js1: No such file or directory
/dev/js2: No such file or directory
/dev/input/js2: No such file or directory
/dev/js3: No such file or directory
/dev/input/js3: No such file or directory
Found 0 joystick(s)
allocated pipes: 10->9, 12->11
Does that help?
I also like the 11th line...
Tue Sep 27 21:26:06 2011] Found driver: "Open Sound System driver". Type 1, Version 10.1. Load @0x095fc8c0
[Tue Sep 27 21:26:06 2011] Instantiate address: 0xa84210
[Tue Sep 27 21:26:06 2011] Found driver: "OpenGL Reference GKGL driver". Type 5, Version 88.0. Load @0x095fd1e8
[Tue Sep 27 21:26:06 2011] Instantiate address: 0x28d550
[Tue Sep 27 21:26:06 2011] Can't load driver /home/starkdar/.vendetta/drivers/gkvc.so: libfmodex.so: cannot open shared object file: No such file or directory
[Tue Sep 27 21:26:06 2011] Can't load driver /home/starkdar/.vendetta/drivers/gkalsa.so: /usr/lib/libasound.so.2: undefined symbol: clock_gettime, version GLIBC_2.2
[Tue Sep 27 21:26:06 2011] Loading intro progress thing.
/dev/js0: No such file or directory
/dev/input/js0: No such file or directory
/dev/js1: No such file or directory
/dev/input/js1: No such file or directory
/dev/js2: No such file or directory
/dev/input/js2: No such file or directory
/dev/js3: No such file or directory
/dev/input/js3: No such file or directory
Found 0 joystick(s)
allocated pipes: 10->9, 12->11
Does that help?
I also like the 11th line...
[Tue Sep 27 21:26:06 2011] Can't load driver /home/starkdar/.vendetta/drivers/gkalsa.so: /usr/lib/libasound.so.2: undefined symbol: clock_gettime, version GLIBC_2.2
^^^ that looks like your problem right there.
See if there's any updated alsa libs for your distro maybe? I'm not sure what mint is based off of or how they handle their updates.
^^^ that looks like your problem right there.
See if there's any updated alsa libs for your distro maybe? I'm not sure what mint is based off of or how they handle their updates.
See if there's any updated alsa libs for your distro maybe?
^^^Not sure what that's about, but nothing in update manager.
I figured that was the problem but have no clue what to do about it. I searched the .so files mentioned, found them on my system and pasted them into the drivers folder, but no result.
Mint 11 is based on Ubuntu 11.04 and I assume it updates as Ubuntu would, but idk.
^^^Not sure what that's about, but nothing in update manager.
I figured that was the problem but have no clue what to do about it. I searched the .so files mentioned, found them on my system and pasted them into the drivers folder, but no result.
Mint 11 is based on Ubuntu 11.04 and I assume it updates as Ubuntu would, but idk.
You shouldn't have to copy the libasound.so files to the game folder. The linker should take care of that as long as they're in a sensible place like /usr/lib (check /etc/ld.so.conf to be sure)
I guess you could try re-running 'ldconfig' as root? If it's cache is screwed up it might not be linking right.
I guess you could try re-running 'ldconfig' as root? If it's cache is screwed up it might not be linking right.
Yeah, they're in there.
Thanks for all the help, but I'm tapping out. Too many weeks spent on this and troubleshooting yet another wireless misfire. I have enough hobbies for now.
Check ya next time I buy a new laptop.
Thanks for all the help, but I'm tapping out. Too many weeks spent on this and troubleshooting yet another wireless misfire. I have enough hobbies for now.
Check ya next time I buy a new laptop.
D'aww. Better luck next time Stark.
Okay, so my VO resubbed itself for three months so I need to figure this out. I've had a month off and there's no snow on the hills so....
I appreciate your efforts but none of that worked, assuming I did it right. Any other insight you may have is welcomed. I need to put the pew back in pew pew!
I appreciate your efforts but none of that worked, assuming I did it right. Any other insight you may have is welcomed. I need to put the pew back in pew pew!
Ok, so when we left off a month ago, there was an issue with shared libs and missing symbols.
[Tue Sep 27 21:26:06 2011] Can't load driver /home/starkdar/.vendetta/drivers/gkalsa.so: /usr/lib/libasound.so.2: undefined symbol: clock_gettime, version GLIBC_2.2
did you try re-running ldconfig as root?
[Tue Sep 27 21:26:06 2011] Can't load driver /home/starkdar/.vendetta/drivers/gkalsa.so: /usr/lib/libasound.so.2: undefined symbol: clock_gettime, version GLIBC_2.2
did you try re-running ldconfig as root?
I had this problem ages ago, I think it's related to pulseaudio, but I removed it from all my Linux boxes and went with OSS3, but I guess that's no help to you.
Try running vendetta like this
pasuspender ~/bin/vendetta
(If you get a pasuspender: command not found error, install pulseaudio-utils)
If it works, it probably means something else is using your sound card while vendetta is starting, and (emulated) alsa mixing isn't working.
Try running vendetta like this
pasuspender ~/bin/vendetta
(If you get a pasuspender: command not found error, install pulseaudio-utils)
If it works, it probably means something else is using your sound card while vendetta is starting, and (emulated) alsa mixing isn't working.
Thanks for the tip, but my laptop shut down mid- task and wont revive. I replaced the cord n such to no avail. Kinda weird and very shitty. I really had a good feeling about that suggestion, too!
Guess I really am waiting for a new laptop now, this one's running Mint LXDE and VO seems to be running at about .5 fps..... checking forums now, wish me luck......
Guess I really am waiting for a new laptop now, this one's running Mint LXDE and VO seems to be running at about .5 fps..... checking forums now, wish me luck......
This easiest way I found to run sound on games that have problems in linux that have pulseaudio is run it in oss emulation.
if you are still running a debain distro is "apt-get install alsa-oss" use work in RPM and yast as well then however you run the program command line or create a desktop file put 'padsp' < with put quotes in front of the exec file
So you desktop file will look some thing like this.
[Desktop Entry]
Exec=padsp /home/USERNAME/.vendetta/update.rlb
Icon=/home/USERNAME/.local/share/applications/vendetta_icon.png < you can find the icon in the forum somewhere
Name=Vendetta
NoDisplay=false
Terminal=false
Type=Application
Version=1.0
padsp command creates a false ‘/dev/dsp’ and feeds the audio into pulseaudio.
if you are still running a debain distro is "apt-get install alsa-oss" use work in RPM and yast as well then however you run the program command line or create a desktop file put 'padsp' < with put quotes in front of the exec file
So you desktop file will look some thing like this.
[Desktop Entry]
Exec=padsp /home/USERNAME/.vendetta/update.rlb
Icon=/home/USERNAME/.local/share/applications/vendetta_icon.png < you can find the icon in the forum somewhere
Name=Vendetta
NoDisplay=false
Terminal=false
Type=Application
Version=1.0
padsp command creates a false ‘/dev/dsp’ and feeds the audio into pulseaudio.