[Solved] Fedora Core 8 - Audio problems
Moderators: winston, another_commander, Getafix
[Solved] Fedora Core 8 - Audio problems
hi people,
I just discovered oolite (thanks to /.) and installed the latest stable version on Linux FC8.
Unfortunately I have problems with audio: I can hear the sound effects, but I cannot hear any music - I dont think it is off by default, isnt it?
To check it out it would be great to see the logs, but I cannot find any.
The directories created by Ooolite are:
~/oolite-saves/
~/GNUstep/
/usr/lib/Oolite
and none of them contains any logfile...
any help in finding the logs OR to solve my music problem is deeply appreciated!
alessandro
Here follows the typical console output:
--------------
2009-09-24 09:59:02.701 oolite[16400] File NSUserDefaults.m: 561. In [NSUserDefaults +standardUserDefaults] Improper installation: No language locale found
2009-09-24 09:59:02.701 oolite[16400] initialising SDL
2009-09-24 09:59:02.849 oolite[16400] init: numSticks=1
2009-09-24 09:59:02.860 oolite[16400] CREATING MODE LIST
2009-09-24 09:59:02.860 oolite[16400] Added res 1360 x 768
2009-09-24 09:59:02.860 oolite[16400] Added res 1280 x 800
2009-09-24 09:59:02.860 oolite[16400] Added res 1152 x 864
2009-09-24 09:59:02.860 oolite[16400] Added res 1024 x 768
2009-09-24 09:59:02.860 oolite[16400] Added res 800 x 600
2009-09-24 09:59:02.860 oolite[16400] Added res 640 x 480
2009-09-24 09:59:03.265 oolite[16400] drawRect calling initialiseGLWithSize
2009-09-24 09:59:03.265 oolite[16400] Creating a new surface of 800 x 600
2009-09-24 09:59:03.267 oolite[16400] no universe, clearning surface
2009-09-24 09:59:03.281 oolite[16400] ---> searching paths:
("/usr/lib/Oolite/oolite.app/Contents/Resources", "/usr/lib/Oolite/AddOns", "/root/Library/Application Support/Oolite/AddOns", "/root/.Oolite/AddOns")
2009-09-24 09:59:03.282 oolite[16400] DEBUG ** no cache exists - yet **
2009-09-24 09:59:03.357 oolite[16400] Vertex Array Range optimisation - not supported
2009-09-24 09:59:03.357 oolite[16400] DEBUG creating octree cache......
2009-09-24 09:59:03.583 oolite[16400] DEBUG ** resetting track for <ShipEntity Player 100> **
2009-09-24 09:59:03.970 oolite[16400] Populating a system with economy 5, and government 3
2009-09-24 09:59:03.970 oolite[16400] ... adding 3 trading vessels
2009-09-24 09:59:03.970 oolite[16400] ... adding 0 sun skimming vessels
2009-09-24 09:59:03.970 oolite[16400] ... adding 3 pirate vessels
2009-09-24 09:59:03.970 oolite[16400] ... adding 1 sun skim pirates
2009-09-24 09:59:03.970 oolite[16400] ... adding 1 law/bounty-hunter vessels
2009-09-24 09:59:03.970 oolite[16400] ... adding 0 sun skim law/bounty hunter vessels
2009-09-24 09:59:03.970 oolite[16400] ... adding 1 Thargoid warships
2009-09-24 09:59:03.970 oolite[16400] ... adding 6 asteroid clusters
2009-09-24 09:59:03.970 oolite[16400] ... for a total of 15 ships
2009-09-24 09:59:04.343 oolite[16400] OPENGL_DEBUG GL_ERROR (1280) 'invalid enumerant' in: Universe before doing anything
I just discovered oolite (thanks to /.) and installed the latest stable version on Linux FC8.
Unfortunately I have problems with audio: I can hear the sound effects, but I cannot hear any music - I dont think it is off by default, isnt it?
To check it out it would be great to see the logs, but I cannot find any.
The directories created by Ooolite are:
~/oolite-saves/
~/GNUstep/
/usr/lib/Oolite
and none of them contains any logfile...
any help in finding the logs OR to solve my music problem is deeply appreciated!
alessandro
Here follows the typical console output:
--------------
2009-09-24 09:59:02.701 oolite[16400] File NSUserDefaults.m: 561. In [NSUserDefaults +standardUserDefaults] Improper installation: No language locale found
2009-09-24 09:59:02.701 oolite[16400] initialising SDL
2009-09-24 09:59:02.849 oolite[16400] init: numSticks=1
2009-09-24 09:59:02.860 oolite[16400] CREATING MODE LIST
2009-09-24 09:59:02.860 oolite[16400] Added res 1360 x 768
2009-09-24 09:59:02.860 oolite[16400] Added res 1280 x 800
2009-09-24 09:59:02.860 oolite[16400] Added res 1152 x 864
2009-09-24 09:59:02.860 oolite[16400] Added res 1024 x 768
2009-09-24 09:59:02.860 oolite[16400] Added res 800 x 600
2009-09-24 09:59:02.860 oolite[16400] Added res 640 x 480
2009-09-24 09:59:03.265 oolite[16400] drawRect calling initialiseGLWithSize
2009-09-24 09:59:03.265 oolite[16400] Creating a new surface of 800 x 600
2009-09-24 09:59:03.267 oolite[16400] no universe, clearning surface
2009-09-24 09:59:03.281 oolite[16400] ---> searching paths:
("/usr/lib/Oolite/oolite.app/Contents/Resources", "/usr/lib/Oolite/AddOns", "/root/Library/Application Support/Oolite/AddOns", "/root/.Oolite/AddOns")
2009-09-24 09:59:03.282 oolite[16400] DEBUG ** no cache exists - yet **
2009-09-24 09:59:03.357 oolite[16400] Vertex Array Range optimisation - not supported
2009-09-24 09:59:03.357 oolite[16400] DEBUG creating octree cache......
2009-09-24 09:59:03.583 oolite[16400] DEBUG ** resetting track for <ShipEntity Player 100> **
2009-09-24 09:59:03.970 oolite[16400] Populating a system with economy 5, and government 3
2009-09-24 09:59:03.970 oolite[16400] ... adding 3 trading vessels
2009-09-24 09:59:03.970 oolite[16400] ... adding 0 sun skimming vessels
2009-09-24 09:59:03.970 oolite[16400] ... adding 3 pirate vessels
2009-09-24 09:59:03.970 oolite[16400] ... adding 1 sun skim pirates
2009-09-24 09:59:03.970 oolite[16400] ... adding 1 law/bounty-hunter vessels
2009-09-24 09:59:03.970 oolite[16400] ... adding 0 sun skim law/bounty hunter vessels
2009-09-24 09:59:03.970 oolite[16400] ... adding 1 Thargoid warships
2009-09-24 09:59:03.970 oolite[16400] ... adding 6 asteroid clusters
2009-09-24 09:59:03.970 oolite[16400] ... for a total of 15 ships
2009-09-24 09:59:04.343 oolite[16400] OPENGL_DEBUG GL_ERROR (1280) 'invalid enumerant' in: Universe before doing anything
Last edited by alexxx on Sat Sep 26, 2009 7:45 am, edited 1 time in total.
-
- Quite Grand Sub-Admiral
- Posts: 6683
- Joined: Wed Feb 28, 2007 7:54 am
It looks like you are running version 1.65. May I recommed that as a first step of action you install v1.73.4, released just a couple of days ago? Test versions at this moment are far more stable, feature rich, faster and generally better than 1.65, plus they are actually supported. I doubt that you will find anyone that will be able to troubleshoot 1.65 these days.
The only possibility that I can think of right now is to check the volume setting in options, just in case it is set to zero.
The only possibility that I can think of right now is to check the volume setting in options, just in case it is set to zero.
- Getafix
- 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:
@alexxx:
Isn't there a ".Oolite" folder in your home directory?
Try:
Isn't there a ".Oolite" folder in your home directory?
Try:
Code: Select all
# cd ~/.Oolite/Logs/
"Any sufficiently advanced information is indistinguishable from noise." [Newman, Lachmann, Moore]
no, and I was surprised, since I saw it mentioned somewhere...Getafix wrote:@alexxx:
Isn't there a ".Oolite" folder in your home directory?
Try:Code: Select all
# cd ~/.Oolite/Logs/
I'll install the new version at once!
alessandro
updated!
And ~/.Oolite/Logs now is present!
The line I was searching for is at the beginning of Latest.log:
[sdl.init.audio.failed]: Mix_OpenAudio: No available audio device
... do you know of similar issues?
(I dont have any other sound server running, and "mplayer -ao alsa example.mp3" plays fine)
alessandro
And ~/.Oolite/Logs now is present!
The line I was searching for is at the beginning of Latest.log:
[sdl.init.audio.failed]: Mix_OpenAudio: No available audio device
... do you know of similar issues?
(I dont have any other sound server running, and "mplayer -ao alsa example.mp3" plays fine)
alessandro
- Getafix
- 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:
Try the following:
Copy & Paste the following: and save (i.e. Ctrl+X then Y and then <Enter>). Exit from the terminal and open a new one.
Type:(edit a '$' was missing from original post) You should get "esd". Run oolite from the terminal:
(edit: exit for root shell was missing)
Code: Select all
# su
Password: <your password>
# cd /etc/profile.d
# nano SDL_pulseaudio_hack.sh
Code: Select all
# Temporary hack until SDL directly supports pulseaudio
# If alsa-plugins-pulseaudio is installed, force SDL to output sound to esd
[ -e /usr/lib/alsa-lib/libasound_module_pcm_pulse.so -o -e /usr/lib64/alsa-lib/libasound_module_pcm_pulse.so ] && export SDL_AUDIODRIVER=esd
Type:(edit a '$' was missing from original post)
Code: Select all
# echo $SDL_AUDIODRIVER
(edit: exit for root shell was missing)
Code: Select all
# exit
# oolite
Last edited by Getafix on Thu Sep 24, 2009 5:46 pm, edited 4 times in total.
"Any sufficiently advanced information is indistinguishable from noise." [Newman, Lachmann, Moore]
the file was already there, with the same code you describe.Getafix wrote:# nano SDL_pulseaudio_hack.sh[/code]
It mentions it is a fix working just if you have alsa-plugins-pulseaudio installed - and I have it...
better: set|grep SDL_AUDIODRIVERGetafix wrote:Type:You should get "esd".Code: Select all
# echo SDL_AUDIODRIVER
and yes, it gives esd
sadly, same result!Getafix wrote:Run oolite from the terminal:Code: Select all
# oolite
alessandro
- Getafix
- 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:
Do the following: In order to make sure that the system's SDL libraries are used.
(edit)
Note: Make sure in oolite options menu, sound is on.
(edit)
Note2: Folowing to this last change and after running oolite once more,
please, post the .Oolite/Logs/Latest.log
Code: Select all
# su
Password: <your password>
# mv /usr/lib/Oolite/oolite-deps/lib/libSDL* /usr/lib/Oolite/.
# exit
# oolite
(edit)
Note: Make sure in oolite options menu, sound is on.
(edit)
Note2: Folowing to this last change and after running oolite once more,
please, post the .Oolite/Logs/Latest.log
"Any sufficiently advanced information is indistinguishable from noise." [Newman, Lachmann, Moore]
- hircus
- Competent
- Posts: 38
- Joined: Fri Aug 08, 2008 7:13 pm
- Location: Nuremberg, Bavaria, Germany
- Contact:
alexxx: glad you have your sound issues fixed!
As an aside, any reason why you are still running FC8? If it's a work PC, you might have no control over it, but we at the Fedora Project currently only supports Fedora 10 and 11. Fedora 12 should be out in November, and soon after that Fedora 10 will not be supported anymore.
As an incentive to upgrade, Oolite 1.73.4 is almost ready to land in the development tree (rawhide) that will become Fedora 12, and once that happens, I'll make it available on Fedora 11 as well (there might be some additional delay because one of its dependency, gnustep-base, is newly packaged as well, and pushing to stable releases involves more QA steps).
As an aside, any reason why you are still running FC8? If it's a work PC, you might have no control over it, but we at the Fedora Project currently only supports Fedora 10 and 11. Fedora 12 should be out in November, and soon after that Fedora 10 will not be supported anymore.
As an incentive to upgrade, Oolite 1.73.4 is almost ready to land in the development tree (rawhide) that will become Fedora 12, and once that happens, I'll make it available on Fedora 11 as well (there might be some additional delay because one of its dependency, gnustep-base, is newly packaged as well, and pushing to stable releases involves more QA steps).
oh, I control it allright,hircus wrote:As an aside, any reason why you are still running FC8? If it's a work PC, you might have no control over it, but we at the Fedora Project currently only supports Fedora 10 and 11. Fedora 12 should be out in November, and soon after that Fedora 10 will not be supported anymore.
it is just that I find it sooo boring to reinstall the large number of apps/tweaks/... that I have on it, that I usually skip two or three upgrades each time. Usually I change just when some application that I cannot do without depends on something (usually libc libraries) that I cannot install anymore. And/or during long summer days, when I stop playing Elite
As an aside, I got music playing and posted very happily, because I heard the music theme at startup.
But during play I just have the sound effects on - I have install music as an additional package?
alessandro