View Full Version : Nvidia Drivers and Mandrake 9.1
joncalvinmoore
03-30-03, 07:10 PM
Hey Nvidia, I'm a buyer of Nvidia products, and I feel you should have Mandrake 9.1 drivers well when Mandrake 9.1 came out. I mean, I expect that kind of service if I buy your products and apparently use Linux for gaming rather then Windows. Can anyone shed some light on this issue as it is bothering alot of us Linux new comers to not even bothering with Gaming with Linux. Thanks
macemoneta
03-30-03, 09:23 PM
I agree. If Nvidia doesn't have the resources to update the drivers during the beta period (like every other developer has to), they should open the source. Mandrake 9.1, Redhat 9, Knoppix 3.2, and even the 2.5 development kernel, all without usable accelerated video drivers. The only drivers that work are the open source drivers.
If they had been involved earlier, the conflicts encountered in the Redhat 9 threading library would have been discovered (and possibly corrected) before the final build.
EVENTUALLY, Nvidia will get around to it, but as it is, they are becoming a bottleneck in the entire process.
Andy Mecham
03-30-03, 11:41 PM
Please use the SRPM to rebuild a driver for your system. 1.0-4191 works without issue on Mandrake 9.1.
--andy
joncalvinmoore
03-31-03, 12:56 AM
Andy, I wouldn't even bother posting on this forum if I hadn't done just that. I exit X, then I do this in my console. The end result is nothing in my RPMS, it builds nothing that I can install.
[root@localhost jon]# sh NVchooser.sh
NVchooser.sh: NVchooser.sh: No such file or directory
[root@localhost jon]# sh NVchooser.sh
Please download and install the following files:
NVIDIA_kernel-1.0-4191.src.rpm
NVIDIA_GLX-1.0-4191.i386.rpm
For further installation directions, please see the README.
[root@localhost jon]# rpm --rebuild NVIDIA_kernel-1.0-4191.src.rpm
Installing NVIDIA_kernel-1.0-4191.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.30456
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf NVIDIA_kernel-1.0-4191
+ /bin/gzip -dc /usr/src/RPM/SOURCES/NVIDIA_kernel-1.0-4191.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd NVIDIA_kernel-1.0-4191
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.45615
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd NVIDIA_kernel-1.0-4191
+ set +e
++ rpm -q --queryformat '%{VERSION}' rpm
+ RPMVERSION=4.0.4
++ echo 4.0.4
++ awk -F . '{print $1;}'
+ RPMMAJOR=4
++ echo 4.0.4
++ awk -F . '{print $2;}'
+ RPMMINOR=0
++ echo 4.0.4
++ awk -F . '{print $3;}'
+ RPMPATCH=4
+ '[' 4 -le 3 -a 0 -le 0 -a 4 -lt 4 ']'
+ make nvidia.o
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -1`\" > nv_compiler.h
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparen
theses -Wpointer-arith -Wcast-qual -Wno-multichar -O -MD -D__KERNEL__ -DMODULE
-D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -D
MODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4191 -DNV_UNI
X -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -I. -I/usr/src/linux/include
-Wno-cast-qual nv.c
In file included from /usr/include/linux/prefetch.h:13,
from /usr/include/linux/list.h:6,
from /usr/include/linux/module.h:11,
from nv-linux.h:28,
from nv.c:14:
/usr/include/asm/processor.h:55: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (no
t in a function)
/usr/include/asm/processor.h:55: requested alignment is not a constant
In file included from /usr/include/linux/module.h:297,
from nv-linux.h:28,
from nv.c:14:
/usr/include/linux/version.h:2:2: #error "======================================
================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{l
inux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of
kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files fro
m a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended
by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may
not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should
only be"
/usr/include/linux/version.h:10:2: #error "included via other system header file
s - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include
<linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the
following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exis
ts and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directo
ry"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h t
o"
/usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/incl
ude/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use t
he following"
/usr/include/linux/version.h:26:2: #error " compiler option to use the correct
include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/in
clude"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error " instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordi
ngly."
/usr/include/linux/version.h:35:2: #error "=====================================
=================="
In file included from nv-linux.h:28,
from nv.c:14:
/usr/include/linux/module.h:299: parse error before "UTS_RELEASE"
/usr/include/linux/module.h: In function `print_symbol':
/usr/include/linux/module.h:433: `ESRCH' undeclared (first use in this function)
/usr/include/linux/module.h:433: (Each undeclared identifier is reported only on
ce
/usr/include/linux/module.h:433: for each function it appears in.)
In file included from nv-linux.h:29,
from nv.c:14:
/usr/include/linux/version.h:2:2: #error "======================================
================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{l
inux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of
kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files fro
m a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended
by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may
not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should
only be"
/usr/include/linux/version.h:10:2: #error "included via other system header file
s - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include
<linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the
following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exis
ts and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directo
ry"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h t
o"
/usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/incl
ude/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use t
he following"
/usr/include/linux/version.h:26:2: #error " compiler option to use the correct
include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/in
clude"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error " instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordi
ngly."
/usr/include/linux/version.h:35:2: #error "=====================================
=================="
In file included from nv.c:14:
nv-linux.h:31:40: missing binary operator before '('
nv-linux.h:33:42: missing binary operator before '('
nv-linux.h:35:42: missing binary operator before '('
nv-linux.h:37:42: missing binary operator before '('
nv-linux.h:39:42: missing binary operator before '('
nv-linux.h:43:4: #error This driver does not support 2.6.x or newer kernels!
In file included from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/interrupt.h:46,
from nv-linux.h:71,
from nv.c:14:
/usr/include/linux/irq.h: At top level:
/usr/include/linux/irq.h:65: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in
a function)
/usr/include/linux/irq.h:65: requested alignment is not a constant
In file included from /usr/include/linux/interrupt.h:46,
from nv-linux.h:71,
from nv.c:14:
/usr/include/asm/hardirq.h:16: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not
in a function)
/usr/include/asm/hardirq.h:16: requested alignment is not a constant
In file included from nv-linux.h:71,
from nv.c:14:
/usr/include/linux/interrupt.h:129: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here
(not in a function)
/usr/include/linux/interrupt.h:129: requested alignment is not a constant
nv-linux.h:184:64: missing binary operator before '('
nv.c:1335:65: missing binary operator before '('
nv.c: In function `nv_kern_mmap':
nv.c:1338: warning: implicit declaration of function `pgprot_writecombine'
nv.c:1338: incompatible types in assignment
make: *** [nv.o] Error 1
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.37528
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd NVIDIA_kernel-1.0-4191
+ rm -f /tmp/files.lst
+ '[' -z '' ']'
++ uname -r
+ export TARGET_KERNEL=2.4.21-0.13mdk
+ TARGET_KERNEL=2.4.21-0.13mdk
+ '[' -d /lib/modules/2.4.21-0.13mdk/kernel ']'
+ INSTALLPATH=/lib/modules/2.4.21-0.13mdk/kernel/drivers/video
+ mkdir -p /var/tmp/NVIDIA_kernel-1.0//lib/modules/2.4.21-0.13mdk/kernel/drivers
/video
+ install -m 0444 nvidia.o /var/tmp/NVIDIA_kernel-1.0//lib/modules/2.4.21-0.13md
k/kernel/drivers/video
install: cannot stat `nvidia.o': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.37528 (%install)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.37528 (%install)
Andy Mecham
03-31-03, 01:02 AM
From the README:
Q: Installing the NVIDIA_kernel module gives an error message like:
#error Modules should never use kernel-headers system headers
#error but headers from an appropriate kernel-source
A: You need to install the source for the Linux kernel. In most
situations you can fix this problem by installing the kernel-source
package for your distribution
You need to install your kernel-source RPM - you should be able to rebuild the driver then.
Thanks!
--andy
joncalvinmoore
03-31-03, 01:04 AM
Ok, thanks Andy. That was fast. I'll do that right now, and post the the results for everyone having the same problem, thanks again.
Jon
joncalvinmoore
03-31-03, 01:18 AM
I have 2 worlds "HELL YES"! Everyone stop asking how to get those drivers working, here is living proof on how to install it, the GLX rpm is all you need after that and you can just click on that, edit the X file, and boom, your playing Tux Racer.
m@? calhost jon]# rpm --rebuild NVIDIA_kernel-1.0-4191.src.rpm
Installing NVIDIA_kernel-1.0-4191.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.28470
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf NVIDIA_kernel-1.0-4191
+ /bin/gzip -dc /usr/src/RPM/SOURCES/NVIDIA_kernel-1.0-4191.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd NVIDIA_kernel-1.0-4191
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.28470
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd NVIDIA_kernel-1.0-4191
+ set +e
++ rpm -q --queryformat '%{VERSION}' rpm
+ RPMVERSION=4.0.4
++ echo 4.0.4
++ awk -F . '{print $1;}'
+ RPMMAJOR=4
++ echo 4.0.4
++ awk -F . '{print $2;}'
+ RPMMINOR=0
++ echo 4.0.4
++ awk -F . '{print $3;}'
+ RPMPATCH=4
+ '[' 4 -le 3 -a 0 -le 0 -a 4 -lt 4 ']'
+ make nvidia.o
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -1`\" > nv_compiler.h
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wcast-qual -Wno-multichar -O -MD -D__KERNEL__ -DMODULE
-D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4191 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -I. -I/lib/modules/2.4.21-0.13mdk/build/include -Wno-cast-qual nv.c
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wcast-qual -Wno-multichar -O -MD -D__KERNEL__ -DMODULE
-D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4191 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -I. -I/lib/modules/2.4.21-0.13mdk/build/include -Wno-cast-qual os-agp.c
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wcast-qual -Wno-multichar -O -MD -D__KERNEL__ -DMODULE
-D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4191 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -I. -I/lib/modules/2.4.21-0.13mdk/build/include -Wno-cast-qual os-interface.c
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wcast-qual -Wno-multichar -O -MD -D__KERNEL__ -DMODULE
-D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4191 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -I. -I/lib/modules/2.4.21-0.13mdk/build/include -Wno-cast-qual os-registry.c
ld -r -o nv-linux.o nv.o os-agp.o os-interface.o os-registry.o
ld -r -o nvidia.o nv-linux.o nv-kernel.o
size nvidia.o
text data bss dec hex filename
1248753 92760 32940 1374453 14f8f5 nvidia.o
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.28790
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd NVIDIA_kernel-1.0-4191
+ rm -f /tmp/files.lst
+ '[' -z '' ']'
++ uname -r
+ export TARGET_KERNEL=2.4.21-0.13mdk
+ TARGET_KERNEL=2.4.21-0.13mdk
+ '[' -d /lib/modules/2.4.21-0.13mdk/kernel ']'
+ INSTALLPATH=/lib/modules/2.4.21-0.13mdk/kernel/drivers/video
+ mkdir -p /var/tmp/NVIDIA_kernel-1.0//lib/modules/2.4.21-0.13mdk/kernel/drivers/video
+ install -m 0444 nvidia.o /var/tmp/NVIDIA_kernel-1.0//lib/modules/2.4.21-0.13mdk/kernel/drivers/video
+ echo '%attr(444 root root) ' /lib/modules/2.4.21-0.13mdk/kernel/drivers/video/nvidia.o
+ unset RPM_BUILD_ROOT
+ /usr/lib/rpm/brp-mandrake
no RPM_BUILD_ROOT variable; exiting.
Processing files: NVIDIA_kernel-1.0-4191
Finding Provides: /usr/lib/rpm/find-provides
Finding Requires: /usr/lib/rpm/find-requires /var/tmp/NVIDIA_kernel-1.0 i586
Using BuildRoot: /var/tmp/NVIDIA_kernel-1.0 to search libs
PreReq: /bin/sh /bin/sh /bin/sh rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1
Requires(interp): /bin/sh /bin/sh /bin/sh
Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1
Requires(pre): /bin/sh
Requires(post): /bin/sh
Requires(preun): /bin/sh
Requires: kernel >= 2.2.0 rpm >= 3.0.4
Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/NVIDIA_kernel-1.0
Wrote: /usr/src/RPM/RPMS/i586/NVIDIA_kernel-1.0-4191.i586.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.96999
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd NVIDIA_kernel-1.0-4191
+ '[' -n /var/tmp/NVIDIA_kernel-1.0 -a /var/tmp/NVIDIA_kernel-1.0 '!=' / ']'
+ rm -rf /var/tmp/NVIDIA_kernel-1.0
+ exit 0
Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.96999
+ umask 022
+ cd /usr/src/RPM/BUILD
+ rm -rf NVIDIA_kernel-1.0-4191
+ exit 0
[root@localhost jon]# rpm -i /usr/src/RPM/RPMS/i586/NVIDIA_kernel-1.0-4191.i586.rpm
^[[D^[[DWarning: loading /lib/modules/2.4.21-0.13mdk/kernel/drivers/video/nvidia.o will taint the kernel: non-GPL license - NVIDIA
See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Module nvidia loaded, with warnings
nvidia.o installed successfully
[root@localhost jon]#
[root@localhost jon]#
[root@localhost jon]#
Thanks Again Andy.
Andy Mecham
03-31-03, 01:18 AM
Sure thing.
--andy
joncalvinmoore
03-31-03, 01:25 AM
My friend just asked me from AIM where he could find the RPM for the kernel. It is located on Disk 3 (International CD) of the Mandrake 9.1 Distro, hope that helps.
Jon
Andy Mecham
03-31-03, 01:27 AM
Note that the kernel SRPM is different from the kernel-source RPM. You need the kernel-source RPM to install the kernel sources.
--andy
I followed the instructions...checked everything...source is in place...symlinks from linux to my uname -r correct....and I get the following message when I try to run startx:
(EE) LoadModule:Module nvidia does not have a nvidiaModuleData data object
(EE) Failed to load module "nvidia" (invalid module, 0)
(EE) no device detected
I've installed nvidia drivers to mandrake 8.2,9.0 and 9.1RC2....and I cannont make them work with 9.1!!!!
I've tried building them from source (tar) and src.rpm...and I always get the same message.
Any suggestions will be more than welcome.
Thanks in advance!
Roberto
I also followed the instructions in this page:
http://http://www.speculation.org/garrick/nvidiainstall.txt
...and I get the same result. :confused:
Originally posted by ohrock
(EE) LoadModule:Module nvidia does not have a nvidiaModuleData data object
(EE) Failed to load module "nvidia" (invalid module, 0)
(EE) no device detected Your XF86Config-4 file should NOT have a Load "nvidia" line in it, anywhere. Does it? If so, get RID of it. The only place that "nvidia" should be mentioned in there is in a Driver line.
Are you confused between the nvidia.o kernel module, and the nvidia_drv.o XFree86 driver? Those are two separate things -- you load the kernel module using modprobe (or /etc/modules, or /etc/modules.conf, depending on your distro), whereas you load nvidia_drv.o (the file that the NVIDIA_GLX package puts into /usr/X11R6/lib/modules/drivers) with a Driver line in XF86Config-4.
If you use a Load line rather than a Driver line, it'll look for a <modulename>ModuleData symbol in the file it loads, which isn't there for drivers (or kernel modules).
Originally posted by bwkaz
Are you confused between the nvidia.o kernel module, and the nvidia_drv.o XFree86 driver?
If you use a Load line rather than a Driver line, it'll look for a <modulename>ModuleData symbol in the file it loads, which isn't there for drivers (or kernel modules). [/B]
No I'm not confuse...I only have a Load "glx" and later on a Driver "nvidia" (in a different sub section)
I posting my XF86 file and attaching my log file....I just don't get it...check them out, maybe you can see something I don't see.
XF86Config-4 file:
# File generated by XFdrake.
# ************************************************** ********************
# Refer to the XF86Config man page for details about the format of
# this file.
# ************************************************** ********************
Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection
Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection
Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "us_intl"
Option "XkbCompat" ""
Option "XkbOptions" ""
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/usbmouse"
Option "ZAxisMapping" "6 7"
EndSection
Section "Monitor"
Identifier "monitor1"
VendorName "Monitor Vendor"
ModelName "Generic Laptop Display Panel 1280x1024"
Option "DPMS"
Modeline "1280x854" 85.26 1280 1296 1552 1792 854 854 861 892
EndSection
Section "Device"
Identifier "device1"
Driver "nvidia"
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce 4"
Option "intern_disp"
Option "extern_disp"
EndSection
Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24
SubSection "Display"
Depth 8
Modes "1280x854" "800x600"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x854" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x854" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
EndSection
Thanks a lot for your help...
Hmm... this is confusing.
You obviously don't have a Load "nvidia" line (as you were saying). However, your log file clearly states:
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.4191
Module class: XFree86 Server Extension
ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension GLX -- this is all fine. But then,
(II) LoadModule: "nvidia"
(II) Loading /usr/X11R6/lib/modules/drivers/nvidia.o
(EE) LoadModule: Module nvidia does not have a nvidiaModuleData data object.
(II) UnloadModule: "nvidia"
(II) Unloading /usr/X11R6/lib/modules/drivers/nvidia.o
(EE) Failed to load module "nvidia" (invalid module, 0) Which implies that something is telling the X server to load that bold file -- nvidia.o rather than nvidia_drv.o.
Couple of sanity checks, I guess. Was this your XF86Config-4 in the /etc/X11 directory? Because that's the file that the log says it used.
You may not know this, but did Mandrake patch their version of X to not look for _drv.o on their Driver files anymore?
Is there even a /usr/X11R6/lib/modules/drivers/nvidia.o file? Or is there only an nvidia_drv.o in that directory? If there's only an nvidia_drv.o, then you might try renaming it nvidia.o, or changing the Driver line in XF86Config-4 to be the full path to the nvidia_drv.o file.
Originally posted by bwkaz
Hmm... this is confusing.
You obviously don't have a Load "nvidia" line (as you were saying). However, your log file clearly states:
-- this is all fine. But then,
Which implies that something is telling the X server to load that bold file -- nvidia.o rather than nvidia_drv.o.
Agree...and that's what I'm totally missing and not getting.
Couple of sanity checks, I guess. Was this your XF86Config-4 in the /etc/X11 directory? Because that's the file that the log says it used.
Yes it is and it is located at my /etc/X11
You may not know this, but did Mandrake patch their version of X to not look for _drv.o on their Driver files anymore?
Is there even a /usr/X11R6/lib/modules/drivers/nvidia.o file? Or is there only an nvidia_drv.o in that directory? If there's only an nvidia_drv.o, then you might try renaming it nvidia.o, or changing the Driver line in XF86Config-4 to be the full path to the nvidia_drv.o file.
I tried directly accesing the driver (I have both nvidia.o and nvidia_drv.o). I did the following Driver "/usr/X11R6/lib/modules/drivers/nvidia_drv.o"
And now I get a wierder error:
(EE) No devices detected.
Fatal server error:
no screens found
I attached the log file....thanks again for your help.
Roberto
Umm... I don't know... It almost sounds like your version of nvidia_drv.o isn't modprobe'ing the right module?
Does 4349 (or whatever the newest version is) work?
I tried installing MDK all over...and I fell right away into the same problem.
Before this, I had MDK 9.1 RC2 in this machine with those drivers working. So It has to be some issue with Bamboo.
What should I do from here? Should I take this to MDK Support? Any recomendations at all?
Thanks for all your advice "bwkaz".
Roberto
ka-klick
03-31-03, 11:31 PM
Hope this isn't too much for the forum to handle, I've sent this out via email as well:
Just upgraded a box w/ a K6-2/500, 384MB RAM and TNT2/32mb card to Mandrake 9.1 the other day. This box ran Mandrake 8.0 and a fairly old set of nVidia drivers fine. I've mostly moved on to gaming on my 17" iMac w/GForce4mx, but my wife would occcaisionally like to take out her frustrations by fragging me using this box, so in the interest of marital harmony I hope you can help. javascript:smilie(';)')
Had the same trouble w/ the previous drivers (4191), but heard new ones were on the way, so tried those. Same trouble either way, I get the nVidia logo splash, X and kde seem to load fine until kde gets to the end of it's boot process and then fairly hard hang. I CAN get in via ssh from my iMac and from there I can kill X, but the actual keyboard on the k62 is now dead as a doornail until I reboot. Hope I didn't include too much kruft. I'd really like to get this machine back up w/3D. Let me know if you need any more info.
TOC:
Installer Log
XF86Config-4
.xsession-errors
A top taken while things were hung
output of lsmod
/proc/pci
XFree86 Log
See attachment
I got it!
Finally I was able to make it run...I just used XFree86 -configure to generate a working XF86 configuration file...I just had to adjust the resolutions and some details and I was up and running with my beatifull NVidia logo for starters....
Again thanks for your help or like we say in spain: a thousand thanks!
I was really surprise that I couldn't get it to what I had before...but heck now works.
Roberto
Andy Mecham
04-01-03, 09:39 AM
Glad to hear it!
--andy
Ok...
1st & for most, I am a full pledged new Linux user, Been in for about maybe a total of 8 months use so far.
That being said, I posted a thread for Mandrake 9.0 that had a very good explaination of the driver install for nvisdia & linux...
last post (http://www.nvnews.net/vbulletin/showthread.php?s=&threadid=648&perpage=25&pagenumber=3)
This time nVidia has made it even easier for Linux
Go DOWNLOAD the IA32 drivers (http://download.nvidia.com/XFree86/Linux-x86/1.0-4349/NVIDIA-Linux-x86-1.0-4349.run) & sinply run the file by clicking on it just like in windows if thats where you just come from.....
Then log in as a root user & do the following...
Go open a text editor, then open up, etc/X11/ XF86Config-4
The following should be applied here:
find
the relevant Device section and replace the line:
Driver "nv"
(or Driver "vesa")
with
Driver "nvidia"
In the Module section, make sure you have:
Load "glx"
You should also remove the following lines:
Load "dri"
Load "GLcore"
If You want to read the entire sheet that the above mentions, GO here (ftp://download.nvidia.com/XFree86/Linux-x86/1.0-4349/README.txt)
Again I hope I helped another person get their games running on Linux!!
:afro:
trevorj
04-02-03, 05:35 AM
mandrake has a seperate nvidia.o file located in drivers/pci or something like that. try a locate nvidia.o and see where it is... just rename it, then load X, it will then work fine.
-- trevorj
joncalvinmoore
04-02-03, 09:11 PM
I'm so glad that Nvidia release a new version when I complained about it, just when I got the 41 drivers working using the source RPM to build it, Nvidia releases the run file, lol, that's so funny I think, totally out there, I swear.
vBulletin® v3.7.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.