LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 01-24-2006, 12:59 AM   #1
sancho
Member
 
Registered: Sep 2003
Distribution: Ubuntu 9.04/9.10 (64-bit)
Posts: 149

Rep: Reputation: 15
Doom 3 Rediculously Slow (10 fps)


Hey all,

I just upgraded my GeForce FX 5200 (AGP, 128 MB) to a GeForce 6200 (AGP 8x, 256 MB) due to the fact that I broke my 5200. I got Doom 3 running in Linux and it looks beautiful--but the framerate is horrible. I just ran the demo1 timedemo and it got me a whopping 10 FPS. I ran it a second time immediately thereafter and got the exact same result. I tried it with a lightweight windowmanager (xfce4) and still, about 10 FPS.

I'm running this windowed at "medium quality" at 1152x864 (windowed because I'm running dual monitors, each at 1280x1024). No FSAA.

My system is an an Athlon XP 2600+ running on an Abit board (forget which one but it's fairly high-end), 1GB DDR Kingston memory, 10,000 RPM SATA HDD, BFG Tech GeForce 6200 OC (Overclocked). OS is Fedora Core 4; running the latest nVidia drivers as packaged by livna.

I know Doom 3 is very demanding and I don't have the fastest rig, but it seems like I should be getting better than 10 FPS? (especially when I see reviews like this one.)

Any help is greatly appreciated.
 
Old 01-24-2006, 01:38 AM   #2
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
Yeah you should be, on a moderatly quicker machine with a 6600GT I'm getting around 70fps so 10 is too low.

I dunno how much of a computer pro you are but I'm not at all when it comes to hardware. I installed my video card myself and when I reinstalled the drivers and checked glxgears it was slow as hell but everything indicated the drivers were working fine. After a little while I figured out that I hadn't hooked up the molex power cable that the AGP cards require and it wasn't running at full clock speed. Did you hook the cable up? The FX series don't require one so it may not have occured to you. If so, download and install nvclock and check the clock speed it's running at etc and match sure it matches what the 6200 is supposed to be set at.
 
Old 01-24-2006, 10:34 AM   #3
sancho
Member
 
Registered: Sep 2003
Distribution: Ubuntu 9.04/9.10 (64-bit)
Posts: 149

Original Poster
Rep: Reputation: 15
Hmm... interesting. I actually was not aware of any such power connection, although I'll definitely check it out now. As for NVClock, I ran it, and here's what it said:


Code:
NVClock v0.7

It seems your card isn't officialy supported in NVClock yet.
The reason can be that your card is too new.
If you want to try it anyhow [DANGEROUS], use the option -f to force the setting(s).
NVClock will then assume your card is a 'normal', it might be dangerous on other cards.
Also please email the author the pci_id of the card for further investigation.
[Get that value using the -i option].
 
Old 01-24-2006, 11:08 AM   #4
sancho
Member
 
Registered: Sep 2003
Distribution: Ubuntu 9.04/9.10 (64-bit)
Posts: 149

Original Poster
Rep: Reputation: 15
Nope, no power connection...

Hey, I just pulled the card and looked all over it--front and back--for some kind of power connector. Other than the one that goes to the fan, there are none to be found.

So, we now know that the hardware is installed correctly and have no clue how fast the clock on the card is.

For the record, I also have Unreal Tournament 2004 (Linux) installed on this machine and it looks beautiful on maxed-out graphics settings and runs silky smooth. However, it ran pretty smoothly with the 5200 as well, so perhaps there's even more performance to be had there as well?

Still stumped.
 
Old 01-24-2006, 04:51 PM   #5
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
I got the same error with nvclock 0.7, grab a snapshot for 0.8 and it should work fine. According to this page the 6200OC has a core clock speed of 375MHz. That should probably be only used as a somewhere-in-the-vicinity-of figure because different distributors ship their cards with different clock speeds and different memory speeds to try and get an edge. That page also doesn't list the molex connector as being in the box so I guess I was wrong about that. I know it caused me hell for my card though
 
Old 01-24-2006, 05:54 PM   #6
sancho
Member
 
Registered: Sep 2003
Distribution: Ubuntu 9.04/9.10 (64-bit)
Posts: 149

Original Poster
Rep: Reputation: 15
Alright I got that installed and it ran once, and now it's just giving me bus errors. But in the time that it ran, I ran across two things that seemed a bit fishy...

1. It listed the memory type as 64-bit SDR (SD Ram, I suppose). This thing is supposed to be DDR and I'm guessing it's gotta be around 256-bit.

2. It listed "fast writes" as being disabled. I'm not entirely sure what that is, but I'm pretty sure it's supposed to be enabled.

Just for fun, here's the output of some relevent pseudo-files in /proc ...

Code:
$ cat /proc/driver/nvidia/agp/host-bridge
Host Bridge:     PCI device 10de:01e0
Fast Writes:     Supported
SBA:             Supported
AGP Rates:       8x 4x
Registers:       0x1f00421b:0x00000302
$ cat /proc/driver/nvidia/agp/card
Fast Writes:     Supported
SBA:             Supported
AGP Rates:       8x 4x
Registers:       0xff000e1b:0x1f004302
$ cat /proc/driver/nvidia/agp/status
Status:          Enabled
Driver:          AGPGART
AGP Rate:        8x
Fast Writes:     Disabled
SBA:             Enabled
 
Old 01-24-2006, 06:14 PM   #7
sancho
Member
 
Registered: Sep 2003
Distribution: Ubuntu 9.04/9.10 (64-bit)
Posts: 149

Original Poster
Rep: Reputation: 15
glxgears...

For further diagnostic purposes, Here's what glxgears does...

Code:
5167 frames in 5.0 seconds = 1033.400 FPS
5827 frames in 5.0 seconds = 1165.400 FPS
5831 frames in 5.0 seconds = 1166.200 FPS
3186 frames in 5.0 seconds = 637.200 FPS
464 frames in 5.0 seconds = 92.800 FPS
466 frames in 5.0 seconds = 93.200 FPS
The first three readings where immediately after I started glxgears (running in the default window); the last ones, I had the window maximized (running in 1280x1024). I'm not sure if it's supposed to drop off like that or not.

I don't mean to mucky the waters here--I could care less about my glxgears numbers; I'm still concerned with the low Doom 3 framerates. If these numbers don't suggest any other problem to you, then disregard them.
 
Old 01-25-2006, 05:25 AM   #8
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
They suggest a problem. My card is quicker than yours, but here are my figures doing the same as you...
Code:
36788 frames in 5.0 seconds = 7357.600 FPS
32118 frames in 5.0 seconds = 6423.600 FPS
26070 frames in 5.0 seconds = 5214.000 FPS
15459 frames in 5.0 seconds = 3091.800 FPS
6524 frames in 5.0 seconds = 1304.800 FPS
6229 frames in 5.0 seconds = 1245.800 FPS
This thread should help you get fastwrites enabled, most of the stuff shouldn't be too distro-specific. That page I found about your card lists the memory type as DDR-SDRAM, not a hardware person so I'm not sure of the specifics of that, nvclock claims mine is 128bit DDR and my box says it's DDR3 memory so nvclock is probably correct. Try enabling fastwrites and see if it makes a major improvement, I wouldn't have thought it would but you never know. If you can get nvclock to run again check what speed it's running at. I got (and you would have too) better numbers on the FX5200 so there is something wrong somewhere. Might even be a faulty card, who knows?
 
Old 01-25-2006, 11:15 PM   #9
sancho
Member
 
Registered: Sep 2003
Distribution: Ubuntu 9.04/9.10 (64-bit)
Posts: 149

Original Poster
Rep: Reputation: 15
cs-ram: Thanks for the link (and your continued help!).

I read through those posts and it appears that the gains to be had by fast writes are miniscule, at best. I also read a remark about fast writes being disabled by the driver because they're unnecessary with memory speeds as they are.

Moreover, since my target/estimated performance with this card is on order of magnitude of several times higher than what it's actually doing (i.e. ~60 fps vs. 10 fps), I think it's safe to say that the problem doesn't lie in anything that's going to give minor performance enhancements.

I wonder if it's just my Doom 3 installation? Like something is not configured right internally? I do know that Unreal Tournament 2004 runs great and very playable at the highest detail setting (at 1152x864, windowed).

The only other little piece of diagnostic information I have is that I ran the Doom 3 timedemo again with the nVidia Settings window open on the other monitor and watched the chip temperature as it ran. It started off at 46degC and warmed up to a max of 55degC.

Oh yeah, and as for the clock speeds... I haven't been able to get past that "Bus Error" problem, but I do recall reading the sliders when I did have it running and they were like at 375 MHz and 500 MHz, I believe.

Thanks again for your help, cs-cam!
 
Old 01-26-2006, 10:40 AM   #10
linuxbotx
Member
 
Registered: Oct 2003
Location: USA
Distribution: Fedora Core 4
Posts: 247

Rep: Reputation: 30
Try reinstalling your nvidia driver. I know that DOOM 3 sucks up resources like no tomorrow. Also, try turning down the details. Set everything to medium, turn off shadows and max resolution to 800x600
 
Old 01-26-2006, 06:34 PM   #11
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
Heh I don't know much about the temps, I have conky reporting them on my desktop but my case sucks and the card runs pretty hot. Normal desktop usage it sits at 55-60, when running an older game that doesn't take much oomph it will get up to about 65, running Quake 4... it'll lock the PC if I play too long
 
Old 01-27-2006, 10:57 PM   #12
sancho
Member
 
Registered: Sep 2003
Distribution: Ubuntu 9.04/9.10 (64-bit)
Posts: 149

Original Poster
Rep: Reputation: 15
Exchanged the card...

Well guys, after doing everything you suggested, I ended up exchanging the card (for the same thing). Interestingly enough, when I went to pick out the replacement one off the shelf, I accidently picked up a PCI version of the same card. Not PCI-Express--old fashoned PCI. Didn't know they still made video cards like that anymore...

Anyway, the AGP version was sitting right behind it and, among other differences, I noticed that the PCI version had the same style of heatsink as the AGP one I returned. The other AGP ones, however, had a different heatsink than what I returned--the PCI one was a dinky square one, and the AGP ones were a little bigger and differently shaped. The RAM chips looked different (and appeared to be in different numbers as well) than what I replaced.

I wasn't totally convinced that the card was defective, but I was noticing a randomly-occuring distorted "stripe" appear across both screens every so often, so I figured that couldn't be right. Ultimately, however, this card is getting me the same performance as the previous one.

So I'll do a bit more troubleshooting on my own and see what I can come up with. I'll post back soon...
 
Old 01-29-2006, 12:20 AM   #13
sancho
Member
 
Registered: Sep 2003
Distribution: Ubuntu 9.04/9.10 (64-bit)
Posts: 149

Original Poster
Rep: Reputation: 15
Well I'm just going to close this issue and say that it's either: a) some descrepency between the Windows benchmarks I was comparing my results and the Linux verison I'm running -- and/or -- b) the fill-rate on this card is deplorable, because it actually gives decent results at much lower resolutions.

As for now, I'm just playing the game in 800x600, full screen and it's very playable. I'm getting about 30 FPS or so on the timedemo, so that'll work for me.

Thanks again for all the help.
 
Old 01-29-2006, 01:51 AM   #14
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
Heh, what resolution were you running it at? Obviously that and the colour depth play huge role in how quick everything will run. Example, take my glxgears results from above. When I knock my colour depth back to 16bit that number with it running in the standard window jumps to around 13000fps. I'm currently looking at upgrading my 6600GT as it's getting old so a 6200 is no powerhouse. Doom 3 is a pretty intensive game, run it at 800x600x16 and you'll be fine
 
Old 02-04-2006, 01:49 AM   #15
spooge
Member
 
Registered: Nov 2001
Location: n chicago, IL. USA
Distribution: Slackware
Posts: 307

Rep: Reputation: 31
from what i have read in tweaking the game( and quake 4)
the games are maxed at 60fps
unlike the 300+ fps you'd get out of q3


from upsetchaps, and I'm sure I can post more on this
Quote:
The Magic Number - 60 FPS
Unlike previous games from id software in multiplayer you only need to achieve a steady frame rate of 60 FPS. Anything higher is simply ignored by Quake 4's world update and player movement code. This will help even the playing field in multiplayer as physics will be the same on all machines. There appear to be cvars and hints in the game (#define GAME_FPS 60 and com_fixedtic) that with a mod servers could possibly alter the default tic rate, even if that were the case all players would still be forced to the server's game tic.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
slow FPS in glxgears with nVidia drivers installed jojotx0 Linux - Software 1 11-29-2005 03:58 PM
doom 3 very slow thelonius Linux - Games 4 10-29-2005 07:24 AM
doom running incredibly slow JackSmith Linux - Games 3 03-15-2005 10:38 PM
Rediculously slow framerate in America's Army r_jensen11 Linux - Games 7 07-06-2004 09:38 AM
Slow FPS in glxgears, GeForce FX 5200 GT_Onizuka Linux - Hardware 6 02-01-2004 07:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 09:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration