X Won't Start Due To Nvidia Drivers

New to Debian (Or Linux in general)? Ask your questions here!

X Won't Start Due To Nvidia Drivers

Postby Jalfor » 2011-11-10 06:53

Well, I tried following the instructions for installing a Nvidia Driver for my graphics card and although no error message came up during the installation, Debian won't start up now and frankly, I don't have a clue what to do. It said to look at Xorg.0.log for more info so I'll post it here.

Code: Select all
X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.37-trunk-amd64 x86_64 Debian
Current Operating System: Linux Fred 2.6.32-5-amd64 #1 SMP Mon Oct 3 03:59:20 UTC 2011 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32-5-amd64 root=UUID=47948855-e2dc-4850-86de-671e9275ef6c ro single
Build Date: 18 February 2011  08:27:24PM
xorg-server 2:1.7.7-13 (Cyril Brulebois <kibi@debian.org>)
Current version of pixman: 0.16.4
   Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Nov  9 22:20:49 2011
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(==) ServerLayout "Layout0"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Device0"
(**) |-->Input Device "Keyboard0"
(**) |-->Input Device "Mouse0"
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
   Entry deleted from font path.
(==) FontPath set to:
   /usr/share/fonts/X11/misc,
   /usr/share/fonts/X11/100dpi/:unscaled,
   /usr/share/fonts/X11/75dpi/:unscaled,
   /usr/share/fonts/X11/Type1,
   /usr/share/fonts/X11/100dpi,
   /usr/share/fonts/X11/75dpi,
   /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
   built-ins
(==) ModulePath set to "/usr/lib/xorg/modules"
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
(WW) Disabling Keyboard0
(WW) Disabling Mouse0
(II) Loader magic: 0x7c8aa0
(II) Module ABI versions:
   X.Org ANSI C Emulation: 0.4
   X.Org Video Driver: 6.0
   X.Org XInput driver : 7.0
   X.Org Server Extension : 2.0
(--) using VT number 2

(--) PCI:*(0:1:0:0) 10de:1086:3842:1571 nVidia Corporation rev 161, Mem @ 0xfa000000/16777216, 0xd0000000/134217728, 0xd8000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
(--) PCI: (0:2:0:0) 10de:1086:3842:1571 nVidia Corporation rev 161, Mem @ 0xf8000000/16777216, 0xc0000000/134217728, 0xc8000000/33554432, I/O @ 0x0000d000/128, BIOS @ 0x????????/524288
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
   compiled for 1.7.7, module version = 1.0.0
   Module class: X.Org Server Extension
   ABI class: X.Org Server Extension, version 2.0
(II) Loading extension SELinux
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
   compiled for 1.7.7, module version = 1.0.0
   Module class: X.Org Server Extension
   ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
   compiled for 4.0.2, module version = 1.0.0
   Module class: X.Org Server Extension
(II) NVIDIA GLX Module  195.36.31  Thu Jun  3 08:59:25 PDT 2010
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/lib/xorg/modules/extensions/librecord.so
(II) Module record: vendor="X.Org Foundation"
   compiled for 1.7.7, module version = 1.13.0
   Module class: X.Org Server Extension
   ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
   compiled for 1.7.7, module version = 1.0.0
   ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
   compiled for 1.7.7, module version = 1.1.0
   ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "nvidia"
(II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
   compiled for 4.0.2, module version = 1.0.0
   Module class: X.Org Video Driver
(EE) NVIDIA: Failed to load the NVIDIA kernel module. Please check your
(EE) NVIDIA:     system's kernel log for additional error messages.
(II) UnloadModule: "nvidia"
(II) Unloading /usr/lib/xorg/modules/drivers/nvidia_drv.so
(EE) Failed to load module "nvidia" (module-specific error, 0)
(EE) No drivers available.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
    at http://wiki.x.org
 for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.


Thanks for any help
Jalfor
 
Posts: 12
Joined: 2011-11-09 11:29

Re: X Won't Start Due To Nvidia Drivers

Postby kedaha » 2011-11-10 09:00

What is your video card? Post what this command shows please:
Code: Select all
$ lspci | grep VGA
Desktop, laptop and server: Stable: 3.2.0-4-amd64, 7.7 "wheezy"
Mate Desktop Environment.
01101011 01100101 01100100 01100001 01101000 01100001
User avatar
kedaha
 
Posts: 2297
Joined: 2008-05-24 12:26

Re: X Won't Start Due To Nvidia Drivers

Postby Jalfor » 2011-11-10 10:15

The command you asked me to type didn't do anything, it just put me on a new line as if I had just pressed enter. (atm I am not on debian because it is kind of stuffed hence this thread)

As for my graphics card though, it is 2xNvidia GTX 570 (new build :D) and Nvidia does have the driver available for Linux, I checked, and I have the .run file, though it seemed like it was going to be far less painful to do it the more automated way.
Jalfor
 
Posts: 12
Joined: 2011-11-09 11:29

Re: X Won't Start Due To Nvidia Drivers

Postby microcris » 2011-11-10 14:20

Hi there :)

I have the same problem with driver version 290.03 and 290.06.

I will post my nvidia-bug-report log in a minute.

EDIT:
Here it is the log

http://microcris.no.sapo.pt/coisas/nvidia-bug-report.log.tar.7z


The configuration stored in xorg.conf works well with the 280.13-1 driver.
After finish the 290.0x driver installation I run the nvidia-xconfig and there is no error but after restart gdm3 there is no internal display.
If I connect an external display the gnome-shell shows up. I run the nvidia-settings and I can see that the driver cannot find the internal display.

VGA compatible controller: nVidia Corporation G73 [GeForce Go 7700] (rev a1)
Linux G1 3.1.0-1-amd64
Gnome Version 3.0.2
User avatar
microcris
 
Posts: 22
Joined: 2008-09-27 19:37
Location: Portugal

Re: X Won't Start Due To Nvidia Drivers

Postby Jalfor » 2011-11-11 08:34

I forgot to mention, I'm running Linux in 64-bit.
Jalfor
 
Posts: 12
Joined: 2011-11-09 11:29

Re: X Won't Start Due To Nvidia Drivers

Postby Jalfor » 2011-11-12 01:21

Does anyone have any ideas?
Jalfor
 
Posts: 12
Joined: 2011-11-09 11:29

Re: X Won't Start Due To Nvidia Drivers

Postby mslinux » 2011-11-12 07:11

Have you read this article ? -> http://wiki.debian.org/NvidiaGraphicsDrivers
Last edited is on 2011-10-15 17:38:20 so I think it's quite updated
MsLinux-

forums.debian.net - where facepalm is the default answer :D

© 2012
║▌║│█║▌│█│║▌║█║▌│█│║▌║│
User avatar
mslinux
 
Posts: 942
Joined: 2010-12-24 05:14

Re: X Won't Start Due To Nvidia Drivers

Postby Jalfor » 2011-11-12 07:49

Yes, they were the instructions I followed
Jalfor
 
Posts: 12
Joined: 2011-11-09 11:29

Re: X Won't Start Due To Nvidia Drivers

Postby mslinux » 2011-11-12 07:56

Have you blacklisted nouveau?
MsLinux-

forums.debian.net - where facepalm is the default answer :D

© 2012
║▌║│█║▌│█│║▌║█║▌│█│║▌║│
User avatar
mslinux
 
Posts: 942
Joined: 2010-12-24 05:14

Re: X Won't Start Due To Nvidia Drivers

Postby Jalfor » 2011-11-12 11:09

I think, though I'll do it again now
Jalfor
 
Posts: 12
Joined: 2011-11-09 11:29

Re: X Won't Start Due To Nvidia Drivers

Postby microcris » 2011-11-12 22:07

I think I I've tried everything I could try.
I followed the article http://wiki.debian.org/NvidiaGraphicsDrivers
I tried to force the monitor detection
I tried to bypass the monitor data reading by providing the edid to Xserver
and... nothing

EDIT:

How many Xorg.x.log files is supposed to have in /var/log?
the 290.0x creates more than 500 Xorg.x.log flies in /var/log.
User avatar
microcris
 
Posts: 22
Joined: 2008-09-27 19:37
Location: Portugal

Re: X Won't Start Due To Nvidia Drivers

Postby static-catsit » 2011-11-13 00:13

Hi, I had a similar problem in Wheezy due to the updates to X. I had to install the newest drivers from the Nvidia website.
Hope this helps.
User avatar
static-catsit
 
Posts: 29
Joined: 2011-04-12 23:36

Re: X Won't Start Due To Nvidia Drivers

Postby microcris » 2011-11-13 02:53

static-catsit wrote:Hi, I had a similar problem in Wheezy due to the updates to X. I had to install the newest drivers from the Nvidia website.
Hope this helps.


Hi there!

I tried the oficial driver from nvidia site and the result is the same.
It is a beta version and is normal that something is wrong but I see that there isn't many people with this problem.

here it is the log http://microcris.no.sapo.pt/coisas/nvidia-bug-report.log.tar.bz2
Last edited by microcris on 2011-11-13 11:43, edited 1 time in total.
User avatar
microcris
 
Posts: 22
Joined: 2008-09-27 19:37
Location: Portugal

Re: X Won't Start Due To Nvidia Drivers

Postby kedaha » 2011-11-13 11:17

I don't have the GTX 570 nVidia graphics card in question so I am unable to test whether my suggestion works or not: Rather than download and then try to install the proprietary driver from the nVidia site, I suggest installing the packages from Debian's own sid repository. But first purge all nvidia files from previous failed attempts:
Code: Select all
# aptitude purge ~nnvidia

Now edit your sources.list:
Code: Select all
# nano /etc/apt/sources.list

Cut and paste the following (you may wish to use a different mirror):
Code: Select all
#unstable #
deb http://ftp.us.debian.org/debian unstable main contrib non-free

Save file with Control+O (the letter) and Control+X to quit
Edit you 'preferences' file so that you can install certain packages from sid without pulling in a heap of unwanted unstable packages:
Code: Select all
# nano /etc/apt/apt.conf

Cut and paste this line to this empty file:
Code: Select all
APT::Default-Release "wheezy";

Save the file with Control+O (the letter) and Control+X to quit, then update your sources:
Code: Select all
# aptitude update

Then try:
Code: Select all
# aptitude install -t unstable nvidia-glx nvidia-settings nvidia-xconfig && nvidia-xconfig

But remember to create a rudimentary /etc/X11/xorg.conf
Code: Select all
# nano /etc/X11/xorg.conf

with the following content:
Code: Select all
Section "Screen"
        Option "AddARGBGLXVisuals" "true"
EndSection

Section "Module"
        Load        "glx"
EndSection

Section "Device"
        Identifier  "Video Card"
        Driver       "nvidia"
EndSection

Save & exit as before.
Now reboot and maybe it'll work!
Desktop, laptop and server: Stable: 3.2.0-4-amd64, 7.7 "wheezy"
Mate Desktop Environment.
01101011 01100101 01100100 01100001 01101000 01100001
User avatar
kedaha
 
Posts: 2297
Joined: 2008-05-24 12:26

Re: X Won't Start Due To Nvidia Drivers

Postby microcris » 2011-11-13 15:23

kedaha wrote:...
Save & exit as before.
Now reboot and maybe it'll work!


Hi there kedaha!

Usually I only use the Debian way to install the nvidia driver.
When there is a newer version in experimental repository I use that version. Right now the 290.06 version driver is on experimental and is that one that I cannot put in to work.
In unstable repository (that is my main repository) there is the 280.13 version driver and that one works well.

Anyway, I tried again but this time with "Option "AddARGBGLXVisuals" "true"" (I don't had this one in xorg.xconf) and there is nothing new.

I think the problem is in the digital port.
The 280.13 driver uses DFP-0 port to connect the internal display
The 290.06 driver says that there is no DFP-0 port available. There is only DFP-1, CRT and TV ports.
User avatar
microcris
 
Posts: 22
Joined: 2008-09-27 19:37
Location: Portugal

Next

Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable