Page 1 of 2

1.75.2 x64, no sound with HDA NVidia Sound Card

Posted: Wed Aug 24, 2011 2:43 am
by WhiteOwl
No sound in Oolite.
Music Player and flash games are working fine.
According to Debian's Device Manager I have ALSA driver, with several files in /dev/snd:

$ ls /dev/snd/
by-path controlC0 hwC0D0 pcmC0D0c pcmC0D0p pcmC0D1p seq timer
$

Any ideas how to fix Oolite's sound?

Re: 1.75.2 x64, no sound with HDA NVidia Sound Card

Posted: Mon Aug 29, 2011 11:31 am
by tinker
Not that this will help you, but some more info might might help someone help us both.

I have just discovered the same problem, system wide sound is OK, Oolite is silent.

I updated to 1.75.3 and everything worked OK on an Ubuntu system. I changed distro to #! which is based on Debian Squeeze and the sound stopped. As I see it we have different Oolite versions and different sound cards, mine is onboard realtek, and the only thing in common is Debian though I am certain there must be other Debian users here. Perhaps this could a version problem with ALSA?

Re: 1.75.2 x64, no sound with HDA NVidia Sound Card

Posted: Mon Aug 29, 2011 5:34 pm
by Getafix
You could give it a try with the alternative library as indicated here.

Re: 1.75.2 x64, no sound with HDA NVidia Sound Card

Posted: Tue Aug 30, 2011 8:07 am
by tinker
Sorry to say that was no help. With the alternate library Oolite gets stuck on the splash screen, logfile show it gets as far as texture rendering but never displays the game screen.

Reverting the library game starts and runs without startup music or any other sounds, logfile shows dozens of these errors -

Code: Select all

09:45:27.416 [sound.load.failed]: Could not load a sound from "/home/rhian/.Oolite/AddOns/BGS-A1.3.3.oxp/Sounds/bgs-m_fx_enginedown1.ogg".
09:45:27.417 [sound.load.failed]: Could not load a sound from "/home/rhian/.Oolite/AddOns/Snoopers2.1.1.oxp/Sounds/snoopers_peep.ogg".
All the sounds are of course present and can be played by the system outside the game.

Re: 1.75.2 x64, no sound with HDA NVidia Sound Card SOLVED

Posted: Tue Aug 30, 2011 1:27 pm
by tinker
OK it was, in my case, just a case of installing libsdl and life is back to normal.

@WhiteOwl
I hope it works for you as well.

Re: 1.75.2 x64, no sound with HDA NVidia Sound Card SOLVED

Posted: Wed Aug 31, 2011 2:24 pm
by WhiteOwl
tinker wrote:
OK it was, in my case, just a case of installing libsdl and life is back to normal.
Could you please elaborate, which SDL package are you talking about?
I already have installed libsdl1.2debian and libsdl1.2debian-alsa, both packages are of version 1.2.14-6.1.
Which packages do you have installed?

Re: 1.75.2 x64, no sound with HDA NVidia Sound Card

Posted: Thu Sep 01, 2011 6:11 pm
by Getafix
@tinker
If you haven't renamed the "libSDL-1.2.so.0" distributed with oolite, then oolite will not use the one you installed in your system.
Most probably the libSDL installation, you performed, fixed something else in the system.

Re: 1.75.2 x64, no sound with HDA NVidia Sound Card

Posted: Tue Sep 06, 2011 6:10 am
by MAWL
I would try to run the game clean without any OXPs and see if you still encounter the sound problem. If not an addon, then I would suggest looking at your sound drivers to ensure they are up to date. I have had to switch from ALSA to other mediums with other games I have played, so there may be a compatibility issue.

But I have not had any sound problems with Oolite(on Ubuntu 11.04), so I am not familiar with the specific requirements of the game. I am also on 32 bit version, I am unsure if it is a version specific problem.

Re: 1.75.2 x64, no sound with HDA NVidia Sound Card

Posted: Tue Sep 06, 2011 8:04 am
by tinker
It seems to be libsdl-mixer1.2 (1.2.8-6.3) that corrected the problem, I have the same versions libsdl1.2debian and libsdl1.2debian-alsa as WhiteOwl. As I did not rename the packaged "libSDL-1.2.so.0" distributed with oolite it seems installing the libsdl-mixer package is what fixed it.

Re: 1.75.2 x64, no sound with HDA NVidia Sound Card

Posted: Sun Sep 11, 2011 5:40 pm
by WhiteOwl
still no luck :(

Now I see in the Oolite's log several records:
12:33:28.114 [sound.load.failed]: Could not load a sound from "/opt/Oolite/oolite.app/Resources/Sounds/laserhits.ogg".
One record for each .ogg

Re: 1.75.2 x64, no sound with HDA NVidia Sound Card

Posted: Thu Sep 15, 2011 8:32 pm
by Lone_Wolf
WhiteOwl wrote:
still no luck :(

Now I see in the Oolite's log several records:
12:33:28.114 [sound.load.failed]: Could not load a sound from "/opt/Oolite/oolite.app/Resources/Sounds/laserhits.ogg".
One record for each .ogg
That is an important clue, check if the oog-files are present on your system in that location :

/opt/Oolite/oolite.app/Resources/Sounds/

if there are no ogg-files in that folder, something went wrong with your oolite install.

Re: 1.75.2 x64, no sound with HDA NVidia Sound Card

Posted: Sat Sep 17, 2011 2:38 pm
by WhiteOwl
Lone_Wolf wrote:
That is an important clue, check if the oog-files are present on your system in that location :
Of course they are in place! That was the very first step I made after seeing such message in the log.
No, all .ogg files are present and correct. If I open them in any of the music player - I hear the sound.

Re: 1.75.2 x64, no sound with HDA NVidia Sound Card

Posted: Sun Sep 18, 2011 3:02 pm
by Lone_Wolf
WhiteOwl wrote:
Lone_Wolf wrote:
That is an important clue, check if the oog-files are present on your system in that location :
Of course they are in place! That was the very first step I made after seeing such message in the log.
No, all .ogg files are present and correct. If I open them in any of the music player - I hear the sound.
thanks for confirming that.

we'll need more info to troubleshoot this :
You seem to be using debian, which version ?

What WM/DE do you have ?
(gnome 3 uses pulseaudio, xfce uses alsa directly, KDE can use both alsa or pulseaudio, openbox uses alsa etc) .

Do other programs that use SDL for sound have problems ?

Re: 1.75.3 x64, no sound with HDA NVidia Sound Card

Posted: Sun Sep 25, 2011 5:22 pm
by WhiteOwl
Lone_Wolf wrote:
we'll need more info to troubleshoot this :
You seem to be using debian, which version ?
Debian 6.0.1 amd64
Lone_Wolf wrote:
What WM/DE do you have ?
(gnome 3 uses pulseaudio, xfce uses alsa directly, KDE can use both alsa or pulseaudio, openbox uses alsa etc) .
ALSA.
Lone_Wolf wrote:
Do other programs that use SDL for sound have problems ?
sdl-ball - sounded fine without any tweaking at all.

renaming SDL libraries which came with Oolite did not help:
/opt/Oolite/oolite-deps/lib# mv libSDL-1.2.so.0 libSDL-1.2.so.0.bak
/opt/Oolite/oolite-deps/lib# mv libSDL_mixer-1.2.so.0 libSDL_mixer-1.2.so.0.bak


Also, I've updated to 1.75.3 - no changes.

Re: 1.75.2 x64, no sound with HDA NVidia Sound Card

Posted: Mon Apr 29, 2013 2:37 am
by WhiteOwl
I just updated to 1.77.0.5612 and still no sound.