Jump to content

nvidia problem


VeeDubb
 Share

Recommended Posts

I'm sure this is descussed, but searching for nvidia yealds so many hits that it's impossible to filter.

 

 

I have an nvidia card and when I installed mdk9.0, it installed an older nvidia driver with 2d accelleration. At boot, I would get the nvidia splash screen whe x loaded. I decided to install the latest nvidia driver from nvidia's website using their single file auto installer.

 

I rebooted in failsafe without X running, cd'd to the directory with the .run , ./NVIDIA.......4363.run and the install seemed to go fine.

 

I rebooted, and I was using the old non-accelerated "nv" driver. I checked my XF86Config-4 and sure enough it had reset to 'nv'

 

I changed it to nvidia and check the module section to make sure it said glx and NOT dri or Glcore, and rebooted, x refused to load. The only thing I could do was vi my XF86Config-4 back to 'nv'

 

What am I doing wrong?

 

 

Here is my XF86:

 

 

# 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" # 3D layer

EndSection

 

Section "InputDevice"

Identifier "Keyboard1"

Driver "Keyboard"

Option "XkbModel" "pc105"

Option "XkbLayout" "us"

Option "XkbOptions" ""

EndSection

 

Section "InputDevice"

Identifier "Mouse1"

Driver "mouse"

Option "Protocol" "IMPS/2"

Option "Device" "/dev/psaux"

Option "ZAxisMapping" "4 5"

EndSection

 

Section "Monitor"

Identifier "monitor1"

VendorName "Plug'n Play"

HorizSync 30-70

VertRefresh 50-120

 

# Sony Vaio C1(X,XS,VE,VN)?

# 1024x480 @ 85.6 Hz, 48 kHz hsync

ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync

 

# TV fullscreen mode or DVD fullscreen output.

# 768x576 @ 79 Hz, 50 kHz hsync

ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630

 

# 768x576 @ 100 Hz, 61.6 kHz hsync

ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616

EndSection

 

Section "Device"

Identifier "device1"

VendorName "nVidia Corporation"

BoardName "NVIDIA GeForce2 DDR (generic)"

Driver "nv"

Option "DPMS"

EndSection

 

Section "Screen"

Identifier "screen1"

Device "device1"

Monitor "monitor1"

DefaultColorDepth 24

 

Subsection "Display"

Depth 8

Modes "1024x768" "800x600" "640x480"

EndSubsection

 

Subsection "Display"

Depth 15

Modes "1024x768" "800x600" "640x480"

EndSubsection

 

Subsection "Display"

Depth 16

Modes "1024x768" "800x600" "640x480"

EndSubsection

 

Subsection "Display"

Depth 24

Modes "1024x768" "800x600" "640x480"

EndSubsection

EndSection

 

Section "ServerLayout"

Identifier "layout1"

InputDevice "Keyboard1" "CoreKeyboard"

InputDevice "Mouse1" "CorePointer"

Screen "screen1"

EndSection

 

 

 

 

 

Other than changing 'nv' to 'nvidia' what needs to change so I can boot with the accelerated driver?

Link to comment
Share on other sites

Can you boot to command line, not failsafe, but hit esc at your lilo screen ( if you use lilo) and type

linux 3

 

Launch x by typing

startx

 

It will give some errors, and tell what is wrong. All that needs to be done with the new installer is to change "nv" to "nvidia". The other warnings concerning stuff in the file are out of date in 9.1.

 

I usually install by command line, rather than failsafe. I don't know if it makes any difference.

Link to comment
Share on other sites

Try the following changes:

 

# 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 "/usr/X11R6/lib/modules/extensions/libglx.so"

 

EndSection

 

Section "InputDevice"

   Identifier "Keyboard1"

   Driver "Keyboard"

   Option "XkbModel" "pc105"

   Option "XkbLayout" "us"

   Option "XkbOptions" ""

EndSection

 

Section "InputDevice"

   Identifier "Mouse1"

   Driver "mouse"

   Option "Protocol" "IMPS/2"

   Option "Device" "/dev/psaux"

   Option "ZAxisMapping" "4 5"

EndSection

 

Section "Monitor"

   Identifier "monitor1"

   VendorName "Plug'n Play"

   HorizSync 30-70

   VertRefresh 50-120

 

   # Sony Vaio C1(X,XS,VE,VN)?

   # 1024x480 @ 85.6 Hz, 48 kHz hsync

   ModeLine "1024x480"    65.00 1024 1032 1176 1344   480  488  494  563 -hsync -vsync

 

   # TV fullscreen mode or DVD fullscreen output.

   # 768x576 @ 79 Hz, 50 kHz hsync

   ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630

 

   # 768x576 @ 100 Hz, 61.6 kHz hsync

   ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616

EndSection

 

Section "Device"

   Identifier "device1"

   VendorName "nVidia Corporation"

   BoardName "NVIDIA GeForce2 DDR (generic)"

 

    Driver "nvidia"

 

   Option "DPMS"

EndSection

 

Section "Screen"

   Identifier "screen1"

   Device "device1"

   Monitor "monitor1"

   DefaultColorDepth 24

   

   Subsection "Display"

       Depth 8

       Modes "1024x768" "800x600" "640x480"

   EndSubsection

 

   Subsection "Display"

       Depth 15

       Modes "1024x768" "800x600" "640x480"

   EndSubsection

   

   Subsection "Display"

       Depth 16

       Modes "1024x768" "800x600" "640x480"

   EndSubsection

 

   Subsection "Display"

       Depth 24

       Modes "1024x768" "800x600" "640x480"

   EndSubsection

EndSection

 

Section "ServerLayout"

   Identifier "layout1"

   InputDevice "Keyboard1" "CoreKeyboard"

   InputDevice "Mouse1" "CorePointer"

   Screen "screen1"

EndSection

 

Glitz.

Link to comment
Share on other sites

Glitz, I tried your sugested corrections, didn't help.

 

Ix, I did what you said and I got Parse error on line 104 of XF86Config-4

I checked and that is the last line, just says EndSection or whatever. But I noticed there was no line break after it. I just added a return at the end of the file and it's all fine now. Not sure why that should make a difference, but it's all good now, and glxgear gives numbers throught the roof.

 

Thanks to both of you.

Link to comment
Share on other sites

Okay, now I'm getting peaved! I rebooted and guess what, x refuses to start again. Same stupid error. I checked the X error log, and there was nothing in it except the parse error on line 104

Link to comment
Share on other sites

Alright, I believe it's realy fixed now.

 

The problem was that the nvidia installer wasn't uninstalling the mandrake nvidia RPM, because it had a "non-standard" name as far as the installer was concerned, so it didn't know it was there. So, right after installing, it would default to the new kernel module, but on a fresh boot or a reboot, it would get hung up on a version coflict because there were 2 nvidia kernel modules.

Link to comment
Share on other sites

Hey, I've done a return error before at the end of my fstab, lilo, XF86Config-4, and anything else I can break! It's easy to do when editing.

 

Glitz

I haven't had to use the full reference to glx in 9.1 I know DOlson still has it in the faq, but so far just

Load "glx"

works here.

Link to comment
Share on other sites

Yeah, it was a the return error PLUS the multiple versions for me. It's all good now. I've done several warm and cold reboots and left it off when I went to bed, and it's booting witht he nvidiasplash just fine every time, PLUS, the new driver supports my GeForce4 much better than the old driver, so I have ditched the GF2. (THe default mandrake nvidia driver is HUGELY unstable with the PNY GeForce4) Anyway, it wil even make back some money, because a guy I met at http://www.knoppix.net/forum is going to buy my GF2 THanks for the help guys.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...