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

Newegg Daily Deals

Reply
 
Thread Tools
Old 04-03-04, 01:01 PM   #1
Canadian_daemon
Registered User
 
Join Date: Apr 2004
Posts: 1
Default Geforce2 Direct Rendering

Hello
I have a Geforce2 PCI card (64 MB) installed on an Aopen MX4LS motherboard. I am running Mandrake 10.0 Community(kernel 2.4.25). I run glxgears, and get:
# glxgears
Xlib: extension "XFree86-DRI" missing on display ":0.0".
905 frames in 5.0 seconds = 181.000 FPS
985 frames in 5.0 seconds = 197.000 FPS

When I run gl games (gl-117) I get 6 fps.
When i check glxinfo i get:
# glxinfo |less
Xlib: extension "XFree86-DRI" missing on display ":0.0".
name of display: :0.0
display: :0 screen: 0
direct rendering: No

How do I enable direct rendering ( I have not used the nvidia linux module, I let the mandrake install do it's own)
When I try to run the NVIDIA-Linux-x86-1.0-5328-pkg1.run ( from nvidia.com) I get:
( /var/log/nvidia-installer.log)

License accepted.
-> No precompiled kernel interface was found to match your kernel; would you li
ke the installer to attempt to download a kernel interface for your kernel f
rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
this means that the installer will need to compile a kernel interface for
your kernel.
-> Kernel include path: '/usr/src/linux/include'
-> Performing cc_version_check with CC="cc".
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f nv.o os-agp.o os-interface.o os-registry.o nv-linux.o nv_compiler.h *
.d NVdriver nvidia.o
-> Building kernel module:
executing: 'cd ./usr/src/nv; make nvidia.o SYSINCLUDE=/usr/src/linux/include
'...
..
... (gcc stuff)
....
ld -r -o nvidia.o nv-linux.o nv-kernel.o
-> done.
-> Kernel module compilation complete.
ERROR: Unable to load the kernel module 'nvidia.o'. This is most likely
because the kernel module was built using the wrong kernel header files.
Please make sure you have installed the kernel header files for your
kernel; on Red Hat Linux systems, for example, be sure you have the
'kernel-source' rpm installed. If you know the correct kernel header
files are installed, you may specify the kernel include path with the
'--kernel-include-path' commandline option.
-> Kernel module load error: ./usr/src/nv/nvidia.o: ./usr/src/nv/nvidia.o:
unresolved symbol mem_map_R2fef89c3
./usr/src/nv/nvidia.o: ./usr/src/nv/nvidia.o: unresolved symbol
proc_root_driver_R9d5419cf
create_proc_entry_Raf2d8810
./usr/src/nv/nvidia.o:
Hint: You are trying to load a module without a GPL compatible license
and it has unresolved symbols. Contact the module supplier for
assistance, only they can help you.
ERROR: Installation has failed. Please see the file
'/var/log/nvidia-installer.log' for details. You may find suggestions
on fixing installation problems in the README available on the Linux
driver download page at www.nvidia.com.



Please help me, why do i get such low fps? is it because Direct Rendering isn't enabled? Help would be appreciated
Canadian_daemon is offline   Reply With Quote
Old 04-08-04, 04:22 PM   #2
LordMorgul
Electrical Engineer
 
LordMorgul's Avatar
 
Join Date: Dec 2002
Location: San Luis Obispo, CA
Posts: 872
Default Re: Geforce2 Direct Rendering

Quote:
Originally Posted by Canadian_daemon
When i check glxinfo i get:
# glxinfo |less
Xlib: extension "XFree86-DRI" missing on display ":0.0".
name of display: :0.0
display: :0 screen: 0
direct rendering: No
Lack of direct rendering here will definitely cause low framerates. The kernel module should be loaded to support this.. see the error below where that does not happen.

Quote:
Originally Posted by Canadian_daemon
ERROR: Unable to load the kernel module 'nvidia.o'. This is most likely
because the kernel module was built using the wrong kernel header files.

Please make sure you have installed the kernel header files for your
kernel; on Red Hat Linux systems, for example, be sure you have the
'kernel-source' rpm installed. If you know the correct kernel header
files are installed, you may specify the kernel include path with the
'--kernel-include-path' commandline option.
-> Kernel module load error: ./usr/src/nv/nvidia.o: ./usr/src/nv/nvidia.o:
unresolved symbol mem_map_R2fef89c3
./usr/src/nv/nvidia.o: ./usr/src/nv/nvidia.o: unresolved symbol
proc_root_driver_R9d5419cf
create_proc_entry_Raf2d8810
./usr/src/nv/nvidia.o:
Unresolved symbols are due to incorrect sources used during the compile. The header files contained in the source tree are used when compiling the driver.. and if they do not match what the running kernel is using when the module is loaded it will fail.
1) there are several other posts regarding problems with Mandrake 10 community on the board right now.. there could be real issues with the mandrake sources
2) your sources may not be properly linked or configured -- make prepare in the source tree may help correct this.
3) the symlink /lib/modules/`uname -r`/build should be pointed to the source tree for the running kernel.
__________________
"..the triumph of evil is for good men to do nothing." (Edmond Burke)
nVIDIA video driver RPMs for Fedora :: see yum repo at livna.org.
LordMorgul 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[GeForce 8800 GTS] 2D rendering regression (extreme slowdown) introduced with 295.49 Seb L. NVIDIA Linux 0 06-22-12 06:48 AM
nVida Geforce2 MX 200 (onboard) urak NVIDIA Linux 1 10-24-02 05:42 AM
GeForce2 on Inspiron 4100 sjg NVIDIA Linux 8 10-07-02 02:06 PM
Remote rendering???? nVIDIOT@NASA NVIDIA Linux 1 08-16-02 01:00 PM
TNT + geforce2 GTS w/ TV-OUT tim_wilson NVIDIA Linux 3 08-01-02 05:25 PM

All times are GMT -5. The time now is 09:04 AM.


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