Go Back   Champions of Regnum > English > Technical Support > Linux

Linux Technical issues under Linux platform

Reply
 
Thread Tools Display Modes
Old 10-27-2009, 07:03 AM   #1
onemyndseye
Master
 
onemyndseye's Avatar
 
Join Date: Jul 2008
Location: South Central USA
Posts: 260
onemyndseye is on a distinguished road
Default PulseAudio performance test (Karmic?)

I ran some tests tonight and stumbled on some interesting results...

First, I noticed my FPS has really suffered lately. So i started looking into it. And I found that turning RO's internal volume control all the way down make a HUGE difference. Not just 10-20fps. But LARGE jumps in FPS.

So I starting thinking ... hrmm.. I wonder if PulseAudio is bottle-necking RO..?

Testing was simple enough: Launch RO and turn in a circle until FPS stabilize and take a screen. Repeat bypassing PulseAudio (of sorts)

Test1 (Normal Launch):
Code:
onemyndseye@onemyndsmobile:~/regnum$ ./rolauncher
Result:

Test2 (Launch with OSS):
Code:
onemyndseye@onemyndsmobile:~/regnum$ aoss ./rolauncher
Result:


WOW! O.O


These results are in no way conclusive or even 100% consistent (so far I would say 80% consistent) and I will continue to test, but the results were so surprising I wanted to share and get a discussion started on this topic.
__________________
RA/Syrtis Hunter LVL50: Elusis
RA/Syrtis Barba LVL50: Artemisia
RA/Syrtis Conju Lvl45: Nellas Miriel

Last edited by onemyndseye; 10-27-2009 at 03:50 PM.
onemyndseye no ha iniciado sesión   Reply With Quote
Old 10-27-2009, 03:58 PM   #2
Myxir
Count
 
Myxir's Avatar
 
Join Date: Mar 2007
Location: Germany
Posts: 1,164
Myxir is on a distinguished road
Default

Interesting.
I'm not sure but isn't openal a very old implementation?
I'm using a fresh karmic install with pulseaudio of course.
When I want to start it with aoss it just segfaults when selecting "enter gameworld".

I'll try to make it work with aoss as well :/
__________________
French Warriors of Syrtis: Nessa Telrunya (Hunter) - Myxir (Warlock) - Estra (Conjurer)
In War it does not matter who is right, but who is left.
Myxir no ha iniciado sesión   Reply With Quote
Old 10-27-2009, 05:25 PM   #3
DkySven
Marquis
 
DkySven's Avatar
 
Join Date: Jul 2007
Location: The Netherlands
Posts: 2,076
DkySven has a spectacular aura aboutDkySven has a spectacular aura about
Default

I use a fresh install of ubuntu 9.10 and when playing games the sound will crash after a while, which will also cause the game to freeze when trying to exit it. This only happens with games, all other sound on my system keeps working. It looks like this is PulseAudio-related.
__________________
Dky Sven, level 54 knight (Ra) Valhalla
Dky the Goat, level 35 conjurer(Ra)
Dky Sven, level 51 knight(Horus) Something
DkySven no ha iniciado sesión   Reply With Quote
Old 10-27-2009, 05:30 PM   #4
onemyndseye
Master
 
onemyndseye's Avatar
 
Join Date: Jul 2008
Location: South Central USA
Posts: 260
onemyndseye is on a distinguished road
Default

yes - tried this on a different machine and got the segfault you mentioned..

OpenAL has been replaced by OpenAL Soft which is a much better implentation and is very well maintained unlike the older "OpenAL"

aoss tells RO to use the alsa-oss layer instead of pulse in either case still routes through OpenAL-Soft best of my understanding.
__________________
RA/Syrtis Hunter LVL50: Elusis
RA/Syrtis Barba LVL50: Artemisia
RA/Syrtis Conju Lvl45: Nellas Miriel
onemyndseye no ha iniciado sesión   Reply With Quote
Old 10-27-2009, 06:14 PM   #5
Myxir
Count
 
Myxir's Avatar
 
Join Date: Mar 2007
Location: Germany
Posts: 1,164
Myxir is on a distinguished road
Default

Quote:
Originally Posted by onemyndseye View Post
aoss tells RO to use the alsa-oss layer instead of pulse in either case still routes through OpenAL-Soft best of my understanding.
Yes, I know how aoss works. But I did not know about OpenAL soft. Thanks about that.
__________________
French Warriors of Syrtis: Nessa Telrunya (Hunter) - Myxir (Warlock) - Estra (Conjurer)
In War it does not matter who is right, but who is left.
Myxir no ha iniciado sesión   Reply With Quote
Old 10-27-2009, 06:17 PM   #6
surak
Legend
 
surak's Avatar
 
Join Date: Mar 2006
Location: Oslo
Posts: 2,176
surak has a spectacular aura aboutsurak has a spectacular aura about
Default

I've been noticing some nasty problems in with openal+pulseaudio in Karmic. (game freezes, and i can hear the music badly distorted). Anyone else having similar issues?
__________________
Surak Remember... this is just a game! - Xephandor existe y Miriya es su profeta!
surak no ha iniciado sesión   Reply With Quote
Old 11-05-2009, 12:58 PM   #7
Blastermaster77
Pledge
 
Join Date: Sep 2006
Posts: 8
Blastermaster77 is on a distinguished road
Default Heres my fix to audio problem

Ok people what I did was this:

In the terminal:

sudo gedit /etc/openal/alsoft.conf

change the divice line form Alasa backend stuff to this:

## ALSA backend stuff
##
[alsa]

## device:
# Sets the device name for the default playback device.
device = alsa


remember to un coment it.

Hope this helps.
Blastermaster77 no ha iniciado sesión   Reply With Quote
Old 11-05-2009, 01:18 PM   #8
kamax
Master
 
kamax's Avatar
 
Join Date: Oct 2007
Location: france
Posts: 397
kamax is on a distinguished road
Default

I think with this setup your sound card will be busy for other sound program using pulseaudio, except if your other program are configured to use alsa too.
kamax no ha iniciado sesión   Reply With Quote
Old 11-05-2009, 02:07 PM   #9
Blastermaster77
Pledge
 
Join Date: Sep 2006
Posts: 8
Blastermaster77 is on a distinguished road
Default

Quote:
Originally Posted by kamax View Post
I think with this setup your sound card will be busy for other sound program using pulseaudio, except if your other program are configured to use alsa too.
Nop I tested it with 3 sound app at the same time and it works fine.
Blastermaster77 no ha iniciado sesión   Reply With Quote
Old 02-20-2010, 08:31 PM   #10
pssshhtt
Pledge
 
Join Date: Mar 2009
Location: france
Posts: 5
pssshhtt is on a distinguished road
Default

Quote:
I've been noticing some nasty problems in with openal+pulseaudio in Karmic. (game freezes, and i can hear the music badly distorted). Anyone else having similar issues?
+1
I've updated to 9.10 last week and I almost always loose sound in battles .
since last update I've also lost char dresses in char selection screen (except 1 of my chars)
it's hard for me to play without sound so please, do sthing
thanks
__________________
syrtis - horus : Lune d'or (marks 50) / Requiemz (hunter 50) and some others
pssshhtt no ha iniciado sesión   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:52 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
NGD Studios 2002-2024 © All rights reserved