Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nvidia drivers stopped working after a hard restart
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
slowpoke
n00b
n00b


Joined: 12 Sep 2005
Posts: 7

PostPosted: Thu Dec 22, 2005 1:19 am    Post subject: Nvidia drivers stopped working after a hard restart Reply with quote

Yesterday my computer locked up for reasons unkown to me. I tried getting it to come back to life to restart it properly, but aftersoem time i just gave in and pressed the reset button ont he case. Unfortunately this has caused the nvidia drivers to no longer work. On startup (x is configured to start KDM at startup) the computer hangs at a black screen that I have not managed to get out of. Through ssh I have tried killing X, but have not been succesfull.

I have tried unmerging and emerging both nvidia-kernel and nvidia-glx numerous times, with a variety of versions. I have tried to get it to work on 3 different kernels, but nothing seems to work.

Fortunately X works fine when I use the nv driver instead of the nvidia driver (ive changed this through ssh as well), but it would be nice to be able to use the nvidia driver (I like my eye candy in KDE). Has anyone had a similar problem? I feel likethere was some file that just got messed up by the hard reboot that, if i could just replace, would make everything work again.

For those who want to see the files here they are:

current xorg.conf:
(this one is working. When it is not working, nv = nvidia)
Code:

Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen      0  "Screen0" 0 0
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
   RgbPath      "/usr/lib/X11/rgb"
   ModulePath   "/usr/lib/modules"
   FontPath     "/usr/share/fonts/misc/"
   FontPath     "/usr/share/fonts/TTF/"
   FontPath     "/usr/share/fonts/Type1/"
   FontPath     "/usr/share/fonts/CID/"
   FontPath     "/usr/share/fonts/75dpi/"
   FontPath     "/usr/share/fonts/100dpi/"
EndSection

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

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
EndSection

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option       "Protocol" "auto"
   Option       "Device" "/dev/input/mice"
   Option       "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
   #DisplaySize     300   230   # mm
   Identifier   "Monitor0"
   VendorName   "SAM"
   ModelName    "570S/580S TFT"
   HorizSync    30.0 - 61.0
   VertRefresh  50.0 - 75.0
   Option       "DPMS"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"              # [<bool>]
        #Option     "HWcursor"              # [<bool>]
        #Option     "NoAccel"               # [<bool>]
        #Option     "ShadowFB"              # [<bool>]
        #Option     "UseFBDev"              # [<bool>]
        #Option     "Rotate"                # [<str>]
        #Option     "VideoKey"              # <i>
        #Option     "FlatPanel"             # [<bool>]
        #Option     "FPDither"              # [<bool>]
        #Option     "CrtcNumber"            # <i>
        #Option     "FPScale"               # [<bool>]
        #Option     "FPTweak"               # <i>
   Identifier  "Card0"
   Driver      "nv"
   VendorName  "nVidia Corporation"
   BoardName   "NV20 [GeForce3 Ti 500]"
   BusID       "PCI:1:5:0"
#   Option      "RenderAccel"   "true"
#   Option      "NoLogo"      "on"
#   Option       "NvAGP"      "1"
   Option "AllowGLXWithComposite" "true"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Monitor0"
   DefaultDepth   24
   SubSection "Display"
      Viewport   0 0
      Depth     1
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     4
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     8
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     15
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     16
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     24
      Modes   "1024x768"
   EndSubSection
EndSection

Section "Extensions"
   Option "Composite" "Enable"
#   Option "AllowGLXWithComposite" "true"
EndSection


I will try and get a log file from when it isnt working
Back to top
View user's profile Send private message
dbasetrinity
Apprentice
Apprentice


Joined: 25 Jun 2005
Posts: 167

PostPosted: Thu Dec 22, 2005 1:52 am    Post subject: Reply with quote

I used to have the same problem with install the nvidia-glx...90% of the time i would get the black screen your refering to and if it did work it would evenually freeze up on me forcing me to hard boot as well...

So to get around this problem i was forced to get the newest version right from nvidia and install it that way.
Ever since then i have never had any problems what so ever.

so ill usually do something like this

Code:
wget the file from nvidia


the ill turn off gdm or kdm or what ever
Code:
rc-update del xdm boot

then ill do a
Code:
CTRL + ALT + BACKSPACE

then from the home directory or where you saved the file as root you would
Code:
sh NVIDIA-Linux-x86-1.0-7664-pkg1.run

and thats about all there is to it that will take you into the installer.
Back to top
View user's profile Send private message
bemis
Tux's lil' helper
Tux's lil' helper


Joined: 30 Mar 2004
Posts: 136
Location: USA

PostPosted: Thu Dec 22, 2005 1:59 am    Post subject: Reply with quote

i've run into this problem *a lot* lately with the recent GCC upgrade (because i'm stupid and lazy and forget to recompile my kernel against the new gcc)
when you ssh in, check dmesg for output along the lines of
Code:
version magic '2.6.12-gentoo-r6 K8 gcc-3.4' should be '2.6.12-gentoo-r6 K8 gcc-3.3'

if you have something like that, try
Code:
gcc-config 1 && . /etc/profile && env-update && emerge nvidia-kernel nvidia-glx && gcc-config 6 && . /etc/profile && env-update

and then reboot and you should be set
_________________
Y'know, somewhere along the line, my brain got wired directly to my fingers .. I'm not even consulted anymore in the decision making processes.
-bemis
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum