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

Newegg Daily Deals

Reply
 
Thread Tools
Old 10-21-02, 02:23 AM   #97
Omnifarious
Linux User #149300
 
Join Date: Oct 2002
Location: Minneapolis, MN
Posts: 17
Send a message via AIM to Omnifarious Send a message via Yahoo to Omnifarious
Default It doesn't work for me

I get weird, random crashes and very bad behavior from the NVidia drivers. They've never been the most stable thing on my system, and have been responsible for my desktop system crashing about once a week, but now I can't really do anything 3D and have them work right.

This has been happening ever since I upgraded to RH 8.0, and especially since I've upgraded to the 3123 NVidia drivers. I have an SY-K7V Soyo Dragon Plus! motherboard. Aside from the video card, I'm only using onboard peripherals. I've noticed that sound, video, and ethernet all end up sharing IRQ 11.

I have one theory, which is that the kernel data structure layouts have shifted slightly because of the gcc-3.2 compiler, and the kernel driver NVidia ships still uses the old layouts. It's shipped as a source RPM, but the source is just a thunking layer between the kernel and a .o file that gets linked in.

Anyway, if anybody has any ideas, or if anybody knows if NVidia intends to post drivers specifically compiled for the gcc-3.2 compiled kernel, I'd appreciate knowing about it.
Omnifarious is offline   Reply With Quote
Old 10-21-02, 09:40 AM   #98
-predator-
Guest
 
Posts: n/a
Talking failed

sorry, it doesnt work.

Every time i restart my x-window system after the changes, the XF86Config looks like this again:
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "800x600" "640x480"
EndSubSection
EndSection



It should look this way, right?
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection


There was also a SubSection "Display" too, where only Modes "800x600" was in it without the Depth. I tried it with this line and without this (with 1024x768), but nothing changed. First I only want to have 16bit depth, and when this runs i can try it with 24 and 32bit.

What should I do now?
greetz -pred-

attachment: the XF86Config (i changed it into XF86Config.txt) I have every time after a restart

____________
EDIT________

lol im an idiot
i changed it and i didnd think of anything else as my graca. i had set a monitor with max resolution as 800x600. now after your change everything works perfectly, and ive added now my working config
--THANX FOR HELP--
Attached Files
File Type: txt xf86config.txt (3.4 KB, 250 views)
  Reply With Quote
Old 10-21-02, 10:15 AM   #99
Don Rieck
Registered User
 
Join Date: Oct 2002
Posts: 5
Default RH 8.0 Pan lockups - Config Files posted

Here are two XF86Config Files.

The first is one that successfully boots X, runs 3d games, etc. But hanbgs in Pan or other GNOME apps.

The second is the 'reverted' to file that boots X only because the 'load glx' line has been commented out. When this line is in there it will not boot - I'm guessing because I still have the NVIDIA GLX module loaded somewhere (I'm not sure how to nuke it).

Thanks in advance:


First file - boots X, runs 3d, crashes apps like GNOME:

# File generated by anaconda.

Section "ServerLayout"
Identifier "Anaconda Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Mouse1" "SendCoreEvents"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
# The location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
# Load "dri"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
EndSection

Section "InputDevice"
# Option "AutoRepeat" "500 5"
# when using XQUEUE, comment out the above line, and uncomment the
# following line
# Option "Protocol" "Xqueue"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
#Option "XkbOptions" ""
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us" #Option "XkbVariant" ""
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "Protocol" "IMPS/2"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 30.0 - 70.0
VertRefresh 50.0 - 120.0
Option "dpms"
EndSection

Section "Device"
# no known options
#BusID
Identifier "NVIDIA GeForce 2 MX (generic)"
Driver "nvidia"
VendorName "NVIDIA GeForce 2 MX (generic)"
BoardName "NVIDIA GeForce 2 MX (generic)"
EndSection

Section "Screen"
Identifier "Screen0"
Device "NVIDIA GeForce 2 MX (generic)"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection


*************
Second config file - currently in use, boots X but if I add back the GLX line will NOT boot X:

This will boot, but only because the load GLX line is commented out


# File generated by anaconda.

Section "ServerLayout"
Identifier "Anaconda Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Mouse1" "SendCoreEvents"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
# The location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "dri"
# Load "glx"
Load "record"
Load "freetype"
Load "type1"
EndSection

Section "InputDevice"
# Option "AutoRepeat" "500 5"
# when using XQUEUE, comment out the above line, and uncomment the
# following line
# Option "Protocol" "Xqueue"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
#Option "XkbOptions" ""
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us" #Option "XkbVariant" ""
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "Protocol" "IMPS/2"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 30.0 - 70.0
VertRefresh 50.0 - 120.0
Option "dpms"
EndSection

Section "Device"
# no known options
#BusID
Identifier "NVIDIA GeForce 2 MX (generic)"
Driver "nv"
VendorName "NVIDIA GeForce 2 MX (generic)"
BoardName "NVIDIA GeForce 2 MX (generic)"
EndSection

Section "Screen"
Identifier "Screen0"
Device "NVIDIA GeForce 2 MX (generic)"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection
Don Rieck is offline   Reply With Quote
Old 10-21-02, 11:41 PM   #100
STEEL1
Registered User
 
Join Date: Oct 2002
Posts: 15
Post updating the main post

folks I will be updating my main first post with issues that you guys point out to me. and if I always can try and test something I will keep on adding to it.

has anyone used the new
"redhat-config-xfree86"
to create a valid config file ???
its one of the new redhat tools and is located in
"/usr/bin"

Thanks
STEEL
STEEL1 is offline   Reply With Quote
Old 10-22-02, 01:32 PM   #101
davechen
Registered User
 
Join Date: Oct 2002
Posts: 6
Default NVIDIA_kernel not compiling

I've got all the proper packages installed (kernel-sources, etc), but my NVIDIA_kernel is still not compiling. It's complaining a lot about headers. You can see the output of my "make" here .

Anyone have any ideas? Thanks.
dave
davechen is offline   Reply With Quote
Old 10-22-02, 10:09 PM   #102
davechen
Registered User
 
Join Date: Oct 2002
Posts: 6
Default

Ooops. Forgot about the firewall. I've put the make output on a different server.

http://www.cs.unc.edu/~chen/build.txt
davechen is offline   Reply With Quote
Old 10-23-02, 09:35 PM   #103
RonO
Guest
 
Posts: n/a
Default Re: Re: Failed init

Quote:
Originally posted by lucianpoe
RonO,

We all too got through this mud. Try following the instructions described here:
http://www.nvnews.net/vbulletin/show...&threadid=2965
and see if this works for you. From my experience with both Windows XX and RedHat XX, doing a "clean" install is the best medicine you can "treat" your PC with.

Post your results (PS: to test it, run "glxgears"; if you installed "cleanly", you should get 4770.400 FPS and above consistently).

-- Lucian
Lucian,

So far, I'm still getting the same results. I read through your thread and it appears to be the exact same issue I encountered. I've followed your instructions to the letter, but even rebuilding the GLX from src did not fix the problem for me. Same error as before, "(EE) NVIDIA(0): Failed to initialize theNVdriver kernel module!".

This is a clean install or as clean as it can be given that I've loaded from the RH cds and then it's patched my system with a bunch of RPMs. Just another one of those little frustrations.

FWIW, the rpms were compiled into the i386 directory and not the i686 (under /usr/src/redhat/RPMS). I am booting into linux-2.4.18-17.8.0 (my only choice).
  Reply With Quote
Old 10-24-02, 09:31 PM   #104
lucianpoe
Registered User
 
Join Date: Oct 2002
Location: Detroit area
Posts: 13
Send a message via Yahoo to lucianpoe
Post Re: still not init

Ron,

Is there any way that you install RH 8.0 fresh from a set of CD's, as opposed to patching the kernel? This may solve the problem. Patches have proved to be my nightmare (true in WindXX, but I haven't had the chance to see this in RH as I install fresh whenever there is a new RH version). My guess is that the headers/ source/etc for the new kernel weren't installed correctly, or maybe the libraries used by the new kernel are a little different than the libraries used by the old kernel, and that's why it either doesn't compile correctly, or it compiles for the older kernel.

The rpm builder recognizes trhe most compatible architecture (it stored the rpms in my i386 folder too, but it installed them flawlessly).

If you can't download the OS's ISOs, e-mail me your address, I'll burn you a set of CD's and mail them to you.

-- Lucian

Quote:
Originally posted by RonO
Lucian,

So far, I'm still getting the same results. I read through your thread and it appears to be the exact same issue I encountered. I've followed your instructions to the letter, but even rebuilding the GLX from src did not fix the problem for me. Same error as before, "(EE) NVIDIA(0): Failed to initialize theNVdriver kernel module!".

This is a clean install or as clean as it can be given that I've loaded from the RH cds and then it's patched my system with a bunch of RPMs. Just another one of those little frustrations.

FWIW, the rpms were compiled into the i386 directory and not the i686 (under /usr/src/redhat/RPMS). I am booting into linux-2.4.18-17.8.0 (my only choice).
lucianpoe is offline   Reply With Quote

Old 10-25-02, 07:21 AM   #105
hiefman
Guest
 
Posts: n/a
Default Re: Re: Re: Failed init

Quote:
Originally posted by RonO
Lucian,

So far, I'm still getting the same results. I read through your thread and it appears to be the exact same issue I encountered. I've followed your instructions to the letter, but even rebuilding the GLX from src did not fix the problem for me. Same error as before, "(EE) NVIDIA(0): Failed to initialize theNVdriver kernel module!".
Lo there
After two sleepless nights i thought i would be time to post in here aswell. At first I can say that I get the same error as Ron. In short form what i used /have done:

- Kernelupdate to 2.4.18-17.8.0
- Booting with 2.4.18-17.8.0 bigmem
- Installing SRPMS in Console (V.2960) (worked fine, no errors)
- Changing "nv" to "nvidia"
- Deleting the dri parts
- Rebooting with same kernel
- Starting X Server...

...and here comes the error log from X11:

(II) LoadModule: "nvidia"
(II) Loading /usr/X11R6/lib/modules/drivers/nvidia_drv.o
(II) Module nvidia: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.2960
Module class: XFree86 Video Driver
(II) Module mouse: vendor="The XFree86 Project"
compiled for 4.2.0, module version = 1.0.0
Module class: XFree86 XInput Driver
ABI class: XFree86 XInput driver, version 0.3
(II) NVIDIA XFree86 Driver 1.0-2960 Tue May 14 07:45:20 PDT 2002
(II) NVIDIA: NVIDIA driver for: RIVA TNT, RIVA TNT2, Vanta,
RIVA TNT2 Ultra, RIVA TNT2 Model 64, Aladdin TNT2, GeForce 256,
GeForce DDR, Quadro, GeForce2 MX/MX 400, GeForce2 MX 100/200,
Quadro2 MXR/EX/Go, GeForce2 Integrated GPU, GeForce2 GTS,
GeForce2 Ti, GeForce2 Ultra, Quadro2 Pro, GeForce4 MX 460,
GeForce4 MX 440, GeForce4 MX 420, Quadro4 500/550 XGL,
Quadro4 200/400 NVS, GeForce3, GeForce3 Ti 200, GeForce3 Ti 500,
Quadro DCC, GeForce4 Ti 4600, GeForce4 Ti 4400, GeForce4 Ti 4200,
Quadro4 900 XGL, Quadro4 750 XGL, Quadro4 700 XGL, GeForce2 Go,
GeForce4 440 Go, GeForce4 420 Go, GeForce4 420 Go 32M,
GeForce4 440 Go 64M, Quadro4 500 GoGL
(II) Primary Device is: PCI 01:00:0
(--) Assigning device section with no busID to primary device
(--) Chipset RIVA TNT2 found
(II) resource ranges after xf86ClaimFixedResources() call:
[0] -1 0xffe00000 - 0xffffffff (0x200000) MX[b](B)
[1] -1 0x00100000 - 0x3fffffff (0x3ff00000) MX[b]E(B)

.
.
.
[22] 0 0x000003b0 - 0x000003bb (0xc) IS[b]
[23] 0 0x000003c0 - 0x000003df (0x20) IS[b]
(II) Setting vga for screen 0.
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/X11R6/lib/modules/libvgahw.a
(II) Module vgahw: vendor="The XFree86 Project"
compiled for 4.2.0, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.5
(**) NVIDIA(0): Depth 16, (--) framebuffer bpp 16
(==) NVIDIA(0): RGB weight 565
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(--) NVIDIA(0): Linear framebuffer at 0xE2000000
(--) NVIDIA(0): MMIO registers at 0xE0000000
(EE) NVIDIA(0): Failed to initialize the NVdriver kernel module!
(EE) NVIDIA(0): *** Aborting ***
(II) UnloadModule: "nvidia"
(II) UnloadModule: "vgahw"
(II) Unloading /usr/X11R6/lib/modules/libvgahw.a
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

OK, i checked the Nvidia-pdf file. There it says this error is most likely caused by a wrong installed kernel module. So I had a look at lsmod. Indeed no NV-modules. I tried an insmod NV* and a surprisingly error occured:

[root@thapole root]# insmod NV*
Using /lib/modules/2.4.18-17.8.0bigmem/kernel/drivers/video/NVdriver
/lib/modules/2.4.18-17.8.0bigmem/kernel/drivers/video/NVdriver: The module you are trying to load (/lib/modules/2.4.18-17.8.0bigmem/kernel/drivers/video/NVdriver) is compiled with a gcc
version 2 compiler, while the kernel you are running is compiled with
a gcc version 3 compiler. This is known to not work.
I know i compiled the kernel under the 2.4.18-17.8.0bigmem-kernel, so i have no clue why i get this...
Maybe you should check if u get the same Ron. If so we should search for someone willing to translate this last error

Greetz
Hiefman

-----------------------------------------------------------

My System btw:
AMD Classic 750MHz
Asus K7V with VIA chipset
ELSA Synergy II - RIVA TNT 2
  Reply With Quote
Old 10-25-02, 11:12 AM   #106
RonO
Guest
 
Posts: n/a
Default

Thanks for the post, Hiefman.

I would have uploaded my log file and linked to it had I known where it was. At the moment, I've gone with the re-install route (again), but I encountered a snag last night (installation decided to hang). Last thing I did last night was delete all the partitions and wipe the drive for another go at it again tonight or tomorrow.

I'm to make installing the vid driver the first task after all the auto kernel/system updates. Hopefully the planets will be properly aligned for this go.

Thanks to everyone here who has offered insight and advice. More news to come!

Ron
  Reply With Quote
Old 10-25-02, 12:19 PM   #107
hiefman
Guest
 
Posts: n/a
Default

Quote:
Originally posted by RonO
Thanks for the post, Hiefman.

I would have uploaded my log file and linked to it had I known where it was.
The log file for X startup is located in /var/log/ and is called XFree86.0.log.

I think ill check the moon calender aswell and try again in a dark forest...completely naked etc ....
  Reply With Quote
Old 10-25-02, 08:24 PM   #108
Leer
Registered User
 
Join Date: Oct 2002
Posts: 1
Question

I've been working on this for a week or so now gathered all the info I can in hopes somebody can point me in a new direction.

I have a default install with the upgrades from rhn applied (ie new kernel etc)

I have run make mrproper configold.
I ran rpm build with most of the errors others are having. File attached
It does make the rpm file and when installing (forced) I get a second set of errors

Preparing...

##################################################
NVIDIA_kernel
##################################################
/lib/modules/2.4.18-17.8.0/kernel/drivers/video/NVdriver: kernel-module version mismatch
/lib/modules/2.4.18-17.8.0/kernel/drivers/video/NVdriver was compiled for kernel version 2.4.18-17.8.0custom
while this kernel is version 2.4.18-17.8.0.
/lib/modules/2.4.18-17.8.0/kernel/drivers/video/NVdriver: insmod /lib/modules/2.4.18-17.8.0/kernel/drivers/video/NVdriver failed
/lib/modules/2.4.18-17.8.0/kernel/drivers/video/NVdriver: insmod NVdriver failed

NVdriver installed successfully


Any help or direction woudl be helpful. I'm about a 3 week Linux user but not fence post (I hope).


cheers,
Leer




Below are the package everyone has been stated needed to be installed. for refernce.


[Leer]$ rpm -qa | grep rpm-build
rpm-build-4.1-1.06
[Leer]$ rpm -qa | grep gcc
gcc-3.2-7
gcc-g77-3.2-7
gcc-java-3.2-7
gcc-gnat-3.2-7
gcc-c++-3.2-7
libgcc-3.2-7
gcc-objc-3.2-7
[Leer]$ rpm -qa | grep binutils
binutils-2.13.90.0.2-2
[Leer]$ rpm -qa | grep glibc-devel
glibc-devel-2.2.93-5
[Leer]$ rpm -qa | grep kernheaders
glibc-kernheaders-2.4-7.20
[Leer]$ rpm -qa | grep kernel-source
kernel-source-2.4.18-17.8.0
[Leer]$ rpm -qa | grep header
glibc-kernheaders-2.4-7.20


[Leer]$ cat /proc/version
Linux version 2.4.18-17.8.0 (bhcompile@daffy.perf.redhat.com) (gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)) #1 Tue Oct 8 13:51:08 EDT 2002
[Leer]$ cc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --host=i386-redhat-linux --with-system-zlib --enable-__cxa_atexit
Thread model: posix
gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
Attached Files
File Type: txt kern.build.install.txt (6.0 KB, 234 views)
Leer 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
NVIDIA Showcases GPU Breakthroughs at IBC 2012 News Archived News Items 0 09-07-12 11:10 AM
The Nvidia Forums Are Still Not Available, Finally We Know Why News Archived News Items 0 07-14-12 06:10 AM
Need Help Installing NVIDIA Tesla M2070Q in Linux RHEL5 Ferianto85 NVIDIA Linux 0 05-18-12 09:35 PM
NVidia Drivers HowTo for RedHat 8.0 needed eduardp NVIDIA Linux 10 10-04-02 04:59 AM
Redhat 8.0, no rpm, can't compile. Ironphil NVIDIA Linux 6 10-02-02 04:13 PM

All times are GMT -5. The time now is 06:30 PM.


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