Bug 158 (chewedon) - Getting wrong FPS for nvidia graphic driver on 64 bit Fedora 9
Summary: Getting wrong FPS for nvidia graphic driver on 64 bit Fedora 9
Status: RESOLVED DUPLICATE of bug 154
Alias: chewedon
Product: Fedora
Classification: Unclassified
Component: xorg-x11-drv-nvidia (show other bugs)
Version: 9
Hardware: x86_64 GNU/Linux
: P5 normal
Assignee: Stewart Adam
URL:
Depends on:
Blocks:
 
Reported: 2008-11-15 17:41 CET by crashling692
Modified: 2008-11-16 06:04 CET (History)
2 users (show)

See Also:
namespace:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description crashling692 2008-11-15 17:41:50 CET
Well, updating to the latest nvidia graphic driver:

kmod-nvidia-2.6.27.5-37.fc9.x86_64-173.14.15-1.fc9.5.x86_64


and I'm only getting around 300FPS when I should really be getting 10 000 to 20 000 FPS with my Nvidia 7600 GT.

The guys on the Fedora IRC channel told me to file a bug report :P

Not sure what else to say. . .

-----------------------------
System Specs
-----------------------------
Kernel: 2.6.27.5-37.fc9.x86_64
Nvidia driver: kmod-nvidia-2.6.27.5-37.fc9.x86_64-173.14.15-1.fc9.5.x86_64
Operating System: Fedora 9 64 bit.
Comment 1 Barbara 2008-11-15 18:41:05 CET
(In reply to comment #0)
> Well, updating to the latest nvidia graphic driver:
> 
> kmod-nvidia-2.6.27.5-37.fc9.x86_64-173.14.15-1.fc9.5.x86_64
> 
> 
> and I'm only getting around 300FPS when I should really be getting 10 000 to 20
> 000 FPS with my Nvidia 7600 GT.
> 


I think that is caused by this:
https://bugzilla.rpmfusion.org/show_bug.cgi?id=154

Check if a file named nvidia-%{_lib}.conf exists in /etc/ld.so.conf.d
In this case try this:
    cd /etc/ld.so.conf.d
    rm nvidia-%{_lib}.conf
    echo '/usr/lib/nvidia' > nvidia-x86.conf
    echo '/usr/lib64/nvidia' > nvidia-x86_64.conf
    ldconfig
and then restart Xorg.
Comment 2 Stewart Adam 2008-11-15 22:23:44 CET
(Marking as duplicate of #154)

Just a note - I'm assuming that you're speaking of glxgears here, which shouldn't be used as a benchmark. In this case, the low FPS count is due to software rendering but not always. It's quite possible to install a new driver would increase OpenGL performance but have the FPS in glxgears drop by a number in the thousands.

*** This bug has been marked as a duplicate of bug 154 ***
Comment 3 crashling692 2008-11-16 05:20:24 CET
> Check if a file named nvidia-%{_lib}.conf exists in /etc/ld.so.conf.d
> In this case try this:
>     cd /etc/ld.so.conf.d
>     rm nvidia-%{_lib}.conf
>     echo '/usr/lib/nvidia' > nvidia-x86.conf
>     echo '/usr/lib64/nvidia' > nvidia-x86_64.conf
>     ldconfig
> and then restart Xorg.
> 

Well, I don't have nvidia-%{_lib}.conf but I have nvidia-%{_libs}.conf are they the same thing ?
Comment 4 crashling692 2008-11-16 05:26:01 CET
Oh by the way, the FPS isn't lying by glxgears :)

When I open up Blender, the display of meshes is very bad like it always does when the graphic driver is not working. e.g. the outlines of meshes are very alias when I get a few hundred FPS.

When the driver is working properly, and I get 10 000 - 20 000 FPS,the alias in the outline is gone and the lines become smooth.

Just letting you know :)
Comment 5 crashling692 2008-11-16 05:39:15 CET
Uh.. . .so who do I follow ?

Babara said to remove the nvidia{_lib} thing  whereas in bug 159, Stewart said to rename the nvidia{_libs} to nvidia{_lib}. . . .

Guys ?

The first time, I renamed the nvidia{_libs} to bad_nvidia{_libs}, then did the echo stuff and ldconfig afterwards.

Log out and coming back in, I got this new error when I tried to start glxgears:

Error: glXCreateContext failed


So I try Stewart's method, rename nvidia{_libs} to nvidia{_lib}, logged out came back in and it still says the same error, when I tried to run GLXGEARS:

Error: glXCreateContext failed




Comment 6 crashling692 2008-11-16 06:04:07 CET
Alright, all fixed now :)

I didn't need to remove the nvidia-%{_libs%} file, just needed to do the echo stuff and ldconfig.

and that glxCreatContext failed because I didn't have the section:

Section "Files"
    ModulePath . . .
EndSection

Anyways, I'm back to normal, getting 16 800 FPS at the moment with GLXGEARS :)

Thank you all, apologies for any trouble caused.