Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Doom 3 [demo] slow on Linux
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
tactless
l33t
l33t


Joined: 14 Jul 2002
Posts: 642
Location: Mitzpe Adi, Israel

PostPosted: Tue Oct 05, 2004 8:01 pm    Post subject: Doom 3 [demo] slow on Linux Reply with quote

First of all, my specs:
Abit NF7 (nForce II)
AMD Athlon XP 2600 @ 1830 Mhz
nVidia GeForce FX 5700
Vanilla 2.6 kernel

First of all, you can get a nice performance boost, much like in UT2004, by replacing the installed .so files in the doom3 with symlinks to your compiled ones. /me loves Gentoo :)
Secondly, to get an idea of what commands are available, note that that /cmdlist from Quake has become /listcmds, just as /cvarlist has become /listvars - and as always, supports wildcards. Also, the console now has tab-completion (now where are those three features in UT2004?).

First I must note that UT2004 works very well on my system (I'll try to get a benchmark), especially with the latest patches.

Now, in 800x600 at medium quality (and no AA) in the Doom3 demo, I get around 40fps, and that can drop to below 20 in crouded scenes. 1024x768, the native resolution for my LCD screen, makes that 10-30 FPS. Mind you, this is after switching to symlinks. It was worse before. But the really odd thing is that the menu itself only does about 60fps in 800x600, and 30fps at 1024x768! That just can't be right.

In Windows XP, however, things are much smoother. The game runs quite smoothly at 1024x768. I'd love to say what the framerate is, but for some odd reason, pressing the ~ key will not bring down the console in Windows XP! I have no idea why. My estimate would be that the game runs at 30-60 FPS in Windows.

Can you guys give your benchmarks (and benchmarking tips)?
_________________
Tactless

"If it wasn't for fog, the world would run at a really crappy framerate."

Jabber: tactless@amessage.info
Back to top
View user's profile Send private message
Imek
Guru
Guru


Joined: 20 Jan 2004
Posts: 390
Location: Newcastle, England

PostPosted: Tue Oct 05, 2004 8:18 pm    Post subject: Reply with quote

I just noticed too that the console didn't work in Windows, though I could've sworn I had it working with no problems before. Maybe you need to hold ctrl+alt+`? Failing that, the way I got around it was to just add the 'set com_showfps "1"' line to my DoomConfig.cfg file. Maybe that way you can get a better idea of the difference of performance between XP and Gentoo, because I'm not sure whether your performance is all that bad for your specs.

Oh, and thanks for the symlink tip, it helped. I should have thought of it earlier because I did the same thing with UT2004 already.
_________________
- I
(very old) "Current" desktop | Adopt an unanswered post today!
Back to top
View user's profile Send private message
Mr_Smiley
n00b
n00b


Joined: 29 Apr 2004
Posts: 72
Location: Adelaide, South Australia

PostPosted: Tue Oct 05, 2004 8:27 pm    Post subject: Reply with quote

I think its SHIFT + ~ to bring up console in windows.
Or you could add that line to your config
Back to top
View user's profile Send private message
deathdruid
Guru
Guru


Joined: 25 Jul 2002
Posts: 343
Location: Philadelphia, PA, USA

PostPosted: Wed Oct 06, 2004 1:49 am    Post subject: Reply with quote

See the Doom 3 Tweak Guide for a description of all the cool console tricks you can do to squeeze out some more performance. I should try that symlink thing out myself.
Back to top
View user's profile Send private message
5a\/ag3
Apprentice
Apprentice


Joined: 08 Aug 2003
Posts: 175
Location: Spruce Grove Alberta, Canada

PostPosted: Wed Oct 06, 2004 2:11 am    Post subject: Reply with quote

Control Alt ~ is the combo
_________________
Yeah... I got nothin for this field!
Back to top
View user's profile Send private message
JoeG
Apprentice
Apprentice


Joined: 30 Jul 2003
Posts: 179
Location: Kentucky, USA

PostPosted: Wed Oct 06, 2004 2:16 pm    Post subject: Re: Doom 3 [demo] slow on Linux Reply with quote

tactless wrote:


First of all, you can get a nice performance boost, much like in UT2004, by replacing the installed .so files in the doom3 with symlinks to your compiled ones. /me loves Gentoo :)


Which .so files are you replacing with symlinks to which files? Are you referring to replacing libstdc++.so.5 and libgcc_s.so.1 with symlinks to the ones in /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/ ?

Thx,
JoeG
_________________
Linux User#226477
Back to top
View user's profile Send private message
feld
Guru
Guru


Joined: 29 Aug 2004
Posts: 593
Location: WI, USA

PostPosted: Wed Oct 06, 2004 3:24 pm    Post subject: Reply with quote

yes can we please (for those of us who are somewhat n00bs yet) get a more detailed explanation as to of where the links are supposed to be looking at and exactly which files it was u simlinked?


thanks, it would b much appreciated!



-Feld
Back to top
View user's profile Send private message
Imek
Guru
Guru


Joined: 20 Jan 2004
Posts: 390
Location: Newcastle, England

PostPosted: Wed Oct 06, 2004 4:04 pm    Post subject: Re: Doom 3 [demo] slow on Linux Reply with quote

JoeG wrote:

Which .so files are you replacing with symlinks to which files? Are you referring to replacing libstdc++.so.5 and libgcc_s.so.1 with symlinks to the ones in /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/ ?


You are correct.
_________________
- I
(very old) "Current" desktop | Adopt an unanswered post today!
Back to top
View user's profile Send private message
Imek
Guru
Guru


Joined: 20 Jan 2004
Posts: 390
Location: Newcastle, England

PostPosted: Wed Oct 06, 2004 4:19 pm    Post subject: Reply with quote

oh, and some people seem to get improvements with this tip, but personally I don't see anything dramatic.
_________________
- I
(very old) "Current" desktop | Adopt an unanswered post today!
Back to top
View user's profile Send private message
tactless
l33t
l33t


Joined: 14 Jul 2002
Posts: 642
Location: Mitzpe Adi, Israel

PostPosted: Wed Oct 06, 2004 5:10 pm    Post subject: Reply with quote

Okay, so I checked things out in Windows as well. First I must remind you that the settings are the same for both.

Menu
Windows: Menu runs at a constant 60-61 FPS.
Linux: Menu runs at 60 FPS initially, but once Mars zooms into view (higher LOD, I guess), it drops to 40.

Gameplay
Windows: 30-60FPS
Linux: 20-40FPS

And one particularily complex scene that I've run into - the infermary (after clearing everyone out, and taking a clear view from the far end of the room, over the tables to the window):
Windows: 20FPS
Linux: A whopping 11FPS.

So Linux is running the game 30%-50% slower for me! :cry:

This, by the way, is after the slight improvement (~10%) I got with the symlinks, and after bumping the image cache size (no effect). I do not wish to begin tweaking Doom's settings to get it to run faster - I want to see why it's running slower under the same settings! (diff'd the configuration files :))
I'm using nVidia's 6111 driver with a 2.6.7 vanilla kernel. AGP is disabled in the kernel - I'm letting nVidia's driver do that work (hasn't changed performance for me in the past). Running under Openbox (lighter than Id's recommend Fluxbox!).
_________________
Tactless

"If it wasn't for fog, the world would run at a really crappy framerate."

Jabber: tactless@amessage.info
Back to top
View user's profile Send private message
Imek
Guru
Guru


Joined: 20 Jan 2004
Posts: 390
Location: Newcastle, England

PostPosted: Wed Oct 06, 2004 5:34 pm    Post subject: Reply with quote

What do you get from 'cat /proc/driver/nvidia/agp/status'? I realised I had fastwrites off and turning them on gave me a performance boost.
_________________
- I
(very old) "Current" desktop | Adopt an unanswered post today!
Back to top
View user's profile Send private message
nyda
Apprentice
Apprentice


Joined: 12 Aug 2004
Posts: 183

PostPosted: Wed Oct 06, 2004 5:54 pm    Post subject: Reply with quote

tactless wrote:
So Linux is running the game 30%-50% slower for me! :cry:


Just guessing, but does it look the same on Windows and Linux? On my box, Doom3-Windows did not detect my graphics card properly and assumed 64MB which caused it to use lower resolution textures despite me setting it to high. I had to set it manually to 128MB on the commandline.
On Linux the card is detected properly and the game really uses the texureresolutions I select.

Point is, it looked a lot better after setting it to 128MB (especially boss mobs), but it also runs *A LOT* slower. Maybe thats creating the discrepancies you noticed.
Back to top
View user's profile Send private message
tactless
l33t
l33t


Joined: 14 Jul 2002
Posts: 642
Location: Mitzpe Adi, Israel

PostPosted: Wed Oct 06, 2004 6:27 pm    Post subject: Reply with quote

Just enabled fast writes (SBA was enabled) - no change

Linux and Windows versions look the same to me. Both have the following line in their configuration:
seta com_videoRam "128".

Again, I've diffed the files, and fo und nothing.
_________________
Tactless

"If it wasn't for fog, the world would run at a really crappy framerate."

Jabber: tactless@amessage.info
Back to top
View user's profile Send private message
nyda
Apprentice
Apprentice


Joined: 12 Aug 2004
Posts: 183

PostPosted: Wed Oct 06, 2004 6:57 pm    Post subject: Reply with quote

Could be your windows driver settings. Are you sure you don't force some features off in windows? Trilinear filtering, mipmap detail etc? You might be using different driversettings on Linux.
Or it might just be slower for your system...
Back to top
View user's profile Send private message
smerrima
n00b
n00b


Joined: 16 Mar 2004
Posts: 47
Location: Boise, ID

PostPosted: Wed Oct 06, 2004 7:54 pm    Post subject: Reply with quote

How do you enable fast writes? Mine are disables as well.
_________________
-Seth
Back to top
View user's profile Send private message
Imek
Guru
Guru


Joined: 20 Jan 2004
Posts: 390
Location: Newcastle, England

PostPosted: Wed Oct 06, 2004 7:55 pm    Post subject: Reply with quote

smerrima wrote:
How do you enable fast writes? Mine are disables as well.


Edit /etc/modules.d/nvidia
_________________
- I
(very old) "Current" desktop | Adopt an unanswered post today!
Back to top
View user's profile Send private message
smerrima
n00b
n00b


Joined: 16 Mar 2004
Posts: 47
Location: Boise, ID

PostPosted: Wed Oct 06, 2004 7:58 pm    Post subject: Reply with quote

thanks
_________________
-Seth
Back to top
View user's profile Send private message
tactless
l33t
l33t


Joined: 14 Jul 2002
Posts: 642
Location: Mitzpe Adi, Israel

PostPosted: Wed Oct 06, 2004 10:38 pm    Post subject: Reply with quote

nyda wrote:
Could be your windows driver settings. Are you sure you don't force some features off in windows? Trilinear filtering, mipmap detail etc? You might be using different driversettings on Linux.

I left the drive to its default settings. Nothing forced off.

nyda wrote:
Or it might just be slower for your system...

I simply refuse to accept that. It's faster on Linux for others.
_________________
Tactless

"If it wasn't for fog, the world would run at a really crappy framerate."

Jabber: tactless@amessage.info
Back to top
View user's profile Send private message
smerrima
n00b
n00b


Joined: 16 Mar 2004
Posts: 47
Location: Boise, ID

PostPosted: Thu Oct 07, 2004 1:00 am    Post subject: Reply with quote

I just got home and am testing the frame rate and am really dissapointed. Here are my system specs:

AMD 2600+ (2Ghz, 256k cache)
1Gb of DDR 333 Mhz RAM
Nvidia 5200 FX with 128 mb DDR

In game I am getting 10-16 fps most of the time. Also I have replace the .so files in /opt/doom3 with the ones I complied already.

This just can't be right...
_________________
-Seth
Back to top
View user's profile Send private message
smerrima
n00b
n00b


Joined: 16 Mar 2004
Posts: 47
Location: Boise, ID

PostPosted: Thu Oct 07, 2004 1:11 am    Post subject: Reply with quote

fast writes seemed to gain me about 5fps
_________________
-Seth
Back to top
View user's profile Send private message
ConVicTioN
Tux's lil' helper
Tux's lil' helper


Joined: 24 Sep 2004
Posts: 80
Location: Orlando

PostPosted: Thu Oct 07, 2004 4:26 am    Post subject: Reply with quote

Make sure memory usage is the same with com_showMemoryUsage
in windows and nix.
Here is some config mem tweaks for doom. I noticed this right away. Nix d3 was only using 32 meg. Windows auto manages this that is why so many get none to 15fps jump. Nix does what it is told 32 meg for textures in not even close to enuff. I set this to 256 and the game uses about 90 to 130 more depending on the action or objects in game. Q3 same way.

seta image_useCache "1" //sets to maunal cache
seta image_cacheMegs "256" //set this to half your total system ram
seta image_cacheMinK "20480" //change or will crash when useCache is fliped on
seta com_videoram "64" //Video Card Ram
_________________
I think there for I am?
Back to top
View user's profile Send private message
smerrima
n00b
n00b


Joined: 16 Mar 2004
Posts: 47
Location: Boise, ID

PostPosted: Thu Oct 07, 2004 5:07 am    Post subject: Reply with quote

Quote:
Make sure memory usage is the same with com_showMemoryUsage
in windows and nix.
Here is some config mem tweaks for doom. I noticed this right away. Nix d3 was only using 32 meg. Windows auto manages this that is why so many get none to 15fps jump. Nix does what it is told 32 meg for textures in not even close to enuff. I set this to 256 and the game uses about 90 to 130 more depending on the action or objects in game. Q3 same way.

seta image_useCache "1" //sets to maunal cache
seta image_cacheMegs "256" //set this to half your total system ram
seta image_cacheMinK "20480" //change or will crash when useCache is fliped on
seta com_videoram "64" //Video Card Ram


How much RAM do you have? The Doom3 tweak guide said only to do this if you have less than 1GB of RAM.
_________________
-Seth
Back to top
View user's profile Send private message
ConVicTioN
Tux's lil' helper
Tux's lil' helper


Joined: 24 Sep 2004
Posts: 80
Location: Orlando

PostPosted: Thu Oct 07, 2004 5:32 am    Post subject: Reply with quote

What tweak guide? upsetchaps?
I dont look at tweak guides.
These commands been in ID games for a long time. Always been used the same way. As far as a tweak guide saying that more then 1 gig in ram dont worry about this tweak. Sounds like a windows tweak guide. Memory calls and allication is handled way different from nix to doze.
I have 512 in one machine and 2 gig in the other both had a nice jump is fps with seta image_cacheMegs //set this to half your total system ram . This is just my exp with this command on nix in ID games.
_________________
I think there for I am?
Back to top
View user's profile Send private message
tactless
l33t
l33t


Joined: 14 Jul 2002
Posts: 642
Location: Mitzpe Adi, Israel

PostPosted: Thu Oct 07, 2004 9:32 am    Post subject: Reply with quote

No help :(
It's looking like a CPU utilization issue...
_________________
Tactless

"If it wasn't for fog, the world would run at a really crappy framerate."

Jabber: tactless@amessage.info
Back to top
View user's profile Send private message
Tuna
Guru
Guru


Joined: 19 Jul 2002
Posts: 485
Location: Berlin

PostPosted: Thu Oct 07, 2004 12:09 pm    Post subject: Reply with quote

hm.. played around with the nvidia-settings? i was dissapointed with the performance too.. but i noticed the games was 8x antialiased on my ti 4200 although the "overwrite apllication default" was unchecked and the slider was grayed out. setting the antialiasing option back to zero helped a lot.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum