nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Trouble with SuSE80 & NVIDIA_kernel-1.0-3123.tar.gz (http://www.nvnews.net/vbulletin/showthread.php?t=2601)

mosquis 10-06-02 02:33 PM

Trouble with SuSE80 & NVIDIA_kernel-1.0-3123.tar.gz
 
1 Attachment(s)
Athlon 750Mhz.
GForce 2 MX with 64MB
SuSE80
Kernel 2.4.18

Hi, after updating from SuSE 7.2 to SuSE 8.0 I just can't get the NVidia drivers to work.
I think the problem is that XFree 4.2 is NOT using my compiled NVdriver module, eventhough lsmod tells me:

Module Size Used by Tainted: P
NVdriver 1066464 0

But when I start the server, it doesn't use this modules, it uses, acording to XFree86.0.log, the file: /usr/X11R6/lib/modules/drivers/nvidia_drv.o.
While using the X server, lsmod still says:

Module Size Used by Tainted: P
NVdriver 1066464 0

I have in the XFree86.config the correct line (nvidia instead of nv):

Section "Device"
BoardName "GeForce2 Go"
BusID "1:5:0"
Driver "nvidia"
Identifier "Device[0]"
Screen 0
VendorName "NVidia"
EndSection

And in /etc/modules.conf the line:

alias char-major-195 NVdriver

Of course, before all this I have uninstalled the NVIDIA_Kernel rpm that came with the distribution.

What am I doing wrong? Help, please!!

Here I post my XFree86Config and XFree86.0.log files in case they help.

Thank you very much.

XF86Config:

Section "Files"
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/local"
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/URW"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/PEX"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/misc"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/kwintv"
FontPath "/usr/X11R6/lib/X11/fonts/truetype"
FontPath "/usr/X11R6/lib/X11/fonts/uni"
FontPath "/usr/X11R6/lib/X11/fonts/ucs/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/ucs/100dpi"
ModulePath "/usr/X11R6/lib/modules"
RgbPath "/usr/X11R6/lib/X11/rgb"
EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail"
EndSection

Section "Module"
Load "type1"
Load "speedo"
Load "extmod"
Load "freetype"
# Load "glx"
EndSection

Section "InputDevice"
Driver "keyboard"
Identifier "Keyboard[0]"
Option "Protocol" "Standard"
Option "XkbKeyCodes" "xfree86"
Option "XkbLayout" "es"
Option "XkbModel" "pc102"
Option "XkbRules" "xfree86"
EndSection


Section "InputDevice"
Driver "mouse"
Identifier "Mouse[1]"
Option "ButtonNumber" "5"
Option "Device" "/dev/psaux"
Option "InputFashion" "Mouse"
Option "Name" "AutoDetected"
Option "Protocol" "IMPS/2"
Option "Vendor" "AutoDetected"
Option "ZAxisMapping" "4 5"
EndSection


Section "Monitor"
# Option "CalcAlgorithm" "CheckDesktopGeometry"
HorizSync 27-86
Identifier "Monitor[0]"
ModelName "CB6748SL"
# Option "DPMS"
VendorName "Calima"
VertRefresh 50-80
# UseModes "Modes[0]"
EndSection

#Section "Monitor"
# HorizSync 30-50
# VertRefresh 60
# Identifier "Monitor[1]"
# ModelName "Televisión"
# VendorName "T.V."
# UseModes "Modes[1]"
#EndSection

Section "Modes"
Identifier "Modes[0]"
Modeline "1152x864" 108.00 1152 1232 1360 1600 864 865 868 900 +hsync +vsync
Modeline "1024x768" 81.59 1024 1104 1280 1400 768 768 777 802
Modeline "800x600" 49.92 800 848 960 1072 600 600 607 626
Modeline "640x480" 27.96 640 672 736 832 480 480 485 501
Modeline "640x480" 31.95 640 672 736 832 480 480 485 501
EndSection

#Section "modes"
# Identifier "Modes[1]"
# Modeline "800x600" 49.92 800 848 960 1072 600 600 607 626
# Modeline "640x480" 27.96 640 672 736 832 480 480 485 501
#EndSection

Section "Screen"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1152x864" "1024x768" "800x600" "640x480" "400x300"
EndSubSection
SubSection "Display"
Depth 24
Modes "1152x864" "1024x768" "800x600" "640x480" "400x300"
EndSubSection
SubSection "Display"
Depth 32
Modes "1152x864" "1024x768" "800x600" "640x480" "400x300"
EndSubSection
SubSection "Display"
Depth 8
Modes "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
Device "Device[0]"
Identifier "Screen[0]"
Monitor "Monitor[0]"
Option "TwinView" "on"
Option "SecondMonitorVertRefresh" "60"
Option "SecondMonitorHorizSync" "30-50"
Option "ConnectedMonitor" "CRT,TV"
Option "Metamodes" "1152x864,800x600;800x600,800x600;640x480,640x 480"
Option "TVStandard" "PAL-B"
Option "TwinViewOrientation" "Clone"
Option "IgnoreEDID" "true"
Option "NoRenderAccel" "off"
Option "NvAGP" "1"
EndSection


Section "Device"
BoardName "GeForce2 Go"
BusID "1:5:0"
Driver "nvidia"
Identifier "Device[0]"
Screen 0
VendorName "NVidia"
EndSection

Section "ServerLayout"
Identifier "Layout[all]"
InputDevice "Keyboard[0]" "CoreKeyboard"
InputDevice "Mouse[1]" "CorePointer"
Option "Clone" "on"
Option "Xinerama" "off"
Screen "Screen[0]"
EndSection

bwkaz 10-06-02 05:03 PM

NVdriver is a kernel-level driver that you need to have running in order to access the real hardware of the video card. nvidia_drv.o is an XFree86-level driver that you need running in order to let X be able to use the kernel-level driver (well, more or less). You need them both to be running. Your lsmod output looks completely normal.

If you are having problems (and I couldn't figure out from your post whether or not you are, but I'd guess you are -- some error messages would be helpful), I'd say the problem is probably with the # Load "glx" line in your X config file. This line should not be commented, and it is. Remove the # and restart X to see if that helps. If not, post the error messages you're getting. Or at least post what isn't working (whether you can get X to load, whether it's a program crashing, or what).

Edit: Did you also notice this in your log file?:

Quote:

(WW) NVIDIA(0): Option "TwinView" is not used
(WW) NVIDIA(0): Option "SecondMonitorVertRefresh" is not used
(WW) NVIDIA(0): Option "SecondMonitorHorizSync" is not used
(WW) NVIDIA(0): Option "ConnectedMonitor" is not used
(WW) NVIDIA(0): Option "Metamodes" is not used
(WW) NVIDIA(0): Option "TVStandard" is not used
(WW) NVIDIA(0): Option "TwinViewOrientation" is not used
(WW) NVIDIA(0): Option "IgnoreEDID" is not used
(WW) NVIDIA(0): Option "NoRenderAccel" is not used
(WW) NVIDIA(0): Option "NvAGP" is not used
It seems that not many of your options were recognized... NvAGP, for one, should be NvAgp (and shouldn't be in the Screen section... it should be in the device section for your video card), and Metamodes should be MetaModes, but the rest of them seem spelled OK -- even if I haven't ever heard of them before. I think the problem is that most of them, actually, are in the wrong section of the file. But I'm not sure where to put them, because I either don't recognize them, or haven't used them myself.

mosquis 10-07-02 04:47 AM

Yes, you are right.
While trying to give as much information as I could, I forgot to explain my real problem.:D
The problem is that I cannot use the options you saw in the log file:

Quote:

(WW) NVIDIA(0): Option "TwinView" is not used
(WW) NVIDIA(0): Option "SecondMonitorVertRefresh" is not used
(WW) NVIDIA(0): Option "SecondMonitorHorizSync" is not used
(WW) NVIDIA(0): Option "ConnectedMonitor" is not used
(WW) NVIDIA(0): Option "Metamodes" is not used
(WW) NVIDIA(0): Option "TVStandard" is not used
(WW) NVIDIA(0): Option "TwinViewOrientation" is not used
(WW) NVIDIA(0): Option "IgnoreEDID" is not used
(WW) NVIDIA(0): Option "NoRenderAccel" is not used
(WW) NVIDIA(0): Option "NvAGP" is not used
Before installing SuSE 8.0, when I started the X server, lsmod would tell me that NVdriver is beeing used, telling me:
"NVdriver 1066464 1", but now it doesn't.
Actually, if I rmmod NVdriver and start X, there seems to be no problem at all, eventough NVdriver is still not loaded.:confused:

The XF86Config is the same I used before, and it was working...

About the glx module, I disabled it because, acording to the logfile, it wasn't working, and TwinView is my 1st. priority, for now. Will enable after fixing this problem...

Any ideas?

Thanks a lot you for your attention!!:)

mosquis 10-08-02 06:09 AM

Hi.
I still have the same problem, but I noticed in the logfile this lines:

(II) LoadModule: "nvidia"
(II) Loading /usr/X11R6/lib/modules/drivers/nvidia_drv.o
(II) Module nv: vendor="The XFree86 Project"
compiled for 4.2.0, module version = 1.0.1
Module class: XFree86 Video Driver
ABI class: XFree86 Video Driver, version 0.5

Why does it say on the third line that It loads Module nv? On the XFree86Config I specified Driver "nvidia".

I really think it is the problem, bacause i uninstalled the NVdriver and X works.

Does anyone know how to tell XFree86 to use the NVdriver instead of nv?

Any clues? Please, help!:(

bwkaz 10-08-02 07:57 AM

To fix the nv thing, well, I'm not sure. I'd suggest deleting /usr/X11R6/lib/modules/drivers/nvidia_drv.o and reinstalling the NVIDIA_GLX package, for one.

To fix the "option xxxx not used" messages, I'd suggest you go and read through the nVidia README again. The place you have all those options (the Screen section) is not the right place in the config file. NvAgp, IgnoreEDID, NoRenderAccel, TwinView, SecondMonitor*, and MetaModes (at *least*, probably others) all belong in the Device section. The location of the others should be documented in the README.

mosquis 10-08-02 12:31 PM

I'm sure about the XF86Config file, because It worked perfect in my 7.2 distribution. Reviewed the documentation, and it is o.k.

I tried the other thing, but didn't work.


:(

bwkaz 10-08-02 07:20 PM

Whether or not it worked in 7.2 isn't extremely relevant. Granted, if it used to work, it should stay working, but RedHat has been known to do stranger things.

Try moving them, and see if the messages go away.

Edit: What does the command file /usr/X11R6/lib/modules/drivers/nvidia_drv.o print? What about ls -l /usr/X11R6/lib/modules/drivers/nv* -- are nv_drv.o and nvidia_drv.o the same size? If you rename (or move) the nv_drv.o file in that directory to something or somewhere else, then try the delete file and reinstall GLX again, does that help maybe?


All times are GMT -5. The time now is 07:38 PM.

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