This is a discussion on NVidia display driver installation within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hi! I have installed NVidia display driver and the kernel module seems to load well, but the framerate of ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi! I have installed NVidia display driver and the kernel module seems to load well, but the framerate of opengl apps is really poor (<20fps running glxgears in fullscreen). I have done it many times and it always worked fine, but now I changed linux distribution to Slackware. I have already tried the most recent display drivers from nvidia site as well as the older ones which used to work fine for me (hardware the same). I think it is worth mentioning that when I run vmware workstation and try to switch to fullscreen mode, it says: *Unable to turn on direct graphics. *Failed to switch to full screen SVGA mode. So maybe the problem is with kernel configuration? If so shall I rebuild it and what options should I enable? Or maybe there is another way to fix that? Thx in advance! btw. I invoked few commands to provide more information: $ ldd /usr/X11R6/bin/gears libGL.so.1 => /usr/lib/libGL.so.1 (0x40030000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x400b4000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x400c2000) libpthread.so.0 => /lib/libpthread.so.0 (0x4018c000) libm.so.6 => /lib/libm.so.6 (0x401dd000) libc.so.6 => /lib/libc.so.6 (0x40200000) libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x40319000) libnvidia-tls.so.1 => /usr/lib/tls/libnvidia-tls.so.1 (0x40ad7000) libdl.so.2 => /lib/libdl.so.2 (0x40ad9000) /lib/ld-linux.so.2 (0x40000000) $ lsmod | grep nv nvidia 3783276 6 $ uname -mr 2.4.31 i686 -- golem |
| |||
| golem wrote: > I have installed NVidia display driver and the kernel module seems to > load well, but the framerate of opengl apps is really poor (<20fps > running glxgears in fullscreen). I have done it many times and it > always worked fine, but now I changed linux distribution to Slackware. > I have already tried the most recent display drivers from nvidia site > as well as the older ones which used to work fine for me (hardware the > same). Have you loaded the "glx" X module? Could you please post the output of the 'glxinfo' command? Even if the kernel module is loaded, you may still be using the software rendering libraries. glxinfo can tell you if that is the case. Reinier |
| |||
| I think this may be also important: $ dmesg | grep AGP AGP: Found AGPv3 capable device at 0:0:0 AGP: Version 2 AGP device found. AGP: Only 1 devices found, not enough, trying AGPv2 AGP: Found AGPv3 capable device at 0:0:0 AGP: Version 2 AGP device found. AGP: Only 1 devices found, not enough, trying AGPv2 -- golem |
| ||||
| first check the obvious: you are actually loading the module (lsmo should list "nvidia" if you are) and you have told xorg t use it (Driver "nvidia" in xorg.conf). if these are ok the you're using the driver, so the lack of speed is probably agp related typ ca /proc/driver/nvidia/agp/statu to see what's going on ideally it should look something like [code:1:925f83e295]Status: Enable Driver: NVIDI AGP Rate: 8 Fast Writes: Enable SBA: Enabled[/code:1:925f83e295 if the agp stuff isn't working, you just need to ensure the kernel ag setup matches what you've told xorg you're using. so, if you go t /usr/src/linux and type [code:1:925f83e295]grep AGP .config[/code:1:925f83e295 you probably ought to see CONFIG_AGP_NVIDIA=y with all the other ag options "not set". in any case, that's how i built m kernel and it works with my nvidia card...you may need to do i differently on your hardware if you do have the kernel set to nvidia agp, then you need [code:1:925f83e295]Option "NvAGP "1"[/code:1:925f83e295 in the device section of your xorg.conf (somewhere just under th Driver "nvidia" line). all this is documented in the drive readme finally, to get the fast writes and sba working you should only hav to ad [code:1:925f83e295]options nvidia NVreg_EnableAGPSBA= NVreg_EnableAGPFW=1[/code:1:925f83e295 to /etc/modules.conf, however i found that i had to edit the sourc code of the driver to enable these options. if you run the drive with the -x option it extracts itself without building and installin the kernel module. somewhere in the source tree (unde NVIDIA-Linux-foo/usr/src/nv) you'll find a file called os-registry. and if you browse this you'll find the places where these options ar set to 0...set them to 1, jump up three directory levels and ru "nvidia-installer" and you'll have full-speed nvidia gfx Message posted via ==================== www.linuxpackages.net/foru www.linuxpackages.ne Expanding the world of Slackwar ===================== |
| Thread Tools | |
| Display Modes | |
|
|