LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-10-2005, 09:25 AM   #1
Marchsteiner
LQ Newbie
 
Registered: Aug 2004
Distribution: Gentoo
Posts: 11

Rep: Reputation: 0
NVIDIA drivers won't work after reboot


Hi

I've installed the NVIDIA drivers, using the NVIDIA-(driver name).bin from www.nvidia.com, and changed my XF86Config-4 file, to use nvidia instead of nv.

Everything worked fine, and I started X. Anything worked fine, but after a restart, X wouldn't start at all..

I've changed back to nv driver, and X started.

If I install the NVIDIA drivers again, it work - Until I restart, then it will not work..

Running Debian Sarge, kernel 2.6
GFX: GeForce FX5500
Xserver: Xfree86

Link to Xfree86 log: www.netpony.dk/XFree86.0.log
 
Old 08-10-2005, 09:41 AM   #2
Chuckinator
Member
 
Registered: Feb 2005
Distribution: Gentoo
Posts: 34

Rep: Reputation: 15
Do you know if the nvidia kernel module is being loaded when you restart the computer? Take a look at the output of "lsmod" and see if "nvidia" is listed. If it isn't, try
Code:
modprobe nvidia
and restarting X. If X works after inserting the module, add "nvidia" to /etc/modules.autoload.d/kernel-2.6.
 
Old 08-10-2005, 10:41 AM   #3
Marchsteiner
LQ Newbie
 
Registered: Aug 2004
Distribution: Gentoo
Posts: 11

Original Poster
Rep: Reputation: 0
The module is loadet.. :S
 
Old 08-10-2005, 08:32 PM   #4
Chuckinator
Member
 
Registered: Feb 2005
Distribution: Gentoo
Posts: 34

Rep: Reputation: 15
Well, the only error from the log file is
Code:
(EE) Failed to initialize GLX extension (NVIDIA X driver not found)
so the only reason I can think of for the failure is that the nvidia X driver wasn't properly installed. You could try using the debian packages to install the nvidia drivers rather than using the installer from nvidia (I found this How To). Also, do you have "dri" commented out of the "Module" section of your XF86-Config?
Code:
Section "Module"
        Load  "glx"
        Load  "record"
        Load  "extmod"
        Load  "dbe"
        # Load  "dri"
        Load  "xtrap"
        Load  "freetype"
        Load  "type1"
EndSection
 
Old 08-19-2005, 11:46 PM   #5
bob7
LQ Newbie
 
Registered: Aug 2005
Posts: 12

Rep: Reputation: 0
I'm having the same problem on my system. I've tried installing from both the debian packages and the nvidia installer. I get a blank screen when X tries to load, and the only thing in the logs is what was mentioned above. I'm running Debian Sarge with a 2.6.12-1-386 kernel and I've tried installing 1.0-7676 from nvidia and version 1.0-7174 from .deb.
 
Old 08-26-2005, 02:58 AM   #6
xenon_hs
LQ Newbie
 
Registered: Jul 2005
Distribution: Debian unstable
Posts: 11

Rep: Reputation: 0


No answer, argh.

I got the same problem with my home computer using 2.6.8 kernel and Debian unstable.

Heeelp
 
Old 08-26-2005, 05:24 PM   #7
xenon_hs
LQ Newbie
 
Registered: Jul 2005
Distribution: Debian unstable
Posts: 11

Rep: Reputation: 0
Unhappy

I found a solution but don't work for me...

Found a thread lost into the web:

a) Type modprobe nvidia.
b) Type cp -a /dev/nvidia* /etc/udev/devices
c) Type chown root.root /etc/udev/devices/nvidia*
d) Type reboot

The guy is on RedHat, but I don't have the /etc/udev/devices/... I think it's not the same folder on Debian ?

If some one could help me, thanks.

Xenon
 
Old 08-26-2005, 08:53 PM   #8
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
you might be using devfs instead of udev or something
easiest thing to do is
put this script in /etc/init.d
call it nvidia-devices.sh
Code:
#!/bin/sh

#
# Recreate devices files /dev/nvidia*
#

[-e /dev/nvidiactl]     || mknod /dev/nvidiactl c 195 255
for ii in 0 1 2 3 4 5 6 7 ; do
    [-e /dev/nvidia$ii] || mknod /dev/nvidia$ii c 195 $ii
done
chown root.video /dev/nvidia*
chmod 0660       /dev/nvidia*
now do these command
chown root:root /etc/init.d/nvidia-devices.sh
chmod 0755 /etc/init.d/nvidia-devices.sh
ln -s ../init.d/nvidia-devices.sh /etc/rcS.d/S66nvidia-devices.sh

should create nvidia devices on reboot each time
 
Old 08-29-2005, 04:01 PM   #9
xenon_hs
LQ Newbie
 
Registered: Jul 2005
Distribution: Debian unstable
Posts: 11

Rep: Reputation: 0
Better but... :)

Hello !

I installed your script, this is better ! But always the black screen ...

So there is the output of XF86config-4:

----------------------------------------------------------------------------------------------------------------------------
(...)

(WW) NVIDIA(0): EDID-specified maximum 1024)
(WW) NVIDIA(0): Not using mode "800x600" (height 1200 is larger than
(WW) NVIDIA(0): EDID-specified maximum 1024)
(WW) NVIDIA(0): Not using mode "700x525" (height 1050 is larger than
(WW) NVIDIA(0): EDID-specified maximum 1024)
(WW) NVIDIA(0): Not using mode "700x525" (height 1050 is larger than
(WW) NVIDIA(0): EDID-specified maximum 1024)
(**) NVIDIA(0): Validated modes for display device CRT-0:
(**) NVIDIA(0): Default mode "1280x1024": 135.0 MHz, 80.0 kHz, 75.0 Hz
(**) NVIDIA(0): Default mode "1024x768": 78.8 MHz, 60.1 kHz, 75.1 Hz
(**) NVIDIA(0): Default mode "800x600": 49.5 MHz, 46.9 kHz, 75.0 Hz
(**) NVIDIA(0): Default mode "640x480": 31.5 MHz, 37.5 kHz, 75.0 Hz
(**) NVIDIA(0): Default mode "1280x1024": 108.0 MHz, 64.0 kHz, 60.0 Hz
(**) NVIDIA(0): Default mode "1280x960": 108.0 MHz, 60.0 kHz, 60.0 Hz
(**) NVIDIA(0): Default mode "1152x864": 108.0 MHz, 67.5 kHz, 75.0 Hz
(**) NVIDIA(0): Default mode "1024x768": 75.0 MHz, 56.5 kHz, 70.1 Hz
(**) NVIDIA(0): Default mode "1024x768": 65.0 MHz, 48.4 kHz, 60.0 Hz
(**) NVIDIA(0): Default mode "832x624": 57.3 MHz, 49.7 kHz, 74.6 Hz
(**) NVIDIA(0): Default mode "800x600": 50.0 MHz, 48.1 kHz, 72.2 Hz
(**) NVIDIA(0): Default mode "800x600": 40.0 MHz, 37.9 kHz, 60.3 Hz
(**) NVIDIA(0): Default mode "800x600": 36.0 MHz, 35.2 kHz, 56.2 Hz
(**) NVIDIA(0): Default mode "640x512": 67.5 MHz, 80.0 kHz, 75.0 Hz (D)
(**) NVIDIA(0): Default mode "640x512": 54.0 MHz, 64.0 kHz, 60.0 Hz (D)
(**) NVIDIA(0): Default mode "640x480": 31.5 MHz, 37.9 kHz, 72.8 Hz
(**) NVIDIA(0): Default mode "640x480": 25.2 MHz, 31.5 kHz, 60.0 Hz
(**) NVIDIA(0): Default mode "640x480": 54.0 MHz, 60.0 kHz, 60.0 Hz (D)
(**) NVIDIA(0): Default mode "576x432": 54.0 MHz, 67.5 kHz, 75.0 Hz (D)
(**) NVIDIA(0): Default mode "512x384": 39.4 MHz, 60.1 kHz, 75.1 Hz (D)
(**) NVIDIA(0): Default mode "512x384": 37.5 MHz, 56.5 kHz, 70.1 Hz (D)
(**) NVIDIA(0): Default mode "512x384": 32.5 MHz, 48.4 kHz, 60.0 Hz (D)
(**) NVIDIA(0): Default mode "416x312": 28.6 MHz, 49.7 kHz, 74.7 Hz (D)
(**) NVIDIA(0): Default mode "400x300": 24.8 MHz, 46.9 kHz, 75.1 Hz (D)
(**) NVIDIA(0): Default mode "400x300": 25.0 MHz, 48.1 kHz, 72.2 Hz (D)
(**) NVIDIA(0): Default mode "400x300": 20.0 MHz, 37.9 kHz, 60.3 Hz (D)
(**) NVIDIA(0): Default mode "400x300": 18.0 MHz, 35.2 kHz, 56.3 Hz (D)
(**) NVIDIA(0): Default mode "320x240": 15.8 MHz, 37.5 kHz, 75.0 Hz (D)
(**) NVIDIA(0): Default mode "320x240": 15.8 MHz, 37.9 kHz, 72.8 Hz (D)
(**) NVIDIA(0): Default mode "320x240": 12.6 MHz, 31.5 kHz, 60.1 Hz (D)
(II) NVIDIA(0): Virtual screen size determined to be 1280 x 1024
(--) NVIDIA(0): Display dimensions: (340, 270) mm
(--) NVIDIA(0): DPI set to (95, 96)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/X11R6/lib/modules/libfb.a
(II) Module fb: vendor="The XFree86 Project"
compiled for 4.3.0.1, module version = 1.0.0
ABI class: XFree86 ANSI C Emulation, version 0.2
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Loading /usr/X11R6/lib/modules/libramdac.a
(II) Module ramdac: vendor="The XFree86 Project"
compiled for 4.3.0.1, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.6
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC? No, I don't.
(II) resource ranges after preInit:
[0] 0 0 0xe0000000 - 0xefffffff (0x10000000) MX[B]
[1] 0 0 0xde000000 - 0xdeffffff (0x1000000) MX[B]
[2] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B)
[3] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[4] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[5] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[6] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[7] -1 0 0xdb800000 - 0xdb8000ff (0x100) MX[B]
[8] -1 0 0xdc000000 - 0xdc000fff (0x1000) MX[B]
[9] -1 0 0xdc800000 - 0xdc800fff (0x1000) MX[B]
[10] -1 0 0xdd000000 - 0xdd0000ff (0x100) MX[B]
[11] -1 0 0xdd800000 - 0xdd8001ff (0x200) MX[B]
[12] -1 0 0xfc000000 - 0xfbffffff (0x0) MX[B]O
[13] -1 0 0xe0000000 - 0xefffffff (0x10000000) MX[B](B)
[14] -1 0 0xde000000 - 0xdeffffff (0x1000000) MX[B](B)
[15] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B](OprD)
[16] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B](OprD)
[17] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B](OprD)
[18] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[19] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
[20] -1 0 0x00009000 - 0x0000901f (0x20) IX[B]
[21] -1 0 0x00009400 - 0x0000941f (0x20) IX[B]
[22] -1 0 0x00009800 - 0x0000981f (0x20) IX[B]
[23] -1 0 0x0000a000 - 0x0000a00f (0x10) IX[B]
[24] -1 0 0x0000a400 - 0x0000a407 (0x8) IX[B]
[25] -1 0 0x0000a800 - 0x0000a81f (0x20) IX[B]
[26] -1 0 0x0000b000 - 0x0000b0ff (0x100) IX[B]
[27] -1 0 0x0000b400 - 0x0000b40f (0x10) IX[B]
[28] -1 0 0x0000b800 - 0x0000b803 (0x4) IX[B]
[29] -1 0 0x0000d000 - 0x0000d007 (0x8) IX[B]
[30] -1 0 0x0000d400 - 0x0000d403 (0x4) IX[B]
[31] -1 0 0x0000d800 - 0x0000d807 (0x8) IX[B]
[32] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B](OprU)
[33] 0 0 0x000003c0 - 0x000003df (0x20) IS[B](OprU)
(II) NVIDIA(0): Setting mode "1280x1024"
(II) Loading extension NV-GLX
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(**) Option "dpms"
(**) NVIDIA(0): DPMS enabled
(II) Loading extension NV-CONTROL
(==) RandR enabled
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing extension GLX
----------------------------------------------------------------------------------------------------------------------------

 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
New Nvidia Drivers don't work... Roy-Svork Linux - Software 6 03-03-2008 04:46 AM
Nvidia Drivers lost everytime I reboot? vidski Debian 2 01-17-2005 01:38 AM
nVIDIA driver won't work afer reboot lavitz Debian 3 01-12-2005 03:57 AM
Re-install nVidia drivers after every reboot SchadeBoy Mandriva 3 07-07-2004 03:28 PM
Can't get new Nvidia drivers to work shnack Linux - Software 7 06-03-2003 08:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration