Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.

1.75.2 x64, no sound with HDA NVidia Sound Card

For discussion of ports to POSIX based systems, especially using GNUStep.

Moderators: winston, another_commander, Getafix

WhiteOwl
Average
Average
Posts: 10
Joined: Sat Jul 09, 2011 6:36 pm

1.75.2 x64, no sound with HDA NVidia Sound Card

Post 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?
User avatar
tinker
Deadly
Deadly
Posts: 166
Joined: Tue Jul 22, 2008 7:45 am
Location: Sachsen

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

Post 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?
Semper Dissimilis
User avatar
Getafix
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 979
Joined: Tue Apr 01, 2008 12:55 pm
Location: A small ice asteroid, orbiting Oresrati in Galaxy 8 (a.k.a. northwest Armorica).
Contact:

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

Post by Getafix »

You could give it a try with the alternative library as indicated here.
"Any sufficiently advanced information is indistinguishable from noise." [Newman, Lachmann, Moore]
User avatar
tinker
Deadly
Deadly
Posts: 166
Joined: Tue Jul 22, 2008 7:45 am
Location: Sachsen

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

Post 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.
Semper Dissimilis
User avatar
tinker
Deadly
Deadly
Posts: 166
Joined: Tue Jul 22, 2008 7:45 am
Location: Sachsen

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

Post 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.
Semper Dissimilis
WhiteOwl
Average
Average
Posts: 10
Joined: Sat Jul 09, 2011 6:36 pm

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

Post 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?
User avatar
Getafix
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 979
Joined: Tue Apr 01, 2008 12:55 pm
Location: A small ice asteroid, orbiting Oresrati in Galaxy 8 (a.k.a. northwest Armorica).
Contact:

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

Post 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.
"Any sufficiently advanced information is indistinguishable from noise." [Newman, Lachmann, Moore]
User avatar
MAWL
Above Average
Above Average
Posts: 18
Joined: Sun Sep 04, 2011 5:53 am
Location: Montreal, CANADA

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

Post 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.
User avatar
tinker
Deadly
Deadly
Posts: 166
Joined: Tue Jul 22, 2008 7:45 am
Location: Sachsen

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

Post 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.
Semper Dissimilis
WhiteOwl
Average
Average
Posts: 10
Joined: Sat Jul 09, 2011 6:36 pm

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

Post 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
User avatar
Lone_Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 546
Joined: Wed Aug 08, 2007 10:59 pm
Location: Netherlands

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

Post 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.
OS : Arch Linux 64-bit - rolling release

OXPs : My user page

Retired, reachable at [email protected]
WhiteOwl
Average
Average
Posts: 10
Joined: Sat Jul 09, 2011 6:36 pm

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

Post 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.
User avatar
Lone_Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 546
Joined: Wed Aug 08, 2007 10:59 pm
Location: Netherlands

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

Post 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 ?
OS : Arch Linux 64-bit - rolling release

OXPs : My user page

Retired, reachable at [email protected]
WhiteOwl
Average
Average
Posts: 10
Joined: Sat Jul 09, 2011 6:36 pm

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

Post 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.
WhiteOwl
Average
Average
Posts: 10
Joined: Sat Jul 09, 2011 6:36 pm

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

Post by WhiteOwl »

I just updated to 1.77.0.5612 and still no sound.
Post Reply