Bug 2454

Summary: NVIDIA 304.37 - Sync to Vblank issue
Product: Fedora Reporter: amaro <amaro>
Component: xorg-x11-drv-nvidiaAssignee: Nicolas Chauvet <kwizart>
Status: RESOLVED UPSTREAM    
Severity: normal CC: s.adam
Priority: P5    
Version: 17   
Hardware: x86_64   
OS: GNU/Linux   
namespace:
Attachments: test 1
test 2
test 3

Description amaro 2012-08-24 00:11:04 CEST
Created attachment 946 [details]
test 1

I noticed that the NVIDIA 304.37 driver gives extremely poor performance when compared with previou 295.59 version, and even with the standard nouveau driver on Fedora 17.
I ran three different tests with glxgears:
1) Binary NVIDIA installation with NVIDIA-Linux-x86_64-295.59.run
2) Modules xorg-x11-drv-nvidia-304.37-1.fc17.x86_64 and akmod-nvidia-304.37-1.fc17.x86_64
3) The standard  xorg-x11-drv-nouveau-0.0.16-37.20120306gitf5d1cd2.fc17.x86_64

Attached you can find the respective output
Comment 1 amaro 2012-08-24 00:11:38 CEST
Created attachment 947 [details]
test 2
Comment 2 amaro 2012-08-24 00:12:02 CEST
Created attachment 948 [details]
test 3
Comment 3 Nicolas Chauvet 2012-08-24 19:53:42 CEST
http://www.nvnews.net/vbulletin/showthread.php?t=188157
Sounds like a problem with the driver not a packaging bug.
Comment 4 amaro 2012-08-25 13:20:32 CEST
I was able to get input from NVIDIA support to solve this issue. In the latest driver version it is necessary to explicitly disable Sync to Vblank in nvidia-settings->OpenGL Settings. I got 16156 FPS up from 118 FPS with the same glxgears test.

I noticed also a packaging issue. The installation with xorg-x11-nvidia-libs doesn't update /usr/lib64/libGL.so.1.2 to point to the NVIDIA libGL library, which leads to a status of Direct Rendering: No in OpenGl Info. 
By linking /usr/lib64/libGL.so.1.2 -> /usr/lib64/nvidia/libGL.so.304.37 I get 
Direct Rendering: Yes, although it didn't make any difference in the glxgears test.
Comment 5 Nicolas Chauvet 2012-08-25 15:06:50 CEST
(In reply to comment #4)
> I was able to get input from NVIDIA support to solve this issue. In the latest
k
Please confirm if fixed in a future release.

>noticed also a packaging issue. The installation with xorg-x11-nvidia-libs
Good joke!!! Do you wonder if that was the case how bad would be our packaging ?
We don't override mesa-libGL, instead we rely on the system linker to give the appropriate path to the /urs/lib/nvidia/libGL.so.1 (from /etc/ld.conf.d/nvidia*.conf


Thx for the report.