I recently upgraded to Linux kernel version 4.9 on my Debian sid system, using the nvidia-driver version 375.26-1. After I upgraded an restarted, startx was giving me the error "Fatal server error: (EE) no screens found(EE)". In GRUB, I have the option to choose between 4.8 and 4.9, so when I go back to 4.8, X works fine with the same driver version(375.26-1). I looked at a bunch of other forum posts but nothing really worked, and nothing was specific to 4.9. Here are some of my files that might help find the issue:
/etc/X11/xorg.conf:
Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 340.46 (buildd@brahms) Tue Oct 7 08:00:32 UTC 2014
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
Option "AccelerationNumerator" "0"
Option "AccelerationDenominator" "0"
Option "AccelerationThreshold" "0"
Option "AccelerationProfile" "-1"
Option "AccelerationScheme" "none"
Option "AccelSpeed" "-1"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "RegistryDwords" "PerfLevelSrc=0x3322; PowerMizerDefaultAC=0x1"
Option "TripleBuffer" "True"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "metamodes" "nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"
SubSection "Display"
Depth 24
EndSubSection
EndSection
/var/log/Xorg.0.log
Code:
[ 153.986]
X.Org X Server 1.19.0
Release Date: 2016-11-15
[ 153.987] X Protocol Version 11, Revision 0
[ 153.987] Build Operating System: Linux 3.16.0-4-amd64 x86_64 Debian
[ 153.987] Current Operating System: Linux Sean 4.9.0-1-amd64 #1 SMP Debian 4.9.2-2 (2017-01-12) x86_64
[ 153.987] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.9.0-1-amd64 root=UUID=5741063e-314f-4a7f-b9bd-2a05b89c6460 ro resume=UUID=376b974a-9cc7-4a48-9e6a-de19471107f2 usbhid.quirks=0x1B1C:0x1B12:0x20000000 quiet splash
[ 153.987] Build Date: 16 December 2016 07:30:27PM
[ 153.987] xorg-server 2:1.19.0-3 (https://www.debian.org/support)
[ 153.988] Current version of pixman: 0.34.0
[ 153.988] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 153.988] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 153.989] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Jan 14 15:12:56 2017
[ 153.989] (==) Using config file: "/etc/X11/xorg.conf"
[ 153.989] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 153.990] (==) ServerLayout "Layout0"
[ 153.990] (**) |-->Screen "Screen0" (0)
[ 153.990] (**) | |-->Monitor "Monitor0"
[ 153.990] (**) | |-->Device "Device0"
[ 153.990] (**) |-->Input Device "Keyboard0"
[ 153.990] (**) |-->Input Device "Mouse0"
[ 153.990] (==) Automatically adding devices
[ 153.990] (==) Automatically enabling devices
[ 153.990] (==) Automatically adding GPU devices
[ 153.990] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 153.990] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 153.990] Entry deleted from font path.
[ 153.990] (==) 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,
built-ins
[ 153.990] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 153.990] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 153.990] (WW) Disabling Keyboard0
[ 153.990] (WW) Disabling Mouse0
[ 153.990] (II) Loader magic: 0x55638d462e00
[ 153.990] (II) Module ABI versions:
[ 153.990] X.Org ANSI C Emulation: 0.4
[ 153.990] X.Org Video Driver: 23.0
[ 153.990] X.Org XInput driver : 24.1
[ 153.990] X.Org Server Extension : 10.0
[ 153.991] (++) using VT number 2
[ 153.995] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_35
[ 153.995] (--) PCI:*(0:1:0:0) 10de:13c2:1462:3160 rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072
[ 153.995] (II) LoadModule: "glx"
[ 153.996] (II) Loading /usr/lib/xorg/modules/linux/libglx.so
[ 153.999] (II) Module glx: vendor="NVIDIA Corporation"
[ 153.999] compiled for 4.0.2, module version = 1.0.0
[ 153.999] Module class: X.Org Server Extension
[ 153.999] (II) NVIDIA GLX Module 375.26 Thu Dec 8 17:59:51 PST 2016
[ 153.999] (II) LoadModule: "nvidia"
[ 153.999] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 153.999] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 153.999] compiled for 4.0.2, module version = 1.0.0
[ 153.999] Module class: X.Org Video Driver
[ 153.999] (II) NVIDIA dlloader X Driver 375.26 Thu Dec 8 17:37:15 PST 2016
[ 153.999] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 153.999] (II) Loading sub module "fb"
[ 153.999] (II) LoadModule: "fb"
[ 153.999] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 153.999] (II) Module fb: vendor="X.Org Foundation"
[ 153.999] compiled for 1.19.0, module version = 1.0.0
[ 153.999] ABI class: X.Org ANSI C Emulation, version 0.4
[ 153.999] (II) Loading sub module "wfb"
[ 153.999] (II) LoadModule: "wfb"
[ 153.999] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 153.999] (II) Module wfb: vendor="X.Org Foundation"
[ 153.999] compiled for 1.19.0, module version = 1.0.0
[ 153.999] ABI class: X.Org ANSI C Emulation, version 0.4
[ 154.000] (II) Loading sub module "ramdac"
[ 154.000] (II) LoadModule: "ramdac"
[ 154.000] (II) Module "ramdac" already built-in
[ 154.002] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
[ 154.002] (EE) NVIDIA: system's kernel log for additional error messages and
[ 154.002] (EE) NVIDIA: consult the NVIDIA README for details.
[ 154.002] (EE) No devices detected.
[ 154.002] (EE)
Fatal server error:
[ 154.002] (EE) no screens found(EE)
[ 154.002] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 154.002] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 154.002] (EE)
[ 154.004] (EE) Server terminated with error (1). Closing log file.
Also, in my /var/log/messages file, I get the following error: "nvidia: module verification failed: signature and/or required key missing - tainting kernel".
If there are any other files that would be helpful to see, please ask!
Other info: I have a GTX 970 card, and I used the boot-repair tool shortly before the issue started to occur.
My email is
sth8119@gmail.com. Thanks!