Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Page 1 of 3 123 LastLast
Results 1 to 10 of 29

Thread: nVIDIA drivers slow?

  1. #1
    Member Regular Contributor
    Join Date
    Oct 2000
    Posts
    440

    nVIDIA drivers slow?

    I've noticed that the nVIDIA drivers for Linux (latest) are almost 6 times slower than my windows drivers (12.01)
    I'm very sure that it's NOT software rendering and the drivers are loaded correctly.

    Can someone tell me if it's normal that those drivers are so slow?

    I've read that it can be slower because of some conflicting Mesa drivers but since I'm very new to Linux I don't know wich files to remove...
    Here are the mesa files I found in "/usr/X11R6/lib":

    libMesaGL.so.1
    libMesaGL.so.1.0
    libMesaGL.so.3
    libMesaGLU.so
    libMesaGLU.so.1
    libMesaGLU.so.3


    Some details:

    - Direct rendering is enabled.
    - I've got XFree86 4.0.3 installed so that shouldn't be the problem.
    - My videocard is a GeForce2 MX

  2. #2
    Member Regular Contributor
    Join Date
    Oct 2000
    Posts
    440

    Re: nVIDIA drivers slow?

    Hmm, it seems that it's not a conflicting Mesa library...
    (checked with ldd)

    AGP is also enabled
    (checked with cat /proc/nv/card0)

  3. #3
    Guest

    Re: nVIDIA drivers slow?

    Don't GeForece's (and all NVidia cards) use the NVidia drivers and not mesa?
    http://www.nvidia.com/Products/Drivers.nsf/Linux.html

  4. #4
    Member Regular Contributor
    Join Date
    Oct 2000
    Posts
    440

    Re: nVIDIA drivers slow?

    Well, actually I am using the nVIDIA drivers, but they're just 6 times slower than the windows drivers
    And it's not software rendering (I've tried the Mesa drivers before installing nVIDIA's drivers)



    [This message has been edited by richardve (edited 05-02-2001).]

  5. #5
    Member Regular Contributor
    Join Date
    Apr 2001
    Location
    Greece
    Posts
    477

    Re: nVIDIA drivers slow?

    Are you sure the files you posted above are the only opengl libraries you have installed?Try find / -name 'lib*GL*' as root to see if there are any other libraries that may be used instead of nvidia's.

  6. #6
    Member Regular Contributor
    Join Date
    Oct 2000
    Posts
    440

    Re: nVIDIA drivers slow?

    This is what I got after doing that find command as root:

    /usr/lib/libGL.so.1.0.769
    /usr/lib/libGLcore.so.1.0.769
    /usr/lib/libGLcore.so.1
    /usr/lib/libGL.so.1
    /usr/lib/libGL.so
    /usr/X11R6/lib/libGLU.so.1
    /usr/X11R6/lib/libGLU.so.1.2.030401
    /usr/X11R6/lib/libGLU.so.3
    /usr/X11R6/lib/libMesaGLU.so.1
    /usr/X11R6/lib/libMesaGLU.so.3
    /usr/X11R6/lib/libGL.so.1
    /usr/X11R6/lib/libGL.so.3
    /usr/X11R6/lib/libGL.so
    /usr/X11R6/lib/libGLw.a
    /usr/X11R6/lib/libGL.so.1.0
    /usr/X11R6/lib/libGL.so.1.2.030401
    /usr/X11R6/lib/libGLwrapper.so.0.1.4
    /usr/X11R6/lib/libMesaGL.so.1
    /usr/X11R6/lib/libMesaGL.so.1.0
    /usr/X11R6/lib/libMesaGL.so.3
    /usr/X11R6/lib/libGL.la
    /usr/X11R6/lib/libGLU.la
    /usr/X11R6/lib/libGLU.so
    /usr/X11R6/lib/libMesaGLU.so

    But like I said in my first post; I really don't know wich of those files can be deleted...

  7. #7
    Junior Member Newbie
    Join Date
    Mar 2001
    Location
    germany
    Posts
    14

    Re: nVIDIA drivers slow?

    Hi,

    try this:
    rm -f /usr/lib/libGL.*
    rm -f /usr/lib/libGLcore*
    rm -f /usr/X11R6/lib/libGLU*
    rm -f /usr/X11R6/lib/libMesa*
    rm -f /usr/X11R6/lib/libGL*

    rm -f /usr/X11R6/lib/extensions/libglx*
    rm -f /usr/X11R6/lib/extensions/libGL*

    rm -f /usr/X11R6/lib/modules/drivers/nvdia.o (or nv.o)
    (not sure, about the path; do a search)...

    then, download the NVIDIA_KERNEL and GLX thingy from their page, unpack it in your locar dir, and move the libs (with links)
    to /usr/X11R6/lib...

    the libGLcore* and libglx* stuff goes to /usr/X11R6/lib/extensions

    the nv.o (or was it nvidia.o) has to be copied to /usr/X11R6/lib/modules/drivers/

    in general: all files which contain "mesa"
    have to be removed

    that should work,

    walantis

  8. #8
    Member Regular Contributor
    Join Date
    Oct 2000
    Posts
    440

    Re: nVIDIA drivers slow?

    I've done everything wich is suggested but it's still too slow

  9. #9
    Junior Member Newbie
    Join Date
    Mar 2001
    Location
    germany
    Posts
    14

    Re: nVIDIA drivers slow?

    Hi,

    another idea...take a look (as root) at this:

    cat /proc/nv/card0

    and tell me what you see...maybe there's a problem
    with agp support ?!

    hope it helps,

    walantis

  10. #10
    Member Regular Contributor
    Join Date
    Oct 2000
    Posts
    440

    Re: nVIDIA drivers slow?

    ----- Driver Info -----
    NVRM Version: 1.0-769
    ----- Card Info -----
    Model: GeForce2 MX
    IRQ: 11
    ----- AGP Info -----
    AGP Status: Enabled
    AGP Driver: NVIDIA
    Bridge: Via Apollo Pro
    SBA: Supported [disabled]
    FW: Unsupported [disabled]
    Rates: 2x 1x [2x]
    Registers: 0x07000203:0x00000102


    Nothing wrong with it AFAIK...

    Could it be that Linux has a larger function calling overhead wich makes it slower when using immediate mode (glVertex3f[v], etc) for rendering?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •