High FPS as root, low as user (linux)
Posted: Tue Dec 21, 2010 11:26 am
Problem:
Osmos running under root averages 60 FPS. Osmos running under my normal user averages five seconds per frame judging by the time it takes the Hemisphere logo to fade in. I start the game using startx -- :1 and a custom .xinitrc (below).
Hardware:
Radeon x300
AMD Athlon 1.8 GHz
1.5 GB ram
Software
Ubuntu 10.04
X and Radeon drivers from xorg-edgers (https://launchpad.net/~xorg-edgers/+archive/ppa)
My .xinitrc is the same for both accounts:
Osmos logs
root
normal user
Osmos running under root averages 60 FPS. Osmos running under my normal user averages five seconds per frame judging by the time it takes the Hemisphere logo to fade in. I start the game using startx -- :1 and a custom .xinitrc (below).
Hardware:
Radeon x300
AMD Athlon 1.8 GHz
1.5 GB ram
Software
Ubuntu 10.04
X and Radeon drivers from xorg-edgers (https://launchpad.net/~xorg-edgers/+archive/ppa)
My .xinitrc is the same for both accounts:
Code: Select all
#!/bin/bash
xmodmap ~/.config/Xmodmap &
xset m 4 8 &
xrandr -s 800x600
exec Osmos
Osmos logs
root
Code: Select all
Log opened on Tue Dec 21 11:21:57 2010
Commandline: ./Osmos.bin32
Preinitializing game: HEMI version 1.6.0 1314
Localization: using language "en"
Localization: loaded Osmos-en.loc
Arch: AMD Athlon(tm) 64 Processor 2800+
OS: Linux 2.6.32-25-generic (#45-Ubuntu SMP Sat Oct 16 19:48:22 UTC 2010)
Using sound
Showing splash
xmodmap: unable to open file '/root/Xmodmap' for reading
xmodmap: 1 error encountered, aborting.
Using fullscreen mode: 800 x 600
Not using vsync
Initializing GLRenderDevice...
OpenGL version: 2.1 Mesa 7.10-devel
Initializing game
Initializing GLRenderer...
Loading textures
Loading fonts
Backed up stats to Stats/Backup/Osmos_0004.sta
Initializing SoundSystem...
Initializing OpenAL
Getting OpenAL device list
Found 4 devices:
Device 0: PulseAudio Software (3: OPENAL DEFAULT)
Device 1: ALSA Software
Device 2: OSS Software (2: OSMOS DEFAULT)
Device 3: PortAudio Software
Pass 1: no valid device was specified (-1)
Pass 2: attempting device 2: "OSS Software"...
Failed to open device
Pass 3: attempting device 0: "PulseAudio Software"...
Failed to open device
WARNING: Failed to initialize OpenAL
App exiting -- bye!
Writing config to Config.cfg
Log closed on Tue Dec 21 11:22:06 2010
normal user
Code: Select all
Log opened on Tue Dec 21 11:17:04 2010
Commandline: ./Osmos.bin32
Preinitializing game: HEMI version 1.6.0 1314
Localization: using language "en"
Localization: loaded Osmos-en.loc
Arch: AMD Athlon(tm) 64 Processor 2800+
OS: Linux 2.6.32-25-generic (#45-Ubuntu SMP Sat Oct 16 19:48:22 UTC 2010)
Using sound
Showing splash
Using fullscreen mode: 800 x 600
Not using vsync
Initializing GLRenderDevice...
OpenGL version: 2.1 Mesa 7.10-devel
Initializing game
Initializing GLRenderer...
Loading textures
Loading fonts
Initializing SoundSystem...
Initializing OpenAL
Getting OpenAL device list
Found 4 devices:
Device 0: PulseAudio Software (3: OPENAL DEFAULT)
Device 1: ALSA Software
Device 2: OSS Software (2: OSMOS DEFAULT)
Device 3: PortAudio Software
Pass 1: no valid device was specified (-1)
Pass 2: attempting device 2: "OSS Software"...
Failed to open device
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