Linux Support

Feedback and support for the PC version of Osmos
Na-Fiann
Posts: 4
Joined: Mon Apr 19, 2010 2:39 am

Re: Linux Support

Postby Na-Fiann » Thu Apr 29, 2010 11:54 am

Hi,

it's starting with me with no sound. Which is weird, because in the beta I had no problems.
I just tried the beta again, and it's the same there.

I've checked the logs and it's saying it can only find the oss device, even though openal soft is installed and pulseaudio too (I'm running ubuntu karmic, with the latest sound drivers)

running padsp /opt/Osmos/Osmos works of course, but I'd rather see it use pulseaudio directly (which is my openal default).

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 » Thu Apr 29, 2010 11:57 am

Hi Na-Fiann,

Welcome to the world of audio under Linux. Unfortunately there are many OSS drivers which stink and don't allow you to have two apps open at once playing sound. So if you e.g. close your webrowser, then launch Osmos, you'll probably be okay.

But I'm surprised your machine doesn't have multiple OpenAL-supporting devices. Osmos will try to open OSS, but if it finds it unopenable because of the above driver bug, it should fall back to another device.

Can you please paste the contents of your Osmos log, which at startup lists all OpenAL-supporting devices on your machine?

Thanks,
Dave

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 » Thu Apr 29, 2010 12:00 pm

@ mimox: Sadly the Linux world is struggling when it comes to audio. Do have any other options sound device options other than OSS and PulseAudio?

Na-Fiann
Posts: 4
Joined: Mon Apr 19, 2010 2:39 am

Re: Linux Support

Postby Na-Fiann » Thu Apr 29, 2010 12:11 pm

Yeah I know, ossv3 sucks, ossv4 still doesn't have many drivers and isn't widely accepted.
However, I expected openal to find my pulseaudio, and try that instead. (because I set openal default as my driver in the config file)
here's the log of one attempt (the rest are similar)

Code: Select all

Log opened on Thu Apr 29 20:46:41 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 Duo CPU     T6500  @ 2.10GHz
OS: Linux 2.6.31-20-generic (#58-Ubuntu SMP Fri Mar 12 04:38:19 UTC 2010)
Using sound
Showing splash
Using fullscreen mode: 1366 x 768
Not using vsync
Initializing GLRenderDevice...
OpenGL version: 2.1.9026
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 1 devices:
  Device 0: OSS Software (2: OSMOS DEFAULT) (3: OPENAL DEFAULT)
Pass 1: no valid device was specified (3)
Pass 2: attempting device 0: "OSS Software"...
Failed to open device
Pass 3: attempting device 0: "OSS Software"...
Failed to open device
WARNING: Failed to initialize OpenAL
App exiting -- bye!
Writing config to Config.cfg
Log closed on Thu Apr 29 20:47:06 2010

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 » Thu Apr 29, 2010 12:18 pm

hmmm, well according to that log file, OSS is the only OpenAL-supported device being reported by the OpenAL API.

So you do have PulseAudio installed? I'm afraid I'm no Linux audio expert, and therefore not really able to give advice on how to correctly install and configure devices for OpenAL support...

Not a permanent solution, but until you can sort out the PulseAudio/OpenAL woes, can you verify that any other apps that might be doing audio playback with OSS are closed, so that the OSS device can open properly?

Are you using any experiemental/non-standard kernal/sounddriver/etc modules?

Dave

Faemir
Posts: 1
Joined: Thu Apr 29, 2010 3:07 pm

Re: Linux Support

Postby Faemir » Thu Apr 29, 2010 3:09 pm

Hey guys, just like to comment that I'm really grateful for you porting Osmos to Linux, it's one less thing to boot into windows for :) I did however buy it on steam, but when i'm temporarily not a skint student i'll be sure to get it. In hindsight I should have got it direct from you anyway, I prefer giving more money direct to indie developers.

Thanks for the game and thanks for the Linux version!

niick
Posts: 5
Joined: Tue Sep 01, 2009 1:15 pm

Re: Linux Support

Postby niick » Thu Apr 29, 2010 3:23 pm

Wow. Thanks for this, what a great game! And for linux! I'm using gentoo, with nouveau and oss and the game works out of the box! (well, not box but download).

I really hope you get plenty of support and make more linux games :D

dna
Posts: 1
Joined: Thu Apr 29, 2010 7:25 pm

Re: Linux Support

Postby dna » Thu Apr 29, 2010 7:49 pm

I have also freezes sometimes.
"game just froze... no notifications etc, no idea what caused it. I could alt-tab out of the game and kill it on the terminal"

Isnt there another "log" level?
i could reproduce the crash and paste the log here...

whatever...here the..."small"-logfile :D

((Im running a "#! Crunchbang Linux" 32bit Distro. (Ubuntu based)))


Commandline: ./Osmos.bin32
Preinitializing game: HEMI version 1.6.0 1314
Localization: using language "en"
Localization: loaded Osmos-en.loc
Arch: Intel(R) Pentium(R) Dual CPU T3200 @ 2.00GHz
OS: Linux 2.6.28-18-generic (#60-Ubuntu SMP Fri Mar 12 04:40:52 UTC 2010)
Using sound
Showing splash
Using fullscreen mode: 1280 x 800
Not using vsync
Initializing GLRenderDevice...
OpenGL version: 3.0.0 NVIDIA 180.44
Initializing game
Initializing GLRenderer...
Loading textures
Loading fonts
Backed up stats to Stats/Backup/Osmos_0002.sta
Initializing SoundSystem...
Initializing OpenAL
Getting OpenAL device list
Found 4 devices:
Device 0: ALSA Software on default (3: OPENAL DEFAULT)
Device 1: ALSA Software on HDA Intel
Device 2: OSS Software (2: OSMOS DEFAULT)
Device 3: Wave File Writer
Pass 1: no valid device was specified (-1)
Pass 2: 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
<-- End of the log when the game crashed... not very helpful ;)

and THX!!! for the non-wine linux port...

dna

kiwibird
Posts: 3
Joined: Fri Apr 30, 2010 1:40 am

Works, but so slow it's unplayable

Postby kiwibird » Fri Apr 30, 2010 1:53 am

Just bought it, thanks for making a real GNU/Linux port =D

Unfortunately, I'm having some trouble. It seems to start up correctly, see my Osmos.log and Config, but it just runs syrup slow; takes several minutes to get to the Newton quote. I ran windowed and made it as small as possible, that was slightly helpful, but so laggy I gave up on actually playing.

I'm running Arch Linux 64-bit, with an integrated Radeon HD4200. Games like Supertuxkart run fine. My hardware and configuration is described here. Anyone else have a fix, or know how I should debug this?

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 » Fri Apr 30, 2010 6:14 am

Thanks for the kind words folks!

@dna: Looks like the game is crash during sound loading. Can you please verify that your sound drivers are up-to-date? Also, can you try specifying a different choice of sound device, by opening the Osmos config file and changing the 'soundDevice' parameter to a different device index, as reported in the Osmos log?

@kiwibird: Osmos makes heavy use of framebuffer blending, which ATI cards have been known to support poorly in their drivers. Can you please verify your drivers are up-to-date? Are you using open-source drivers or the official Catalyst drivers from ATI?

Thanks,
Dave


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

Who is online

Users browsing this forum: No registered users and 22 guests