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

Newegg Daily Deals

Reply
 
Thread Tools
Old 09-23-09, 03:03 AM   #1
th0rgal
Registered User
 
Join Date: Nov 2004
Posts: 31
Default Beta driver and kernel 2.6.31-rt11

Hello,

i got myself a GeForce 9500GT (PCI express), installed it in my debian based system (intel board, 32bit) and compiled the latest beta driver (190.25) against kernel 2.6.31-rt11 (RT patched). I tried the beta driver because the official release does not compile against 2.6.31.

The 2D performance is really great (compared to the onboard intel IGP) but the 3D performance sucks. Direct rendering is enabled, the driver is using its own AGP, and all seems cool and dandy but yet, glxgears says that the FPS is synchronized to the screen refresh rate (I get ~ 60 FPS).

I usually don't care about glxgears but this number is a few orders of magnitude below what the card can do. I have the same card in another PC and it works beautifully but that's an older driver version and against an older kernel without any RT patch.

Anyway, I am not planning on doing any 3D stuff on this PC but if anyone has some experience as to what could be the problem (sync to vblank does not have any influence on this).
th0rgal is offline   Reply With Quote
Old 09-23-09, 03:17 AM   #2
shadowhawk_cgb
Registered User
 
Join Date: Aug 2009
Posts: 5
Default Re: Beta driver and kernel 2.6.31-rt11

hi,

got the same on my laptop with Debian Squeeze. Sometimes glxgears shows something like 8-10k FPS and on other occasions only 60FPS (same as monitor refresh rate).

It seems that the FPS-drop happens after I used nvidia-settings to look at the powermizer.
After a fresh restart it shows the 10k FPS again.

hope it helps
shadowhawk_cgb is offline   Reply With Quote
Old 09-23-09, 03:21 AM   #3
th0rgal
Registered User
 
Join Date: Nov 2004
Posts: 31
Default Re: Beta driver and kernel 2.6.31-rt11

good tip, i will look into this tonight. thanks
th0rgal is offline   Reply With Quote
Old 09-23-09, 10:46 AM   #4
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 2,487
Default Re: Beta driver and kernel 2.6.31-rt11

nvidia-settings loads your ~/.nvidia-settings-rc file and applies the settings it finds inside, which includes the saved settings from last time. You probably turned sync to vblank on and then saved that into your configuration file.
AaronP is offline   Reply With Quote
Old 09-23-09, 11:53 AM   #5
th0rgal
Registered User
 
Join Date: Nov 2004
Posts: 31
Default Re: Beta driver and kernel 2.6.31-rt11

... mmm, I don't know what's going on but fiddling around with all sorts of different settings deos not improve things at all. The last attempt gives me this:


Quote:
~$ glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
39 frames in 8.1 seconds = 4.840 FPS
9 frames in 8.0 seconds = 1.124 FPS
14 frames in 8.0 seconds = 1.748 FPS
6 frames in 8.0 seconds = 0.749 FPS
70 frames in 8.0 seconds = 8.713 FPS
23 frames in 8.0 seconds = 2.865 FPS
370 frames in 8.1 seconds = 45.833 FPS
4 frames in 8.0 seconds = 0.500 FPS
2 frames in 8.0 seconds = 0.250 FPS
2 frames in 8.0 seconds = 0.250 FPS
2 frames in 8.0 seconds = 0.250 FPS
2 frames in 8.0 seconds = 0.250 FPS
Not exactly the speediest perf

I am not sure what the root-cause can be but I can live without until the next official release. As long as my realtime audio processing is not compromised, which seems to be the case, I am happy.
th0rgal is offline   Reply With Quote
Old 09-23-09, 01:45 PM   #6
pavlinux
Registered User
 
pavlinux's Avatar
 
Join Date: Feb 2006
Location: Moscow, Russia
Posts: 57
Default Re: Beta driver and kernel 2.6.31-rt11

Quote:
Originally Posted by th0rgal View Post
.... and compiled the latest beta driver (190.25) against kernel 2.6.31-rt11 (RT patched). I tried the beta driver because the official release does not compile against 2.6.31.

http://pavlinux.ru/nv/nvidia-190.32-for-2.6.31.patch
pavlinux is offline   Reply With Quote
Old 09-23-09, 02:14 PM   #7
th0rgal
Registered User
 
Join Date: Nov 2004
Posts: 31
Default Re: Beta driver and kernel 2.6.31-rt11

just tried it, it's the same result. 2D great, 3D mega lame. Thanks for your help
th0rgal is offline   Reply With Quote
Old 09-23-09, 03:11 PM   #8
pavlinux
Registered User
 
pavlinux's Avatar
 
Join Date: Feb 2006
Location: Moscow, Russia
Posts: 57
Default Re: Beta driver and kernel 2.6.31-rt11

Quote:
Originally Posted by th0rgal View Post
just tried it, it's the same result. 2D great, 3D mega lame. Thanks for your help
It's not nvidia, it's, sorry, you .config


Try vanila kernel + rt11 patch.

1. compile kernel and driver without RT, reboot and work.
2. applied RT patch and my patch, compile, reboot and work.

See my scr. shot, all worked
http://www.nvnews.net/vbulletin/show...90&postcount=1

and benchmark.
Unigine Tropic Demo v.1.2 + linux-2.6.31-rt11 + 190.32
Unigine Tropic Demo v.1.2 + linux-2.6.30.2 + 190.16
Unigine Tropic Demo v.1.2 + linux-2.6.29 + 180.44
pavlinux is offline   Reply With Quote

Old 09-23-09, 04:56 PM   #9
th0rgal
Registered User
 
Join Date: Nov 2004
Posts: 31
Default Re: Beta driver and kernel 2.6.31-rt11

all right, I got back to vanilla kernel 2.6.31, disabled some more kernel options and reinstalled the official driver release (185.xxx) and it now works really nice

The amazing thing is that even without the RT patch, I get an outstanding performance at very low latency, there is simply no glitches at all, even with composite effects (under KDE 4.3). I rotate the cube, flip through windows with slide effect, and ardour just works flawless at barely 1ms latency.

This is a real change from the onboard intel IGP which caused me a few xruns from time to time.

Back to nvidia, I am not sure what the problem is with the realtime patch and 3D performance but I will continue with the vanilla kernel for a while and see if I can ignore the RT patch.

I also tried vdpau with mplayer and it is spendid as well

Ah by the way, I have a dual monitor setup, so all the stuff I described takes place in a twinview arrangement.

Last edited by th0rgal; 09-23-09 at 04:57 PM. Reason: more info
th0rgal is offline   Reply With Quote
Old 11-15-09, 02:14 PM   #10
th0rgal
Registered User
 
Join Date: Nov 2004
Posts: 31
Default Re: Beta driver and kernel 2.6.31-rt11

just tried the latest official driver (190.42) against vanilla 2.6.31.5 (no RT patch).
I get again this weird 3D issue. I am reverting back to the 185 driver.
th0rgal is offline   Reply With Quote
Old 11-20-09, 11:35 AM   #11
th0rgal
Registered User
 
Join Date: Nov 2004
Posts: 31
Default Re: Beta driver and kernel 2.6.31-rt11

OK, got it:

in the Screen section (xorg.conf), I added

Option "UseEvents" "false"

This makes the h/w 3D acc happy with driver 190.xxx.

Note that for the 185.xxx driver, it was the opposite. Any idea as to why this has such an impact ?
th0rgal 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


All times are GMT -5. The time now is 06:36 PM.


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