Linux Support

Feedback and support for the PC version of Osmos
psychose
Posts: 5
Joined: Mon May 03, 2010 9:38 am

Nice Sound workaround

Postby psychose » Mon May 03, 2010 10:48 am

HI (-:
First my english is really worse sorry for that

Second I had the same problems like mimox "sound shuttering and slowdown: sometimes Osmos produces some cracking noises and the game slower down considerably"
"Setting the sound to ALSA makes things a lot worse... the crackling noises are already there before the menu comes up." and I use the same module "snd_hda_intel" for my soundcard
The only difference I use Kubuntu 10.04 with KDE without Pulseaudio but with my workaround you can use probably in pulseaudio too

First I recognize when I force oss i have lesser "sound shuttering and slowdown" but when i have open a media player i have no sound in Osmos that is worse
Second I try to install alsa-oss (on debian/ubuntu apt-get install alsa-oss) is a OSS Emulation in Alsa (That will do in PulseAudio too because this use alsa too Pulseaudio is not a Sound Architecture ).
to solve this problem with no sound when media player is open.
And open the game with this command "aoss OsmosDemo" and to my big suprise the game work Perfect without "sound shuttering and slowdown: sometimes Osmos produces some cracking noises and the game slower down considerably" and i can have media player open
on fullsreen in 1920x1080 !
--------------------------------------------------------------------------------------------
My confic for osmo
~/.Osmos/Config.cfg
renderLOD "0"
fullscreen "1"
maxFramerate "80"
displayDepth "32"
allowAutoUpdates "1"
promptAllowUpdatesOnStartup "1"
promptFullscreenOnStartup "0"
mouseOnly "0"
vsync "0"
drawOrbit "1"
drawHUD "1"
ss_EffectsGain "1,000000"
ss_MusicGain "1,000000"
streamMusic "1"
soundDevice "2" # "2" for oss you can use "native" too
-------------------------------------------------------------------------------------------
My Dates
------------------------------------------------------------------------------------------
Intel(R) Pentium(R) 4 CPU 3.00GHz
Nvidia Geforce 7600GT
No Name soundcard I belive withe ac97 chip#

I Hope I can help
I hope someone can help me I have big hallucination and fear
greetz from germany

User avatar
Meal Worms
Posts: 624
Joined: Wed Apr 22, 2009 12:22 pm
Location: Toronto, Ontario, Canada
Contact:

Re: Linux Support

Postby Meal Worms » Wed May 05, 2010 6:51 am

Hi psychose,

Thanks for your post -- I'm glad that running Osmos under aoss works around the issue.

Can you please post the contents of the Osmos log to this thread (~/.Osmos/Osmos.log)?

Thanks!
Dave

patrick_leb
Posts: 7
Joined: Wed Aug 19, 2009 10:34 am

Re: Linux Support

Postby patrick_leb » Wed May 05, 2010 8:42 am

Hi,

I'm trying to run Osmos on Fedora 11 w/KDE4. I'm getting 100% CPU usage and can't play the game.
Here is my log:

Log opened on Wed May 5 12:37:42 2010
Commandline: ./Osmos.bin64
Preinitializing game: HEMI version 1.6.0 1314
Localization: using language "en"
Localization: loaded Osmos-en.loc
Arch: Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz
OS: Linux 2.6.30.10-105.2.23.fc11.x86_64 (#1 SMP Thu Feb 11 07:06:34 UTC 2010)
Using sound
Showing splash
Using fullscreen mode: 1920 x 1080
Not using vsync
Initializing GLRenderDevice...
OpenGL version: 2.1 Mesa 7.6-devel
Initializing game
Initializing GLRenderer...
Loading textures
Loading fonts
Backed up stats to Stats/Backup/Osmos_0001.sta
Initializing SoundSystem...
Initializing OpenAL
Getting OpenAL device list
Found 3 devices:
Device 0: PulseAudio Software (3: OPENAL DEFAULT)
Device 1: ALSA Software
Device 2: PortAudio Software
Pass 1: no valid device was specified (-1)
Pass 2: no valid device was specified (-1)
Pass 3: attempting device 0: "PulseAudio Software"...
Creating OpenAL context
Opened device "PulseAudio Software"
Device supports maximum 256 sources
Streaming music
Loading pre-splash sounds
Loading post-splash sounds

Has anyone seen this before?

User avatar
Meal Worms
Posts: 624
Joined: Wed Apr 22, 2009 12:22 pm
Location: Toronto, Ontario, Canada
Contact:

Re: Linux Support

Postby Meal Worms » Wed May 05, 2010 11:21 am

Hi patrick_leb,

Judging from the log, it looks like a problem with audio initialization. To verify this, please try launching the game with 'nosound' on the command line.

If the game runs without sound, then the PulseAudio drivers are likely the problem. Try instructing Osmos to run with ALSA instead by opening the Osmos config file (~/.Osmos/Config.cfg) file and setting soundDevice argument to 1.

If that doesn't fix the problem, maybe the drivers you have dislike streaming audio. Try disabling audio streaming by setting the streamMusic parameter to 0.

Hope this helps!
Dave

patrick_leb
Posts: 7
Joined: Wed Aug 19, 2009 10:34 am

Re: Linux Support

Postby patrick_leb » Wed May 05, 2010 11:50 am

Thanks Dave, but even with nosound I still get 100% CPU. Perhaps it's a video issue... Are there different video options I could try?

rtcm
Posts: 6
Joined: Fri Apr 30, 2010 5:26 pm

Re: Linux Support

Postby rtcm » Wed May 05, 2010 3:15 pm

patrick_leb wrote:Thanks Dave, but even with nosound I still get 100% CPU. Perhaps it's a video issue... Are there different video options I could try?


What graphics chip do you have? Do you have any non-default options set in /etc/X11/xorg.conf?

100% CPU on a non-vsynced OpenGL application is usually normal, it just means Osmos is throwing a new frame at the GPU as soon as it is finished with the previous. Now if you have, say, less than 20 FPS then that means your GPU and/or driver can't simply keep up a good frame rate.

rtcm
Posts: 6
Joined: Fri Apr 30, 2010 5:26 pm

Re: Linux Support

Postby rtcm » Wed May 05, 2010 4:01 pm

patrick_leb wrote:I'm trying to run Osmos on Fedora 11 w/KDE4. I'm getting 100% CPU usage and can't play the game.


Could you try updating to Fedora 12? Or maybe try on another machine/disk partition? F11 has an older version of OpenAL and the latest OpenAL (which is in F12) has better compatibility with PulseAudio according to http://kcat.strangesoft.net/openal.html.

Rui

psychose
Posts: 5
Joined: Mon May 03, 2010 9:38 am

Re: Linux Support

Postby psychose » Wed May 05, 2010 4:49 pm

patrick_leb wrote:Hi,

I'm trying to run Osmos on Fedora 11 w/KDE4. I'm getting 100% CPU usage and can't play the game.
Here is my log:
snip/
Initializing GLRenderDevice...
OpenGL version: 2.1 Mesa 7.6-devel
\snap


Hi
It's definitive a video issue
You use the opensource driver for your graphic card you should install the "close source" which has better 3d support

sorry for my poor english

greetz psychose

psychose
Posts: 5
Joined: Mon May 03, 2010 9:38 am

Re: Linux Support

Postby psychose » Wed May 05, 2010 5:13 pm

Meal Worms wrote:Hi psychose, :)

Thanks for your post -- I'm glad that running Osmos under aoss works around the issue.

Can you please post the contents of the Osmos log to this thread (~/.Osmos/Osmos.log)?

Thanks!
Dave


Gladly :D

I start Osmo with this command "aoss OsmosDemo" ( I have no money :( )

Osmos.log
----------------------------------------------------------------------------------------------------
Log opened on Thu May 6 03:01:41 2010
Commandline: ./OsmosDemo.bin32
Preinitializing game: HEMI version 1.6.0 1310
Localization: using language "de"
Localization: loaded Osmos-de.loc
Arch: Intel(R) Pentium(R) 4 CPU 3.00GHz
OS: Linux 2.6.32-21-generic-pae (#32-Ubuntu SMP Fri Apr 16 09:39:35 UTC 2010)
Using sound
Showing splash
Using fullscreen mode: 1920 x 1080
Not using vsync # I force vsync about nvidia setting successful but in osmo works too
Initializing GLRenderDevice...
OpenGL version: 2.1.2 NVIDIA 195.36.15
Initializing game
Initializing GLRenderer...
Loading textures
Loading fonts
Backed up stats to Stats/Backup/Osmos_0057.sta
Initializing SoundSystem...
Initializing OpenAL
Getting OpenAL device list
Found 3 devices:
Device 0: PulseAudio Software (3: OPENAL DEFAULT)
Device 1: ALSA Software
Device 2: OSS Software (1: USER-SPECIFIED) (2: OSMOS DEFAULT)
Pass 1: attempting device 2: "OSS Software"...
Creating OpenAL context
Opened device "OSS Software"
Device supports maximum 256 sources
Streaming music
Loading pre-splash sounds
Loading post-splash sounds
App exiting -- bye!
Writing config to Config.cfg
Deinitializing SoundSystem
Log closed on Thu May 6 03:01:51 2010
----------------------------------------------------------------------------------------------------
greetz Psychose
Last edited by psychose on Thu May 06, 2010 10:41 am, edited 3 times in total.

ttread
Posts: 1
Joined: Sun May 02, 2010 11:35 am

Re: Linux Support

Postby ttread » Wed May 05, 2010 9:43 pm

First, I want to say thanks for creating such a great game and porting it to Linux.

I'm having trouble on my Kubuntu 9.10 AMD_64 box w/Nvidia graphics - the game will run fine for 5 - 10 minutes, and then crash w/system shutdown. Sound and graphics are fine before crashing, although Kubuntu gives a notice about turning compositing off because it's too slow. No indication of error in Osmos.log. I suspect the 64-bit Nvidia graphics driver.

Here's my Osmos.log:

Log opened on Wed May 5 21:23:29 2010
Commandline: ./Osmos.bin64
Preinitializing game: HEMI version 1.6.0 1314
Localization: using language "en"
Localization: loaded Osmos-en.loc
Arch: AMD Athlon(tm) 64 Processor 4000+
OS: Linux 2.6.31-21-generic (#59-Ubuntu SMP Wed Mar 24 07:28:27 UTC 2010)
Using sound
Showing splash
Using fullscreen mode: 1440 x 900
Not using vsync
Initializing GLRenderDevice...
OpenGL version: 2.1.2 NVIDIA 185.18.36
Initializing game
Initializing GLRenderer...
Loading textures
Loading fonts
Backed up stats to Stats/Backup/Osmos_0005.sta
Initializing SoundSystem...
Initializing OpenAL
Getting OpenAL device list
Found 5 devices:
Device 0: ALSA Software (3: OPENAL DEFAULT)
Device 1: OSS Software (2: OSMOS DEFAULT)
Device 2: PortAudio Software
Device 3: PulseAudio Software
Device 4: Wave File Writer
Pass 1: no valid device was specified (-1)
Pass 2: attempting device 1: "OSS Software"...
Creating OpenAL context
Opened device "OSS Software"
Device supports maximum 256 sources
Streaming music
Loading pre-splash sounds
Loading post-splash sounds


Return to “Osmos PC (Win/Mac/Linux)”

Who is online

Users browsing this forum: No registered users and 24 guests