[Solved] Sound Absent

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

Moderators: winston, another_commander, Getafix

User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6311
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Re: Sound Absent

Post by Diziet Sma »

Getafix wrote:
For the add-ons case, could it be that you are using a symbolic link "AddOns" to point to an actual AddOns folder?
We had a case, sometime in the past (not pointing fingers here! :) ),
where add-ons could not be detected because oolite installation is replacing the symbolic link AddOns by an actual empty AddOns folder.
Yeah.. that was rather embarrassing... :oops: :mrgreen:
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
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: Sound Absent

Post by Getafix »

Thargoid wrote:
The middle line below may indicate that you've put the game accidentally in strict mode, which would account for a lack of add-ons?

Code: Select all

21:44:42.786 [dataCache.rebuild.explicitFlush]: Cache explicitly flushed with shift key. Rebuilding from scratch.
21:44:42.786 [searchPaths.dumpAll]: Strict mode - resource path:
    ~/GNUstep/Applications/Oolite/oolite.app/Resources
21:44:42.922 [shipData.load.begin]: Loading ship data.
[/color]
Nice catch!


@Diziet: :P :D
"Any sufficiently advanced information is indistinguishable from noise." [Newman, Lachmann, Moore]
User avatar
mandoman
---- E L I T E ----
---- E L I T E ----
Posts: 1384
Joined: Thu Apr 28, 2011 3:17 pm

Re: Sound Absent

Post by mandoman »

Getafix wrote:
For the add-ons case, could it be that you are using a symbolic link "AddOns" to point to an actual AddOns folder?
We had a case, sometime in the past (not pointing fingers here! :) ),
where add-ons could not be detected because oolite installation is replacing the symbolic link AddOns by an actual empty AddOns folder.
I thought of that. I put the same files into both the .Oolite AddOns folder in my Home directory, and in the AdOns in the Directory within the Gnu Directory, and it made no difference. Unless having the same thing in two places made it even more confused. Strict Mode? Man, I never thought of that, because I've never done that before (believe it or not :) ). I'll check that out.

Getafix, I just noticed that I didn't run those commands you asked for. I'll do that, and be back with the results.
Mandotech Industries Wiki Page.

http://wiki.alioth.net/index.php/User:Mandoman
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: Sound Absent

Post by Getafix »

mandoman wrote:
Getafix, I just noticed that I didn't run those commands you asked for. I'll do that, and be back with the results.
Don't forget to install the 64bit oolite. I see from your latest log post that you still use the 32bit oolite.
"Any sufficiently advanced information is indistinguishable from noise." [Newman, Lachmann, Moore]
User avatar
mandoman
---- E L I T E ----
---- E L I T E ----
Posts: 1384
Joined: Thu Apr 28, 2011 3:17 pm

Re: Sound Absent

Post by mandoman »

Okay, Thargoid, you were right (as usual). I must have triggered "strict play" a couple of times ago when I was trying to exit the game. Weird.

Getafix, forgive me for not doing as you asked, but I decided to purge my system of Oolite, and then re-install using package database. Unfortunately, it only has access to version 1.76.1. However, once more I still don't have sound, and this version is the 64bit version. It also installed the game to system wide, rather than Home, which I don't care for. I need to purge again, and download the game from the Oolite site, rather than through the database. Be back.
Mandotech Industries Wiki Page.

http://wiki.alioth.net/index.php/User:Mandoman
User avatar
mandoman
---- E L I T E ----
---- E L I T E ----
Posts: 1384
Joined: Thu Apr 28, 2011 3:17 pm

Re: Sound Absent

Post by mandoman »

Interesting. I purged it from my system, but it still shows up in /usr/lib/Gnustep/Applications.

Image

Why does the file still pyhysically exist in the /usr directory, even after having purged it from the system using Terminal?
Mandotech Industries Wiki Page.

http://wiki.alioth.net/index.php/User:Mandoman
User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6311
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Re: Sound Absent

Post by Diziet Sma »

mandoman wrote:
I decided to purge my system of Oolite, and then re-install using package database. Unfortunately, it only has access to version 1.76.1. However, once more I still don't have sound, and this version is the 64bit version. It also installed the game to system wide, rather than Home, which I don't care for. I need to purge again, and download the game from the Oolite site, rather than through the database. Be back.
mandoman wrote:
Interesting. I purged it from my system, but it still shows up in /usr/lib/Gnustep/Applications.

Why does the file still pyhysically exist in the /usr directory, even after having purged it from the system using Terminal?
Umm.. since you installed it with a package manager, you should have uninstalled it with the same tool, not from the terminal.
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
User avatar
mandoman
---- E L I T E ----
---- E L I T E ----
Posts: 1384
Joined: Thu Apr 28, 2011 3:17 pm

Re: Sound Absent

Post by mandoman »

[/quote]
Umm.. since you installed it with a package manager, you should have uninstalled it with the same tool, not from the terminal.[/quote]

I did. dpkg --remove oolite, dpkg --purge oolite. I believe that is correct, or am I mistaken?
Mandotech Industries Wiki Page.

http://wiki.alioth.net/index.php/User:Mandoman
User avatar
CommRLock78
---- E L I T E ----
---- E L I T E ----
Posts: 1138
Joined: Sat Apr 07, 2012 7:35 pm
Location: US
Contact:

Re: Sound Absent

Post by CommRLock78 »

I think what Diziet meant was, didn't you install it from Synaptic or Software Center? Using one of those would be the way to remove it if that's what you used to install it to begin with.
"I'll laser the mark all while munching a fistful of popcorn." - Markgräf von Ededleen, Marquess, Brutal Great One, Assassins' Guild Exterminator
---------------------------
At the helm of the Caduceus Omega, 'Murderous Morrígan'
User avatar
mandoman
---- E L I T E ----
---- E L I T E ----
Posts: 1384
Joined: Thu Apr 28, 2011 3:17 pm

Re: Sound Absent

Post by mandoman »

CommRLock78 wrote:
I think what Diziet meant was, didn't you install it from Synaptic or Software Center? Using one of those would be the way to remove it if that's what you used to install it to begin with.
LOL!! That's what I meant too. Seems I didn't remove it correctly. I'm on my laptop right now, so I'll look into the correct way tomorrow. Still learning, sorry. :)
Mandotech Industries Wiki Page.

http://wiki.alioth.net/index.php/User:Mandoman
User avatar
mandoman
---- E L I T E ----
---- E L I T E ----
Posts: 1384
Joined: Thu Apr 28, 2011 3:17 pm

Re: Sound Absent

Post by mandoman »

Okay, I now have removed Oolite using the Package Manager, and have downloaded and installed the 64bit version from the Oolite download site. The sound is fine, and it is detecting all AddOns. However, the video is still jerky. I don't understand that, as I've got two Intel Pentium 4 CPUs, running at 3.5GHz. Shouldn't both Linux and Oolite be able to not just detect those beasties, but make use of them too? I'm still reeling about the XP fiasco with the GeForce video card, so it's hard to understand what's happening here. Help. :cry: :)
Mandotech Industries Wiki Page.

http://wiki.alioth.net/index.php/User:Mandoman
User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6311
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Re: Sound Absent

Post by Diziet Sma »

Basically, package installations on Linux, whether via apt, Synaptic, Software Centre or even RPM, can scatter numerous files in various places across the system, unlike, for example, Macs, where all the files for a package are generally kept in one place. I've seen Mac users describe the Linux method as a "shotgun install"..

That's why it's important to use the same package installation system to uninstall anything that was installed by it in the first place.. it keeps a record of all the files, and where they're located, so that nothing gets left behind.
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6311
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Re: Sound Absent

Post by Diziet Sma »

mandoman wrote:
However, the video is still jerky. I don't understand that, as I've got two Intel Pentium 4 CPUs, running at 3.5GHz. Shouldn't both Linux and Oolite be able to not just detect those beasties, but make use of them too?
I have no doubt at all that Linux and Oolite are using both CPUs.

But it's not about the CPUs.. the jerky video is all about the graphics chip and drivers. Could you run those commands posted by Getafix please, and post the results?

Note: Getafix has updated the post details.
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
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: Sound Absent

Post by Getafix »

mandoman wrote:
have downloaded and installed the 64bit version from the Oolite download site. The sound is fine, and it is detecting all AddOns. However, the video is still jerky.
Diziet Sma wrote:
But it's not about the CPUs.. the jerky video is all about the graphics chip and drivers.
We only have to troubleshoot the jerky video.
I understand that you have two graphics controllers; one onboard (Intel) and one nVidia, right?
Please, perform the steps that I already posted and post the results per each step.

Furthermore, return your add-ons status to the state where your OXPs resided in one AddOns folder,
either ~/.Oolite/AddOns/ or ~/GNUstep/Applications/Oolite/AddOns/
<Getafix mumbles something about "clean-installation" OCD>

EDIT: The "~" is understood by your command prompt as your $HOME folder.
"Any sufficiently advanced information is indistinguishable from noise." [Newman, Lachmann, Moore]
User avatar
mandoman
---- E L I T E ----
---- E L I T E ----
Posts: 1384
Joined: Thu Apr 28, 2011 3:17 pm

Re: Sound Absent

Post by mandoman »

Code: Select all

mandoman@mandoman-5800 ~ $ uname -a
Linux mandoman-5800 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Code: Select all

mandoman@mandoman-5800 ~ $ ldd ~/GNUstep/Applications/Oolite/oolite.app/oolite
	linux-vdso.so.1 =>  (0x00007fff1d5ce000)
	libGLU.so.1 => /usr/lib/x86_64-linux-gnu/libGLU.so.1 (0x00007fbc5906e000)
	libGL.so.1 => /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1 (0x00007fbc58e10000)
	libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007fbc58ada000)
	libSDL-1.2.so.0 => /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0 (0x00007fbc58843000)
	libSDL_mixer-1.2.so.0 => /usr/lib/x86_64-linux-gnu/libSDL_mixer-1.2.so.0 (0x00007fbc585f3000)
	libgnustep-base.so.1.20 => not found
	libplds4.so.0d => not found
	libplc4.so.0d => not found
	libnspr4.so.0d => not found
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fbc583d4000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fbc581d0000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fbc57ecb000)
	libpng14.so.14 => not found
	libespeak.so.1 => /usr/lib/x86_64-linux-gnu/libespeak.so.1 (0x00007fbc57c53000)
	libobjc.so.2 => not found
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fbc5794e000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fbc57738000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fbc5736f000)
	libglapi.so.0 => /usr/lib/x86_64-linux-gnu/libglapi.so.0 (0x00007fbc57149000)
	libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007fbc56f37000)
	libXdamage.so.1 => /usr/lib/x86_64-linux-gnu/libXdamage.so.1 (0x00007fbc56d33000)
	libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007fbc56b2d000)
	libX11-xcb.so.1 => /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007fbc5692b000)
	libxcb-glx.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0 (0x00007fbc56713000)
	libxcb-dri2.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0 (0x00007fbc5650e000)
	libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007fbc562f0000)
	libXxf86vm.so.1 => /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1 (0x00007fbc560e9000)
	libdrm.so.2 => /usr/lib/x86_64-linux-gnu/libdrm.so.2 (0x00007fbc55edd000)
	libasound.so.2 => /usr/lib/x86_64-linux-gnu/libasound.so.2 (0x00007fbc55bed000)
	libpulse-simple.so.0 => /usr/lib/x86_64-linux-gnu/libpulse-simple.so.0 (0x00007fbc559e8000)
	libpulse.so.0 => /usr/lib/x86_64-linux-gnu/libpulse.so.0 (0x00007fbc5579f000)
	libcaca.so.0 => /usr/lib/x86_64-linux-gnu/libcaca.so.0 (0x00007fbc554d2000)
	libmikmod.so.2 => /usr/lib/x86_64-linux-gnu/libmikmod.so.2 (0x00007fbc5527f000)
	libfluidsynth.so.1 => /usr/lib/x86_64-linux-gnu/libfluidsynth.so.1 (0x00007fbc54fa9000)
	libvorbisfile.so.3 => /usr/lib/x86_64-linux-gnu/libvorbisfile.so.3 (0x00007fbc54da1000)
	libFLAC.so.8 => /usr/lib/x86_64-linux-gnu/libFLAC.so.8 (0x00007fbc54b6f000)
	libmad.so.0 => /usr/lib/x86_64-linux-gnu/libmad.so.0 (0x00007fbc54950000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fbc5930c000)
	libportaudio.so.2 => /usr/lib/x86_64-linux-gnu/libportaudio.so.2 (0x00007fbc54720000)
	libsonic.so.0 => /usr/lib/x86_64-linux-gnu/libsonic.so.0 (0x00007fbc5451b000)
	libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007fbc54317000)
	libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007fbc54110000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fbc53f08000)
	libpulsecommon-4.0.so => /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-4.0.so (0x00007fbc53ca0000)
	libjson-c.so.2 => /lib/x86_64-linux-gnu/libjson-c.so.2 (0x00007fbc53a96000)
	libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007fbc53851000)
	libslang.so.2 => /lib/x86_64-linux-gnu/libslang.so.2 (0x00007fbc534c0000)
	libncursesw.so.5 => /lib/x86_64-linux-gnu/libncursesw.so.5 (0x00007fbc5328c000)
	libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007fbc53063000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fbc52e49000)
	libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007fbc52b48000)
	libjack.so.0 => /usr/lib/x86_64-linux-gnu/libjack.so.0 (0x00007fbc528ef000)
	libsndfile.so.1 => /usr/lib/x86_64-linux-gnu/libsndfile.so.1 (0x00007fbc52686000)
	libreadline.so.6 => /lib/x86_64-linux-gnu/libreadline.so.6 (0x00007fbc52444000)
	libvorbis.so.0 => /usr/lib/x86_64-linux-gnu/libvorbis.so.0 (0x00007fbc52217000)
	libogg.so.0 => /usr/lib/x86_64-linux-gnu/libogg.so.0 (0x00007fbc5200d000)
	libwrap.so.0 => /lib/x86_64-linux-gnu/libwrap.so.0 (0x00007fbc51e03000)
	libasyncns.so.0 => /usr/lib/x86_64-linux-gnu/libasyncns.so.0 (0x00007fbc51bfc000)
	libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007fbc519bd000)
	libvorbisenc.so.2 => /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2 (0x00007fbc514ed000)
	libnsl.so.1 => /lib/x86_64-linux-gnu/libnsl.so.1 (0x00007fbc512d3000)
	libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007fbc510b9000)

Code: Select all

mandoman@mandoman-5800 ~ $ cd /
mandoman@mandoman-5800 / $ find . -name oolite -print 2> /dev/null
./home/mandoman/GNUstep/Applications/Oolite/oolite
./home/mandoman/GNUstep/Applications/Oolite/oolite.app/oolite
mandoman@mandoman-5800 / $ cd

Code: Select all

mandoman@mandoman-5800 ~ $ ~/GNUstep/Applications/Oolite/oolite.app/oolite
/home/mandoman/GNUstep/Applications/Oolite/oolite.app/oolite: error while loading shared libraries: libgnustep-base.so.1.20: cannot open shared object file: No such file or directory
mandoman@mandoman-5800 ~ $ 
Mandotech Industries Wiki Page.

http://wiki.alioth.net/index.php/User:Mandoman
Post Reply