Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 01-09-07, 06:43 PM   #13
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: slow FPS based from glxgears, help please

I can't tell you which distribution to run, and there's no way of promising that this problem wouldn't also be present in FC6. However, since FC3 is no longer supported by the Fedora group, it would make sense to run something which is supported.
netllama is offline   Reply With Quote
Old 01-09-07, 06:54 PM   #14
wedge2k
Registered User
 
Join Date: Nov 2006
Posts: 3
Default Re: slow FPS based from glxgears, help please

composite extension isn't enabled. here's my device and screen blocks

Code:
Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce FX 5500"
    Option          "TripleBuffer" "true"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "1"
    Option         "metamodes" "CRT-0: nvidia-auto-select +0+0, CRT-1: nvidia-auto-select +1680+0"
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection
Before you say it, i have disabled twinview and there is minimal increase in performance. (like a difference in 10 - 20 frames)
wedge2k is offline   Reply With Quote
Old 01-09-07, 07:27 PM   #15
v1rtu0s1ty
Registered User
 
Join Date: Feb 2005
Posts: 84
Default Re: slow FPS based from glxgears, help please

After adding Composite and tripleBuffer line to my xorg.conf, I rebooted my machine. System booted and ran glxinfo. This is what I got.

[mythtv@localhost root]$ glxinfo
name of display: :0.0
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual

visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
0x21 24 tc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
0x22 24 dc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
0xcb 32 tc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None


Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual

visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
0x76 24 tc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
0x77 24 dc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
0xcc 32 tc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None

Running glxgears show

Xlib: extension "GLX" missing on display ":0.0".
glxgears: Error: couldn't get an RGB, Double-buffered visual.

Additionally from my Xorg.0.log

(**) NVIDIA(0): Option "UseEDID" "FALSE"
(**) NVIDIA(0): Option "MetaModes" "CRT-0: 1920x1080_i +0+0"
(**) NVIDIA(0): Option "TripleBuffer" "true"
(**) NVIDIA(0): Enabling RENDER acceleration
(**) NVIDIA(0): Ignoring EDIDs
(EE) NVIDIA(0): GLX is not supported with the Composite X extension on this X
(EE) NVIDIA(0): server. For proper interaction of GLX with the Damage and
(EE) NVIDIA(0): Composite X extensions, it is recommended that you upgrade
(EE) NVIDIA(0): your X server to at least X.Org 6.9.0.
v1rtu0s1ty is offline   Reply With Quote
Old 01-09-07, 07:33 PM   #16
v1rtu0s1ty
Registered User
 
Join Date: Feb 2005
Posts: 84
Default Re: slow FPS based from glxgears, help please

Removing the Composite line but leaving TripleBuffer fixed the issue. However, running glxgears still show the same FPS.

[mythtv@localhost root]$ glxgears
245 frames in 5.0 seconds = 49.000 FPS
298 frames in 5.0 seconds = 59.600 FPS
299 frames in 5.0 seconds = 59.800 FPS
298 frames in 5.0 seconds = 59.600 FPS
299 frames in 5.0 seconds = 59.800 FPS
298 frames in 5.0 seconds = 59.600 FPS
298 frames in 5.0 seconds = 59.600 FPS
299 frames in 5.0 seconds = 59.800 FPS
v1rtu0s1ty is offline   Reply With Quote
Old 01-09-07, 09:58 PM   #17
wedge2k
Registered User
 
Join Date: Nov 2006
Posts: 3
Default Re: slow FPS based from glxgears, help please

I actually updated to the latest nvidia drivers, and it fixed all my problems.. getting 800+ now.
wedge2k is offline   Reply With Quote
Old 01-09-07, 10:50 PM   #18
v1rtu0s1ty
Registered User
 
Join Date: Feb 2005
Posts: 84
Default Re: slow FPS based from glxgears, help please

Quote:
Originally Posted by wedge2k
I actually updated to the latest nvidia drivers, and it fixed all my problems.. getting 800+ now.
Well, I'm also using their latest and greatest driver.

So what could be wrong?
v1rtu0s1ty is offline   Reply With Quote
Old 01-09-07, 11:14 PM   #19
Kethal
Registered User
 
Join Date: Jan 2007
Posts: 9
Default Re: slow FPS based from glxgears, help please

The remarkably stable frame rate and the magic number 60 make me think you have vsync enabled. In nvidia-settings there are two options for vsync under the "X Server XVideo Settings". I don't know what these do (anyone else know?). The one you want is under "OpenGL Settings". Uncheck it and your frame rate will soar.

However, vsync is not necissarily bad. Your monitor only refreshes so fast. In your case, 60 times per second. The 900 frames per second won't actually be seen by you, since only 60 of the frames will actually go to the monitor each second. Enabling vsync can actually improve performance by preventing screen tearing.

Generally, if your card can consistently draw frames faster than your monitor can refresh, then vsync is good. It's also good if you use triple buffering, but that requires more video memory. However, if your card cannot draw faster than your refresh rate, and you don't triple buffer then vsync can degrade performance.

For a nice description of when and why vsync is good or bad see this page http://www.hardforum.com/showthread.php?t=928593

Justin
Kethal is offline   Reply With Quote
Old 01-10-07, 01:50 AM   #20
v1rtu0s1ty
Registered User
 
Join Date: Feb 2005
Posts: 84
Default Re: slow FPS based from glxgears, help please

That's what the other guys told me at #nvidia irc channel but vsync has been unchecked for a long time.

Checking/unchecking in real time doesn't do any change in the FPS.

I was just wondering why other folks were getting 2000 FPS, 3500 FPS, etc on cards that are a little older than my card.

Look at these guys glxgears results, my world will fall apart if I don't reach even 61 FPS. Hahahaha!

Quote:
Originally Posted by Kethal
The remarkably stable frame rate and the magic number 60 make me think you have vsync enabled. In nvidia-settings there are two options for vsync under the "X Server XVideo Settings". I don't know what these do (anyone else know?). The one you want is under "OpenGL Settings". Uncheck it and your frame rate will soar.

However, vsync is not necissarily bad. Your monitor only refreshes so fast. In your case, 60 times per second. The 900 frames per second won't actually be seen by you, since only 60 of the frames will actually go to the monitor each second. Enabling vsync can actually improve performance by preventing screen tearing.

Generally, if your card can consistently draw frames faster than your monitor can refresh, then vsync is good. It's also good if you use triple buffering, but that requires more video memory. However, if your card cannot draw faster than your refresh rate, and you don't triple buffer then vsync can degrade performance.

For a nice description of when and why vsync is good or bad see this page http://www.hardforum.com/showthread.php?t=928593

Justin
v1rtu0s1ty is offline   Reply With Quote

Old 01-10-07, 06:59 PM   #21
Kethal
Registered User
 
Join Date: Jan 2007
Posts: 9
Default Re: slow FPS based from glxgears, help please

I would still have to say it's a vsync thing. It's very unlikely that you're seeing those numbers because your card is that slow. It would have to be very slow, but remarkably stable, and coincidentally be very close to a common refresh rate.

There are three vsync options in nvidia-settings, try disabling them all. Applying the changes while glxgears is running will have no effect. You need to apply them then restart glxgears In your config file it looks like you're running two monitors and two cards at once. Perhaps the cards force vsync in that case so that they always display paired frames. That's a complete guess on my part.

Anyhow, I'm still convinced it's a vsync issue. You just need to find out why it's on and how to turn it off.

Justin
Kethal is offline   Reply With Quote
Old 01-10-07, 07:01 PM   #22
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: slow FPS based from glxgears, help please

Unless nvidia-settings is being run when the X session is started or the __GL_SYNC_TO_VBLANK or __GL_SYNC_DISPLAY_DEVICE environment variables are set (check env output), this can't be a vsync issue, at least not with respect to the driver. The fastest way to test is to create a new user on the system, and login, and check env output.
netllama is offline   Reply With Quote
Old 01-10-07, 07:20 PM   #23
v1rtu0s1ty
Registered User
 
Join Date: Feb 2005
Posts: 84
Default Re: slow FPS based from glxgears, help please

Quote:
Originally Posted by netllama
Unless nvidia-settings is being run when the X session is started or the __GL_SYNC_TO_VBLANK or __GL_SYNC_DISPLAY_DEVICE environment variables are set (check env output), this can't be a vsync issue, at least not with respect to the driver. The fastest way to test is to create a new user on the system, and login, and check env output.
I will check those env vars tonight. I remember, I was playing with it back in Jan 2005. However, I also remember that I deleted it since it didn't help me on my Jan 2005 issue.

Kethal,

Everything is unchecked and I have ran glxgears many times, killed it, ran it, and FPS starts at 45 then becomes stable at 59.
v1rtu0s1ty is offline   Reply With Quote
Old 01-10-07, 09:18 PM   #24
v1rtu0s1ty
Registered User
 
Join Date: Feb 2005
Posts: 84
Default Re: slow FPS based from glxgears, help please

UPDATE:

It's a boy! hehehe!!!

Finally, I still had the in my /etc/profile

__GL_SYNC_DISPLAY_DEVICE="CRT"
__GL_SYNC_TO_VBLANK=1

I commented them out. But I unset them so that it takes effect immediately.

Then I ran glxgears

[mythtv@localhost root]$ glxgears
8021 frames in 5.0 seconds = 1604.200 FPS
9480 frames in 5.0 seconds = 1896.000 FPS
9868 frames in 5.0 seconds = 1973.600 FPS
9214 frames in 5.0 seconds = 1842.800 FPS
9565 frames in 5.0 seconds = 1913.000 FPS
9386 frames in 5.0 seconds = 1877.200 FPS
9227 frames in 5.0 seconds = 1845.400 FPS
9594 frames in 5.0 seconds = 1918.800 FPS
9163 frames in 5.0 seconds = 1832.600 FPS
9084 frames in 5.0 seconds = 1816.800 FPS
9016 frames in 5.0 seconds = 1803.200 FPS
9101 frames in 5.0 seconds = 1820.200 FPS
9391 frames in 5.0 seconds = 1878.200 FPS
9178 frames in 5.0 seconds = 1835.600 FPS
9166 frames in 5.0 seconds = 1833.200 FPS
9309 frames in 5.0 seconds = 1861.800 FPS
9099 frames in 5.0 seconds = 1819.800 FPS
9142 frames in 5.0 seconds = 1828.400 FPS
9264 frames in 5.0 seconds = 1852.800 FPS

Wow, do you think guys that my machine's performance will improve a lot? What do you think about my new glxgears' values?
v1rtu0s1ty is offline   Reply With Quote
Reply


Thread Tools

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Skydive: Free Video Game Based on Unreal Engine News Latest Tech And Game Headlines 0 06-10-12 09:20 PM
Gnome3 with composite is very slow on Geforce FX 5200 with 173.14.31 driver Artox NVIDIA Linux 0 05-26-12 10:33 AM
MSI GeForce GTX 670 Reference and OC Edition Compared ' Overclocked Variants based News Latest Tech And Game Headlines 0 05-10-12 06:30 AM
My UT2003 Tweak Guide DXnfiniteFX Gaming Central 48 10-30-02 11:59 PM
low fps why??? nipster Benchmarking And Overclocking 4 08-07-02 02:35 PM

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


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.