#StackBounty: #debian #nvidia After updating to nvidia 390.87 black screen on login

Bounty: 50

I’m running debian

las@thinkpad:~$ uname -a
Linux thinkpad-nc 4.9.0-8-amd64 #1 SMP Debian 4.9.144-3.1 (2019-02-19) x86_64 GNU/Linux

and just updated to the kernel above. I’ve also updated the nvidia drivers to 390.87. I have a GTX 1050. After the upgrade the login screen is simply black. I’ve tried to run a nvidia-xconfig however it didn’t resolve my issue. Below is the output of the Xorg.log as well as my new Xorg.conf generated via nvidia-xconfig.

Xorg.0.log

las@thinkpad:~$ cat /media/nicolas/86403a2e-46c5-4188-bede-d55bed56809d/Xorg.0.log 
[    21.493] 
X.Org X Server 1.19.2
Release Date: 2017-03-02
[    21.493] X Protocol Version 11, Revision 0
[    21.493] Build Operating System: Linux 4.9.0-8-amd64 x86_64 Debian
[    21.493] Current Operating System: Linux thinkstation 4.9.0-8-amd64 #1 SMP Debian 4.9.144-3.1 (2019-02-19) x86_64
[    21.493] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.9.0-8-amd64 root=UUID=af9e3ec9-ee68-4bee-a647-a28c64c7802f ro quiet
[    21.493] Build Date: 03 November 2018  03:09:11AM
[    21.493] xorg-server 2:1.19.2-1+deb9u5 (https://www.debian.org/support) 
[    21.493] Current version of pixman: 0.34.0
[    21.493]    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[    21.493] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    21.493] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Feb 27 09:30:19 2019
[    21.508] (==) Using config file: "/etc/X11/xorg.conf"
[    21.508] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    21.874] (==) ServerLayout "Layout0"
[    21.874] (**) |-->Screen "Screen0" (0)
[    21.874] (**) |   |-->Monitor "Monitor0"
[    21.887] (**) |   |-->Device "Device0"
[    21.887] (**) |-->Input Device "Keyboard0"
[    21.887] (**) |-->Input Device "Mouse0"
[    21.887] (**) Option "Xinerama" "0"
[    21.887] (==) Automatically adding devices
[    21.887] (==) Automatically enabling devices
[    21.887] (==) Automatically adding GPU devices
[    21.887] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    22.050] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    22.155]    Entry deleted from font path.
[    22.293] (==) 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
[    22.293] (==) ModulePath set to "/usr/lib/xorg/modules"
[    22.293] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[    22.293] (WW) Disabling Keyboard0
[    22.293] (WW) Disabling Mouse0
[    22.293] (II) Loader magic: 0x55ac65c0ee00
[    22.293] (II) Module ABI versions:
[    22.293]    X.Org ANSI C Emulation: 0.4
[    22.293]    X.Org Video Driver: 23.0
[    22.293]    X.Org XInput driver : 24.1
[    22.293]    X.Org Server Extension : 10.0
[    22.294] (++) using VT number 7

[    22.295] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    22.295] (II) xfree86: Adding drm device (/dev/dri/card0)
[    22.297] (--) PCI:*(0:3:0:0) 10de:1c81:1458:372b rev 161, Mem @ 0xca000000/16777216, 0xd0000000/268435456, 0xce000000/33554432, I/O @ 0x00002000/128, BIOS @ 0x????????/131072
[    22.297] (II) LoadModule: "glx"
[    22.607] (II) Loading /usr/lib/xorg/modules/linux/libglx.so
[    24.883] (II) Module glx: vendor="NVIDIA Corporation"
[    24.883]    compiled for 4.0.2, module version = 1.0.0
[    24.883]    Module class: X.Org Server Extension
[    24.890] (II) NVIDIA GLX Module  390.87  Tue Aug 21 16:10:56 PDT 2018
[    24.900] (II) LoadModule: "nvidia"
[    24.973] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    25.123] (II) Module nvidia: vendor="NVIDIA Corporation"
[    25.123]    compiled for 4.0.2, module version = 1.0.0
[    25.123]    Module class: X.Org Video Driver
[    25.134] (II) NVIDIA dlloader X Driver  390.87  Tue Aug 21 15:44:49 PDT 2018
[    25.134] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    25.141] (II) Loading sub module "fb"
[    25.141] (II) LoadModule: "fb"
[    25.141] (II) Loading /usr/lib/xorg/modules/libfb.so
[    25.250] (II) Module fb: vendor="X.Org Foundation"
[    25.250]    compiled for 1.19.2, module version = 1.0.0
[    25.250]    ABI class: X.Org ANSI C Emulation, version 0.4
[    25.250] (II) Loading sub module "wfb"
[    25.250] (II) LoadModule: "wfb"
[    25.250] (II) Loading /usr/lib/xorg/modules/libwfb.so
[    25.256] (II) Module wfb: vendor="X.Org Foundation"
[    25.256]    compiled for 1.19.2, module version = 1.0.0
[    25.256]    ABI class: X.Org ANSI C Emulation, version 0.4
[    25.256] (II) Loading sub module "ramdac"
[    25.256] (II) LoadModule: "ramdac"
[    25.256] (II) Module "ramdac" already built-in
[    25.259] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[    25.259] (==) NVIDIA(0): RGB weight 888
[    25.259] (==) NVIDIA(0): Default visual is TrueColor
[    25.259] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[    25.259] (**) NVIDIA(0): Option "Stereo" "0"
[    25.259] (**) NVIDIA(0): Option "nvidiaXineramaInfoOrder" "DFP-2"
[    25.259] (**) NVIDIA(0): Option "SLI" "Off"
[    25.259] (**) NVIDIA(0): Option "MultiGPU" "Off"
[    25.259] (**) NVIDIA(0): Option "BaseMosaic" "off"
[    25.260] (**) NVIDIA(0): Stereo disabled by request
[    25.260] (**) NVIDIA(0): NVIDIA SLI disabled.
[    25.260] (**) NVIDIA(0): NVIDIA Multi-GPU disabled.
[    25.260] (**) NVIDIA(0): Option "MetaModes" "DP-0: nvidia-auto-select +3000+420, HDMI-0: nvidia-auto-select +4920+420, HDMI-1: nvidia-auto-select +0+0 {rotation=right}, HDMI-2: nvidia-auto-select +1080+420; HDMI-0: nvidia-auto-select +0+0; HDMI-0: 1920x1080_60_0 +0+0; HDMI-0: 1920x1080_50 +0+0; HDMI-0: 1680x1050 +0+0; HDMI-0: 1600x900 +0+0; HDMI-0: 1440x900 +0+0; HDMI-0: 1280x1024 +0+0; HDMI-0: 1280x1024_60 +0+0; HDMI-0: 1280x800 +0+0; HDMI-0: 1280x720 +0+0; HDMI-0: 1280x720_60_0 +0+0; HDMI-0: 1280x720_50 +0+0; HDMI-0: 1152x864 +0+0; HDMI-0: 1024x768 +0+0; HDMI-0: 1024x768_70 +0+0; HDMI-0: 1024x768_60 +0+0; HDMI-0: 800x600 +0+0; HDMI-0: 800x600_72 +0+0; HDMI-0: 800x600_60 +0+0; HDMI-0: 800x600_56 +0+0; HDMI-0: 720x576 +0+0; HDMI-0: 720x480 +0+0; HDMI-0: 640x480 +0+0; HDMI-0: 640x480_72 +0+0; HDMI-0: 640x480_60 +0+0; HDMI-0: nvidia-auto-select +0+0 {viewportin=1366x768, viewportout=1920x1079+0+0}"
[    25.260] (**) NVIDIA(0): Enabling 2D acceleration
[    26.295] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:3:0:0
[    26.295] (--) NVIDIA(0):     DFP-0
[    26.295] (--) NVIDIA(0):     DFP-1 (boot)
[    26.295] (--) NVIDIA(0):     DFP-2
[    26.295] (--) NVIDIA(0):     DFP-3
[    26.295] (--) NVIDIA(0):     DFP-4
[    26.295] (--) NVIDIA(0):     DFP-5
[    26.296] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 1050 (GP107-A) at PCI:3:0:0 (GPU-0)
[    26.296] (--) NVIDIA(0): Memory: 2097152 kBytes
[    26.296] (--) NVIDIA(0): VideoBIOS: 86.07.31.00.4b
[    26.296] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[    26.296] (--) NVIDIA(GPU-0): DFP-0: disconnected
[    26.296] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[    26.296] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock
[    26.296] (--) NVIDIA(GPU-0): 
[    26.327] (--) NVIDIA(GPU-0): Samsung S24E650 (DFP-1): connected
[    26.327] (--) NVIDIA(GPU-0): Samsung S24E650 (DFP-1): Internal TMDS
[    26.327] (--) NVIDIA(GPU-0): Samsung S24E650 (DFP-1): 600.0 MHz maximum pixel clock
[    26.327] (--) NVIDIA(GPU-0): 
[    26.327] (--) NVIDIA(GPU-0): Samsung S24E650 (DFP-2): connected
[    26.327] (--) NVIDIA(GPU-0): Samsung S24E650 (DFP-2): Internal DisplayPort
[    26.327] (--) NVIDIA(GPU-0): Samsung S24E650 (DFP-2): 1440.0 MHz maximum pixel clock
[    26.328] (--) NVIDIA(GPU-0): 
[    26.329] (--) NVIDIA(GPU-0): DFP-3: disconnected
[    26.329] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
[    26.329] (--) NVIDIA(GPU-0): DFP-3: 165.0 MHz maximum pixel clock
[    26.329] (--) NVIDIA(GPU-0): 
[    26.359] (--) NVIDIA(GPU-0): Samsung S24E650 (DFP-4): connected
[    26.359] (--) NVIDIA(GPU-0): Samsung S24E650 (DFP-4): Internal TMDS
[    26.359] (--) NVIDIA(GPU-0): Samsung S24E650 (DFP-4): 600.0 MHz maximum pixel clock
[    26.359] (--) NVIDIA(GPU-0): 
[    26.389] (--) NVIDIA(GPU-0): Samsung S24E650 (DFP-5): connected
[    26.389] (--) NVIDIA(GPU-0): Samsung S24E650 (DFP-5): Internal TMDS
[    26.389] (--) NVIDIA(GPU-0): Samsung S24E650 (DFP-5): 600.0 MHz maximum pixel clock
[    26.389] (--) NVIDIA(GPU-0): 
[    26.413] (II) NVIDIA(0): Validated MetaModes:
[    26.413] (II) NVIDIA(0):    
[    26.413] (II) NVIDIA(0):     "DP-0:nvidia-auto-select+3000+420,HDMI-0:nvidia-auto-select+4920+420,HDMI-1:nvidia-auto-select+0+0{rotation=right},HDMI-2:nvidia-auto-select+1080+420"
[    26.413] (II) NVIDIA(0):     "HDMI-0:nvidia-auto-select+0+0"
[    26.413] (II) NVIDIA(0):     "HDMI-0:1920x1080_60_0+0+0"
[    26.413] (II) NVIDIA(0):     "HDMI-0:1920x1080_50+0+0"
[    26.413] (II) NVIDIA(0):     "HDMI-0:1680x1050+0+0"
[    26.413] (II) NVIDIA(0):     "HDMI-0:1600x900+0+0"
[    26.413] (II) NVIDIA(0):     "HDMI-0:1440x900+0+0"
[    26.413] (II) NVIDIA(0):     "HDMI-0:1280x1024+0+0"
[    26.413] (II) NVIDIA(0):     "HDMI-0:1280x1024_60+0+0"
[    26.413] (II) NVIDIA(0):     "HDMI-0:1280x800+0+0"
[    26.413] (II) NVIDIA(0):     "HDMI-0:1280x720+0+0"
[    26.413] (II) NVIDIA(0):     "HDMI-0:1280x720_60_0+0+0"
[    26.413] (II) NVIDIA(0):     "HDMI-0:1280x720_50+0+0"
[    26.413] (II) NVIDIA(0):     "HDMI-0:1152x864+0+0"
[    26.413] (II) NVIDIA(0):     "HDMI-0:1024x768+0+0"
[    26.413] (II) NVIDIA(0):     "HDMI-0:1024x768_70+0+0"
[    26.413] (II) NVIDIA(0):     "HDMI-0:1024x768_60+0+0"
[    26.414] (II) NVIDIA(0):     "HDMI-0:800x600+0+0"
[    26.414] (II) NVIDIA(0):     "HDMI-0:800x600_72+0+0"
[    26.414] (II) NVIDIA(0):     "HDMI-0:800x600_60+0+0"
[    26.414] (II) NVIDIA(0):     "HDMI-0:800x600_56+0+0"
[    26.414] (II) NVIDIA(0):     "HDMI-0:720x576+0+0"
[    26.414] (II) NVIDIA(0):     "HDMI-0:720x480+0+0"
[    26.414] (II) NVIDIA(0):     "HDMI-0:640x480+0+0"
[    26.414] (II) NVIDIA(0):     "HDMI-0:640x480_72+0+0"
[    26.414] (II) NVIDIA(0):     "HDMI-0:640x480_60+0+0"
[    26.414] (II) NVIDIA(0):    
[    26.414] (II) NVIDIA(0):     "HDMI-0:nvidia-auto-select+0+0{viewportin=1366x768,viewportout=1920x1079+0+0}"
[    26.414] (II) NVIDIA(0): Virtual screen size determined to be 6840 x 1920
[    26.419] (--) NVIDIA(0): DPI set to (93, 94); computed from "UseEdidDpi" X config
[    26.419] (--) NVIDIA(0):     option
[    26.419] (--) Depth 24 pixmap format is 32 bpp
[    26.421] (II) NVIDIA: Using 24576.00 MB of virtual memory for indirect memory
[    26.421] (II) NVIDIA:     access.
[    26.424] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[    26.424] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[    26.424] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[    26.424] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[    26.424] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[    26.424] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[    26.424] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[    26.424] (II) NVIDIA(0):     Config Options in the README.
[    26.484] (II) NVIDIA(0): Setting mode "DP-0:nvidia-auto-select+3000+420,HDMI-0:nvidia-auto-select+4920+420,HDMI-1:nvidia-auto-select+0+0{rotation=right},HDMI-2:nvidia-auto-select+1080+420"
[    35.560] (==) NVIDIA(0): Disabling shared memory pixmaps
[    35.560] (==) NVIDIA(0): Backing store enabled
[    35.560] (==) NVIDIA(0): Silken mouse enabled
[    35.562] (**) NVIDIA(0): DPMS enabled
[    35.563] (II) Loading sub module "dri2"
[    35.563] (II) LoadModule: "dri2"
[    35.563] (II) Module "dri2" already built-in
[    35.563] (II) NVIDIA(0): [DRI2] Setup complete
[    35.563] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[    35.563] (--) RandR disabled
[    35.566] (II) SELinux: Disabled on system
[    35.567] (II) Initializing extension GLX
[    35.567] (II) Indirect GLX disabled.
[    36.017] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[    36.017] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    36.017] (II) LoadModule: "libinput"
[    36.029] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    36.065] (II) Module libinput: vendor="X.Org Foundation"
[    36.065]    compiled for 1.19.0, module version = 0.23.0
[    36.065]    Module class: X.Org XInput Driver
[    36.065]    ABI class: X.Org XInput driver, version 24.1
[    36.065] (II) Using input driver 'libinput' for 'Power Button'
[    36.065] (**) Power Button: always reports core events
[    36.065] (**) Option "Device" "/dev/input/event3"
[    36.065] (**) Option "_source" "server/udev"
[    36.065] (II) input device 'Power Button', /dev/input/event3 is tagged by udev as: Keyboard
[    36.065] (II) input device 'Power Button', /dev/input/event3 is a keyboard
[    36.092] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input6/event3"
[    36.092] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    36.092] (**) Option "xkb_model" "pc105"
[    36.092] (**) Option "xkb_layout" "ch"
[    36.092] (**) Option "xkb_options" "ctrl:nocaps"
[    36.120] (II) input device 'Power Button', /dev/input/event3 is tagged by udev as: Keyboard
[    36.120] (II) input device 'Power Button', /dev/input/event3 is a keyboard
[    36.121] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[    36.121] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    36.121] (II) Using input driver 'libinput' for 'Power Button'
[    36.121] (**) Power Button: always reports core events
[    36.121] (**) Option "Device" "/dev/input/event2"
[    36.121] (**) Option "_source" "server/udev"
[    36.121] (II) input device 'Power Button', /dev/input/event2 is tagged by udev as: Keyboard
[    36.121] (II) input device 'Power Button', /dev/input/event2 is a keyboard
[    36.156] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/PNP0C0C:00/input/input5/event2"
[    36.156] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
[    36.156] (**) Option "xkb_model" "pc105"
[    36.156] (**) Option "xkb_layout" "ch"
[    36.156] (**) Option "xkb_options" "ctrl:nocaps"
[    36.157] (II) input device 'Power Button', /dev/input/event2 is tagged by udev as: Keyboard
[    36.157] (II) input device 'Power Button', /dev/input/event2 is a keyboard
[    36.157] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event14)
[    36.157] (II) No input driver specified, ignoring this device.
[    36.158] (II) This device may have been added with another device file.
[    36.158] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event15)
[    36.158] (II) No input driver specified, ignoring this device.
[    36.158] (II) This device may have been added with another device file.
[    36.159] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event16)
[    36.159] (II) No input driver specified, ignoring this device.
[    36.159] (II) This device may have been added with another device file.
[    36.159] (II) config/udev: Adding input device HDA Intel Rear Mic (/dev/input/event7)
[    36.159] (II) No input driver specified, ignoring this device.
[    36.159] (II) This device may have been added with another device file.
[    36.160] (II) config/udev: Adding input device HDA Intel Line (/dev/input/event8)
[    36.160] (II) No input driver specified, ignoring this device.
[    36.160] (II) This device may have been added with another device file.
[    36.160] (II) config/udev: Adding input device HDA Intel Line Out Front (/dev/input/event9)
[    36.160] (II) No input driver specified, ignoring this device.
[    36.160] (II) This device may have been added with another device file.
[    36.161] (II) config/udev: Adding input device HDA Intel Line Out Surround (/dev/input/event10)
[    36.161] (II) No input driver specified, ignoring this device.
[    36.161] (II) This device may have been added with another device file.
[    36.161] (II) config/udev: Adding input device HDA Intel Line Out CLFE (/dev/input/event11)
[    36.161] (II) No input driver specified, ignoring this device.
[    36.161] (II) This device may have been added with another device file.
[    36.162] (II) config/udev: Adding input device HDA Intel Line Out Side (/dev/input/event12)
[    36.162] (II) No input driver specified, ignoring this device.
[    36.162] (II) This device may have been added with another device file.
[    36.162] (II) config/udev: Adding input device HDA Intel Front Headphone (/dev/input/event13)
[    36.162] (II) No input driver specified, ignoring this device.
[    36.162] (II) This device may have been added with another device file.
[    36.163] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event5)
[    36.163] (II) No input driver specified, ignoring this device.
[    36.163] (II) This device may have been added with another device file.
[    36.163] (II) config/udev: Adding input device HDA Intel Front Mic (/dev/input/event6)
[    36.163] (II) No input driver specified, ignoring this device.
[    36.163] (II) This device may have been added with another device file.
[    36.164] (II) config/udev: Adding input device Logitech USB RECEIVER (/dev/input/event0)
[    36.164] (**) Logitech USB RECEIVER: Applying InputClass "libinput pointer catchall"
[    36.164] (II) Using input driver 'libinput' for 'Logitech USB RECEIVER'
[    36.164] (**) Logitech USB RECEIVER: always reports core events
[    36.164] (**) Option "Device" "/dev/input/event0"
[    36.164] (**) Option "_source" "server/udev"
[    36.165] (II) input device 'Logitech USB RECEIVER', /dev/input/event0 is tagged by udev as: Mouse
[    36.165] (II) Device 'Logitech USB RECEIVER' set to 800 DPI
[    36.165] (II) input device 'Logitech USB RECEIVER', /dev/input/event0 is a pointer caps
[    36.232] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-2/5-2:1.0/0003:046D:C50E.0001/input/input3/event0"
[    36.232] (II) XINPUT: Adding extended input device "Logitech USB RECEIVER" (type: MOUSE, id 8)
[    36.232] (**) Option "AccelerationScheme" "none"
[    36.232] (**) Logitech USB RECEIVER: (accel) selected scheme none/0
[    36.232] (**) Logitech USB RECEIVER: (accel) acceleration factor: 2.000
[    36.232] (**) Logitech USB RECEIVER: (accel) acceleration threshold: 4
[    36.233] (II) input device 'Logitech USB RECEIVER', /dev/input/event0 is tagged by udev as: Mouse
[    36.233] (II) Device 'Logitech USB RECEIVER' set to 800 DPI
[    36.233] (II) input device 'Logitech USB RECEIVER', /dev/input/event0 is a pointer caps
[    36.234] (II) config/udev: Adding input device Logitech USB RECEIVER (/dev/input/mouse0)
[    36.234] (II) No input driver specified, ignoring this device.
[    36.234] (II) This device may have been added with another device file.
[    36.235] (II) config/udev: Adding input device CHICONY USB NetVista Full Width Keyboard (/dev/input/event1)
[    36.235] (**) CHICONY USB NetVista Full Width Keyboard: Applying InputClass "libinput keyboard catchall"
[    36.235] (II) Using input driver 'libinput' for 'CHICONY USB NetVista Full Width Keyboard'
[    36.235] (**) CHICONY USB NetVista Full Width Keyboard: always reports core events
[    36.235] (**) Option "Device" "/dev/input/event1"
[    36.235] (**) Option "_source" "server/udev"
[    36.235] (II) input device 'CHICONY USB NetVista Full Width Keyboard', /dev/input/event1 is tagged by udev as: Keyboard
[    36.235] (II) input device 'CHICONY USB NetVista Full Width Keyboard', /dev/input/event1 is a keyboard
[    36.272] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.1/usb6/6-2/6-2:1.0/0003:04B3:3025.0002/input/input4/event1"
[    36.272] (II) XINPUT: Adding extended input device "CHICONY USB NetVista Full Width Keyboard" (type: KEYBOARD, id 9)
[    36.272] (**) Option "xkb_model" "pc105"
[    36.272] (**) Option "xkb_layout" "ch"
[    36.272] (**) Option "xkb_options" "ctrl:nocaps"
[    36.273] (II) input device 'CHICONY USB NetVista Full Width Keyboard', /dev/input/event1 is tagged by udev as: Keyboard
[    36.273] (II) input device 'CHICONY USB NetVista Full Width Keyboard', /dev/input/event1 is a keyboard
[    36.273] (II) config/udev: Adding input device UVC Camera (046d:0825) (/dev/input/event17)
[    36.274] (**) UVC Camera (046d:0825): Applying InputClass "libinput keyboard catchall"
[    36.274] (II) Using input driver 'libinput' for 'UVC Camera (046d:0825)'
[    36.274] (**) UVC Camera (046d:0825): always reports core events
[    36.274] (**) Option "Device" "/dev/input/event17"
[    36.274] (**) Option "_source" "server/udev"
[    36.274] (II) input device 'UVC Camera (046d:0825)', /dev/input/event17 is tagged by udev as: Keyboard
[    36.274] (II) input device 'UVC Camera (046d:0825)', /dev/input/event17 is a keyboard
[    36.304] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/input/input20/event17"
[    36.304] (II) XINPUT: Adding extended input device "UVC Camera (046d:0825)" (type: KEYBOARD, id 10)
[    36.304] (**) Option "xkb_model" "pc105"
[    36.304] (**) Option "xkb_layout" "ch"
[    36.304] (**) Option "xkb_options" "ctrl:nocaps"
[    36.305] (II) input device 'UVC Camera (046d:0825)', /dev/input/event17 is tagged by udev as: Keyboard
[    36.305] (II) input device 'UVC Camera (046d:0825)', /dev/input/event17 is a keyboard
[    36.305] (II) config/udev: Adding input device PC Speaker (/dev/input/event4)
[    36.305] (II) No input driver specified, ignoring this device.
[    36.305] (II) This device may have been added with another device file.
[    36.321] (--) NVIDIA(GPU-0): Samsung S24E650 (DFP-2): connected
[    36.321] (--) NVIDIA(GPU-0): Samsung S24E650 (DFP-2): Internal DisplayPort
[    36.321] (--) NVIDIA(GPU-0): Samsung S24E650 (DFP-2): 1440.0 MHz maximum pixel clock
[    36.321] (--) NVIDIA(GPU-0): 
[    75.776] (II) SYN_DROPPED event from "Logitech USB RECEIVER" - some input events have been lost.
[    89.776] (II) SYN_DROPPED event from "Logitech USB RECEIVER" - some input events have been lost.

and here is my xorg.conf

las@thinkpad:~$ cat /media/nicolas/86403a2e-46c5-4188-bede-d55bed56809d/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 390.87  (buildd@debian)  Tue Feb  5 22:28:34 UTC 2019

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 375.66  (buildd@debian)  Tue May 30 08:42:42 UTC 2017

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
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"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"

    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Samsung S24E650"
    HorizSync       30.0 - 81.0
    VertRefresh     50.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 1050"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-2"
    Option         "metamodes" "DP-0: nvidia-auto-select +3000+420, HDMI-0: nvidia-auto-select +4920+420, HDMI-1: nvidia-auto-select +0+0 {rotation=right}, HDMI-2: nvidia-auto-select +1080+420; HDMI-0: nvidia-auto-select +0+0; HDMI-0: 1920x1080_60_0 +0+0; HDMI-0: 1920x1080_50 +0+0; HDMI-0: 1680x1050 +0+0; HDMI-0: 1600x900 +0+0; HDMI-0: 1440x900 +0+0; HDMI-0: 1280x1024 +0+0; HDMI-0: 1280x1024_60 +0+0; HDMI-0: 1280x800 +0+0; HDMI-0: 1280x720 +0+0; HDMI-0: 1280x720_60_0 +0+0; HDMI-0: 1280x720_50 +0+0; HDMI-0: 1152x864 +0+0; HDMI-0: 1024x768 +0+0; HDMI-0: 1024x768_70 +0+0; HDMI-0: 1024x768_60 +0+0; HDMI-0: 800x600 +0+0; HDMI-0: 800x600_72 +0+0; HDMI-0: 800x600_60 +0+0; HDMI-0: 800x600_56 +0+0; HDMI-0: 720x576 +0+0; HDMI-0: 720x480 +0+0; HDMI-0: 640x480 +0+0; HDMI-0: 640x480_72 +0+0; HDMI-0: 640x480_60 +0+0; HDMI-0: nvidia-auto-select +0+0 {viewportin=1366x768, viewportout=1920x1079+0+0}"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection


Get this bounty!!!

#StackBounty: #18.04 #nvidia #ubuntu-drivers #gpu-drivers black screen after nvidia driver installation after upgrade to 18.04

Bounty: 100

after upgrading my machine to 18.04 from 16.04 I noticed that my Nvidia driver is no longer installed and after I reinstalled the driver I’m getting a black screen I’ve got such a problem before and fixed it with manually installing the Nvidia driver instead of using autoinstall or apt-get install nvidia (number goes here).
i’ve tried all the method of installation mentioned here
and read almost all topic about this problem on askubuntu , its almost 2 weeks now and i’m unable to find a solution to this problem

information you might need

lspci | grep VGA
02:00.0 VGA compatible controller: NVIDIA Corporation GM204 [GeForce GTX 970] (rev a1)

ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:01.1/0000:02:00.0 ==
modalias : pci:v000010DEd000013C2sv00001458sd0000367Abc03sc00i00
vendor   : NVIDIA Corporation
model    : GM204 [GeForce GTX 970]
driver   : nvidia-driver-415 - third-party free recommended
driver   : nvidia-driver-390 - third-party free
driver   : nvidia-driver-396 - third-party free
driver   : nvidia-driver-410 - third-party free
driver   : xserver-xorg-video-nouveau - distro free builtin

nvidia-detector 
none

sudo lshw -numeric -C display
*-display UNCLAIMED       
       description: VGA compatible controller
       product: GM204 [GeForce GTX 970] [10DE:13C2]
       vendor: NVIDIA Corporation [10DE]
       physical id: 0
       bus info: pci@0000:02:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller bus_master cap_list
       configuration: latency=0
       resources: memory:f2000000-f2ffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:e000(size=128) memory:f3000000-f307ffff
  *-display UNCLAIMED
       description: Display controller
       product: Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:412]
       vendor: Intel Corporation [8086]
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 06
       width: 64 bits
       clock: 33MHz
       capabilities: msi pm bus_master cap_list
       configuration: latency=0
       resources: memory:f3400000-f37fffff memory:d0000000-dfffffff ioport:f000(size=64)


Get this bounty!!!

#StackBounty: #18.04 #nvidia #ubuntu-drivers #gpu-drivers black screen after nvidia dirver installation after upgrade to 18.04

Bounty: 100

after upgrading my machine to 18.04 from 16.04 I noticed that my Nvidia driver is no longer installed and after I reinstalled the driver I’m getting a black screen I’ve got such a problem before and fixed it with manually installing the Nvidia driver instead of using autoinstall or apt-get install nvidia (number goes here).
i’ve tried all the method of installation mentioned here
and read almost all topic about this problem on askubuntu , its almost 2 weeks now and i’m unable to find a solution to this problem

information you might need

lspci | grep VGA
02:00.0 VGA compatible controller: NVIDIA Corporation GM204 [GeForce GTX 970] (rev a1)

ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:01.1/0000:02:00.0 ==
modalias : pci:v000010DEd000013C2sv00001458sd0000367Abc03sc00i00
vendor   : NVIDIA Corporation
model    : GM204 [GeForce GTX 970]
driver   : nvidia-driver-415 - third-party free recommended
driver   : nvidia-driver-390 - third-party free
driver   : nvidia-driver-396 - third-party free
driver   : nvidia-driver-410 - third-party free
driver   : xserver-xorg-video-nouveau - distro free builtin

nvidia-detector 
none

sudo lshw -numeric -C display
*-display UNCLAIMED       
       description: VGA compatible controller
       product: GM204 [GeForce GTX 970] [10DE:13C2]
       vendor: NVIDIA Corporation [10DE]
       physical id: 0
       bus info: pci@0000:02:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller bus_master cap_list
       configuration: latency=0
       resources: memory:f2000000-f2ffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:e000(size=128) memory:f3000000-f307ffff
  *-display UNCLAIMED
       description: Display controller
       product: Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:412]
       vendor: Intel Corporation [8086]
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 06
       width: 64 bits
       clock: 33MHz
       capabilities: msi pm bus_master cap_list
       configuration: latency=0
       resources: memory:f3400000-f37fffff memory:d0000000-dfffffff ioport:f000(size=64)


Get this bounty!!!

#StackBounty: #server #18.04 #nvidia #vnc #headless headless ubuntu server with desktop gui with working gpu

Bounty: 200

I’ve ordered a dedicated (headless) server with an nvidia GeForce GT 710B GPU at ikoula (offsite data center). Now I am trying to get a full blown desktop gui to run on it so I can actually run what I want to run on it. I got a desktop with TightVNC but it doesn’t have access to the GPU using that method.
xrdb installs and I can get a login window but when I login I simply get the default blue screen. (see images)

I have created a virtual monitor using the following command:

sudo nvidia-xconfig -a --allow-empty-initial-configuration 
--use-display-device="DFP-0" --connected-monitor="DFP-0" 
--custom-edid="DFP-0:/home/$USER/edid.txt"

and I am able to run startx without problem I just can’t seem to login to a desktop.

my current /etc/X11/xorg.conf file generated from the above code: http://paste.ubuntu.com/p/HdWpJfzPvx/

I tried logging in onto root and I got a desktop. So somehow in my config I get a desktop for root but not for other users…

Ps. a monitor emulator plug is “not possible in my price range”

edit: it runs sometimes but it is very random. Does ANYONE know a proper way to boot mate or xfce4 on a remote ubuntu server with xrdp??? It just doesn’t seem to work for me….

enter image description here
enter image description here
enter image description here

Edit: I really need help with this guys……I am about to just delete everything and leave it. I had it working yesterday but it seems to be really really inconsistent. I had it working on display :11.0 but now I can’t even get it to open a display….

If anyone can get this to work I’ll be eternally grateful.

/var/log/Xorg.0.log
/var/log/Xorg.1.log
/var/log/xrdp.log
/var/log/xrdp-sesman.log
/etc/X11/xorg.conf
/etc/xrdp/startwm.sh

What it currently does when I connect to xrdp and login is hang for 20 seconds and then I am back to the login screen.
If you require more data let me know.
enter image description here


Get this bounty!!!

#StackBounty: #drivers #18.04 #nvidia #gnome #graphics How to fix/diagnose GUI issues on Ubuntu 18.04/18.10?

Bounty: 50

For the past few weeks, there have been some issues with the GUI lately. I believe these issues started when I installed CUDA 9.0.

My machine:

  • GPU: GeForce GTX 1060 Mobile + Intel HD Graphics
  • OS: Ubuntu 18.10 Cosmic Cuttlefish

GUI Issues:

  1. When switching to tty1 and logging in, the login screen’s mouse
    cursor is still there (doesn’t occur anymore)
  2. Sometimes the, when I try to lock the screen, the display freezes on the Desktop and then a glitch occurs: the system menu keeps showing up multiple times on top of each other)
  3. When I login, the screen flashes a couple of times and lags a bit
    before rendering the desktop (I believe this is because of a new TTY is starting up for X Server, although it doesn’t happen when I switch to Intel Graphics from NVIDIA X Server Settings -> PRIME Profiles)
  4. Sometimes when I logout and try to login, a “login loop” occurs where the I enter the password and the login screen keeps showing up instead of the desktop (I have to use chmod on .Xauthority to login)
  5. When I lock the screen, and close the lid (suspend) then open it again, I find myself logged out.

At first I had Ubuntu 18.04 LTS, I thought if I upgraded to Ubuntu 18.10, these issues would be fixed but nothing happened.

Other things I tried:

  1. Reinstalled the NVIDIA drivers
  2. Uncommented WaylandEnable=false line in ‘/etc/gdm3/custom.conf’
  3. Switched to LightDM (new issues occured so I switched back to GDM3)
  4. Reinstalled GNOME and GDM3
  5. Reinstalled X Server (using apt install –reinstall)

Is there any way to further diagnose/fix this problem? The only solution I’m thinking of is to install Ubuntu 16.04.


Get this bounty!!!

#StackBounty: #xorg #nvidia #multi-monitor PopOS Scaling multiple monitors individually

Bounty: 50

I have the latest PopOS with the NVIDIA 410 drivers running. I set up two monitors:

enter image description here

The 2nd monitor has 2160p, whereas the 1st has 1080p. I just want to scale the 2nd monitor (150% or 200%). The settings only offer 200%. If I change the scaling of monitor 2 to 200% the 1st monitor also scales to 200% which makes it unusable. I want to only scale the 2nd, leaving the 1080p as is. Altering the HiDPI deamon settings below did not lead to anything usable.

I also tried configuring it manually with xrandr –scale but it fails with an error. Just scaling the font is not enough, especially when using a VM inside.

Are there any suggestions?


Edit:

using xrandr --output HDMI-0 --mode 1920x1080 --output DP-1 --primary --mode 3840x2160 --transform "1,0,0,0,1,0,0,0,1" --left-of HDMI-0 or trying some Nvidia Settings in their GUI leads to a blurry desktop.


Get this bounty!!!

#StackBounty: #drivers #nvidia #18.04 #nouveau Black screen after wake up and wrong resolution with the fix

Bounty: 50

I’m trying to fix the Nouveau driver bug. When I wake up my computer from sleep, the screen remain black, no image. So I added the nouveau.modeset=0 in the grub file and after a reboot, the screen resolution is on 800×600. And there is no other options available in the config menu.

I also tried to install the last nVidia driver from the PPA but the computer become extremly laggy after a reboot. I have a nVidia 980M with Ubuntu 18.04.

How can I fix the nouveau bug while the usual fix creates other bugs?


Get this bounty!!!

#StackBounty: #ubuntu #boot #nvidia #graphic-card Linux won't boot with Nvidia GTX only

Bounty: 50

I have a headless desktop computer (no screen / no keyboard) used as a machine-learning training server (using a GPU). I connect it via SSH from my other computer (laptop).

When:

  • I start the computer with Nvidia GTX 950 as the only graphic card connected on the motherboard, it seems it doesn’t boot, and I cannot SSH the computer

  • I start the computer with Nvidia GTX 950 + an old ATI Radeon graphic card as well (I have two PCI-express slots on the MB), then it boots, I can SSH it.

Note: the Nvidia’s drivers are installed (apt-get install nvidia-315), and it is detected (in the second case), and Tensorflow can succesfully use it, so it means the problem doesn’t come from missing drivers.

What could be the problem preventing Ubuntu 16.04 server to boot with the Nvidia GTX 950 as the only graphic card?


Get this bounty!!!

#StackBounty: #ubuntu #boot #nvidia #graphic-card Linux won't boot with Nvidia GTX only

Bounty: 50

I have a headless desktop computer (no screen / no keyboard) used as a machine-learning training server (using a GPU). I connect it via SSH from my other computer (laptop).

When:

  • I start the computer with Nvidia GTX 950 as the only graphic card connected on the motherboard, it seems it doesn’t boot, and I cannot SSH the computer

  • I start the computer with Nvidia GTX 950 + an old ATI Radeon graphic card as well (I have two PCI-express slots on the MB), then it boots, I can SSH it.

Note: the Nvidia’s drivers are installed (apt-get install nvidia-315), and it is detected (in the second case), and Tensorflow can succesfully use it, so it means the problem doesn’t come from missing drivers.

What could be the problem preventing Ubuntu 16.04 server to boot with the Nvidia GTX 950 as the only graphic card?


Get this bounty!!!

#StackBounty: #ubuntu #boot #nvidia #graphic-card Linux won't boot with Nvidia GTX only

Bounty: 50

I have a headless desktop computer (no screen / no keyboard) used as a machine-learning training server (using a GPU). I connect it via SSH from my other computer (laptop).

When:

  • I start the computer with Nvidia GTX 950 as the only graphic card connected on the motherboard, it seems it doesn’t boot, and I cannot SSH the computer

  • I start the computer with Nvidia GTX 950 + an old ATI Radeon graphic card as well (I have two PCI-express slots on the MB), then it boots, I can SSH it.

Note: the Nvidia’s drivers are installed (apt-get install nvidia-315), and it is detected (in the second case), and Tensorflow can succesfully use it, so it means the problem doesn’t come from missing drivers.

What could be the problem preventing Ubuntu 16.04 server to boot with the Nvidia GTX 950 as the only graphic card?


Get this bounty!!!