Lower performance on Ubuntu 8.04 than on XP same machine.

Lower performance on Ubuntu 8.04 than on XP same machine.

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

Post Reply
Aztek
Posts: 36
Joined: 10 Jun 2008, 04:53

Lower performance on Ubuntu 8.04 than on XP same machine.

Post by Aztek »

I'm running the following setup:

Dual Core Opteron 165 OC to 2.4GHz
Geforce 8800GTS 640MB
2GB OCZ Performance RAM
500GB SATA HD

I'm dual booting XP and Ubuntu. I prefer to use Ubuntu, but the performance for Spring doesn't seem to be the same. I'm getting lower framerates, the scroll-zoom is choppy, I can't turn AA up as high, textures don't seem as smooth (almost looks pixelated), etc.

I followed the instructions to disable one CPU core for XP with no noticeable increase in performance (didn't check FPS), but didn't see similar instructions for Linux. Is there a way to accomplish the same thing?

Any ideas/common issues with geforce cards on linux?

Thanks,
Aztek
User avatar
aegis
Posts: 2456
Joined: 11 Jul 2007, 17:47

Re: Lower performance on Ubuntu 8.04 than on XP same machine.

Post by aegis »

are you using the latest nvidia driver with envy-ng?
Aztek
Posts: 36
Joined: 10 Jun 2008, 04:53

Re: Lower performance on Ubuntu 8.04 than on XP same machine.

Post by Aztek »

Yep I ran envy-ng yesterday.

I just fixed the mouse problem using the instructions in the wiki to run:

echo 'export SDL_MOUSE_RELATIVE=0' >> ~/.bash_profile

Shouldn't I have seen some output from that since it's an echo (didn't see any)?
User avatar
aegis
Posts: 2456
Joined: 11 Jul 2007, 17:47

Re: Lower performance on Ubuntu 8.04 than on XP same machine.

Post by aegis »

the >> pipe the output into a file
Aztek
Posts: 36
Joined: 10 Jun 2008, 04:53

Re: Lower performance on Ubuntu 8.04 than on XP same machine.

Post by Aztek »

Ah ok thanks for explaining.

I noticed that envy-ng appears to have installed Forceware 169, but the latest Linux binaries from NVIDIA are version 173.

I think the framerate is my last issue to solve. I just did a side-by-side of the image quality and it's very close to the same so must be in my head.

As for framerate, Ubuntu does seem to be lower. I'm thinking maybe this can be attributed to the dual-core issue?
User avatar
aegis
Posts: 2456
Joined: 11 Jul 2007, 17:47

Re: Lower performance on Ubuntu 8.04 than on XP same machine.

Post by aegis »

are you running compiz, compiz-fusion or any desktop effects?
Aztek
Posts: 36
Joined: 10 Jun 2008, 04:53

Re: Lower performance on Ubuntu 8.04 than on XP same machine.

Post by Aztek »

Nope I disabled all of those.
YokoZar
Posts: 883
Joined: 15 Jul 2007, 22:02

Re: Lower performance on Ubuntu 8.04 than on XP same machine.

Post by YokoZar »

How much lower are we talking about here?
Aztek
Posts: 36
Joined: 10 Jun 2008, 04:53

Re: Lower performance on Ubuntu 8.04 than on XP same machine.

Post by Aztek »

I will do a comparison, but I asked someone else (may have been aegis) and they said they were getting better performance using Ubuntu.
User avatar
aegis
Posts: 2456
Joined: 11 Jul 2007, 17:47

Re: Lower performance on Ubuntu 8.04 than on XP same machine.

Post by aegis »

for a dual-processor computer, try irqbalance
I also got higher fps after compiling spring myself
User avatar
Vadi
Posts: 446
Joined: 03 Jan 2008, 14:51

Re: Lower performance on Ubuntu 8.04 than on XP same machine.

Post by Vadi »

Ubuntu already does the balanced scheduling, irqbalance won't do anything.

There was some command to check this but I forgot. But in short, ubuntu already has this some else enabled by default that balances fairly.
HAARP
Posts: 182
Joined: 06 Apr 2006, 07:18

Re: Lower performance on Ubuntu 8.04 than on XP same machine.

Post by HAARP »

cat /proc/interrupts ?
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Re: Lower performance on Ubuntu 8.04 than on XP same machine.

Post by LordMatt »

169 is a fast driver for me. I haven't updated to anything newer yet. Do you have the graphics settings the same in both versions (including not having ground decals set high in either)?
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Re: Lower performance on Ubuntu 8.04 than on XP same machine.

Post by clericvash »

Vadi wrote:Ubuntu already does the balanced scheduling, irqbalance won't do anything.

There was some command to check this but I forgot. But in short, ubuntu already has this some else enabled by default that balances fairly.
CFS, completely fair scheduler, included into the Linux Kernel, so ubuntu should use it. (if its not CFS its the other one as i know there was two).
Post Reply

Return to “Linux”