Bug#951091: nvidia-legacy-390xx-kernel-source: Fails to build with kernel 5.5

Kevin Locke kevin at kevinlocke.name
Tue Feb 11 01:36:55 GMT 2020


Package: nvidia-legacy-390xx-kernel-source
Version: 390.132-2
Severity: normal
Tags: patch

Dear Maintainer,

nvidia-legacy-390xx-kernel fails to build with Linux 5.5 due to errors
such as the following:

In file included from /usr/src/modass/usr_src/modules/nvidia-legacy-390xx-kernel/nvidia-drm/nvidia-drm-drv.c:27:
/usr/src/modass/usr_src/modules/nvidia-legacy-390xx-kernel/nvidia-drm/nvidia-drm-fb.h:30:10: fatal error: drm/drmP.h: No such file or directory
   30 | #include <drm/drmP.h>
      |          ^~~~~~~~~~~~
compilation terminated.

Presumably this will be fixed by the next release in the 390 series.
Until then, I have attached a patch with the necessary changes
backported from 440.59.  I compiled and tested (by running some
graphics-intensive workloads) the module on this amd64 system, but have
not tested on arm or i386.

Cheers,
Kevin

-- Package-specific info:
uname -a:
Linux kevinolos 5.5.2 #19 SMP Mon Feb 10 09:11:51 MST 2020 x86_64 GNU/Linux

/proc/version:
Linux version 5.5.2 (kevin at kevinolos) (gcc version 9.2.1 20200123 (Debian 9.2.1-25)) #19 SMP Mon Feb 10 09:11:51 MST 2020

/proc/driver/nvidia/version:
NVRM version: NVIDIA UNIX x86_64 Kernel Module  390.132  Fri Nov  1 00:40:14 PDT 2019
GCC version:  gcc version 9.2.1 20200123 (Debian 9.2.1-25) 

lspci 'display controller [030?]':
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108M [NVS 5400M] [10de:0def] (rev a1) (prog-if 00 [VGA controller])
	Subsystem: Lenovo GF108M [NVS 5400M] [17aa:21f3]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 35
	Region 0: Memory at f2000000 (32-bit, non-prefetchable) [size=16M]
	Region 1: Memory at e0000000 (64-bit, prefetchable) [size=256M]
	Region 3: Memory at f0000000 (64-bit, prefetchable) [size=32M]
	Region 5: I/O ports at 6000 [size=128]
	Expansion ROM at f3080000 [virtual] [disabled] [size=512K]
	Capabilities: <access denied>
	Kernel driver in use: nvidia
	Kernel modules: nvidia

dmesg:

Device node permissions:
crw-rw----+ 1 root video  226,   0 Feb 10 18:10 /dev/dri/card0
crw-rw----+ 1 root render 226, 128 Feb 10 18:10 /dev/dri/renderD128
crw-rw-rw-  1 root root   195, 254 Feb 10 18:11 /dev/nvidia-modeset
crw-rw-rw-  1 root root   195,   0 Feb 10 18:11 /dev/nvidia0
crw-rw-rw-  1 root root   195, 255 Feb 10 18:11 /dev/nvidiactl

/dev/dri/by-path:
total 0
lrwxrwxrwx 1 root root  8 Feb 10 18:10 pci-0000:01:00.0-card -> ../card0
lrwxrwxrwx 1 root root 13 Feb 10 18:10 pci-0000:01:00.0-render -> ../renderD128
video:x:44:kevin,sysacct,steam

OpenGL and NVIDIA library files installed:
lrwxrwxrwx 1 root root       16 Feb 10 18:10 /etc/X11/xorg.conf -> xorg.conf.nvidia
lrwxrwxrwx 1 root root       15 Feb 10 17:11 /etc/alternatives/glx -> /usr/lib/nvidia
lrwxrwxrwx 1 root root       49 Aug 13  2018 /etc/alternatives/glx--libEGL.so-x86_64-linux-gnu -> /usr/lib/mesa-diverted/x86_64-linux-gnu/libEGL.so
lrwxrwxrwx 1 root root       51 Feb 10 17:11 /etc/alternatives/glx--libEGL.so.1-x86_64-linux-gnu -> /usr/lib/mesa-diverted/x86_64-linux-gnu/libEGL.so.1
lrwxrwxrwx 1 root root       48 Aug 13  2018 /etc/alternatives/glx--libGL.so-x86_64-linux-gnu -> /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so
lrwxrwxrwx 1 root root       48 Aug 13  2018 /etc/alternatives/glx--libGL.so-x86_64-linux-gnu -> /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so
lrwxrwxrwx 1 root root       48 Feb 10 17:11 /etc/alternatives/glx--libGL.so.1-i386-linux-gnu -> /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1
lrwxrwxrwx 1 root root       48 Feb 10 17:11 /etc/alternatives/glx--libGL.so.1-i386-linux-gnu -> /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1
lrwxrwxrwx 1 root root       50 Feb 10 17:11 /etc/alternatives/glx--libGL.so.1-x86_64-linux-gnu -> /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1
lrwxrwxrwx 1 root root       50 Feb 10 17:11 /etc/alternatives/glx--libGL.so.1-x86_64-linux-gnu -> /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1
lrwxrwxrwx 1 root root       55 Aug 13  2018 /etc/alternatives/glx--libGLESv1_CM.so-x86_64-linux-gnu -> /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv1_CM.so
lrwxrwxrwx 1 root root       55 Aug 13  2018 /etc/alternatives/glx--libGLESv1_CM.so-x86_64-linux-gnu -> /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv1_CM.so
lrwxrwxrwx 1 root root       57 Feb 10 17:11 /etc/alternatives/glx--libGLESv1_CM.so.1-x86_64-linux-gnu -> /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv1_CM.so.1
lrwxrwxrwx 1 root root       57 Feb 10 17:11 /etc/alternatives/glx--libGLESv1_CM.so.1-x86_64-linux-gnu -> /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv1_CM.so.1
lrwxrwxrwx 1 root root       52 Aug 13  2018 /etc/alternatives/glx--libGLESv2.so-x86_64-linux-gnu -> /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv2.so
lrwxrwxrwx 1 root root       52 Aug 13  2018 /etc/alternatives/glx--libGLESv2.so-x86_64-linux-gnu -> /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv2.so
lrwxrwxrwx 1 root root       54 Feb 10 17:11 /etc/alternatives/glx--libGLESv2.so.2-x86_64-linux-gnu -> /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv2.so.2
lrwxrwxrwx 1 root root       54 Feb 10 17:11 /etc/alternatives/glx--libGLESv2.so.2-x86_64-linux-gnu -> /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv2.so.2
lrwxrwxrwx 1 root root       42 Feb 10 17:11 /etc/alternatives/glx--libGLX_indirect.so.0-i386-linux-gnu -> /usr/lib/i386-linux-gnu/libGLX_nvidia.so.0
lrwxrwxrwx 1 root root       42 Feb 10 17:11 /etc/alternatives/glx--libGLX_indirect.so.0-i386-linux-gnu -> /usr/lib/i386-linux-gnu/libGLX_nvidia.so.0
lrwxrwxrwx 1 root root       44 Feb 10 17:11 /etc/alternatives/glx--libGLX_indirect.so.0-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/libGLX_nvidia.so.0
lrwxrwxrwx 1 root root       44 Feb 10 17:11 /etc/alternatives/glx--libGLX_indirect.so.0-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/libGLX_nvidia.so.0
lrwxrwxrwx 1 root root       51 Feb 10 17:11 /etc/alternatives/glx--libnvidia-cfg.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/libnvidia-cfg.so.1
lrwxrwxrwx 1 root root       25 Feb 10 17:11 /etc/alternatives/glx--linux-libglx.so -> /usr/lib/nvidia/libglx.so
lrwxrwxrwx 1 root root       42 Feb 10 17:11 /etc/alternatives/glx--nvidia-blacklists-nouveau.conf -> /etc/nvidia/nvidia-blacklists-nouveau.conf
lrwxrwxrwx 1 root root       36 Feb 10 17:11 /etc/alternatives/glx--nvidia-bug-report.sh -> /usr/lib/nvidia/nvidia-bug-report.sh
lrwxrwxrwx 1 root root       39 Feb 10 17:11 /etc/alternatives/glx--nvidia-drm-outputclass.conf -> /etc/nvidia/nvidia-drm-outputclass.conf
lrwxrwxrwx 1 root root       28 Feb 10 17:11 /etc/alternatives/glx--nvidia-load.conf -> /etc/nvidia/nvidia-load.conf
lrwxrwxrwx 1 root root       32 Feb 10 17:11 /etc/alternatives/glx--nvidia-modprobe.conf -> /etc/nvidia/nvidia-modprobe.conf
lrwxrwxrwx 1 root root       29 Feb 10 17:11 /etc/alternatives/glx--nvidia_drv.so -> /usr/lib/nvidia/nvidia_drv.so
lrwxrwxrwx 1 root root       22 Aug 13  2018 /etc/alternatives/libGL.so-master -> /usr/lib/mesa-diverted
lrwxrwxrwx 1 root root       28 Nov 20 07:07 /etc/alternatives/nvidia -> /usr/lib/nvidia/legacy-390xx
lrwxrwxrwx 1 root root       64 Nov 20 07:07 /etc/alternatives/nvidia--libEGL_nvidia.so.0-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/legacy-390xx/libEGL_nvidia.so.0
lrwxrwxrwx 1 root root       70 Nov 20 07:07 /etc/alternatives/nvidia--libGLESv1_CM_nvidia.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/legacy-390xx/libGLESv1_CM_nvidia.so.1
lrwxrwxrwx 1 root root       70 Nov 20 07:07 /etc/alternatives/nvidia--libGLESv1_CM_nvidia.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/legacy-390xx/libGLESv1_CM_nvidia.so.1
lrwxrwxrwx 1 root root       67 Nov 20 07:07 /etc/alternatives/nvidia--libGLESv2_nvidia.so.2-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/legacy-390xx/libGLESv2_nvidia.so.2
lrwxrwxrwx 1 root root       67 Nov 20 07:07 /etc/alternatives/nvidia--libGLESv2_nvidia.so.2-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/legacy-390xx/libGLESv2_nvidia.so.2
lrwxrwxrwx 1 root root       62 Nov 20 07:07 /etc/alternatives/nvidia--libGLX_nvidia.so.0-i386-linux-gnu -> /usr/lib/i386-linux-gnu/nvidia/legacy-390xx/libGLX_nvidia.so.0
lrwxrwxrwx 1 root root       62 Nov 20 07:07 /etc/alternatives/nvidia--libGLX_nvidia.so.0-i386-linux-gnu -> /usr/lib/i386-linux-gnu/nvidia/legacy-390xx/libGLX_nvidia.so.0
lrwxrwxrwx 1 root root       64 Nov 20 07:07 /etc/alternatives/nvidia--libGLX_nvidia.so.0-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/legacy-390xx/libGLX_nvidia.so.0
lrwxrwxrwx 1 root root       64 Nov 20 07:07 /etc/alternatives/nvidia--libGLX_nvidia.so.0-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/legacy-390xx/libGLX_nvidia.so.0
lrwxrwxrwx 1 root root       54 Nov 20 07:07 /etc/alternatives/nvidia--libcuda.so-i386-linux-gnu -> /usr/lib/i386-linux-gnu/nvidia/legacy-390xx/libcuda.so
lrwxrwxrwx 1 root root       56 Nov 20 07:07 /etc/alternatives/nvidia--libcuda.so-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/legacy-390xx/libcuda.so
lrwxrwxrwx 1 root root       56 Nov 20 07:07 /etc/alternatives/nvidia--libcuda.so.1-i386-linux-gnu -> /usr/lib/i386-linux-gnu/nvidia/legacy-390xx/libcuda.so.1
lrwxrwxrwx 1 root root       58 Nov 20 07:07 /etc/alternatives/nvidia--libcuda.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/legacy-390xx/libcuda.so.1
lrwxrwxrwx 1 root root       38 Nov 20 07:07 /etc/alternatives/nvidia--libglx.so -> /usr/lib/nvidia/legacy-390xx/libglx.so
lrwxrwxrwx 1 root root       59 Nov 20 07:07 /etc/alternatives/nvidia--libnvcuvid.so-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/legacy-390xx/libnvcuvid.so
lrwxrwxrwx 1 root root       61 Nov 20 07:07 /etc/alternatives/nvidia--libnvcuvid.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/legacy-390xx/libnvcuvid.so.1
lrwxrwxrwx 1 root root       64 Nov 20 07:07 /etc/alternatives/nvidia--libnvidia-cfg.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/legacy-390xx/libnvidia-cfg.so.1
lrwxrwxrwx 1 root root       67 Nov 20 07:07 /etc/alternatives/nvidia--libnvidia-encode.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/legacy-390xx/libnvidia-encode.so.1
lrwxrwxrwx 1 root root       63 Nov 20 07:07 /etc/alternatives/nvidia--libnvidia-ml.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/legacy-390xx/libnvidia-ml.so.1
lrwxrwxrwx 1 root root       67 Nov 20 07:07 /etc/alternatives/nvidia--libnvidia-opencl.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/legacy-390xx/libnvidia-opencl.so.1
lrwxrwxrwx 1 root root       73 Nov 20 07:07 /etc/alternatives/nvidia--libnvidia-ptxjitcompiler.so.1-i386-linux-gnu -> /usr/lib/i386-linux-gnu/nvidia/legacy-390xx/libnvidia-ptxjitcompiler.so.1
lrwxrwxrwx 1 root root       75 Nov 20 07:07 /etc/alternatives/nvidia--libnvidia-ptxjitcompiler.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/legacy-390xx/libnvidia-ptxjitcompiler.so.1
lrwxrwxrwx 1 root root       66 Nov 20 07:07 /etc/alternatives/nvidia--libvdpau_nvidia.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/legacy-390xx/libvdpau_nvidia.so.1
lrwxrwxrwx 1 root root       43 Nov 20 07:07 /etc/alternatives/nvidia--nv-control-dpy -> /usr/lib/nvidia/legacy-390xx/nv-control-dpy
lrwxrwxrwx 1 root root       71 Nov 20 07:07 /etc/alternatives/nvidia--nvidia-application-profiles-key-documentation -> /usr/share/nvidia/nvidia-application-profiles-390.132-key-documentation
lrwxrwxrwx 1 root root       55 Nov 20 07:07 /etc/alternatives/nvidia--nvidia-blacklists-nouveau.conf -> /etc/nvidia/legacy-390xx/nvidia-blacklists-nouveau.conf
lrwxrwxrwx 1 root root       49 Nov 20 07:07 /etc/alternatives/nvidia--nvidia-bug-report.sh -> /usr/lib/nvidia/legacy-390xx/nvidia-bug-report.sh
lrwxrwxrwx 1 root root       45 Nov 20 07:07 /etc/alternatives/nvidia--nvidia-debugdump -> /usr/lib/nvidia/legacy-390xx/nvidia-debugdump
lrwxrwxrwx 1 root root       52 Nov 20 07:07 /etc/alternatives/nvidia--nvidia-drm-outputclass.conf -> /etc/nvidia/legacy-390xx/nvidia-drm-outputclass.conf
lrwxrwxrwx 1 root root       41 Nov 20 07:07 /etc/alternatives/nvidia--nvidia-load.conf -> /etc/nvidia/legacy-390xx/nvidia-load.conf
lrwxrwxrwx 1 root root       45 Nov 20 07:07 /etc/alternatives/nvidia--nvidia-modprobe.conf -> /etc/nvidia/legacy-390xx/nvidia-modprobe.conf
lrwxrwxrwx 1 root root       44 Nov 20 07:07 /etc/alternatives/nvidia--nvidia-settings -> /usr/lib/nvidia/legacy-390xx/nvidia-settings
lrwxrwxrwx 1 root root       49 Nov 20 07:07 /etc/alternatives/nvidia--nvidia-settings.1.gz -> /usr/lib/nvidia/legacy-390xx/nvidia-settings.1.gz
lrwxrwxrwx 1 root root       52 Nov 20 07:07 /etc/alternatives/nvidia--nvidia-settings.desktop -> /usr/lib/nvidia/legacy-390xx/nvidia-settings.desktop
lrwxrwxrwx 1 root root       39 Nov 20 07:07 /etc/alternatives/nvidia--nvidia-smi -> /usr/lib/nvidia/legacy-390xx/nvidia-smi
lrwxrwxrwx 1 root root       44 Nov 20 07:07 /etc/alternatives/nvidia--nvidia-smi.1.gz -> /usr/lib/nvidia/legacy-390xx/nvidia-smi.1.gz
lrwxrwxrwx 1 root root       42 Nov 20 07:07 /etc/alternatives/nvidia--nvidia_drv.so -> /usr/lib/nvidia/legacy-390xx/nvidia_drv.so
lrwxrwxrwx 1 root root       48 Oct 22  2017 /usr/lib/i386-linux-gnu/libGL.so.1 -> /etc/alternatives/glx--libGL.so.1-i386-linux-gnu
lrwxrwxrwx 1 root root       51 Mar  5  2019 /usr/lib/i386-linux-gnu/libcuda.so -> /etc/alternatives/nvidia--libcuda.so-i386-linux-gnu
lrwxrwxrwx 1 root root       53 Mar  5  2019 /usr/lib/i386-linux-gnu/libcuda.so.1 -> /etc/alternatives/nvidia--libcuda.so.1-i386-linux-gnu
-rw-r--r-- 1 root root   308112 Nov  1 05:08 /usr/lib/i386-linux-gnu/libnvidia-fatbinaryloader.so.390.132
-rw-r--r-- 1 root root 32522600 Nov  1 04:48 /usr/lib/i386-linux-gnu/libnvidia-glcore.so.390.132
lrwxrwxrwx 1 root root       70 Mar  5  2019 /usr/lib/i386-linux-gnu/libnvidia-ptxjitcompiler.so.1 -> /etc/alternatives/nvidia--libnvidia-ptxjitcompiler.so.1-i386-linux-gnu
-rw-r--r-- 1 root root    13752 Nov  1 04:54 /usr/lib/i386-linux-gnu/libnvidia-tls.so.390.132
-rw-r--r-- 1 root root  1455024 Mar  3  2019 /usr/lib/libnvidia-gtk2.so.390.116
-rw-r--r-- 1 root root  1463216 Mar  3  2019 /usr/lib/libnvidia-gtk3.so.390.116
lrwxrwxrwx 1 root root       49 Oct 22  2017 /usr/lib/x86_64-linux-gnu/libEGL.so -> /etc/alternatives/glx--libEGL.so-x86_64-linux-gnu
lrwxrwxrwx 1 root root       51 Oct 22  2017 /usr/lib/x86_64-linux-gnu/libEGL.so.1 -> /etc/alternatives/glx--libEGL.so.1-x86_64-linux-gnu
lrwxrwxrwx 1 root root       48 Oct 22  2017 /usr/lib/x86_64-linux-gnu/libGL.so -> /etc/alternatives/glx--libGL.so-x86_64-linux-gnu
lrwxrwxrwx 1 root root       50 Oct 22  2017 /usr/lib/x86_64-linux-gnu/libGL.so.1 -> /etc/alternatives/glx--libGL.so.1-x86_64-linux-gnu
lrwxrwxrwx 1 root root       55 Aug 13  2018 /usr/lib/x86_64-linux-gnu/libGLESv1_CM.so -> /etc/alternatives/glx--libGLESv1_CM.so-x86_64-linux-gnu
lrwxrwxrwx 1 root root       57 Aug 19  2018 /usr/lib/x86_64-linux-gnu/libGLESv1_CM.so.1 -> /etc/alternatives/glx--libGLESv1_CM.so.1-x86_64-linux-gnu
lrwxrwxrwx 1 root root       67 Mar  5  2019 /usr/lib/x86_64-linux-gnu/libGLESv1_CM_nvidia.so.1 -> /etc/alternatives/nvidia--libGLESv1_CM_nvidia.so.1-x86_64-linux-gnu
lrwxrwxrwx 1 root root       52 Oct 22  2017 /usr/lib/x86_64-linux-gnu/libGLESv2.so -> /etc/alternatives/glx--libGLESv2.so-x86_64-linux-gnu
lrwxrwxrwx 1 root root       54 Oct 22  2017 /usr/lib/x86_64-linux-gnu/libGLESv2.so.2 -> /etc/alternatives/glx--libGLESv2.so.2-x86_64-linux-gnu
lrwxrwxrwx 1 root root       64 Mar  5  2019 /usr/lib/x86_64-linux-gnu/libGLESv2_nvidia.so.2 -> /etc/alternatives/nvidia--libGLESv2_nvidia.so.2-x86_64-linux-gnu
lrwxrwxrwx 1 root root       53 Mar  5  2019 /usr/lib/x86_64-linux-gnu/libcuda.so -> /etc/alternatives/nvidia--libcuda.so-x86_64-linux-gnu
lrwxrwxrwx 1 root root       55 Mar  5  2019 /usr/lib/x86_64-linux-gnu/libcuda.so.1 -> /etc/alternatives/nvidia--libcuda.so.1-x86_64-linux-gnu
lrwxrwxrwx 1 root root       58 Feb 10 17:11 /usr/lib/x86_64-linux-gnu/libnvidia-cfg.so.1 -> /etc/alternatives/glx--libnvidia-cfg.so.1-x86_64-linux-gnu
-rw-r--r-- 1 root root 47725744 Nov  1 06:37 /usr/lib/x86_64-linux-gnu/libnvidia-compiler.so.390.132
-rw-r--r-- 1 root root 27486464 Nov  1 06:35 /usr/lib/x86_64-linux-gnu/libnvidia-eglcore.so.390.132
lrwxrwxrwx 1 root root       64 Mar  5  2019 /usr/lib/x86_64-linux-gnu/libnvidia-encode.so.1 -> /etc/alternatives/nvidia--libnvidia-encode.so.1-x86_64-linux-gnu
-rw-r--r-- 1 root root   291496 Nov  1 05:17 /usr/lib/x86_64-linux-gnu/libnvidia-fatbinaryloader.so.390.132
-rw-r--r-- 1 root root 29285256 Nov  1 04:59 /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.390.132
-rw-r--r-- 1 root root   555768 Nov  1 06:20 /usr/lib/x86_64-linux-gnu/libnvidia-glsi.so.390.132
lrwxrwxrwx 1 root root       60 Oct 22  2017 /usr/lib/x86_64-linux-gnu/libnvidia-ml.so.1 -> /etc/alternatives/nvidia--libnvidia-ml.so.1-x86_64-linux-gnu
lrwxrwxrwx 1 root root       64 Mar  5  2019 /usr/lib/x86_64-linux-gnu/libnvidia-opencl.so.1 -> /etc/alternatives/nvidia--libnvidia-opencl.so.1-x86_64-linux-gnu
lrwxrwxrwx 1 root root       72 Mar  5  2019 /usr/lib/x86_64-linux-gnu/libnvidia-ptxjitcompiler.so.1 -> /etc/alternatives/nvidia--libnvidia-ptxjitcompiler.so.1-x86_64-linux-gnu
-rw-r--r-- 1 root root    14480 Nov  1 05:04 /usr/lib/x86_64-linux-gnu/libnvidia-tls.so.390.132
lrwxrwxrwx 1 root root       36 Feb 10 17:11 /usr/lib/xorg/modules/drivers/nvidia_drv.so -> /etc/alternatives/glx--nvidia_drv.so
-rw-r--r-- 1 root root   289824 Jan 14 03:13 /usr/lib/xorg/modules/extensions/libglx.so
lrwxrwxrwx 1 root root       38 Feb 10 17:11 /usr/lib/xorg/modules/linux/libglx.so -> /etc/alternatives/glx--linux-libglx.so
-rw-r--r-- 1 root root    34617 Feb 10 18:23 /var/log/Xorg.0.log
-rw-r--r-- 1 root root    28600 Feb 10 17:12 /var/log/Xorg.0.log.old
-rw-r--r-- 1 root root    38206 Feb 10 16:28 /var/log/Xorg.1.log
-rw-r--r-- 1 root root    38206 Feb 10 12:40 /var/log/Xorg.1.log.old
-rw-r--r-- 1 root root    36910 Aug  4  2018 /var/log/Xorg.2.log
-rw-r--r-- 1 root root    38821 Aug  4  2018 /var/log/Xorg.2.log.old
-rw-r--r-- 1 root root    51643 Jul 23  2018 /var/log/Xorg.3.log
-rw-r--r-- 1 root root    46414 Jul 20  2018 /var/log/Xorg.3.log.old
-rw-r--r-- 1 root root    48257 Jul 24  2018 /var/log/Xorg.4.log
-rw-r--r-- 1 root root    46414 Jul 23  2018 /var/log/Xorg.4.log.old
-rw-r--r-- 1 root root    46831 Jul 24  2018 /var/log/Xorg.5.log
-rw-r--r-- 1 root root    46414 Jul 23  2018 /var/log/Xorg.5.log.old
-rw-r--r-- 1 root root    28949 Jan 20  2018 /var/log/Xorg.6.log
-rw-r--r-- 1 root root    30880 Jan 20  2018 /var/log/Xorg.6.log.old
-rw-r--r-- 1 root root    30879 Jan  7  2018 /var/log/Xorg.7.log
-rw-r--r-- 1 root root    31296 Jan  6  2018 /var/log/Xorg.7.log.old
/etc/OpenCL/vendors/:
total 12
drwxr-xr-x 2 root root 4096 Feb  4 03:47 .
drwxr-xr-x 3 root root 4096 Mar  5  2019 ..
-rw-r--r-- 1 root root   22 Aug 21  2018 nvidia.icd

/etc/X11/xorg.conf.d/:
total 12
drwxr-xr-x  2 root root 4096 Jul 10  2019 .
drwxr-xr-x 11 root root 4096 Feb 10 18:10 ..
-rw-r--r--  1 root root  475 Jun  7  2013 20-trackpoint.conf

/etc/nvidia/:
total 20
drwxr-xr-x   3 root root  4096 Mar  5  2019 .
drwxr-xr-x 188 root root 12288 Feb 10 17:11 ..
drwxr-xr-x   2 root root  4096 Feb  4 03:48 legacy-390xx
lrwxrwxrwx   1 root root    56 Mar  5  2019 nvidia-blacklists-nouveau.conf -> /etc/alternatives/nvidia--nvidia-blacklists-nouveau.conf
lrwxrwxrwx   1 root root    53 Mar  5  2019 nvidia-drm-outputclass.conf -> /etc/alternatives/nvidia--nvidia-drm-outputclass.conf
lrwxrwxrwx   1 root root    42 Mar  5  2019 nvidia-load.conf -> /etc/alternatives/nvidia--nvidia-load.conf
lrwxrwxrwx   1 root root    46 Mar  5  2019 nvidia-modprobe.conf -> /etc/alternatives/nvidia--nvidia-modprobe.conf

/usr/lib/i386-linux-gnu/nvidia/:
total 32
drwxr-xr-x  3 root root  4096 Mar  5  2019 .
drwxr-xr-x 30 root root 24576 Feb 10 09:00 ..
drwxr-xr-x  2 root root  4096 Feb  4 03:45 legacy-390xx

/usr/lib/i386-linux-gnu/nvidia/legacy-390xx/:
total 20680
drwxr-xr-x 2 root root     4096 Feb  4 03:45 .
drwxr-xr-x 3 root root     4096 Mar  5  2019 ..
lrwxrwxrwx 1 root root       24 Jan 29 13:23 libGLX_nvidia.so.0 -> libGLX_nvidia.so.390.132
-rw-r--r-- 1 root root  1129756 Nov  1 04:49 libGLX_nvidia.so.390.132
lrwxrwxrwx 1 root root       12 Jan 29 13:23 libcuda.so -> libcuda.so.1
lrwxrwxrwx 1 root root       18 Jan 29 13:23 libcuda.so.1 -> libcuda.so.390.132
-rw-r--r-- 1 root root  9179668 Nov  1 05:04 libcuda.so.390.132
lrwxrwxrwx 1 root root       35 Jan 29 13:23 libnvidia-ptxjitcompiler.so.1 -> libnvidia-ptxjitcompiler.so.390.132
-rw-r--r-- 1 root root 10853968 Nov  1 05:14 libnvidia-ptxjitcompiler.so.390.132

/usr/lib/mesa-diverted/:
total 32
drwxr-xr-x   6 root root  4096 Nov 19 06:46 .
drwxr-xr-x 145 root root 12288 Jan 31 07:21 ..
drwxr-xr-x   2 root root  4096 Aug 12  2017 arm-linux-gnueabihf
drwxr-xr-x   2 root root  4096 Feb  3 05:15 i386-linux-gnu
lrwxrwxrwx   1 root root    33 Oct 22  2017 libGL.so-master -> /etc/alternatives/libGL.so-master
drwxr-xr-x   2 root root  4096 Nov 13 19:38 powerpc64le-linux-gnu
drwxr-xr-x   2 root root  4096 Feb  3 05:15 x86_64-linux-gnu

/usr/lib/mesa-diverted/arm-linux-gnueabihf/:
total 8
drwxr-xr-x 2 root root 4096 Aug 12  2017 .
drwxr-xr-x 6 root root 4096 Nov 19 06:46 ..

/usr/lib/mesa-diverted/i386-linux-gnu/:
total 440
drwxr-xr-x 2 root root   4096 Feb  3 05:15 .
drwxr-xr-x 6 root root   4096 Nov 19 06:46 ..
lrwxrwxrwx 1 root root     14 Jan  8 05:11 libGL.so.1 -> libGL.so.1.7.0
-rw-r--r-- 1 root root 439760 Jan  8 05:11 libGL.so.1.7.0
lrwxrwxrwx 1 root root     16 Jan 28 12:45 libGLX_indirect.so.0 -> libGLX_mesa.so.0

/usr/lib/mesa-diverted/powerpc64le-linux-gnu/:
total 8
drwxr-xr-x 2 root root 4096 Nov 13 19:38 .
drwxr-xr-x 6 root root 4096 Nov 19 06:46 ..

/usr/lib/mesa-diverted/x86_64-linux-gnu/:
total 736
drwxr-xr-x 2 root root   4096 Feb  3 05:15 .
drwxr-xr-x 6 root root   4096 Nov 19 06:46 ..
lrwxrwxrwx 1 root root     11 Jan  8 05:11 libEGL.so -> libEGL.so.1
lrwxrwxrwx 1 root root     15 Jan  8 05:11 libEGL.so.1 -> libEGL.so.1.1.0
-rw-r--r-- 1 root root  80352 Jan  8 05:11 libEGL.so.1.1.0
lrwxrwxrwx 1 root root     10 Jan  8 05:11 libGL.so -> libGL.so.1
lrwxrwxrwx 1 root root     14 Jan  8 05:11 libGL.so.1 -> libGL.so.1.7.0
-rw-r--r-- 1 root root 542904 Jan  8 05:11 libGL.so.1.7.0
lrwxrwxrwx 1 root root     17 Jan  8 05:11 libGLESv1_CM.so -> libGLESv1_CM.so.1
lrwxrwxrwx 1 root root     21 Jan  8 05:11 libGLESv1_CM.so.1 -> libGLESv1_CM.so.1.2.0
-rw-r--r-- 1 root root  43184 Jan  8 05:11 libGLESv1_CM.so.1.2.0
lrwxrwxrwx 1 root root     14 Jan  8 05:11 libGLESv2.so -> libGLESv2.so.2
lrwxrwxrwx 1 root root     18 Jan  8 05:11 libGLESv2.so.2 -> libGLESv2.so.2.1.0
-rw-r--r-- 1 root root  71856 Jan  8 05:11 libGLESv2.so.2.1.0
lrwxrwxrwx 1 root root     16 Jan 28 12:45 libGLX_indirect.so.0 -> libGLX_mesa.so.0

/usr/lib/mesa/:
total 16
drwxr-xr-x   2 root root  4096 Aug 12  2017 .
drwxr-xr-x 145 root root 12288 Jan 31 07:21 ..

/usr/lib/nvidia/:
total 40
drwxr-xr-x   4 root root  4096 Jan  2 08:16 .
drwxr-xr-x 145 root root 12288 Jan 31 07:21 ..
-rw-r--r--   1 root root    57 Dec 27 07:22 alternate-install-present
drwxr-xr-x   2 root root  4096 Aug 12  2017 bumblebee
-rwxr-xr-x   1 root root  2125 Dec 27 07:22 check-for-conflicting-opengl-libraries
-rwxr-xr-x   1 root root  1897 Dec 27 07:22 check-for-mismatching-nvidia-module
drwxr-xr-x   2 root root  4096 Feb  4 03:45 legacy-390xx
lrwxrwxrwx   1 root root    35 Mar  5  2019 libglx.so -> /etc/alternatives/nvidia--libglx.so
lrwxrwxrwx   1 root root    24 Oct 22  2017 nvidia -> /etc/alternatives/nvidia
lrwxrwxrwx   1 root root    46 Mar  5  2019 nvidia-bug-report.sh -> /etc/alternatives/nvidia--nvidia-bug-report.sh
lrwxrwxrwx   1 root root    39 Mar  5  2019 nvidia_drv.so -> /etc/alternatives/nvidia--nvidia_drv.so
-rwxr-xr-x   1 root root   618 Dec 27 07:22 pre-install

/usr/lib/nvidia/bumblebee/:
total 8
drwxr-xr-x 2 root root 4096 Aug 12  2017 .
drwxr-xr-x 4 root root 4096 Jan  2 08:16 ..

/usr/lib/nvidia/legacy-390xx/:
total 23624
drwxr-xr-x 2 root root     4096 Feb  4 03:45 .
drwxr-xr-x 4 root root     4096 Jan  2 08:16 ..
lrwxrwxrwx 1 root root       17 Jan 29 13:23 libglx.so -> libglx.so.390.132
-rw-r--r-- 1 root root 14976296 Nov  1 05:04 libglx.so.390.132
-rwxr-xr-x 1 root root    39192 Mar  3  2019 nv-control-dpy
-rwxr-xr-x 1 root root    27950 Nov  1 02:31 nvidia-bug-report.sh
-rwxr-xr-x 1 root root   227824 Nov  1 06:17 nvidia-debugdump
-rwxr-xr-x 1 root root   248328 Mar  3  2019 nvidia-settings
-rw-r--r-- 1 root root     8643 Mar  3  2019 nvidia-settings.1.gz
-rw-r--r-- 1 root root     1276 Mar  3  2019 nvidia-settings.desktop
-rwxr-xr-x 1 root root   514176 Nov  1 06:17 nvidia-smi
-rw-r--r-- 1 root root    19417 Jan 29 13:23 nvidia-smi.1.gz
-rw-r--r-- 1 root root     3429 Jan 29 13:23 nvidia.ids
-rw-r--r-- 1 root root  8097296 Nov  1 04:41 nvidia_drv.so

/usr/lib/nvidia/nvidia/:
total 23624
drwxr-xr-x 2 root root     4096 Feb  4 03:45 .
drwxr-xr-x 4 root root     4096 Jan  2 08:16 ..
lrwxrwxrwx 1 root root       17 Jan 29 13:23 libglx.so -> libglx.so.390.132
-rw-r--r-- 1 root root 14976296 Nov  1 05:04 libglx.so.390.132
-rwxr-xr-x 1 root root    39192 Mar  3  2019 nv-control-dpy
-rwxr-xr-x 1 root root    27950 Nov  1 02:31 nvidia-bug-report.sh
-rwxr-xr-x 1 root root   227824 Nov  1 06:17 nvidia-debugdump
-rwxr-xr-x 1 root root   248328 Mar  3  2019 nvidia-settings
-rw-r--r-- 1 root root     8643 Mar  3  2019 nvidia-settings.1.gz
-rw-r--r-- 1 root root     1276 Mar  3  2019 nvidia-settings.desktop
-rwxr-xr-x 1 root root   514176 Nov  1 06:17 nvidia-smi
-rw-r--r-- 1 root root    19417 Jan 29 13:23 nvidia-smi.1.gz
-rw-r--r-- 1 root root     3429 Jan 29 13:23 nvidia.ids
-rw-r--r-- 1 root root  8097296 Nov  1 04:41 nvidia_drv.so

/usr/lib/x86_64-linux-gnu/nvidia/:
total 144
drwxr-xr-x   3 root root   4096 Mar  5  2019 .
drwxr-xr-x 121 root root 135168 Feb 10 17:11 ..
drwxr-xr-x   2 root root   4096 Feb  4 03:45 legacy-390xx
lrwxrwxrwx   1 root root     61 Oct 22  2017 libnvidia-cfg.so.1 -> /etc/alternatives/nvidia--libnvidia-cfg.so.1-x86_64-linux-gnu

/usr/lib/x86_64-linux-gnu/nvidia/legacy-390xx/:
total 42804
drwxr-xr-x 2 root root     4096 Feb  4 03:45 .
drwxr-xr-x 3 root root     4096 Mar  5  2019 ..
lrwxrwxrwx 1 root root       24 Jan 29 13:23 libEGL_nvidia.so.0 -> libEGL_nvidia.so.390.132
-rw-r--r-- 1 root root   918552 Nov  1 06:35 libEGL_nvidia.so.390.132
lrwxrwxrwx 1 root root       30 Jan 29 13:23 libGLESv1_CM_nvidia.so.1 -> libGLESv1_CM_nvidia.so.390.132
-rw-r--r-- 1 root root    60200 Nov  1 06:35 libGLESv1_CM_nvidia.so.390.132
lrwxrwxrwx 1 root root       27 Jan 29 13:23 libGLESv2_nvidia.so.2 -> libGLESv2_nvidia.so.390.132
-rw-r--r-- 1 root root   111400 Nov  1 06:35 libGLESv2_nvidia.so.390.132
lrwxrwxrwx 1 root root       24 Jan 29 13:23 libGLX_nvidia.so.0 -> libGLX_nvidia.so.390.132
-rw-r--r-- 1 root root  1268112 Nov  1 05:00 libGLX_nvidia.so.390.132
lrwxrwxrwx 1 root root       12 Jan 29 13:23 libcuda.so -> libcuda.so.1
lrwxrwxrwx 1 root root       18 Jan 29 13:23 libcuda.so.1 -> libcuda.so.390.132
-rw-r--r-- 1 root root 10033560 Nov  1 05:14 libcuda.so.390.132
lrwxrwxrwx 1 root root       15 Jan 29 13:23 libnvcuvid.so -> libnvcuvid.so.1
lrwxrwxrwx 1 root root       21 Jan 29 13:23 libnvcuvid.so.1 -> libnvcuvid.so.390.132
-rw-r--r-- 1 root root  2478256 Nov  1 06:19 libnvcuvid.so.390.132
lrwxrwxrwx 1 root root       24 Jan 29 13:23 libnvidia-cfg.so.1 -> libnvidia-cfg.so.390.132
-rw-r--r-- 1 root root   190952 Nov  1 06:15 libnvidia-cfg.so.390.132
lrwxrwxrwx 1 root root       21 Jan 29 13:23 libnvidia-encode.so -> libnvidia-encode.so.1
lrwxrwxrwx 1 root root       27 Jan 29 13:23 libnvidia-encode.so.1 -> libnvidia-encode.so.390.132
-rw-r--r-- 1 root root   168152 Nov  1 06:19 libnvidia-encode.so.390.132
lrwxrwxrwx 1 root root       17 Jan 29 13:23 libnvidia-ml.so -> libnvidia-ml.so.1
lrwxrwxrwx 1 root root       23 Jan 29 13:23 libnvidia-ml.so.1 -> libnvidia-ml.so.390.132
-rw-r--r-- 1 root root  1314560 Nov  1 06:16 libnvidia-ml.so.390.132
lrwxrwxrwx 1 root root       27 Jan 29 13:23 libnvidia-opencl.so.1 -> libnvidia-opencl.so.390.132
-rw-r--r-- 1 root root 15870456 Nov  1 05:17 libnvidia-opencl.so.390.132
lrwxrwxrwx 1 root root       35 Jan 29 13:23 libnvidia-ptxjitcompiler.so.1 -> libnvidia-ptxjitcompiler.so.390.132
-rw-r--r-- 1 root root 10489832 Nov  1 05:23 libnvidia-ptxjitcompiler.so.390.132
lrwxrwxrwx 1 root root       26 Jan 29 13:23 libvdpau_nvidia.so.1 -> libvdpau_nvidia.so.390.132
-rw-r--r-- 1 root root   896160 Nov  1 05:05 libvdpau_nvidia.so.390.132

/usr/share/X11/xorg.conf.d/:
total 36
drwxr-xr-x 2 root root 4096 Feb 10 17:11 .
drwxr-xr-x 5 root root 4096 Nov  1 23:10 ..
-rw-r--r-- 1 root root   92 Oct 22 13:09 10-amdgpu.conf
-rw-r--r-- 1 root root 1099 Aug 23  2018 10-evdev.conf
-rw-r--r-- 1 root root 1350 Jan 14 03:13 10-quirks.conf
-rw-r--r-- 1 root root   92 Oct 22 13:31 10-radeon.conf
-rw-r--r-- 1 root root 1429 Aug 13 05:13 40-libinput.conf
-rw-r--r-- 1 root root 1753 Aug 23  2018 70-synaptics.conf
-rw-r--r-- 1 root root 2747 Aug  6  2019 70-wacom.conf
lrwxrwxrwx 1 root root   50 Feb 10 17:11 nvidia-drm-outputclass.conf -> /etc/alternatives/glx--nvidia-drm-outputclass.conf

/etc/modprobe.d:
total 48
drwxr-xr-x   2 root root  4096 Feb 10 17:11 .
drwxr-xr-x 188 root root 12288 Feb 10 17:11 ..
-rw-r--r--   1 root root   170 Mar  7  2019 e1000e-powersave.conf
-rw-r--r--   1 root root   154 Oct 19  2014 intel-microcode-blacklist.conf
-rw-r--r--   1 root root   182 Mar 12  2019 iwlwifi-thinkpad.conf
lrwxrwxrwx   1 root root    53 Feb 10 17:11 nvidia-blacklists-nouveau.conf -> /etc/alternatives/glx--nvidia-blacklists-nouveau.conf
-rw-r--r--   1 root root   260 Feb 25  2016 nvidia-kernel-common.conf
lrwxrwxrwx   1 root root    43 Feb 10 17:11 nvidia.conf -> /etc/alternatives/glx--nvidia-modprobe.conf
-rw-r--r--   1 root root    26 Jan  6  2013 radeon-kms.conf
-rw-r--r--   1 root root   339 Jun 30  2015 snd-blacklist.conf
-rw-r--r--   1 root root   302 Mar  4  2019 usb_storage-quirks.conf
-rw-r--r--   1 root root   569 Oct 24  2018 video-blacklist.conf

/etc/modprobe.d/video-blacklist.conf:blacklist nvidia
/etc/modprobe.d/video-blacklist.conf:blacklist nvidia_current
/etc/modprobe.d/video-blacklist.conf:blacklist nvidia_current_drm
/etc/modprobe.d/video-blacklist.conf:blacklist nvidia_current_modeset
/etc/modprobe.d/video-blacklist.conf:blacklist nvidia_current_uvm
/etc/modprobe.d/nvidia-kernel-common.conf:alias char-major-195* nvidia
/etc/modprobe.d/nvidia-kernel-common.conf:#options nvidia NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=44 NVreg_DeviceFileMode=0660
/etc/modprobe.d/nvidia-kernel-common.conf:# options nvidia NVreg_EnableAGPSBA=1
/etc/modprobe.d/nvidia-kernel-common.conf:# options nvidia NVreg_EnableAGPFW=1
/etc/modprobe.d/video-blacklist.conf:blacklist nouveau

/etc/modules-load.d:
-rw-r--r-- 1 root root  283 Oct 24  2018 /etc/modules

/etc/modules-load.d/:
total 20
drwxr-xr-x   2 root root  4096 Feb 10 17:11 .
drwxr-xr-x 188 root root 12288 Feb 10 17:11 ..
-rw-r--r--   1 root root   139 Oct 24  2018 cups-filters.conf
lrwxrwxrwx   1 root root    10 Jan 25 10:53 modules.conf -> ../modules
lrwxrwxrwx   1 root root    39 Feb 10 17:11 nvidia.conf -> /etc/alternatives/glx--nvidia-load.conf


Files from nvidia-installer:

Config and logfiles:

<<<<<<<<<< /etc/modprobe.d/nvidia-blacklists-nouveau.conf >>>>>>>>>>
# You need to run "update-initramfs -u" after editing this file.

# see #580894
blacklist nouveau
^^^^^^^^^^ /etc/modprobe.d/nvidia-blacklists-nouveau.conf ^^^^^^^^^^

<<<<<<<<<< /etc/modprobe.d/nvidia-kernel-common.conf >>>>>>>>>>
alias char-major-195* nvidia
#options nvidia NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=44 NVreg_DeviceFileMode=0660
# To enable FastWrites and Sidebus addressing, uncomment these lines
# options nvidia NVreg_EnableAGPSBA=1
# options nvidia NVreg_EnableAGPFW=1
^^^^^^^^^^ /etc/modprobe.d/nvidia-kernel-common.conf ^^^^^^^^^^

<<<<<<<<<< /etc/modprobe.d/nvidia.conf >>>>>>>>>>
install nvidia modprobe -i nvidia-legacy-390xx $CMDLINE_OPTS

install nvidia-modeset modprobe nvidia ; modprobe -i nvidia-legacy-390xx-modeset $CMDLINE_OPTS

install nvidia-drm modprobe nvidia-modeset ; modprobe -i nvidia-legacy-390xx-drm $CMDLINE_OPTS

install nvidia-uvm modprobe nvidia ; modprobe -i nvidia-legacy-390xx-uvm $CMDLINE_OPTS

remove nvidia modprobe -r -i nvidia-drm nvidia-modeset nvidia-uvm nvidia

remove nvidia-modeset modprobe -r -i nvidia-drm nvidia-modeset

# These aliases are defined in *all* nvidia modules.
# Duplicating them here sets higher precedence and ensures the selected
# module gets loaded instead of a random first match if more than one
# version is installed. See #798207.
alias	pci:v000010DEd00000E00sv*sd*bc04sc80i00*	nvidia
alias	pci:v000010DEd00000AA3sv*sd*bc0Bsc40i00*	nvidia
alias	pci:v000010DEd*sv*sd*bc03sc02i00*		nvidia
alias	pci:v000010DEd*sv*sd*bc03sc00i00*		nvidia
^^^^^^^^^^ /etc/modprobe.d/nvidia.conf ^^^^^^^^^^

<<<<<<<<<< /etc/X11/xorg.conf >>>>>>>>>>
# Minimal xorg.conf for nvidia

Section "Device"
	Identifier	"NVIDIA Corporation GF108 [Quadro NVS 5400M]"
    	Driver		"nvidia"
	Option		"NoLogo"		"true"
	# For better or worse, match the current intel/nouveau behavior
	# See https://bugs.freedesktop.org/show_bug.cgi?id=23705
	Option		"DPI"			"96 x 96"
	Option		"UseEdidDpi"		"false"
EndSection
^^^^^^^^^^ /etc/X11/xorg.conf ^^^^^^^^^^

<<<<<<<<<< /etc/X11/xorg.conf.d/20-trackpoint.conf >>>>>>>>>>
Section "InputClass"
	Identifier	"Trackpoint Wheel Emulation"
	MatchProduct	"TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint|ThinkPad USB Keyboard with TrackPoint|USB Trackpoint pointing device|Composite TouchPad / TrackPoint"
	MatchDevicePath	"/dev/input/event*"
	Option		"EmulateWheel"		"true"
	Option		"EmulateWheelButton"	"2"
	Option		"Emulate3Buttons"	"false"
	Option		"XAxisMapping"		"6 7"
	Option		"YAxisMapping"		"4 5"
EndSection
^^^^^^^^^^ /etc/X11/xorg.conf.d/20-trackpoint.conf ^^^^^^^^^^

<<<<<<<<<< /home/kevin/.local/share/xorg/Xorg.8.log >>>>>>>>>>
[ 42968.849] 
X.Org X Server 1.19.0
Release Date: 2016-11-15
[ 42968.850] X Protocol Version 11, Revision 0
[ 42968.850] Build Operating System: Linux 3.16.0-4-amd64 x86_64 Debian
[ 42968.850] Current Operating System: Linux kevinolos 4.9.0+kevinoid1 #4 SMP Sun Dec 11 15:08:10 MST 2016 x86_64
[ 42968.850] Kernel command line: BOOT_IMAGE=/vmlinuz-4.9.0+kevinoid1 root=UUID=7a92180f-519c-49f5-a5c1-71e7c48d3a06 ro quiet intel_iommu=on nox2apic
[ 42968.850] Build Date: 16 December 2016  07:30:27PM
[ 42968.850] xorg-server 2:1.19.0-3 (https://www.debian.org/support) 
[ 42968.850] Current version of pixman: 0.34.0
[ 42968.850] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[ 42968.850] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 42968.850] (==) Log file: "/home/kevin/.local/share/xorg/Xorg.8.log", Time: Sat Jan  7 00:03:58 2017
[ 42968.850] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 42968.850] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 42968.851] (==) No Layout section.  Using the first Screen section.
[ 42968.851] (==) No screen section available. Using defaults.
[ 42968.851] (**) |-->Screen "Default Screen Section" (0)
[ 42968.851] (**) |   |-->Monitor "<default monitor>"
[ 42968.851] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[ 42968.851] (==) Automatically adding devices
[ 42968.851] (==) Automatically enabling devices
[ 42968.851] (==) Automatically adding GPU devices
[ 42968.851] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 42968.851] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 42968.851] 	Entry deleted from font path.
[ 42968.851] (==) 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
[ 42968.851] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 42968.851] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 42968.851] (II) Loader magic: 0x562b1621ee00
[ 42968.851] (II) Module ABI versions:
[ 42968.851] 	X.Org ANSI C Emulation: 0.4
[ 42968.851] 	X.Org Video Driver: 23.0
[ 42968.851] 	X.Org XInput driver : 24.1
[ 42968.851] 	X.Org Server Extension : 10.0
[ 42968.852] (++) using VT number 8

[ 42968.852] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 42968.853] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 42968.853] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[ 42968.855] (--) PCI:*(0:0:2:0) 8086:0166:17aa:21f4 rev 9, Mem @ 0xf0000000/4194304, 0xe0000000/268435456, I/O @ 0x00006000/64, BIOS @ 0x????????/131072
[ 42968.855] (II) LoadModule: "glx"
[ 42968.856] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 42968.857] (II) Module glx: vendor="X.Org Foundation"
[ 42968.857] 	compiled for 1.19.0, module version = 1.0.0
[ 42968.857] 	ABI class: X.Org Server Extension, version 10.0
[ 42968.857] (==) Matched modesetting as autoconfigured driver 0
[ 42968.857] (==) Matched fbdev as autoconfigured driver 1
[ 42968.857] (==) Matched vesa as autoconfigured driver 2
[ 42968.857] (==) Assigned the driver to the xf86ConfigLayout
[ 42968.857] (II) LoadModule: "modesetting"
[ 42968.858] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 42968.858] (II) Module modesetting: vendor="X.Org Foundation"
[ 42968.858] 	compiled for 1.19.0, module version = 1.19.0
[ 42968.858] 	Module class: X.Org Video Driver
[ 42968.858] 	ABI class: X.Org Video Driver, version 23.0
[ 42968.858] (II) LoadModule: "fbdev"
[ 42968.858] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 42968.858] (II) Module fbdev: vendor="X.Org Foundation"
[ 42968.858] 	compiled for 1.19.0, module version = 0.4.4
[ 42968.858] 	Module class: X.Org Video Driver
[ 42968.858] 	ABI class: X.Org Video Driver, version 23.0
[ 42968.858] (II) LoadModule: "vesa"
[ 42968.858] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 42968.859] (II) Module vesa: vendor="X.Org Foundation"
[ 42968.859] 	compiled for 1.19.0, module version = 2.3.4
[ 42968.859] 	Module class: X.Org Video Driver
[ 42968.859] 	ABI class: X.Org Video Driver, version 23.0
[ 42968.859] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 42968.859] (II) FBDEV: driver for framebuffer: fbdev
[ 42968.859] (II) VESA: driver for VESA chipsets: vesa
[ 42968.859] (EE) 
Fatal server error:
[ 42968.859] (EE) xf86OpenConsole: Cannot open virtual console 8 (Permission denied)
[ 42968.859] (EE) 
[ 42968.859] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[ 42968.859] (EE) Please also check the log file at "/home/kevin/.local/share/xorg/Xorg.8.log" for additional information.
[ 42968.859] (EE) 
[ 42968.859] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
[ 42968.859] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
[ 42968.859] (EE) Server terminated with error (1). Closing log file.
^^^^^^^^^^ /home/kevin/.local/share/xorg/Xorg.8.log ^^^^^^^^^^

<<<<<<<<<< /var/log/Xorg.0.log >>>>>>>>>>
[    12.425] 
X.Org X Server 1.20.7
X Protocol Version 11, Revision 0
[    12.425] Build Operating System: Linux 4.19.0-6-amd64 x86_64 Debian
[    12.425] Current Operating System: Linux kevinolos 5.5.2 #19 SMP Mon Feb 10 09:11:51 MST 2020 x86_64
[    12.425] Kernel command line: root=UUID=1e0b9587-6c77-4dde-b6d1-c2bd6c48957a ro quiet intel_iommu=on initrd=\EFI\Debian\initrd.img-5.5.2
[    12.425] Build Date: 14 January 2020  10:13:49AM
[    12.425] xorg-server 2:1.20.7-2 (https://www.debian.org/support) 
[    12.425] Current version of pixman: 0.36.0
[    12.425] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    12.425] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    12.426] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Feb 10 18:11:00 2020
[    12.429] (==) Using config file: "/etc/X11/xorg.conf"
[    12.429] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    12.429] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    12.432] (==) No Layout section.  Using the first Screen section.
[    12.432] (==) No screen section available. Using defaults.
[    12.432] (**) |-->Screen "Default Screen Section" (0)
[    12.432] (**) |   |-->Monitor "<default monitor>"
[    12.433] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[    12.433] (**) |   |-->Device "NVIDIA Corporation GF108 [Quadro NVS 5400M]"
[    12.433] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    12.433] (==) Automatically adding devices
[    12.433] (==) Automatically enabling devices
[    12.433] (==) Automatically adding GPU devices
[    12.433] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    12.437] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    12.437] 	Entry deleted from font path.
[    12.439] (==) 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
[    12.439] (**) ModulePath set to "/usr/lib/xorg/modules/linux,/usr/lib/xorg/modules"
[    12.439] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    12.439] (II) Loader magic: 0x55bc16d54e40
[    12.439] (II) Module ABI versions:
[    12.439] 	X.Org ANSI C Emulation: 0.4
[    12.439] 	X.Org Video Driver: 24.1
[    12.439] 	X.Org XInput driver : 24.1
[    12.439] 	X.Org Server Extension : 10.0
[    12.440] (++) using VT number 7

[    12.440] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    12.441] (II) xfree86: Adding drm device (/dev/dri/card0)
[    12.444] (--) PCI:*(1 at 0:0:0) 10de:0def:17aa:21f3 rev 161, Mem @ 0xf2000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x00006000/128, BIOS @ 0x????????/524288
[    12.444] (II) LoadModule: "glx"
[    12.451] (II) Loading /usr/lib/xorg/modules/linux/libglx.so
[    12.506] (II) Module glx: vendor="NVIDIA Corporation"
[    12.506] 	compiled for 4.0.2, module version = 1.0.0
[    12.506] 	Module class: X.Org Server Extension
[    12.507] (II) NVIDIA GLX Module  390.132  Fri Nov  1 04:00:46 PDT 2019
[    12.508] (II) LoadModule: "nvidia"
[    12.515] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    12.522] (II) Module nvidia: vendor="NVIDIA Corporation"
[    12.522] 	compiled for 4.0.2, module version = 1.0.0
[    12.522] 	Module class: X.Org Video Driver
[    12.523] (II) NVIDIA dlloader X Driver  390.132  Fri Nov  1 03:36:28 PDT 2019
[    12.523] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    12.532] (II) Loading sub module "fb"
[    12.532] (II) LoadModule: "fb"
[    12.533] (II) Loading /usr/lib/xorg/modules/libfb.so
[    12.534] (II) Module fb: vendor="X.Org Foundation"
[    12.534] 	compiled for 1.20.7, module version = 1.0.0
[    12.534] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    12.534] (II) Loading sub module "wfb"
[    12.534] (II) LoadModule: "wfb"
[    12.534] (II) Loading /usr/lib/xorg/modules/libwfb.so
[    12.536] (II) Module wfb: vendor="X.Org Foundation"
[    12.536] 	compiled for 1.20.7, module version = 1.0.0
[    12.536] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    12.536] (II) Loading sub module "ramdac"
[    12.536] (II) LoadModule: "ramdac"
[    12.536] (II) Module "ramdac" already built-in
[    12.538] (II) NVIDIA(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    12.538] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[    12.538] (==) NVIDIA(0): RGB weight 888
[    12.538] (==) NVIDIA(0): Default visual is TrueColor
[    12.538] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[    12.539] (**) NVIDIA(0): Option "UseEdidDpi" "false"
[    12.539] (**) NVIDIA(0): Option "DPI" "96 x 96"
[    12.539] (**) NVIDIA(0): Enabling 2D acceleration
[    13.076] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
[    13.076] (--) NVIDIA(0):     CRT-0
[    13.076] (--) NVIDIA(0):     DFP-0 (boot)
[    13.076] (--) NVIDIA(0):     DFP-1
[    13.076] (--) NVIDIA(0):     DFP-2
[    13.076] (--) NVIDIA(0):     DFP-3
[    13.076] (--) NVIDIA(0):     DFP-4
[    13.076] (--) NVIDIA(0):     DFP-5
[    13.076] (--) NVIDIA(0):     DFP-6
[    13.077] (II) NVIDIA(0): NVIDIA GPU NVS 5400M (GF108) at PCI:1:0:0 (GPU-0)
[    13.077] (--) NVIDIA(0): Memory: 1048576 kBytes
[    13.077] (--) NVIDIA(0): VideoBIOS: 70.08.b7.05.01
[    13.077] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[    13.078] (--) NVIDIA(GPU-0): CRT-0: disconnected
[    13.078] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[    13.078] (--) NVIDIA(GPU-0): 
[    13.078] (--) NVIDIA(GPU-0): AU Optronics Corporation (DFP-0): connected
[    13.078] (--) NVIDIA(GPU-0): AU Optronics Corporation (DFP-0): Internal LVDS
[    13.078] (--) NVIDIA(GPU-0): AU Optronics Corporation (DFP-0): 330.0 MHz maximum pixel clock
[    13.078] (--) NVIDIA(GPU-0): 
[    13.079] (--) NVIDIA(GPU-0): DFP-1: disconnected
[    13.079] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[    13.079] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[    13.079] (--) NVIDIA(GPU-0): 
[    13.079] (--) NVIDIA(GPU-0): DFP-2: disconnected
[    13.079] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
[    13.079] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[    13.079] (--) NVIDIA(GPU-0): 
[    13.079] (--) NVIDIA(GPU-0): DFP-3: disconnected
[    13.079] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
[    13.079] (--) NVIDIA(GPU-0): DFP-3: 165.0 MHz maximum pixel clock
[    13.079] (--) NVIDIA(GPU-0): 
[    13.079] (--) NVIDIA(GPU-0): DFP-4: disconnected
[    13.079] (--) NVIDIA(GPU-0): DFP-4: Internal DisplayPort
[    13.079] (--) NVIDIA(GPU-0): DFP-4: 480.0 MHz maximum pixel clock
[    13.079] (--) NVIDIA(GPU-0): 
[    13.079] (--) NVIDIA(GPU-0): DFP-5: disconnected
[    13.079] (--) NVIDIA(GPU-0): DFP-5: Internal DisplayPort
[    13.079] (--) NVIDIA(GPU-0): DFP-5: 480.0 MHz maximum pixel clock
[    13.079] (--) NVIDIA(GPU-0): 
[    13.079] (--) NVIDIA(GPU-0): DFP-6: disconnected
[    13.079] (--) NVIDIA(GPU-0): DFP-6: Internal DisplayPort
[    13.079] (--) NVIDIA(GPU-0): DFP-6: 480.0 MHz maximum pixel clock
[    13.079] (--) NVIDIA(GPU-0): 
[    13.080] (==) NVIDIA(0): 
[    13.080] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[    13.080] (==) NVIDIA(0):     will be used as the requested mode.
[    13.080] (==) NVIDIA(0): 
[    13.080] (II) NVIDIA(0): Validated MetaModes:
[    13.080] (II) NVIDIA(0):     "DFP-0:nvidia-auto-select"
[    13.080] (II) NVIDIA(0): Virtual screen size determined to be 1600 x 900
[    13.082] (**) NVIDIA(0): DPI set to (96, 96); computed from "DPI" X config option
[    13.083] (II) NVIDIA: Using 6144.00 MB of virtual memory for indirect memory
[    13.083] (II) NVIDIA:     access.
[    13.107] (II) NVIDIA(0): Setting mode "DFP-0:nvidia-auto-select"
[    13.931] (==) NVIDIA(0): Disabling shared memory pixmaps
[    13.931] (==) NVIDIA(0): Backing store enabled
[    13.931] (==) NVIDIA(0): Silken mouse enabled
[    13.932] (==) NVIDIA(0): DPMS enabled
[    13.932] (WW) NVIDIA(0): Option "NoLogo" is not used
[    13.932] (II) Loading sub module "dri2"
[    13.932] (II) LoadModule: "dri2"
[    13.932] (II) Module "dri2" already built-in
[    13.932] (II) NVIDIA(0): [DRI2] Setup complete
[    13.932] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[    13.932] (II) Initializing extension Generic Event Extension
[    13.933] (II) Initializing extension SHAPE
[    13.933] (II) Initializing extension MIT-SHM
[    13.933] (II) Initializing extension XInputExtension
[    13.933] (II) Initializing extension XTEST
[    13.933] (II) Initializing extension BIG-REQUESTS
[    13.934] (II) Initializing extension SYNC
[    13.934] (II) Initializing extension XKEYBOARD
[    13.934] (II) Initializing extension XC-MISC
[    13.934] (II) Initializing extension SECURITY
[    13.934] (II) Initializing extension XFIXES
[    13.934] (II) Initializing extension RENDER
[    13.934] (II) Initializing extension RANDR
[    13.934] (II) Initializing extension COMPOSITE
[    13.934] (II) Initializing extension DAMAGE
[    13.934] (II) Initializing extension MIT-SCREEN-SAVER
[    13.934] (II) Initializing extension DOUBLE-BUFFER
[    13.935] (II) Initializing extension RECORD
[    13.935] (II) Initializing extension DPMS
[    13.935] (II) Initializing extension Present
[    13.935] (II) Initializing extension DRI3
[    13.935] (II) Initializing extension X-Resource
[    13.935] (II) Initializing extension XVideo
[    13.935] (II) Initializing extension XVideo-MotionCompensation
[    13.935] (II) Initializing extension SELinux
[    13.935] (II) SELinux: Disabled on system
[    13.935] (II) Initializing extension XFree86-VidModeExtension
[    13.935] (II) Initializing extension XFree86-DGA
[    13.935] (II) Initializing extension XFree86-DRI
[    13.936] (II) Initializing extension DRI2
[    13.936] (II) Initializing extension GLX
[    13.936] (II) Initializing extension GLX
[    13.936] (II) Indirect GLX disabled.
[    13.936] (II) Initializing extension NV-GLX
[    13.936] (II) Initializing extension NV-CONTROL
[    13.936] (II) Initializing extension XINERAMA
[    14.036] (II) config/udev: Adding input device Power Button (/dev/input/event5)
[    14.036] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    14.036] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    14.036] (II) LoadModule: "libinput"
[    14.036] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    14.041] (II) Module libinput: vendor="X.Org Foundation"
[    14.041] 	compiled for 1.20.4, module version = 0.29.0
[    14.041] 	Module class: X.Org XInput Driver
[    14.041] 	ABI class: X.Org XInput driver, version 24.1
[    14.041] (II) Using input driver 'libinput' for 'Power Button'
[    14.041] (**) Power Button: always reports core events
[    14.041] (**) Option "Device" "/dev/input/event5"
[    14.041] (**) Option "_source" "server/udev"
[    14.053] (II) event5  - Power Button: is tagged by udev as: Keyboard
[    14.053] (II) event5  - Power Button: device is a keyboard
[    14.053] (II) event5  - Power Button: device removed
[    14.067] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input6/event5"
[    14.067] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    14.067] (**) Option "xkb_model" "pc104"
[    14.067] (**) Option "xkb_layout" "us"
[    14.067] (**) Option "xkb_options" "compose:prsc"
[    14.091] (II) event5  - Power Button: is tagged by udev as: Keyboard
[    14.091] (II) event5  - Power Button: device is a keyboard
[    14.092] (II) config/udev: Adding input device Video Bus (/dev/input/event6)
[    14.092] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[    14.092] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[    14.092] (II) Using input driver 'libinput' for 'Video Bus'
[    14.092] (**) Video Bus: always reports core events
[    14.092] (**) Option "Device" "/dev/input/event6"
[    14.092] (**) Option "_source" "server/udev"
[    14.093] (II) event6  - Video Bus: is tagged by udev as: Keyboard
[    14.093] (II) event6  - Video Bus: device is a keyboard
[    14.093] (II) event6  - Video Bus: device removed
[    14.115] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:09/LNXVIDEO:01/input/input7/event6"
[    14.115] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[    14.115] (**) Option "xkb_model" "pc104"
[    14.115] (**) Option "xkb_layout" "us"
[    14.115] (**) Option "xkb_options" "compose:prsc"
[    14.118] (II) event6  - Video Bus: is tagged by udev as: Keyboard
[    14.118] (II) event6  - Video Bus: device is a keyboard
[    14.119] (II) config/udev: Adding input device Lid Switch (/dev/input/event3)
[    14.119] (II) No input driver specified, ignoring this device.
[    14.119] (II) This device may have been added with another device file.
[    14.120] (II) config/udev: Adding input device Sleep Button (/dev/input/event4)
[    14.120] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[    14.120] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[    14.120] (II) Using input driver 'libinput' for 'Sleep Button'
[    14.120] (**) Sleep Button: always reports core events
[    14.120] (**) Option "Device" "/dev/input/event4"
[    14.120] (**) Option "_source" "server/udev"
[    14.122] (II) event4  - Sleep Button: is tagged by udev as: Keyboard
[    14.122] (II) event4  - Sleep Button: device is a keyboard
[    14.122] (II) event4  - Sleep Button: device removed
[    14.154] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input5/event4"
[    14.155] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 8)
[    14.155] (**) Option "xkb_model" "pc104"
[    14.155] (**) Option "xkb_layout" "us"
[    14.155] (**) Option "xkb_options" "compose:prsc"
[    14.157] (II) event4  - Sleep Button: is tagged by udev as: Keyboard
[    14.157] (II) event4  - Sleep Button: device is a keyboard
[    14.159] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event15)
[    14.159] (II) No input driver specified, ignoring this device.
[    14.159] (II) This device may have been added with another device file.
[    14.160] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event16)
[    14.160] (II) No input driver specified, ignoring this device.
[    14.160] (II) This device may have been added with another device file.
[    14.160] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event17)
[    14.160] (II) No input driver specified, ignoring this device.
[    14.160] (II) This device may have been added with another device file.
[    14.161] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 (/dev/input/event18)
[    14.161] (II) No input driver specified, ignoring this device.
[    14.161] (II) This device may have been added with another device file.
[    14.163] (II) config/udev: Adding input device B16_b_02 USB-PS/2 Optical Mouse (/dev/input/event14)
[    14.163] (**) B16_b_02 USB-PS/2 Optical Mouse: Applying InputClass "evdev pointer catchall"
[    14.163] (**) B16_b_02 USB-PS/2 Optical Mouse: Applying InputClass "libinput pointer catchall"
[    14.163] (II) Using input driver 'libinput' for 'B16_b_02 USB-PS/2 Optical Mouse'
[    14.163] (**) B16_b_02 USB-PS/2 Optical Mouse: always reports core events
[    14.163] (**) Option "Device" "/dev/input/event14"
[    14.163] (**) Option "_source" "server/udev"
[    14.166] (II) event14 - B16_b_02 USB-PS/2 Optical Mouse: is tagged by udev as: Mouse
[    14.166] (II) event14 - B16_b_02 USB-PS/2 Optical Mouse: device is a pointer
[    14.166] (II) event14 - B16_b_02 USB-PS/2 Optical Mouse: device removed
[    14.203] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.0/0003:046D:C024.0002/input/input15/event14"
[    14.203] (II) XINPUT: Adding extended input device "B16_b_02 USB-PS/2 Optical Mouse" (type: MOUSE, id 9)
[    14.203] (**) Option "AccelerationScheme" "none"
[    14.203] (**) B16_b_02 USB-PS/2 Optical Mouse: (accel) selected scheme none/0
[    14.203] (**) B16_b_02 USB-PS/2 Optical Mouse: (accel) acceleration factor: 2.000
[    14.203] (**) B16_b_02 USB-PS/2 Optical Mouse: (accel) acceleration threshold: 4
[    14.206] (II) event14 - B16_b_02 USB-PS/2 Optical Mouse: is tagged by udev as: Mouse
[    14.207] (II) event14 - B16_b_02 USB-PS/2 Optical Mouse: device is a pointer
[    14.208] (II) config/udev: Adding input device B16_b_02 USB-PS/2 Optical Mouse (/dev/input/mouse2)
[    14.208] (II) No input driver specified, ignoring this device.
[    14.208] (II) This device may have been added with another device file.
[    14.209] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event9)
[    14.209] (II) No input driver specified, ignoring this device.
[    14.209] (II) This device may have been added with another device file.
[    14.210] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event10)
[    14.210] (II) No input driver specified, ignoring this device.
[    14.210] (II) This device may have been added with another device file.
[    14.211] (II) config/udev: Adding input device HDA Intel PCH Dock Mic (/dev/input/event11)
[    14.211] (II) No input driver specified, ignoring this device.
[    14.211] (II) This device may have been added with another device file.
[    14.211] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event12)
[    14.212] (II) No input driver specified, ignoring this device.
[    14.212] (II) This device may have been added with another device file.
[    14.212] (II) config/udev: Adding input device HDA Intel PCH Dock Headphone (/dev/input/event13)
[    14.212] (II) No input driver specified, ignoring this device.
[    14.212] (II) This device may have been added with another device file.
[    14.213] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[    14.213] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[    14.213] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[    14.213] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[    14.213] (**) AT Translated Set 2 keyboard: always reports core events
[    14.213] (**) Option "Device" "/dev/input/event0"
[    14.213] (**) Option "_source" "server/udev"
[    14.215] (II) event0  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[    14.215] (II) event0  - AT Translated Set 2 keyboard: device is a keyboard
[    14.215] (II) event0  - AT Translated Set 2 keyboard: device removed
[    14.230] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
[    14.231] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 10)
[    14.231] (**) Option "xkb_model" "pc104"
[    14.231] (**) Option "xkb_layout" "us"
[    14.231] (**) Option "xkb_options" "compose:prsc"
[    14.232] (II) event0  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[    14.232] (II) event0  - AT Translated Set 2 keyboard: device is a keyboard
[    14.234] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event1)
[    14.234] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
[    14.234] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "libinput touchpad catchall"
[    14.234] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
[    14.234] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "Default clickpad buttons"
[    14.234] (II) LoadModule: "synaptics"
[    14.234] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[    14.236] (II) Module synaptics: vendor="X.Org Foundation"
[    14.236] 	compiled for 1.20.1, module version = 1.9.1
[    14.236] 	Module class: X.Org XInput Driver
[    14.236] 	ABI class: X.Org XInput driver, version 24.1
[    14.236] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
[    14.236] (**) SynPS/2 Synaptics TouchPad: always reports core events
[    14.236] (**) Option "Device" "/dev/input/event1"
[    14.271] (II) synaptics: SynPS/2 Synaptics TouchPad: ignoring touch events for semi-multitouch device
[    14.271] (--) synaptics: SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5470 (res 60)
[    14.271] (--) synaptics: SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4498 (res 85)
[    14.271] (--) synaptics: SynPS/2 Synaptics TouchPad: pressure range 0 - 255
[    14.271] (--) synaptics: SynPS/2 Synaptics TouchPad: finger width range 0 - 15
[    14.271] (--) synaptics: SynPS/2 Synaptics TouchPad: buttons: left right double triple
[    14.271] (--) synaptics: SynPS/2 Synaptics TouchPad: Vendor 0x2 Product 0x7
[    14.271] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[    14.271] (**) SynPS/2 Synaptics TouchPad: always reports core events
[    14.302] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input2/event1"
[    14.302] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 11)
[    14.303] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MinSpeed is now constant deceleration 2.5
[    14.303] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MaxSpeed is now 1.75
[    14.303] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) AccelFactor is now 0.040
[    14.303] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
[    14.303] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 1
[    14.303] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[    14.303] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[    14.303] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[    14.304] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
[    14.304] (**) SynPS/2 Synaptics TouchPad: Ignoring device from InputClass "touchpad ignore duplicates"
[    14.305] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/event2)
[    14.305] (**) TPPS/2 IBM TrackPoint: Applying InputClass "evdev pointer catchall"
[    14.305] (**) TPPS/2 IBM TrackPoint: Applying InputClass "libinput pointer catchall"
[    14.305] (**) TPPS/2 IBM TrackPoint: Applying InputClass "Trackpoint Wheel Emulation"
[    14.305] (II) Using input driver 'libinput' for 'TPPS/2 IBM TrackPoint'
[    14.305] (**) TPPS/2 IBM TrackPoint: always reports core events
[    14.306] (**) Option "Device" "/dev/input/event2"
[    14.306] (**) Option "_source" "server/udev"
[    14.308] (II) event2  - TPPS/2 IBM TrackPoint: is tagged by udev as: Mouse Pointingstick
[    14.309] (II) event2  - TPPS/2 IBM TrackPoint: device is a pointer
[    14.310] (II) event2  - TPPS/2 IBM TrackPoint: device removed
[    14.346] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/serio2/input/input3/event2"
[    14.346] (II) XINPUT: Adding extended input device "TPPS/2 IBM TrackPoint" (type: MOUSE, id 12)
[    14.347] (**) Option "AccelerationScheme" "none"
[    14.347] (**) TPPS/2 IBM TrackPoint: (accel) selected scheme none/0
[    14.347] (**) TPPS/2 IBM TrackPoint: (accel) acceleration factor: 2.000
[    14.347] (**) TPPS/2 IBM TrackPoint: (accel) acceleration threshold: 4
[    14.350] (II) event2  - TPPS/2 IBM TrackPoint: is tagged by udev as: Mouse Pointingstick
[    14.351] (II) event2  - TPPS/2 IBM TrackPoint: device is a pointer
[    14.353] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/mouse1)
[    14.353] (II) No input driver specified, ignoring this device.
[    14.353] (II) This device may have been added with another device file.
[    14.354] (II) config/udev: Adding input device PC Speaker (/dev/input/event8)
[    14.354] (II) No input driver specified, ignoring this device.
[    14.354] (II) This device may have been added with another device file.
[    14.355] (II) config/udev: Adding input device ThinkPad Extra Buttons (/dev/input/event7)
[    14.355] (**) ThinkPad Extra Buttons: Applying InputClass "evdev keyboard catchall"
[    14.355] (**) ThinkPad Extra Buttons: Applying InputClass "libinput keyboard catchall"
[    14.355] (II) Using input driver 'libinput' for 'ThinkPad Extra Buttons'
[    14.356] (**) ThinkPad Extra Buttons: always reports core events
[    14.356] (**) Option "Device" "/dev/input/event7"
[    14.356] (**) Option "_source" "server/udev"
[    14.357] (II) event7  - ThinkPad Extra Buttons: is tagged by udev as: Keyboard Switch
[    14.357] (II) event7  - ThinkPad Extra Buttons: device is a keyboard
[    14.358] (II) event7  - ThinkPad Extra Buttons: device removed
[    14.371] (**) Option "config_info" "udev:/sys/devices/platform/thinkpad_acpi/input/input8/event7"
[    14.371] (II) XINPUT: Adding extended input device "ThinkPad Extra Buttons" (type: KEYBOARD, id 13)
[    14.371] (**) Option "xkb_model" "pc104"
[    14.371] (**) Option "xkb_layout" "us"
[    14.371] (**) Option "xkb_options" "compose:prsc"
[    14.373] (II) event7  - ThinkPad Extra Buttons: is tagged by udev as: Keyboard Switch
[    14.373] (II) event7  - ThinkPad Extra Buttons: device is a keyboard
[    15.478] (--) NVIDIA(GPU-0): CRT-0: disconnected
[    15.478] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[    15.478] (--) NVIDIA(GPU-0): 
[    15.478] (--) NVIDIA(GPU-0): AU Optronics Corporation (DFP-0): connected
[    15.478] (--) NVIDIA(GPU-0): AU Optronics Corporation (DFP-0): Internal LVDS
[    15.478] (--) NVIDIA(GPU-0): AU Optronics Corporation (DFP-0): 330.0 MHz maximum pixel clock
[    15.478] (--) NVIDIA(GPU-0): 
[    15.478] (--) NVIDIA(GPU-0): DFP-1: disconnected
[    15.478] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[    15.478] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[    15.478] (--) NVIDIA(GPU-0): 
[    15.478] (--) NVIDIA(GPU-0): DFP-2: disconnected
[    15.478] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
[    15.478] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[    15.478] (--) NVIDIA(GPU-0): 
[    15.478] (--) NVIDIA(GPU-0): DFP-3: disconnected
[    15.478] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
[    15.478] (--) NVIDIA(GPU-0): DFP-3: 165.0 MHz maximum pixel clock
[    15.478] (--) NVIDIA(GPU-0): 
[    15.478] (--) NVIDIA(GPU-0): DFP-4: disconnected
[    15.478] (--) NVIDIA(GPU-0): DFP-4: Internal DisplayPort
[    15.478] (--) NVIDIA(GPU-0): DFP-4: 480.0 MHz maximum pixel clock
[    15.478] (--) NVIDIA(GPU-0): 
[    15.478] (--) NVIDIA(GPU-0): DFP-5: disconnected
[    15.479] (--) NVIDIA(GPU-0): DFP-5: Internal DisplayPort
[    15.479] (--) NVIDIA(GPU-0): DFP-5: 480.0 MHz maximum pixel clock
[    15.479] (--) NVIDIA(GPU-0): 
[    15.479] (--) NVIDIA(GPU-0): DFP-6: disconnected
[    15.479] (--) NVIDIA(GPU-0): DFP-6: Internal DisplayPort
[    15.479] (--) NVIDIA(GPU-0): DFP-6: 480.0 MHz maximum pixel clock
[    15.479] (--) NVIDIA(GPU-0): 
[    43.068] (--) NVIDIA(GPU-0): CRT-0: disconnected
[    43.068] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[    43.068] (--) NVIDIA(GPU-0): 
[    43.068] (--) NVIDIA(GPU-0): AU Optronics Corporation (DFP-0): connected
[    43.068] (--) NVIDIA(GPU-0): AU Optronics Corporation (DFP-0): Internal LVDS
[    43.068] (--) NVIDIA(GPU-0): AU Optronics Corporation (DFP-0): 330.0 MHz maximum pixel clock
[    43.068] (--) NVIDIA(GPU-0): 
[    43.068] (--) NVIDIA(GPU-0): DFP-1: disconnected
[    43.068] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[    43.068] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[    43.068] (--) NVIDIA(GPU-0): 
[    43.068] (--) NVIDIA(GPU-0): DFP-2: disconnected
[    43.068] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
[    43.069] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[    43.069] (--) NVIDIA(GPU-0): 
[    43.069] (--) NVIDIA(GPU-0): DFP-3: disconnected
[    43.069] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
[    43.069] (--) NVIDIA(GPU-0): DFP-3: 165.0 MHz maximum pixel clock
[    43.069] (--) NVIDIA(GPU-0): 
[    43.069] (--) NVIDIA(GPU-0): DFP-4: disconnected
[    43.069] (--) NVIDIA(GPU-0): DFP-4: Internal DisplayPort
[    43.069] (--) NVIDIA(GPU-0): DFP-4: 480.0 MHz maximum pixel clock
[    43.069] (--) NVIDIA(GPU-0): 
[    43.069] (--) NVIDIA(GPU-0): DFP-5: disconnected
[    43.069] (--) NVIDIA(GPU-0): DFP-5: Internal DisplayPort
[    43.069] (--) NVIDIA(GPU-0): DFP-5: 480.0 MHz maximum pixel clock
[    43.069] (--) NVIDIA(GPU-0): 
[    43.069] (--) NVIDIA(GPU-0): DFP-6: disconnected
[    43.069] (--) NVIDIA(GPU-0): DFP-6: Internal DisplayPort
[    43.069] (--) NVIDIA(GPU-0): DFP-6: 480.0 MHz maximum pixel clock
[    43.069] (--) NVIDIA(GPU-0): 
[   451.561] (--) NVIDIA(GPU-0): CRT-0: disconnected
[   451.561] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[   451.561] (--) NVIDIA(GPU-0): 
[   451.562] (--) NVIDIA(GPU-0): AU Optronics Corporation (DFP-0): connected
[   451.562] (--) NVIDIA(GPU-0): AU Optronics Corporation (DFP-0): Internal LVDS
[   451.562] (--) NVIDIA(GPU-0): AU Optronics Corporation (DFP-0): 330.0 MHz maximum pixel clock
[   451.562] (--) NVIDIA(GPU-0): 
[   451.562] (--) NVIDIA(GPU-0): DFP-1: disconnected
[   451.562] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[   451.562] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[   451.562] (--) NVIDIA(GPU-0): 
[   451.562] (--) NVIDIA(GPU-0): DFP-2: disconnected
[   451.562] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
[   451.562] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[   451.562] (--) NVIDIA(GPU-0): 
[   451.562] (--) NVIDIA(GPU-0): DFP-3: disconnected
[   451.562] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
[   451.562] (--) NVIDIA(GPU-0): DFP-3: 165.0 MHz maximum pixel clock
[   451.562] (--) NVIDIA(GPU-0): 
[   451.562] (--) NVIDIA(GPU-0): DFP-4: disconnected
[   451.562] (--) NVIDIA(GPU-0): DFP-4: Internal DisplayPort
[   451.562] (--) NVIDIA(GPU-0): DFP-4: 480.0 MHz maximum pixel clock
[   451.562] (--) NVIDIA(GPU-0): 
[   451.562] (--) NVIDIA(GPU-0): DFP-5: disconnected
[   451.562] (--) NVIDIA(GPU-0): DFP-5: Internal DisplayPort
[   451.562] (--) NVIDIA(GPU-0): DFP-5: 480.0 MHz maximum pixel clock
[   451.562] (--) NVIDIA(GPU-0): 
[   451.562] (--) NVIDIA(GPU-0): DFP-6: disconnected
[   451.562] (--) NVIDIA(GPU-0): DFP-6: Internal DisplayPort
[   451.562] (--) NVIDIA(GPU-0): DFP-6: 480.0 MHz maximum pixel clock
[   451.562] (--) NVIDIA(GPU-0): 
[   466.245] (--) NVIDIA(GPU-0): CRT-0: disconnected
[   466.245] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[   466.245] (--) NVIDIA(GPU-0): 
[   466.245] (--) NVIDIA(GPU-0): AU Optronics Corporation (DFP-0): connected
[   466.245] (--) NVIDIA(GPU-0): AU Optronics Corporation (DFP-0): Internal LVDS
[   466.245] (--) NVIDIA(GPU-0): AU Optronics Corporation (DFP-0): 330.0 MHz maximum pixel clock
[   466.245] (--) NVIDIA(GPU-0): 
[   466.245] (--) NVIDIA(GPU-0): DFP-1: disconnected
[   466.245] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[   466.245] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[   466.245] (--) NVIDIA(GPU-0): 
[   466.245] (--) NVIDIA(GPU-0): DFP-2: disconnected
[   466.245] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
[   466.245] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[   466.245] (--) NVIDIA(GPU-0): 
[   466.245] (--) NVIDIA(GPU-0): DFP-3: disconnected
[   466.245] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
[   466.245] (--) NVIDIA(GPU-0): DFP-3: 165.0 MHz maximum pixel clock
[   466.246] (--) NVIDIA(GPU-0): 
[   466.246] (--) NVIDIA(GPU-0): DFP-4: disconnected
[   466.246] (--) NVIDIA(GPU-0): DFP-4: Internal DisplayPort
[   466.246] (--) NVIDIA(GPU-0): DFP-4: 480.0 MHz maximum pixel clock
[   466.246] (--) NVIDIA(GPU-0): 
[   466.246] (--) NVIDIA(GPU-0): DFP-5: disconnected
[   466.246] (--) NVIDIA(GPU-0): DFP-5: Internal DisplayPort
[   466.246] (--) NVIDIA(GPU-0): DFP-5: 480.0 MHz maximum pixel clock
[   466.246] (--) NVIDIA(GPU-0): 
[   466.246] (--) NVIDIA(GPU-0): DFP-6: disconnected
[   466.246] (--) NVIDIA(GPU-0): DFP-6: Internal DisplayPort
[   466.246] (--) NVIDIA(GPU-0): DFP-6: 480.0 MHz maximum pixel clock
[   466.246] (--) NVIDIA(GPU-0): 
[   692.706] (--) NVIDIA(GPU-0): CRT-0: disconnected
[   692.706] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[   692.706] (--) NVIDIA(GPU-0): 
[   692.707] (--) NVIDIA(GPU-0): AU Optronics Corporation (DFP-0): connected
[   692.707] (--) NVIDIA(GPU-0): AU Optronics Corporation (DFP-0): Internal LVDS
[   692.707] (--) NVIDIA(GPU-0): AU Optronics Corporation (DFP-0): 330.0 MHz maximum pixel clock
[   692.707] (--) NVIDIA(GPU-0): 
[   692.707] (--) NVIDIA(GPU-0): DFP-1: disconnected
[   692.707] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[   692.707] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[   692.707] (--) NVIDIA(GPU-0): 
[   692.707] (--) NVIDIA(GPU-0): DFP-2: disconnected
[   692.707] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
[   692.707] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[   692.707] (--) NVIDIA(GPU-0): 
[   692.707] (--) NVIDIA(GPU-0): DFP-3: disconnected
[   692.707] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
[   692.707] (--) NVIDIA(GPU-0): DFP-3: 165.0 MHz maximum pixel clock
[   692.707] (--) NVIDIA(GPU-0): 
[   692.707] (--) NVIDIA(GPU-0): DFP-4: disconnected
[   692.707] (--) NVIDIA(GPU-0): DFP-4: Internal DisplayPort
[   692.707] (--) NVIDIA(GPU-0): DFP-4: 480.0 MHz maximum pixel clock
[   692.707] (--) NVIDIA(GPU-0): 
[   692.707] (--) NVIDIA(GPU-0): DFP-5: disconnected
[   692.707] (--) NVIDIA(GPU-0): DFP-5: Internal DisplayPort
[   692.707] (--) NVIDIA(GPU-0): DFP-5: 480.0 MHz maximum pixel clock
[   692.707] (--) NVIDIA(GPU-0): 
[   692.707] (--) NVIDIA(GPU-0): DFP-6: disconnected
[   692.707] (--) NVIDIA(GPU-0): DFP-6: Internal DisplayPort
[   692.707] (--) NVIDIA(GPU-0): DFP-6: 480.0 MHz maximum pixel clock
[   692.707] (--) NVIDIA(GPU-0): 
^^^^^^^^^^ /var/log/Xorg.0.log ^^^^^^^^^^

<<<<<<<<<< /var/log/Xorg.0.log.old >>>>>>>>>>
[    15.934] 
X.Org X Server 1.20.7
X Protocol Version 11, Revision 0
[    15.935] Build Operating System: Linux 4.19.0-6-amd64 x86_64 Debian
[    15.935] Current Operating System: Linux kevinolos 5.5.2 #19 SMP Mon Feb 10 09:11:51 MST 2020 x86_64
[    15.935] Kernel command line: root=UUID=1e0b9587-6c77-4dde-b6d1-c2bd6c48957a ro quiet intel_iommu=on initrd=\EFI\Debian\initrd.img-5.5.2
[    15.935] Build Date: 14 January 2020  10:13:49AM
[    15.935] xorg-server 2:1.20.7-2 (https://www.debian.org/support) 
[    15.935] Current version of pixman: 0.36.0
[    15.935] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    15.935] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    15.935] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Feb 10 17:11:54 2020
[    15.935] (==) Using config file: "/etc/X11/xorg.conf"
[    15.935] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    15.935] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    15.938] (==) No Layout section.  Using the first Screen section.
[    15.938] (==) No screen section available. Using defaults.
[    15.938] (**) |-->Screen "Default Screen Section" (0)
[    15.938] (**) |   |-->Monitor "<default monitor>"
[    15.939] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[    15.939] (**) |   |-->Device "NVIDIA Corporation GF108 [Quadro NVS 5400M]"
[    15.939] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    15.939] (==) Automatically adding devices
[    15.939] (==) Automatically enabling devices
[    15.939] (==) Automatically adding GPU devices
[    15.939] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    15.943] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    15.943] 	Entry deleted from font path.
[    15.944] (==) 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
[    15.944] (**) ModulePath set to "/usr/lib/xorg/modules/linux,/usr/lib/xorg/modules"
[    15.944] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    15.944] (II) Loader magic: 0x55c9b6c76e40
[    15.944] (II) Module ABI versions:
[    15.944] 	X.Org ANSI C Emulation: 0.4
[    15.944] 	X.Org Video Driver: 24.1
[    15.944] 	X.Org XInput driver : 24.1
[    15.944] 	X.Org Server Extension : 10.0
[    15.945] (++) using VT number 7

[    15.945] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    15.946] (II) xfree86: Adding drm device (/dev/dri/card0)
[    15.950] (--) PCI:*(1 at 0:0:0) 10de:0def:17aa:21f3 rev 161, Mem @ 0xf2000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x00006000/128, BIOS @ 0x????????/524288
[    15.950] (II) LoadModule: "glx"
[    15.950] (II) Loading /usr/lib/xorg/modules/linux/libglx.so
[    16.007] (II) Module glx: vendor="NVIDIA Corporation"
[    16.007] 	compiled for 4.0.2, module version = 1.0.0
[    16.007] 	Module class: X.Org Server Extension
[    16.008] (II) NVIDIA GLX Module  390.132  Fri Nov  1 04:00:46 PDT 2019
[    16.009] (II) LoadModule: "nvidia"
[    16.014] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    16.022] (II) Module nvidia: vendor="NVIDIA Corporation"
[    16.022] 	compiled for 4.0.2, module version = 1.0.0
[    16.022] 	Module class: X.Org Video Driver
[    16.023] (II) NVIDIA dlloader X Driver  390.132  Fri Nov  1 03:36:28 PDT 2019
[    16.023] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    16.035] (II) Loading sub module "fb"
[    16.035] (II) LoadModule: "fb"
[    16.035] (II) Loading /usr/lib/xorg/modules/libfb.so
[    16.037] (II) Module fb: vendor="X.Org Foundation"
[    16.037] 	compiled for 1.20.7, module version = 1.0.0
[    16.037] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    16.037] (II) Loading sub module "wfb"
[    16.037] (II) LoadModule: "wfb"
[    16.037] (II) Loading /usr/lib/xorg/modules/libwfb.so
[    16.038] (II) Module wfb: vendor="X.Org Foundation"
[    16.038] 	compiled for 1.20.7, module version = 1.0.0
[    16.038] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    16.038] (II) Loading sub module "ramdac"
[    16.038] (II) LoadModule: "ramdac"
[    16.038] (II) Module "ramdac" already built-in
[    16.041] (II) NVIDIA(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    16.041] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[    16.041] (==) NVIDIA(0): RGB weight 888
[    16.041] (==) NVIDIA(0): Default visual is TrueColor
[    16.041] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[    16.041] (**) NVIDIA(0): Option "UseEdidDpi" "false"
[    16.041] (**) NVIDIA(0): Option "DPI" "96 x 96"
[    16.041] (**) NVIDIA(0): Enabling 2D acceleration
[    16.583] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
[    16.583] (--) NVIDIA(0):     CRT-0
[    16.583] (--) NVIDIA(0):     DFP-0 (boot)
[    16.583] (--) NVIDIA(0):     DFP-1
[    16.583] (--) NVIDIA(0):     DFP-2
[    16.583] (--) NVIDIA(0):     DFP-3
[    16.583] (--) NVIDIA(0):     DFP-4
[    16.583] (--) NVIDIA(0):     DFP-5
[    16.583] (--) NVIDIA(0):     DFP-6
[    16.584] (II) NVIDIA(0): NVIDIA GPU NVS 5400M (GF108) at PCI:1:0:0 (GPU-0)
[    16.584] (--) NVIDIA(0): Memory: 1048576 kBytes
[    16.584] (--) NVIDIA(0): VideoBIOS: 70.08.b7.05.01
[    16.584] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[    16.585] (--) NVIDIA(GPU-0): CRT-0: disconnected
[    16.585] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[    16.585] (--) NVIDIA(GPU-0): 
[    16.585] (--) NVIDIA(GPU-0): AU Optronics Corporation (DFP-0): connected
[    16.585] (--) NVIDIA(GPU-0): AU Optronics Corporation (DFP-0): Internal LVDS
[    16.585] (--) NVIDIA(GPU-0): AU Optronics Corporation (DFP-0): 330.0 MHz maximum pixel clock
[    16.585] (--) NVIDIA(GPU-0): 
[    16.585] (--) NVIDIA(GPU-0): DFP-1: disconnected
[    16.585] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[    16.585] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[    16.585] (--) NVIDIA(GPU-0): 
[    16.585] (--) NVIDIA(GPU-0): DFP-2: disconnected
[    16.585] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
[    16.585] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[    16.585] (--) NVIDIA(GPU-0): 
[    16.586] (--) NVIDIA(GPU-0): DFP-3: disconnected
[    16.586] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
[    16.586] (--) NVIDIA(GPU-0): DFP-3: 165.0 MHz maximum pixel clock
[    16.586] (--) NVIDIA(GPU-0): 
[    16.586] (--) NVIDIA(GPU-0): DFP-4: disconnected
[    16.586] (--) NVIDIA(GPU-0): DFP-4: Internal DisplayPort
[    16.586] (--) NVIDIA(GPU-0): DFP-4: 480.0 MHz maximum pixel clock
[    16.586] (--) NVIDIA(GPU-0): 
[    16.586] (--) NVIDIA(GPU-0): DFP-5: disconnected
[    16.586] (--) NVIDIA(GPU-0): DFP-5: Internal DisplayPort
[    16.586] (--) NVIDIA(GPU-0): DFP-5: 480.0 MHz maximum pixel clock
[    16.586] (--) NVIDIA(GPU-0): 
[    16.586] (--) NVIDIA(GPU-0): DFP-6: disconnected
[    16.586] (--) NVIDIA(GPU-0): DFP-6: Internal DisplayPort
[    16.586] (--) NVIDIA(GPU-0): DFP-6: 480.0 MHz maximum pixel clock
[    16.586] (--) NVIDIA(GPU-0): 
[    16.587] (==) NVIDIA(0): 
[    16.587] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[    16.587] (==) NVIDIA(0):     will be used as the requested mode.
[    16.587] (==) NVIDIA(0): 
[    16.587] (II) NVIDIA(0): Validated MetaModes:
[    16.587] (II) NVIDIA(0):     "DFP-0:nvidia-auto-select"
[    16.587] (II) NVIDIA(0): Virtual screen size determined to be 1600 x 900
[    16.589] (**) NVIDIA(0): DPI set to (96, 96); computed from "DPI" X config option
[    16.589] (II) NVIDIA: Using 6144.00 MB of virtual memory for indirect memory
[    16.589] (II) NVIDIA:     access.
[    16.613] (II) NVIDIA(0): Setting mode "DFP-0:nvidia-auto-select"
[    17.423] (==) NVIDIA(0): Disabling shared memory pixmaps
[    17.423] (==) NVIDIA(0): Backing store enabled
[    17.423] (==) NVIDIA(0): Silken mouse enabled
[    17.424] (==) NVIDIA(0): DPMS enabled
[    17.424] (WW) NVIDIA(0): Option "NoLogo" is not used
[    17.424] (II) Loading sub module "dri2"
[    17.424] (II) LoadModule: "dri2"
[    17.424] (II) Module "dri2" already built-in
[    17.424] (II) NVIDIA(0): [DRI2] Setup complete
[    17.424] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[    17.424] (II) Initializing extension Generic Event Extension
[    17.424] (II) Initializing extension SHAPE
[    17.424] (II) Initializing extension MIT-SHM
[    17.424] (II) Initializing extension XInputExtension
[    17.425] (II) Initializing extension XTEST
[    17.425] (II) Initializing extension BIG-REQUESTS
[    17.425] (II) Initializing extension SYNC
[    17.426] (II) Initializing extension XKEYBOARD
[    17.426] (II) Initializing extension XC-MISC
[    17.426] (II) Initializing extension SECURITY
[    17.426] (II) Initializing extension XFIXES
[    17.426] (II) Initializing extension RENDER
[    17.426] (II) Initializing extension RANDR
[    17.426] (II) Initializing extension COMPOSITE
[    17.426] (II) Initializing extension DAMAGE
[    17.426] (II) Initializing extension MIT-SCREEN-SAVER
[    17.426] (II) Initializing extension DOUBLE-BUFFER
[    17.427] (II) Initializing extension RECORD
[    17.427] (II) Initializing extension DPMS
[    17.427] (II) Initializing extension Present
[    17.427] (II) Initializing extension DRI3
[    17.427] (II) Initializing extension X-Resource
[    17.427] (II) Initializing extension XVideo
[    17.427] (II) Initializing extension XVideo-MotionCompensation
[    17.427] (II) Initializing extension SELinux
[    17.427] (II) SELinux: Disabled on system
[    17.427] (II) Initializing extension XFree86-VidModeExtension
[    17.427] (II) Initializing extension XFree86-DGA
[    17.427] (II) Initializing extension XFree86-DRI
[    17.428] (II) Initializing extension DRI2
[    17.428] (II) Initializing extension GLX
[    17.428] (II) Initializing extension GLX
[    17.428] (II) Indirect GLX disabled.
[    17.428] (II) Initializing extension NV-GLX
[    17.428] (II) Initializing extension NV-CONTROL
[    17.428] (II) Initializing extension XINERAMA
[    17.526] (II) config/udev: Adding input device Power Button (/dev/input/event5)
[    17.526] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    17.526] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    17.526] (II) LoadModule: "libinput"
[    17.526] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    17.531] (II) Module libinput: vendor="X.Org Foundation"
[    17.531] 	compiled for 1.20.4, module version = 0.29.0
[    17.531] 	Module class: X.Org XInput Driver
[    17.531] 	ABI class: X.Org XInput driver, version 24.1
[    17.531] (II) Using input driver 'libinput' for 'Power Button'
[    17.531] (**) Power Button: always reports core events
[    17.531] (**) Option "Device" "/dev/input/event5"
[    17.532] (**) Option "_source" "server/udev"
[    17.538] (II) event5  - Power Button: is tagged by udev as: Keyboard
[    17.538] (II) event5  - Power Button: device is a keyboard
[    17.538] (II) event5  - Power Button: device removed
[    17.559] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input6/event5"
[    17.559] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    17.559] (**) Option "xkb_model" "pc104"
[    17.559] (**) Option "xkb_layout" "us"
[    17.559] (**) Option "xkb_options" "compose:prsc"
[    17.581] (II) event5  - Power Button: is tagged by udev as: Keyboard
[    17.581] (II) event5  - Power Button: device is a keyboard
[    17.581] (II) config/udev: Adding input device Video Bus (/dev/input/event6)
[    17.581] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[    17.581] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[    17.581] (II) Using input driver 'libinput' for 'Video Bus'
[    17.581] (**) Video Bus: always reports core events
[    17.581] (**) Option "Device" "/dev/input/event6"
[    17.581] (**) Option "_source" "server/udev"
[    17.582] (II) event6  - Video Bus: is tagged by udev as: Keyboard
[    17.582] (II) event6  - Video Bus: device is a keyboard
[    17.583] (II) event6  - Video Bus: device removed
[    17.598] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:09/LNXVIDEO:01/input/input7/event6"
[    17.598] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[    17.599] (**) Option "xkb_model" "pc104"
[    17.599] (**) Option "xkb_layout" "us"
[    17.599] (**) Option "xkb_options" "compose:prsc"
[    17.601] (II) event6  - Video Bus: is tagged by udev as: Keyboard
[    17.601] (II) event6  - Video Bus: device is a keyboard
[    17.601] (II) config/udev: Adding input device Lid Switch (/dev/input/event3)
[    17.601] (II) No input driver specified, ignoring this device.
[    17.601] (II) This device may have been added with another device file.
[    17.602] (II) config/udev: Adding input device Sleep Button (/dev/input/event4)
[    17.602] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[    17.602] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[    17.602] (II) Using input driver 'libinput' for 'Sleep Button'
[    17.602] (**) Sleep Button: always reports core events
[    17.602] (**) Option "Device" "/dev/input/event4"
[    17.602] (**) Option "_source" "server/udev"
[    17.603] (II) event4  - Sleep Button: is tagged by udev as: Keyboard
[    17.603] (II) event4  - Sleep Button: device is a keyboard
[    17.603] (II) event4  - Sleep Button: device removed
[    17.634] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input5/event4"
[    17.635] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 8)
[    17.635] (**) Option "xkb_model" "pc104"
[    17.635] (**) Option "xkb_layout" "us"
[    17.635] (**) Option "xkb_options" "compose:prsc"
[    17.637] (II) event4  - Sleep Button: is tagged by udev as: Keyboard
[    17.637] (II) event4  - Sleep Button: device is a keyboard
[    17.639] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event15)
[    17.639] (II) No input driver specified, ignoring this device.
[    17.639] (II) This device may have been added with another device file.
[    17.640] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event16)
[    17.640] (II) No input driver specified, ignoring this device.
[    17.640] (II) This device may have been added with another device file.
[    17.640] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event17)
[    17.641] (II) No input driver specified, ignoring this device.
[    17.641] (II) This device may have been added with another device file.
[    17.641] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 (/dev/input/event18)
[    17.641] (II) No input driver specified, ignoring this device.
[    17.641] (II) This device may have been added with another device file.
[    17.643] (II) config/udev: Adding input device B16_b_02 USB-PS/2 Optical Mouse (/dev/input/event14)
[    17.643] (**) B16_b_02 USB-PS/2 Optical Mouse: Applying InputClass "evdev pointer catchall"
[    17.643] (**) B16_b_02 USB-PS/2 Optical Mouse: Applying InputClass "libinput pointer catchall"
[    17.643] (II) Using input driver 'libinput' for 'B16_b_02 USB-PS/2 Optical Mouse'
[    17.643] (**) B16_b_02 USB-PS/2 Optical Mouse: always reports core events
[    17.643] (**) Option "Device" "/dev/input/event14"
[    17.643] (**) Option "_source" "server/udev"
[    17.644] (II) event14 - B16_b_02 USB-PS/2 Optical Mouse: is tagged by udev as: Mouse
[    17.644] (II) event14 - B16_b_02 USB-PS/2 Optical Mouse: device is a pointer
[    17.644] (II) event14 - B16_b_02 USB-PS/2 Optical Mouse: device removed
[    17.674] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.0/0003:046D:C024.0002/input/input16/event14"
[    17.675] (II) XINPUT: Adding extended input device "B16_b_02 USB-PS/2 Optical Mouse" (type: MOUSE, id 9)
[    17.675] (**) Option "AccelerationScheme" "none"
[    17.675] (**) B16_b_02 USB-PS/2 Optical Mouse: (accel) selected scheme none/0
[    17.675] (**) B16_b_02 USB-PS/2 Optical Mouse: (accel) acceleration factor: 2.000
[    17.675] (**) B16_b_02 USB-PS/2 Optical Mouse: (accel) acceleration threshold: 4
[    17.678] (II) event14 - B16_b_02 USB-PS/2 Optical Mouse: is tagged by udev as: Mouse
[    17.678] (II) event14 - B16_b_02 USB-PS/2 Optical Mouse: device is a pointer
[    17.680] (II) config/udev: Adding input device B16_b_02 USB-PS/2 Optical Mouse (/dev/input/mouse2)
[    17.680] (II) No input driver specified, ignoring this device.
[    17.680] (II) This device may have been added with another device file.
[    17.680] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event9)
[    17.680] (II) No input driver specified, ignoring this device.
[    17.681] (II) This device may have been added with another device file.
[    17.681] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event10)
[    17.681] (II) No input driver specified, ignoring this device.
[    17.681] (II) This device may have been added with another device file.
[    17.682] (II) config/udev: Adding input device HDA Intel PCH Dock Mic (/dev/input/event11)
[    17.682] (II) No input driver specified, ignoring this device.
[    17.682] (II) This device may have been added with another device file.
[    17.683] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event12)
[    17.683] (II) No input driver specified, ignoring this device.
[    17.683] (II) This device may have been added with another device file.
[    17.683] (II) config/udev: Adding input device HDA Intel PCH Dock Headphone (/dev/input/event13)
[    17.683] (II) No input driver specified, ignoring this device.
[    17.683] (II) This device may have been added with another device file.
[    17.684] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[    17.684] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[    17.684] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[    17.684] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[    17.684] (**) AT Translated Set 2 keyboard: always reports core events
[    17.684] (**) Option "Device" "/dev/input/event0"
[    17.684] (**) Option "_source" "server/udev"
[    17.686] (II) event0  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[    17.686] (II) event0  - AT Translated Set 2 keyboard: device is a keyboard
[    17.687] (II) event0  - AT Translated Set 2 keyboard: device removed
[    17.711] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
[    17.711] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 10)
[    17.711] (**) Option "xkb_model" "pc104"
[    17.711] (**) Option "xkb_layout" "us"
[    17.711] (**) Option "xkb_options" "compose:prsc"
[    17.714] (II) event0  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[    17.714] (II) event0  - AT Translated Set 2 keyboard: device is a keyboard
[    17.716] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event1)
[    17.716] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
[    17.716] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "libinput touchpad catchall"
[    17.716] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
[    17.716] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "Default clickpad buttons"
[    17.716] (II) LoadModule: "synaptics"
[    17.716] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[    17.718] (II) Module synaptics: vendor="X.Org Foundation"
[    17.718] 	compiled for 1.20.1, module version = 1.9.1
[    17.718] 	Module class: X.Org XInput Driver
[    17.718] 	ABI class: X.Org XInput driver, version 24.1
[    17.718] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
[    17.718] (**) SynPS/2 Synaptics TouchPad: always reports core events
[    17.718] (**) Option "Device" "/dev/input/event1"
[    17.759] (II) synaptics: SynPS/2 Synaptics TouchPad: ignoring touch events for semi-multitouch device
[    17.759] (--) synaptics: SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5470 (res 60)
[    17.759] (--) synaptics: SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4498 (res 85)
[    17.759] (--) synaptics: SynPS/2 Synaptics TouchPad: pressure range 0 - 255
[    17.759] (--) synaptics: SynPS/2 Synaptics TouchPad: finger width range 0 - 15
[    17.759] (--) synaptics: SynPS/2 Synaptics TouchPad: buttons: left right double triple
[    17.759] (--) synaptics: SynPS/2 Synaptics TouchPad: Vendor 0x2 Product 0x7
[    17.759] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[    17.759] (**) SynPS/2 Synaptics TouchPad: always reports core events
[    17.790] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input2/event1"
[    17.790] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 11)
[    17.791] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MinSpeed is now constant deceleration 2.5
[    17.791] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MaxSpeed is now 1.75
[    17.791] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) AccelFactor is now 0.040
[    17.791] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
[    17.791] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 1
[    17.791] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[    17.791] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[    17.791] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[    17.792] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
[    17.792] (**) SynPS/2 Synaptics TouchPad: Ignoring device from InputClass "touchpad ignore duplicates"
[    17.793] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/event2)
[    17.793] (**) TPPS/2 IBM TrackPoint: Applying InputClass "evdev pointer catchall"
[    17.793] (**) TPPS/2 IBM TrackPoint: Applying InputClass "libinput pointer catchall"
[    17.793] (**) TPPS/2 IBM TrackPoint: Applying InputClass "Trackpoint Wheel Emulation"
[    17.794] (II) Using input driver 'libinput' for 'TPPS/2 IBM TrackPoint'
[    17.794] (**) TPPS/2 IBM TrackPoint: always reports core events
[    17.794] (**) Option "Device" "/dev/input/event2"
[    17.794] (**) Option "_source" "server/udev"
[    17.796] (II) event2  - TPPS/2 IBM TrackPoint: is tagged by udev as: Mouse Pointingstick
[    17.797] (II) event2  - TPPS/2 IBM TrackPoint: device is a pointer
[    17.798] (II) event2  - TPPS/2 IBM TrackPoint: device removed
[    17.830] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/serio2/input/input3/event2"
[    17.830] (II) XINPUT: Adding extended input device "TPPS/2 IBM TrackPoint" (type: MOUSE, id 12)
[    17.831] (**) Option "AccelerationScheme" "none"
[    17.831] (**) TPPS/2 IBM TrackPoint: (accel) selected scheme none/0
[    17.831] (**) TPPS/2 IBM TrackPoint: (accel) acceleration factor: 2.000
[    17.831] (**) TPPS/2 IBM TrackPoint: (accel) acceleration threshold: 4
[    17.834] (II) event2  - TPPS/2 IBM TrackPoint: is tagged by udev as: Mouse Pointingstick
[    17.835] (II) event2  - TPPS/2 IBM TrackPoint: device is a pointer
[    17.837] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/mouse1)
[    17.837] (II) No input driver specified, ignoring this device.
[    17.837] (II) This device may have been added with another device file.
[    17.837] (II) config/udev: Adding input device PC Speaker (/dev/input/event8)
[    17.837] (II) No input driver specified, ignoring this device.
[    17.838] (II) This device may have been added with another device file.
[    17.839] (II) config/udev: Adding input device ThinkPad Extra Buttons (/dev/input/event7)
[    17.839] (**) ThinkPad Extra Buttons: Applying InputClass "evdev keyboard catchall"
[    17.839] (**) ThinkPad Extra Buttons: Applying InputClass "libinput keyboard catchall"
[    17.839] (II) Using input driver 'libinput' for 'ThinkPad Extra Buttons'
[    17.839] (**) ThinkPad Extra Buttons: always reports core events
[    17.839] (**) Option "Device" "/dev/input/event7"
[    17.839] (**) Option "_source" "server/udev"
[    17.841] (II) event7  - ThinkPad Extra Buttons: is tagged by udev as: Keyboard Switch
[    17.841] (II) event7  - ThinkPad Extra Buttons: device is a keyboard
[    17.841] (II) event7  - ThinkPad Extra Buttons: device removed
[    17.854] (**) Option "config_info" "udev:/sys/devices/platform/thinkpad_acpi/input/input8/event7"
[    17.854] (II) XINPUT: Adding extended input device "ThinkPad Extra Buttons" (type: KEYBOARD, id 13)
[    17.854] (**) Option "xkb_model" "pc104"
[    17.855] (**) Option "xkb_layout" "us"
[    17.855] (**) Option "xkb_options" "compose:prsc"
[    17.856] (II) event7  - ThinkPad Extra Buttons: is tagged by udev as: Keyboard Switch
[    17.856] (II) event7  - ThinkPad Extra Buttons: device is a keyboard
[    18.957] (--) NVIDIA(GPU-0): CRT-0: disconnected
[    18.957] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[    18.957] (--) NVIDIA(GPU-0): 
[    18.957] (--) NVIDIA(GPU-0): AU Optronics Corporation (DFP-0): connected
[    18.957] (--) NVIDIA(GPU-0): AU Optronics Corporation (DFP-0): Internal LVDS
[    18.957] (--) NVIDIA(GPU-0): AU Optronics Corporation (DFP-0): 330.0 MHz maximum pixel clock
[    18.957] (--) NVIDIA(GPU-0): 
[    18.957] (--) NVIDIA(GPU-0): DFP-1: disconnected
[    18.957] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[    18.957] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[    18.957] (--) NVIDIA(GPU-0): 
[    18.957] (--) NVIDIA(GPU-0): DFP-2: disconnected
[    18.957] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
[    18.957] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[    18.957] (--) NVIDIA(GPU-0): 
[    18.957] (--) NVIDIA(GPU-0): DFP-3: disconnected
[    18.958] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
[    18.958] (--) NVIDIA(GPU-0): DFP-3: 165.0 MHz maximum pixel clock
[    18.958] (--) NVIDIA(GPU-0): 
[    18.958] (--) NVIDIA(GPU-0): DFP-4: disconnected
[    18.958] (--) NVIDIA(GPU-0): DFP-4: Internal DisplayPort
[    18.958] (--) NVIDIA(GPU-0): DFP-4: 480.0 MHz maximum pixel clock
[    18.958] (--) NVIDIA(GPU-0): 
[    18.958] (--) NVIDIA(GPU-0): DFP-5: disconnected
[    18.958] (--) NVIDIA(GPU-0): DFP-5: Internal DisplayPort
[    18.958] (--) NVIDIA(GPU-0): DFP-5: 480.0 MHz maximum pixel clock
[    18.958] (--) NVIDIA(GPU-0): 
[    18.958] (--) NVIDIA(GPU-0): DFP-6: disconnected
[    18.958] (--) NVIDIA(GPU-0): DFP-6: Internal DisplayPort
[    18.958] (--) NVIDIA(GPU-0): DFP-6: 480.0 MHz maximum pixel clock
[    18.958] (--) NVIDIA(GPU-0): 
[    35.273] (II) event5  - Power Button: device removed
[    35.300] (II) event6  - Video Bus: device removed
[    35.330] (II) event4  - Sleep Button: device removed
[    35.358] (II) event14 - B16_b_02 USB-PS/2 Optical Mouse: device removed
[    35.391] (II) event0  - AT Translated Set 2 keyboard: device removed
[    35.446] (II) event2  - TPPS/2 IBM TrackPoint: device removed
[    35.486] (II) event7  - ThinkPad Extra Buttons: device removed
[    35.546] (II) UnloadModule: "libinput"
[    35.546] (II) UnloadModule: "libinput"
[    35.546] (II) UnloadModule: "synaptics"
[    35.546] (II) UnloadModule: "libinput"
[    35.546] (II) UnloadModule: "libinput"
[    35.546] (II) UnloadModule: "libinput"
[    35.546] (II) UnloadModule: "libinput"
[    35.547] (II) UnloadModule: "libinput"
[    36.397] (II) NVIDIA(GPU-0): Deleting GPU-0
[    36.401] (II) Server terminated successfully (0). Closing log file.
^^^^^^^^^^ /var/log/Xorg.0.log.old ^^^^^^^^^^

<<<<<<<<<< Xorg (journald) >>>>>>>>>>
-- Logs begin at Tue 2020-02-04 07:58:12 MST, end at Mon 2020-02-10 18:29:15 MST. --
-- No entries --
^^^^^^^^^^ Xorg (journald) ^^^^^^^^^^

Kernel modules: nvidia.ko
/lib/modules/5.4.6/nvidia/nvidia-legacy-390xx-modeset.ko
/lib/modules/5.4.6/nvidia/nvidia-legacy-390xx-drm.ko
/lib/modules/5.4.6/nvidia/nvidia-legacy-390xx.ko
/lib/modules/5.4.6/nvidia/nvidia-legacy-390xx-uvm.ko
/lib/modules/5.5.2/nvidia/nvidia-legacy-390xx-modeset.ko
/lib/modules/5.5.2/nvidia/nvidia-legacy-390xx-drm.ko
/lib/modules/5.5.2/nvidia/nvidia-legacy-390xx.ko
/lib/modules/5.5.2/nvidia/nvidia-legacy-390xx-uvm.ko

filename:       /lib/modules/5.4.6/nvidia/nvidia-legacy-390xx-modeset.ko
version:        390.132
supported:      external
license:        NVIDIA
srcversion:     4AE485A065E71D9C1A2BE01
depends:        nvidia
retpoline:      Y
name:           nvidia_modeset
vermagic:       5.4.6 SMP mod_unload modversions 
sig_id:         PKCS#7
signer:         Build time autogenerated kernel key
sig_key:        59:02:8A:0C:D6:E2:C4:07:E0:DC:BF:72:2B:9A:CD:19:EB:3E:21:C8
sig_hashalgo:   sha256
signature:      69:9B:26:8E:7C:EC:1E:39:7A:FF:C8:46:EF:8F:00:F1:B8:45:A3:B9:
		7B:E2:78:23:E2:48:79:B6:DF:FA:1A:4B:C3:63:6C:1C:D3:46:1F:63:
		61:09:F0:7F:C1:6E:6E:39:83:0B:20:9D:10:97:8E:FB:68:9D:AF:5E:
		28:DA:A0:F3:D6:50:78:11:B7:B9:42:C1:9D:39:0B:93:E8:33:DE:EC:
		41:99:1E:03:C0:CD:A5:2E:58:D7:32:1A:31:6D:0B:7F:3C:32:DD:C8:
		51:71:4D:3E:D7:E4:29:0E:B8:DF:15:D7:67:00:B8:BE:F3:F4:02:13:
		7B:0C:60:AF:B9:BF:43:29:8C:20:95:02:2C:DB:73:39:6F:44:6E:3A:
		DD:2D:4F:B2:7F:33:7B:90:25:BE:11:61:28:55:FF:03:D8:B6:E7:C0:
		A1:F5:9C:63:E1:FA:C4:7B:93:6C:5B:98:E6:CD:8C:AD:F5:6B:02:39:
		48:BD:C9:4A:84:D2:42:01:F8:83:BB:9F:F0:6D:9E:8B:37:58:42:92:
		A0:18:49:5B:50:3E:C8:FA:D8:AE:79:D7:60:0C:3F:9A:3D:4D:7F:0E:
		0F:1B:F3:04:6C:16:10:B8:31:E1:15:0F:55:43:79:25:93:CA:70:48:
		81:A9:92:AF:57:40:C0:33:DF:DA:F2:0E:5D:56:B6:B8:D2:C9:02:65:
		BD:C7:FA:68:62:DD:F0:E9:9F:84:E6:EB:C9:B4:01:D8:EE:E0:D3:33:
		0E:B9:F2:BA:43:67:86:86:5C:42:F4:27:A6:05:3F:AA:80:77:BA:D2:
		9C:FA:A6:57:01:05:AF:C0:03:56:1C:36:EC:87:09:EE:2C:E2:0C:AB:
		FC:A1:7F:AD:99:FF:EE:05:5C:2F:EC:3E:B5:BE:82:AD:69:41:2D:4A:
		0B:98:02:AD:01:AB:9F:AF:74:F3:2C:30:F4:1E:7A:CF:8B:70:BA:17:
		9B:3C:07:1C:26:45:E2:1B:88:13:7C:02:2D:61:8B:E8:6B:A2:A5:EB:
		2D:D4:19:28:D2:E7:AF:27:0F:6B:03:49:C1:F2:2B:0F:43:29:94:27:
		61:8B:9B:C3:0E:47:2E:EB:6E:8E:D6:FD:86:E4:21:2B:FE:7B:DB:58:
		6C:66:A5:B6:1D:25:1E:51:99:96:98:16:EE:62:44:01:B8:1D:FC:D1:
		36:5B:77:A2:AA:1E:0E:D5:50:14:B7:CC:40:0F:E0:02:28:F2:0A:0A:
		38:35:EE:32:27:B8:D8:B4:3E:74:C8:39:EF:88:B1:4A:E3:D0:4E:A2:
		22:6C:5B:D1:9E:1F:25:18:E2:03:BD:EF:E9:C3:2E:B0:AF:A5:DE:99:
		E4:BF:3B:BE:55:38:77:CD:81:C2:28:FF
filename:       /lib/modules/5.4.6/nvidia/nvidia-legacy-390xx-drm.ko
version:        390.132
supported:      external
license:        MIT
srcversion:     05607B2DC62B90A260B4456
alias:          pci:v000010DEd00000E00sv*sd*bc04sc80i00*
alias:          pci:v000010DEd*sv*sd*bc03sc02i00*
alias:          pci:v000010DEd*sv*sd*bc03sc00i00*
depends:        drm,drm_kms_helper,nvidia-modeset
retpoline:      Y
name:           nvidia_drm
vermagic:       5.4.6 SMP mod_unload modversions 
sig_id:         PKCS#7
signer:         Build time autogenerated kernel key
sig_key:        59:02:8A:0C:D6:E2:C4:07:E0:DC:BF:72:2B:9A:CD:19:EB:3E:21:C8
sig_hashalgo:   sha256
signature:      30:85:47:0D:DC:BC:68:BD:2D:21:0A:17:3A:F2:79:AF:4C:44:B2:F0:
		74:E2:79:A9:F3:B0:8B:97:38:D1:C7:4B:5D:43:0D:7D:62:82:0E:ED:
		EC:02:DF:BE:98:B4:50:D0:F4:FB:61:CA:5A:AB:0E:7C:D9:27:50:E8:
		F3:6D:E9:C3:17:1B:62:29:A5:EF:F1:70:AB:AF:A7:8F:04:92:E9:ED:
		5F:BD:01:85:DB:C5:89:E2:9A:76:02:0B:75:14:2D:D1:FD:7A:01:9D:
		47:9B:55:2D:4F:D4:96:F0:D2:8B:EF:10:41:F9:32:20:DB:BC:40:3F:
		95:87:74:06:1A:56:CF:36:15:8B:81:0E:4F:18:73:EB:69:47:60:3B:
		F9:F2:1B:7E:CE:0B:A8:CA:EB:C3:B1:29:68:FC:A1:48:DC:79:BC:87:
		84:1A:BE:92:89:5E:35:D0:F0:77:55:26:A1:F7:E1:96:E5:AC:C2:89:
		5D:AF:E1:1A:9E:08:31:7E:E0:DE:51:E3:92:55:0D:AB:2F:D6:30:A1:
		2E:F7:F9:46:A9:9D:53:E4:FC:68:B6:1B:F0:E2:BC:92:B9:88:ED:EE:
		88:A8:D0:BF:FD:6D:B7:37:83:22:EF:7F:3D:AE:84:66:F6:5E:A9:91:
		D0:BA:85:EE:38:6A:13:2C:79:42:33:7A:46:7E:7D:5D:4D:B3:62:FB:
		C5:5D:CE:BE:CC:4A:C3:62:99:F0:ED:BB:09:9F:64:3C:7D:3E:B1:F6:
		1A:D5:3C:64:4F:6C:81:D4:FB:C1:0D:9F:81:63:C6:49:E8:D6:0B:48:
		19:ED:5A:C8:41:55:B7:4F:19:57:66:05:2A:D5:CA:FA:C6:CB:B6:9B:
		E1:E7:C0:EA:2A:A2:B3:2B:92:45:D1:51:C8:1F:2D:7C:1A:B0:8B:CE:
		5D:4C:86:ED:12:60:25:C7:B9:5B:C1:4B:45:7E:60:29:6D:34:52:F3:
		D2:B1:1B:F0:4C:2A:38:42:E4:25:C2:AF:E2:0D:86:F5:6E:6D:90:7A:
		AA:7E:20:41:E9:B4:B6:22:4A:38:0B:9E:0C:05:51:4C:C3:04:B1:09:
		F9:8A:7D:B6:FB:C2:C1:0C:97:50:22:81:BF:10:6A:E4:C8:B5:F7:66:
		92:D3:9F:E8:6D:80:D0:9C:08:3F:7D:D7:C3:8F:81:7D:27:66:7D:35:
		3F:D3:45:94:8C:13:CD:79:DC:9A:AC:09:8D:A3:C0:B7:C5:AD:64:7A:
		96:2E:BE:0A:70:C5:62:47:E1:90:BB:66:DA:EB:16:D1:68:95:DC:0D:
		2F:B8:E9:D4:77:73:D8:70:DF:3E:69:C7:6E:BC:A6:9D:23:ED:5E:17:
		2F:7B:56:6C:90:74:44:42:57:BB:F3:4B
filename:       /lib/modules/5.4.6/nvidia/nvidia-legacy-390xx.ko
alias:          char-major-195-*
version:        390.132
supported:      external
license:        NVIDIA
srcversion:     C9CBE920F0195665AFA8A5C
alias:          pci:v000010DEd00000E00sv*sd*bc04sc80i00*
alias:          pci:v000010DEd*sv*sd*bc03sc02i00*
alias:          pci:v000010DEd*sv*sd*bc03sc00i00*
depends:        ipmi_msghandler
retpoline:      Y
name:           nvidia
vermagic:       5.4.6 SMP mod_unload modversions 
sig_id:         PKCS#7
signer:         Build time autogenerated kernel key
sig_key:        59:02:8A:0C:D6:E2:C4:07:E0:DC:BF:72:2B:9A:CD:19:EB:3E:21:C8
sig_hashalgo:   sha256
signature:      62:A1:67:CF:F6:38:5C:D9:B4:D8:6D:CD:99:2C:85:54:39:9D:19:5E:
		F6:58:AE:8D:2D:8F:42:B6:F1:10:2E:2A:C5:E4:45:CF:B5:EB:6A:A8:
		D1:CE:0F:4F:28:54:05:90:96:FF:8B:61:30:B3:FF:0C:0B:38:FE:46:
		80:80:52:5C:52:CE:D2:8D:8C:3B:08:60:91:4A:95:32:E6:D8:DD:7E:
		28:A7:77:5A:68:B5:5E:77:43:17:84:50:48:5E:B5:B5:83:01:28:B0:
		22:91:05:55:04:7A:7E:8F:B8:2C:CB:D1:49:BD:31:D3:C6:51:11:3F:
		99:B4:06:A9:09:BB:61:74:AD:65:59:82:79:98:8B:4D:24:ED:ED:F6:
		2E:71:F5:32:5C:BB:0B:71:56:1B:D1:39:1F:AC:6E:91:02:8B:3D:B1:
		5A:67:E5:67:D1:14:C7:01:77:2F:69:2B:26:52:42:DA:0A:6F:E4:C3:
		07:E2:F1:A8:DD:2F:75:07:88:D5:BC:C7:1E:72:60:66:DF:A4:85:D6:
		1F:1D:5F:A1:43:51:51:D4:76:5A:63:CA:BA:99:90:ED:32:4C:46:53:
		B6:75:3F:A6:34:3A:48:28:2F:05:75:09:1B:34:92:48:E6:3A:45:91:
		BE:EF:85:AB:CB:CA:6F:B7:8D:02:F6:41:F1:16:64:E9:52:49:4D:D7:
		A6:E1:CC:8A:D0:97:BB:EB:F6:81:18:6D:E0:CD:3C:4E:0D:19:3E:9E:
		E0:C1:D1:E7:CD:6E:F8:9F:71:94:44:D9:F8:FB:FA:A1:CD:C4:B2:5F:
		9F:15:1A:FB:3E:F4:83:D2:FB:2B:9C:62:0A:87:04:80:D3:9F:7D:91:
		D2:B5:00:AA:26:A7:D4:C2:54:A3:B8:D0:91:61:F1:45:61:68:1B:BF:
		12:26:0A:8E:BC:BF:B6:6E:26:E4:83:D5:75:BF:2C:BD:5A:BA:2F:F9:
		4B:DC:56:24:BF:A0:C9:C5:16:C0:32:88:56:91:1E:AA:A7:71:F4:CB:
		2E:25:E3:11:BB:A2:0E:F2:42:F9:A0:90:6A:E0:9F:12:A6:7C:79:E2:
		F6:30:00:DA:F5:9D:F6:C0:23:C5:78:03:06:27:D1:60:51:85:64:0E:
		C1:17:22:37:FD:DD:23:B2:48:EE:2D:29:10:CD:8C:A0:50:97:39:91:
		51:69:DB:5D:10:42:80:EA:D5:D7:BC:F6:91:6D:FE:4A:B3:A4:7D:8A:
		FA:AA:97:65:85:51:B8:F5:34:4B:15:D8:FF:05:AD:51:58:ED:DE:82:
		E7:3F:ED:2D:CE:2E:EA:98:53:11:D2:8C:7C:07:DB:D1:F6:0C:63:C3:
		BC:15:B6:4D:E5:C1:2D:47:BD:68:04:37
filename:       /lib/modules/5.4.6/nvidia/nvidia-legacy-390xx-uvm.ko
supported:      external
license:        MIT
depends:        nvidia
retpoline:      Y
name:           nvidia_uvm
vermagic:       5.4.6 SMP mod_unload modversions 
sig_id:         PKCS#7
signer:         Build time autogenerated kernel key
sig_key:        59:02:8A:0C:D6:E2:C4:07:E0:DC:BF:72:2B:9A:CD:19:EB:3E:21:C8
sig_hashalgo:   sha256
signature:      16:D4:10:9F:E0:AD:D9:06:01:20:F7:09:4A:25:D2:DC:1C:D6:79:0F:
		10:5E:B5:66:41:D9:4D:2C:3A:69:3B:2E:0A:BD:BA:2C:D4:07:F5:07:
		AD:36:EA:D5:12:FE:7D:82:8D:88:3E:2A:7C:37:21:D7:C2:D6:48:05:
		AE:EE:83:58:09:B5:B5:51:6F:78:DF:A8:07:32:C8:94:DF:D0:20:CE:
		6C:8C:3E:87:27:32:E9:D8:26:98:E8:3E:68:34:5C:5F:4D:80:8A:CF:
		8B:12:0B:3D:1D:36:99:6F:F6:65:07:3D:30:A6:3E:AE:2D:D0:E4:67:
		9B:3F:8B:81:82:94:64:9A:32:FC:06:E7:09:80:BC:2D:3E:AE:55:A3:
		CE:57:6A:32:43:D6:4E:39:22:FF:58:82:22:8A:98:EE:8E:83:BC:5E:
		81:16:B1:FD:3F:1A:06:CC:61:27:DA:D0:B4:A9:99:0F:89:49:3B:26:
		EB:1A:37:AC:44:43:83:E9:79:17:D5:FC:EE:61:B4:0B:4D:F7:01:56:
		D8:52:E9:04:E4:A3:8A:37:8C:1B:FF:C2:C2:6A:43:2D:47:54:D0:01:
		AC:21:71:8E:8E:46:4B:B7:62:F9:21:6E:FE:A1:B2:A1:A7:AA:E0:4C:
		8F:C7:58:AD:72:FD:9D:58:C0:51:63:64:4B:07:19:EE:D5:CD:78:1D:
		5B:EF:59:52:21:3B:A3:6C:23:7B:7E:35:BB:AA:0B:E2:92:28:F6:65:
		85:8C:D1:6D:D8:5B:DF:E9:BD:7F:F7:AF:C1:6C:9E:75:58:79:92:3A:
		EC:AC:5C:48:8A:85:B8:93:CD:A1:D9:0E:F0:6B:22:52:19:36:83:95:
		39:60:9F:6B:00:1A:B0:A2:AD:9F:5B:D4:C4:3F:E3:D4:57:05:F3:0C:
		4C:7D:D5:D7:65:CC:81:71:49:A1:9D:61:79:B5:09:11:36:4E:CF:B1:
		85:4B:47:21:9E:6D:AA:98:49:E6:4E:66:F2:FF:04:C8:07:CC:94:FA:
		E5:0B:29:49:AA:C6:20:7E:6A:9D:4F:13:9A:FC:7E:2E:BA:F0:AC:17:
		15:F5:9D:EF:43:59:15:E6:83:F2:69:87:E3:87:42:8D:9C:A2:5D:4F:
		11:B2:DA:21:E4:00:CA:5B:D8:8D:ED:F0:A4:95:C0:4F:21:25:95:51:
		C1:30:47:18:ED:0B:6B:BF:0C:9B:1F:AE:D8:3C:FF:28:AB:2E:E5:0D:
		1C:F5:E6:55:E4:D3:B2:2F:BB:1E:AE:4F:CD:4F:78:4F:5E:68:77:1F:
		D4:F6:C2:B7:CA:E9:C8:FA:49:92:28:9C:44:7C:A7:86:36:97:FC:2C:
		2E:7D:6D:D9:16:83:46:1B:28:29:39:DA
filename:       /lib/modules/5.5.2/nvidia/nvidia-legacy-390xx-modeset.ko
version:        390.132
supported:      external
license:        NVIDIA
srcversion:     4AE485A065E71D9C1A2BE01
depends:        nvidia
retpoline:      Y
name:           nvidia_modeset
vermagic:       5.5.2 SMP mod_unload modversions 
sig_id:         PKCS#7
signer:         Build time autogenerated kernel key
sig_key:        59:02:8A:0C:D6:E2:C4:07:E0:DC:BF:72:2B:9A:CD:19:EB:3E:21:C8
sig_hashalgo:   sha256
signature:      8A:8A:64:4B:EE:16:5D:62:42:57:BB:58:69:4B:ED:A7:CC:13:D3:97:
		FD:F9:B7:E7:49:14:3E:77:E7:EB:1C:05:29:EB:39:53:C2:67:6F:1A:
		5E:F6:72:CA:80:64:FC:72:8F:80:9B:D7:E2:81:04:5F:BA:C4:97:A5:
		4A:57:DB:CD:E4:F8:93:30:C5:9A:BB:04:91:83:05:70:4A:7A:42:CC:
		8C:DC:AF:5A:F9:A9:A5:E1:CD:30:CA:44:9A:36:15:22:7E:FC:64:09:
		7E:AC:26:39:FB:3A:5B:42:C4:61:54:5F:9E:4A:AA:32:49:17:DD:B6:
		41:77:96:DC:2D:41:00:C4:49:BF:20:4C:95:14:E2:FF:6E:78:2C:F2:
		D7:05:FA:DF:F7:8E:C0:67:3D:2E:56:77:B8:2C:59:86:23:C0:04:84:
		05:22:71:74:C4:71:47:E6:EB:9F:72:51:FC:91:19:48:52:63:E4:3E:
		DF:5C:68:1B:19:E9:42:23:0D:DB:0A:B4:21:32:3E:B1:B5:F5:77:0D:
		B0:21:92:0B:C3:05:A5:B3:59:96:91:A6:8C:1B:BD:A2:0C:19:42:E3:
		73:1E:7F:F6:68:63:7E:4D:7F:A2:87:36:47:CE:DE:A9:35:65:F3:4F:
		49:79:10:0C:B8:08:9D:A9:A6:C4:11:6B:58:A3:36:2F:FF:9D:63:3A:
		8C:5A:60:FD:8F:29:F4:D5:98:D4:96:80:02:60:E7:14:18:E8:5B:EE:
		3F:51:73:9D:6F:B6:02:5A:F1:D9:06:87:86:25:A8:76:17:6B:7C:7F:
		19:EA:A3:77:C2:69:25:02:DB:CB:36:7A:67:EC:95:05:05:A8:F7:FA:
		3F:1D:B0:F8:64:38:61:EA:8D:0A:D2:10:9C:BC:B6:E1:58:F5:07:14:
		F4:B4:33:D0:C4:A8:75:3B:8C:7F:54:49:6C:A8:ED:B6:EE:02:D5:40:
		8E:26:FE:D0:14:08:C5:B4:D5:99:B5:3C:99:F9:D2:BE:BE:E0:E1:1D:
		75:59:B5:A9:40:4B:AB:1C:9D:97:F6:3C:B4:FD:F6:3B:D6:EA:8D:DD:
		AF:C2:01:26:C1:89:B4:3E:B3:7D:BD:54:86:0D:D9:93:72:75:C3:39:
		C8:8F:7E:03:E3:95:59:3F:02:F5:36:47:B5:1C:A5:CA:7B:CF:9A:16:
		E3:37:5F:11:39:B9:70:64:61:27:12:A5:5B:21:FD:7E:D2:F7:A6:9B:
		63:1F:64:68:36:73:60:D7:E0:07:EF:91:CA:6B:2F:BF:1C:C8:87:66:
		76:1D:BE:7B:F6:76:F2:67:D5:BE:D2:E3:D1:DB:6A:41:38:F5:C6:D0:
		FF:7E:2B:3D:4F:FA:63:BF:45:41:F9:05
filename:       /lib/modules/5.5.2/nvidia/nvidia-legacy-390xx-drm.ko
version:        390.132
supported:      external
license:        MIT
srcversion:     7F9766858C4319E3770E74C
alias:          pci:v000010DEd00000E00sv*sd*bc04sc80i00*
alias:          pci:v000010DEd*sv*sd*bc03sc02i00*
alias:          pci:v000010DEd*sv*sd*bc03sc00i00*
depends:        drm,drm_kms_helper,nvidia-modeset
retpoline:      Y
name:           nvidia_drm
vermagic:       5.5.2 SMP mod_unload modversions 
sig_id:         PKCS#7
signer:         Build time autogenerated kernel key
sig_key:        59:02:8A:0C:D6:E2:C4:07:E0:DC:BF:72:2B:9A:CD:19:EB:3E:21:C8
sig_hashalgo:   sha256
signature:      1D:1D:7F:49:EA:D9:53:33:EF:0F:52:0D:9E:F7:BC:CC:6D:34:5C:1F:
		7B:90:79:A0:77:B1:A1:94:A8:2E:82:0E:E5:2A:D9:FE:3A:9F:92:1B:
		9D:8C:14:09:51:68:2D:75:F3:86:FF:27:FB:97:4E:4D:F4:3A:00:4B:
		87:B6:34:2B:9C:3F:DD:02:30:11:BD:EC:EF:FD:DF:7E:3F:F7:E8:E7:
		F7:B9:B5:FF:80:7F:04:95:1C:59:1C:FF:07:30:AE:D0:58:C9:F1:7A:
		24:42:06:2F:2C:8A:E7:6E:0E:05:DC:B8:6A:34:94:10:E8:7C:99:2E:
		EA:ED:A8:AC:E9:F1:D5:37:61:B0:96:69:30:E1:77:2C:1B:6A:7D:C9:
		AD:E6:3A:27:CA:E0:15:E5:A5:A0:55:8E:EB:B4:5C:EF:5A:C5:DB:80:
		26:17:A7:6A:9B:28:AB:59:43:66:A6:5E:32:D1:92:6D:FC:1B:59:80:
		95:84:B2:8B:BC:44:0F:C7:61:81:F3:1F:B0:82:3A:2E:57:91:8A:F7:
		F8:3B:21:A8:25:D5:84:1F:71:8C:36:11:FF:CC:7E:46:78:78:4B:07:
		A9:84:8E:06:49:DE:D8:79:13:97:33:DF:EA:6F:4A:5D:29:29:D7:59:
		F6:C9:09:E4:B8:FA:18:A6:85:68:60:89:2E:0F:04:EF:A5:20:52:03:
		D9:94:75:DD:DC:D8:66:40:D4:AB:D0:97:1B:37:40:34:80:62:73:C5:
		84:00:A4:67:7E:29:A1:47:A1:11:E3:70:35:59:23:5B:0A:07:B8:0D:
		94:0C:11:BD:1B:8A:36:96:AE:0C:E9:3D:B0:81:0E:B6:26:5F:29:19:
		20:7D:20:39:96:2B:D2:42:67:F6:94:84:03:6F:DD:95:88:5F:EF:82:
		1E:CF:F4:34:00:31:7C:B9:04:7B:54:2F:F8:B8:56:ED:AF:22:5C:BC:
		3B:D0:76:B0:8B:31:77:16:5A:54:3F:33:E0:DE:79:65:1E:7B:AC:F0:
		D3:7E:E8:78:50:17:FD:FA:75:2F:39:07:98:B9:E9:76:7A:D3:2E:B3:
		EF:EB:D4:DF:25:C3:23:1B:2C:F9:61:E5:7D:33:9D:D3:E5:9B:FD:71:
		3F:AA:10:03:08:0D:3C:F2:B5:97:57:14:EC:03:48:88:D0:E0:51:7C:
		1A:94:A5:B4:A1:A0:F7:37:3F:FB:17:D9:42:A1:19:B7:FF:25:31:54:
		32:AE:2D:92:C7:9B:95:15:44:B8:96:2E:22:D1:E0:8E:0D:68:CA:AB:
		CE:25:DC:B0:95:38:71:E0:57:8D:EC:CE:38:C5:63:39:95:92:E7:7A:
		0C:9C:64:2C:81:61:51:DF:83:EB:B6:62
filename:       /lib/modules/5.5.2/nvidia/nvidia-legacy-390xx.ko
alias:          char-major-195-*
version:        390.132
supported:      external
license:        NVIDIA
srcversion:     C9CBE920F0195665AFA8A5C
alias:          pci:v000010DEd00000E00sv*sd*bc04sc80i00*
alias:          pci:v000010DEd*sv*sd*bc03sc02i00*
alias:          pci:v000010DEd*sv*sd*bc03sc00i00*
depends:        ipmi_msghandler
retpoline:      Y
name:           nvidia
vermagic:       5.5.2 SMP mod_unload modversions 
sig_id:         PKCS#7
signer:         Build time autogenerated kernel key
sig_key:        59:02:8A:0C:D6:E2:C4:07:E0:DC:BF:72:2B:9A:CD:19:EB:3E:21:C8
sig_hashalgo:   sha256
signature:      80:42:AD:71:58:FB:62:E8:27:EB:2C:2A:0E:29:3C:A1:DA:35:F9:60:
		58:AC:A3:8E:B2:92:10:43:9E:5C:DC:A8:4D:D6:E2:81:8D:7D:F3:52:
		3D:DC:C3:9D:C2:E2:3F:D2:85:5C:1F:6D:6C:90:9B:96:AE:9F:C3:22:
		5C:D8:F5:52:BB:1E:A2:82:32:1C:23:1C:09:22:53:26:5F:B1:94:58:
		A7:BF:1F:7B:94:23:B6:DE:0B:B5:6E:13:14:5A:69:04:5A:8C:98:9C:
		8A:39:C1:4C:2D:02:E9:97:99:18:E9:DC:AA:69:E4:D0:90:78:1E:3C:
		8B:C9:12:22:42:CE:42:32:CA:EF:8B:B7:D0:7D:F8:86:AD:4C:7F:9C:
		EB:5C:72:45:ED:17:88:39:94:0A:97:00:45:1D:58:FB:A1:19:82:0E:
		9E:53:FF:55:79:75:8A:CE:A6:A1:55:21:74:02:A3:B8:6C:38:3E:D4:
		3D:EC:FD:4A:87:01:DE:F6:D9:8F:5D:F6:04:FA:9C:A3:38:FE:AD:A6:
		4D:DC:C3:2C:C1:25:62:D7:39:C2:80:45:67:F8:D6:86:DB:67:30:BB:
		3D:BF:8E:2E:77:12:65:01:C8:3B:F4:FA:84:ED:83:E3:E2:8E:23:E1:
		85:39:98:29:17:A6:76:4A:9D:B0:A8:7A:61:6E:D5:95:15:B4:12:B8:
		40:CA:9D:ED:F3:9A:F0:BA:E1:F8:69:34:FE:73:25:B4:9A:6A:B4:1B:
		F4:15:B8:16:34:7B:2C:F9:28:28:14:96:97:D9:14:90:29:E1:FD:9A:
		40:56:03:DD:F7:FB:32:0C:A3:86:B4:2A:97:7A:48:EF:67:84:18:94:
		19:E4:9E:F6:9F:03:12:C8:4C:70:94:D9:12:E4:C4:7D:8B:63:8A:68:
		CC:28:67:93:0A:9D:37:EC:E7:59:98:08:D4:17:5A:BA:56:E3:46:97:
		D5:03:B5:BD:21:6D:FB:1E:DE:5D:9B:54:23:02:46:42:53:53:C0:3F:
		03:59:9B:C2:97:19:59:F0:E5:AF:AA:52:11:5E:93:04:A8:81:60:13:
		C0:AC:54:BB:F0:CB:9F:55:4C:B4:89:E9:A8:B3:CA:A1:CA:F1:11:72:
		7D:60:40:3D:EE:3C:02:0E:D4:77:18:34:48:6F:BC:E6:D4:36:D7:F3:
		DC:BC:67:A6:ED:57:A7:C8:05:73:E0:D1:51:9C:3A:2A:93:D5:B2:0E:
		E1:69:A3:7E:A4:1B:26:B3:29:25:6F:76:79:71:E6:66:3D:28:C5:67:
		CF:55:B5:62:A6:57:21:59:C1:9C:6F:96:04:E8:F8:87:50:4E:31:66:
		E9:FF:92:1A:95:34:50:E3:8D:A4:BF:7B
filename:       /lib/modules/5.5.2/nvidia/nvidia-legacy-390xx-uvm.ko
supported:      external
license:        MIT
depends:        nvidia
retpoline:      Y
name:           nvidia_uvm
vermagic:       5.5.2 SMP mod_unload modversions 
sig_id:         PKCS#7
signer:         Build time autogenerated kernel key
sig_key:        59:02:8A:0C:D6:E2:C4:07:E0:DC:BF:72:2B:9A:CD:19:EB:3E:21:C8
sig_hashalgo:   sha256
signature:      73:E0:D9:BD:1B:2D:02:DA:D7:02:19:19:6F:D2:B1:DB:F4:5F:DD:9D:
		B2:7F:4C:93:1E:A0:5B:B7:A5:88:C0:6C:A1:3C:48:BF:97:9A:E8:2E:
		76:38:6D:9F:C3:BC:C0:D6:50:46:2F:67:6A:1C:B0:30:48:85:75:55:
		D4:8D:8A:5C:0A:32:28:BC:33:EB:78:AC:FA:1F:5C:2F:93:F6:74:1F:
		96:77:B2:B2:DA:7C:6E:56:F2:90:4F:7A:5A:B7:B0:40:AD:D0:19:F3:
		14:41:D9:1F:D1:57:5A:DB:5C:8B:C4:22:1F:D2:8E:A3:0D:E2:7F:33:
		C6:3C:6C:F0:CB:B3:50:EF:19:18:9D:B3:AF:60:BC:50:1D:F3:8B:AB:
		28:60:48:44:23:91:1C:08:2D:DC:EB:58:FC:B1:43:89:46:B9:EE:8E:
		76:31:F3:B8:E7:87:24:9E:F7:2C:9B:59:A1:8B:66:69:BB:B5:EE:E2:
		19:53:80:68:5C:71:09:C9:B6:97:BA:22:48:C6:3D:4B:1A:10:59:30:
		9B:78:8E:6E:1C:20:51:94:A7:B7:32:EC:17:8F:DC:1E:18:74:63:20:
		B4:95:AF:1A:06:62:E4:6B:B4:16:44:EE:3B:74:8A:5A:0C:7F:1D:76:
		60:B8:89:6B:4E:1D:27:05:87:D9:89:95:F0:BD:E1:96:8F:2C:DE:83:
		3D:DD:9E:46:7B:3B:DF:D2:8A:44:17:0F:8B:FC:8B:C2:60:8C:49:61:
		48:5B:4A:B3:D0:D3:CA:D3:EE:BC:1B:E8:24:89:DA:34:4C:32:52:2E:
		82:68:9A:74:46:FC:B7:9A:D9:49:56:B3:E9:70:37:C0:34:77:30:26:
		BC:A1:3C:1E:1D:D7:FD:50:2F:FE:21:55:5E:BD:20:B0:9A:82:D2:36:
		05:7D:91:59:B3:7A:F4:44:69:E2:13:CC:40:AA:E9:B3:B3:CE:56:5E:
		4B:53:FA:7B:E3:AF:AA:91:2E:21:81:1A:78:7B:D2:50:9D:FF:BF:FF:
		29:0C:39:C4:0C:AE:32:03:F6:10:C0:AF:F1:21:86:6A:1B:77:B7:72:
		28:9A:3D:7E:B4:A5:E9:E8:2A:C9:DF:40:40:F2:1D:9B:5A:E9:C7:B4:
		2F:DD:C0:B2:24:D7:0E:2C:D3:CC:95:86:71:F7:F8:8C:71:25:2D:66:
		1A:5E:B3:03:29:C4:E9:45:B1:08:EB:1E:73:B6:C9:EB:88:4A:7D:F8:
		F5:D4:D5:C3:96:56:39:D5:0F:18:4F:31:A6:5D:91:5C:1A:50:33:F7:
		C4:06:C6:5E:25:74:BD:74:1D:D6:F8:7F:31:C9:59:F0:4B:6D:8A:C8:
		C0:04:3D:2D:45:89:47:C9:CC:2E:39:AC

lsmod:
Module                  Size  Used by
vboxnetadp             28672  0
vboxnetflt             32768  0
vboxdrv               524288  2 vboxnetadp,vboxnetflt
overlay               135168  0
ctr                    16384  2
ccm                    20480  6
fuse                  135168  3
xt_CHECKSUM            16384  1
bridge                208896  0
stp                    16384  1 bridge
llc                    16384  2 bridge,stp
blowfish_generic       16384  0
blowfish_x86_64        24576  0
blowfish_common        20480  2 blowfish_generic,blowfish_x86_64
des_generic            16384  0
des3_ede_x86_64        40960  0
libdes                 24576  2 des_generic,des3_ede_x86_64
cast5_avx_x86_64       53248  0
cast5_generic          24576  1 cast5_avx_x86_64
cast_common            16384  2 cast5_generic,cast5_avx_x86_64
lrw                    16384  0
gf128mul               16384  1 lrw
ip6t_REJECT            16384  9
nf_reject_ipv6         20480  1 ip6t_REJECT
nft_chain_nat          16384  8
xt_MASQUERADE          20480  2
nf_nat                 53248  2 nft_chain_nat,xt_MASQUERADE
camellia_generic       32768  0
nft_counter            16384  67
ipt_REJECT             16384  8
nf_reject_ipv4         16384  1 ipt_REJECT
xt_tcpudp              20480  30
xt_owner               16384  12
camellia_aesni_avx_x86_64    28672  0
xt_conntrack           16384  10
nf_conntrack          167936  3 xt_conntrack,nf_nat,xt_MASQUERADE
intel_rapl_msr         20480  0
nf_defrag_ipv6         24576  1 nf_conntrack
intel_rapl_common      32768  1 intel_rapl_msr
nf_defrag_ipv4         16384  1 nf_conntrack
camellia_x86_64        53248  1 camellia_aesni_avx_x86_64
libcrc32c              16384  2 nf_conntrack,nf_nat
nft_compat             20480  72
twofish_generic        20480  0
nf_tables             176128  178 nft_compat,nft_counter,nft_chain_nat
nfnetlink              16384  2 nft_compat,nf_tables
x86_pkg_temp_thermal    20480  0
intel_powerclamp       20480  0
coretemp               20480  0
kvm_intel             245760  0
snd_hda_codec_hdmi     73728  4
kvm                   786432  1 kvm_intel
nvidia_drm             45056  1
twofish_avx_x86_64     53248  0
irqbypass              16384  1 kvm
hid_generic            16384  0
twofish_x86_64_3way    28672  1 twofish_avx_x86_64
twofish_x86_64         16384  2 twofish_x86_64_3way,twofish_avx_x86_64
twofish_common         24576  4 twofish_x86_64,twofish_generic,twofish_x86_64_3way,twofish_avx_x86_64
usbhid                 65536  0
hid                   147456  2 usbhid,hid_generic
crct10dif_pclmul       16384  1
drm_kms_helper        233472  1 nvidia_drm
mei_wdt                16384  0
iwldvm                159744  0
crc32_pclmul           16384  0
drm                   577536  4 drm_kms_helper,nvidia_drm
wmi_bmof               16384  0
mac80211              876544  1 iwldvm
fb_sys_fops            16384  1 drm_kms_helper
syscopyarea            16384  1 drm_kms_helper
ghash_clmulni_intel    16384  0
efi_pstore             16384  0
snd_hda_codec_realtek   126976  1
snd_hda_codec_generic    94208  1 snd_hda_codec_realtek
serpent_avx_x86_64     49152  0
libarc4                16384  1 mac80211
snd_hda_intel          57344  4
intel_cstate           20480  0
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
snd_intel_dspcfg       24576  1 snd_hda_intel
serpent_sse2_x86_64    53248  0
binfmt_misc            24576  1
intel_uncore          155648  0
serpent_generic        28672  2 serpent_sse2_x86_64,serpent_avx_x86_64
nvidia_modeset       1056768  3 nvidia_drm
iwlwifi               290816  1 iwldvm
nls_ascii              16384  1
algif_skcipher         16384  0
nls_cp437              20480  1
snd_hda_codec         163840  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
vfat                   20480  1
fat                    86016  1 vfat
essiv                  16384  1
af_alg                 28672  1 algif_skcipher
intel_rapl_perf        20480  0
authenc                16384  1 essiv
snd_hda_core          102400  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
pcspkr                 16384  0
mei_me                 45056  1
sr_mod                 28672  0
tpm_tis                16384  0
snd_hwdep              16384  1 snd_hda_codec
thinkpad_acpi         110592  0
cdrom                  73728  1 sr_mod
snd_pcm               131072  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
joydev                 28672  0
nvidia              14729216  84 nvidia_modeset
efivars                20480  1 efi_pstore
i2c_i801               32768  0
cfg80211              827392  3 iwldvm,iwlwifi,mac80211
iTCO_wdt               16384  0
snd_timer              40960  1 snd_pcm
nvram                  16384  1 thinkpad_acpi
xhci_pci               20480  0
tpm_tis_core           28672  1 tpm_tis
e1000e                286720  0
sg                     36864  0
ledtrig_audio          16384  3 snd_hda_codec_generic,snd_hda_codec_realtek,thinkpad_acpi
sdhci_pci              57344  0
ehci_pci               20480  0
iTCO_vendor_support    16384  1 iTCO_wdt
snd                    98304  17 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,thinkpad_acpi,snd_pcm
cqhci                  32768  1 sdhci_pci
xhci_hcd              278528  1 xhci_pci
ehci_hcd               98304  1 ehci_pci
mei                   122880  3 mei_wdt,mei_me
rfkill                 28672  4 thinkpad_acpi,cfg80211
soundcore              16384  1 snd
ptp                    20480  1 e1000e
sdhci                  69632  1 sdhci_pci
watchdog               28672  2 iTCO_wdt,mei_wdt
ipmi_devintf           20480  0
video                  49152  1 thinkpad_acpi
usbcore               315392  5 xhci_hcd,ehci_pci,usbhid,ehci_hcd,xhci_pci
ipmi_msghandler        69632  2 ipmi_devintf,nvidia
mmc_core              184320  3 sdhci,cqhci,sdhci_pci
pps_core               24576  1 ptp
tpm                    73728  2 tpm_tis,tpm_tis_core
wmi                    36864  1 wmi_bmof
ac                     16384  0
battery                20480  1 thinkpad_acpi
rng_core               16384  1 tpm
button                 24576  0
loop                   36864  0
configfs               53248  1
efivarfs               16384  1
ip_tables              32768  0
x_tables               53248  9 xt_conntrack,nft_compat,xt_tcpudp,xt_CHECKSUM,xt_owner,ipt_REJECT,ip_tables,xt_MASQUERADE,ip6t_REJECT
autofs4                53248  2
ext4                  757760  2
crc32c_generic         16384  0
crc16                  16384  1 ext4
mbcache                16384  1 ext4
jbd2                  131072  1 ext4
dm_crypt               45056  3
dm_mod                155648  7 dm_crypt
sd_mod                 57344  6
crc32c_intel           24576  5
ahci                   40960  5
libahci                45056  1 ahci
aesni_intel           368640  11
libata                286720  2 libahci,ahci
glue_helper            16384  7 camellia_aesni_avx_x86_64,camellia_x86_64,twofish_x86_64_3way,serpent_sse2_x86_64,aesni_intel,serpent_avx_x86_64,twofish_avx_x86_64
crypto_simd            16384  6 camellia_aesni_avx_x86_64,serpent_sse2_x86_64,aesni_intel,serpent_avx_x86_64,cast5_avx_x86_64,twofish_avx_x86_64
evdev                  28672  28
psmouse               172032  0
cryptd                 24576  5 crypto_simd,ghash_clmulni_intel
scsi_mod              253952  4 sd_mod,libata,sg,sr_mod
serio_raw              20480  0

xrandr:
Screen 0: minimum 8 x 8, current 1600 x 900, maximum 16384 x 16384
VGA-0 disconnected (normal left inverted right x axis y axis)
LVDS-0 connected 1600x900+0+0 (normal left inverted right x axis y axis) 309mm x 174mm
   1600x900      60.01*+  40.00  
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)

OpenCL ICDs:
/etc/OpenCL/vendors/nvidia.icd:libnvidia-opencl.so.1


-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.5.2 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages nvidia-legacy-390xx-kernel-source depends on:
ii  debhelper [debhelper-compat]  12.9
ii  make                          4.2.1-1.2
ii  quilt                         0.65-3
ii  xz-utils                      5.2.4-1+b1

Versions of packages nvidia-legacy-390xx-kernel-source recommends:
ii  module-assistant                    0.11.10
ii  nvidia-legacy-390xx-kernel-support  390.132-2

Versions of packages nvidia-legacy-390xx-kernel-source suggests:
ii  nvidia-legacy-390xx-driver  390.132-2

Versions of packages nvidia-legacy-390xx-driver depends on:
ii  nvidia-installer-cleanup                                 20151021+11
ii  nvidia-legacy-390xx-alternative                          390.132-2
ii  nvidia-legacy-390xx-driver-bin                           390.132-2
ii  nvidia-legacy-390xx-driver-libs                          390.132-2
ii  nvidia-legacy-390xx-kernel-5.4.6 [nvidia-legacy-390xx-k  390.132-1+5.4.6-18
ii  nvidia-legacy-390xx-kernel-5.5.2 [nvidia-legacy-390xx-k  390.132-2+5.5.2-19
ii  nvidia-legacy-390xx-vdpau-driver                         390.132-2
ii  nvidia-support                                           20151021+11
ii  xserver-xorg-video-nvidia-legacy-390xx                   390.132-2

Versions of packages nvidia-legacy-390xx-driver recommends:
ii  libnvidia-legacy-390xx-cfg1   390.132-2
pn  nvidia-persistenced           <none>
ii  nvidia-settings-legacy-390xx  390.116-1

nvidia-legacy-390xx-driver suggests no packages.

Versions of packages nvidia-legacy-390xx-driver-libs:amd64 depends on:
ii  libgl1-nvidia-legacy-390xx-glvnd-glx  390.132-2
ii  nvidia-legacy-390xx-egl-icd           390.132-2

Versions of packages nvidia-legacy-390xx-driver-libs:amd64 recommends:
ii  libgles-nvidia-legacy-390xx1          390.132-2
ii  libgles-nvidia-legacy-390xx2          390.132-2
ii  libglx-nvidia-legacy-390xx0           390.132-2
ii  libnvidia-legacy-390xx-cfg1           390.132-2
ii  libopengl0                            1.3.0-7
pn  nvidia-legacy-390xx-driver-libs-i386  <none>
ii  nvidia-legacy-390xx-vulkan-icd        390.132-2

Versions of packages xserver-xorg-video-nvidia-legacy-390xx depends on:
ii  libc6                                  2.29-10
ii  libnvidia-legacy-390xx-glcore          390.132-2
ii  nvidia-installer-cleanup               20151021+11
ii  nvidia-legacy-390xx-alternative        390.132-2
ii  nvidia-support                         20151021+11
ii  xserver-xorg-core [xorg-video-abi-24]  2:1.20.7-2

Versions of packages xserver-xorg-video-nvidia-legacy-390xx recommends:
ii  nvidia-legacy-390xx-driver                               390.132-2
ii  nvidia-legacy-390xx-kernel-5.4.6 [nvidia-legacy-390xx-k  390.132-1+5.4.6-18
ii  nvidia-legacy-390xx-kernel-5.5.2 [nvidia-legacy-390xx-k  390.132-2+5.5.2-19
ii  nvidia-legacy-390xx-vdpau-driver                         390.132-2
ii  nvidia-settings-legacy-390xx                             390.116-1

xserver-xorg-video-nvidia-legacy-390xx suggests no packages.

Versions of packages nvidia-legacy-390xx-alternative depends on:
ii  dpkg                    1.19.7
ii  glx-alternative-nvidia  1.1.0

Versions of packages glx-alternative-nvidia depends on:
ii  dpkg                  1.19.7
ii  glx-alternative-mesa  1.1.0
ii  glx-diversions        1.1.0
ii  update-glx            1.1.0

Versions of packages glx-alternative-nvidia suggests:
pn  nvidia-driver  <none>

Versions of packages xserver-xorg-video-intel depends on:
ii  libc6                                  2.29-10
ii  libdrm-intel1                          2.4.100-4
ii  libdrm2                                2.4.100-4
ii  libpciaccess0                          0.14-1
ii  libpixman-1-0                          0.36.0-1
ii  libudev1                               244.1-1
ii  libx11-6                               2:1.6.8-1
ii  libx11-xcb1                            2:1.6.8-1
ii  libxcb-dri2-0                          1.13.1-2
ii  libxcb-dri3-0                          1.13.1-2
ii  libxcb-sync1                           1.13.1-2
ii  libxcb-util0                           0.3.8-3+b2
ii  libxcb1                                1.13.1-2
ii  libxcursor1                            1:1.2.0-2
ii  libxdamage1                            1:1.1.5-1
ii  libxext6                               2:1.3.3-1+b2
ii  libxfixes3                             1:5.0.3-1
ii  libxinerama1                           2:1.1.4-2
ii  libxrandr2                             2:1.5.1-1
ii  libxrender1                            1:0.9.10-1
ii  libxshmfence1                          1.3-1
ii  libxss1                                1:1.2.3-1
ii  libxtst6                               2:1.2.3-1
ii  libxv1                                 2:1.0.11-1
ii  libxvmc1                               2:1.0.10-1
ii  xserver-xorg-core [xorg-video-abi-24]  2:1.20.7-2

Versions of packages nvidia-legacy-390xx-kernel-source is related to:
pn  bumblebee                                                       <none>
pn  bumblebee-nvidia                                                <none>
pn  ccache                                                          <none>
pn  libcuda1                                                        <none>
pn  libdrm-nouveau1                                                 <none>
pn  libdrm-nouveau1a                                                <none>
ii  libdrm-nouveau2                                                 2.4.100-4
ii  libegl1                                                         1.3.0-7
ii  libgl1                                                          1.3.0-7
ii  libgl1-nvidia-legacy-390xx-glvnd-glx [libgl1-nvidia-glx-any]    390.132-2
ii  libgles1                                                        1.3.0-7
ii  libgles2                                                        1.3.0-7
ii  libglvnd0                                                       1.3.0-7
ii  libglx0                                                         1.3.0-7
ii  libnvidia-legacy-390xx-cuda1 [libcuda1-any]                     390.132-2
pn  libopencl0                                                      <none>
ii  libvulkan1                                                      1.1.126.0-2
pn  linux-headers                                                   <none>
ii  make                                                            4.2.1-1.2
ii  mesa-vulkan-drivers [vulkan-icd]                                19.3.3-1
pn  nvidia-glx-legacy-390xx                                         <none>
ii  nvidia-kernel-common                                            20151021+11
ii  nvidia-legacy-390xx-driver [nvidia-glx-any]                     390.132-2
pn  nvidia-legacy-390xx-kernel-dkms                                 <none>
ii  nvidia-legacy-390xx-kernel-source                               390.132-2
ii  nvidia-legacy-390xx-kernel-support [nvidia-kernel-support-any]  390.132-2
ii  nvidia-legacy-390xx-opencl-icd [opencl-icd]                     390.132-2
ii  nvidia-legacy-390xx-vulkan-icd [vulkan-icd]                     390.132-2
ii  nvidia-modprobe                                                 440.44-1
pn  nvidia-settings                                                 <none>
ii  nvidia-support                                                  20151021+11
pn  nvidia-xconfig                                                  <none>
ii  ocl-icd-libopencl1 [libopencl1]                                 2.2.12-3
ii  xserver-xorg                                                    1:7.7+20
ii  xserver-xorg-core                                               2:1.20.7-2
ii  xserver-xorg-legacy                                             2:1.20.7-2
ii  xserver-xorg-video-nouveau                                      1:1.0.16-1
ii  xserver-xorg-video-nvidia-legacy-390xx [xserver-xorg-video-nvi  390.132-2

-- no debconf information
-------------- next part --------------
Author: Kevin Locke <kevin at kevinlocke.name>
Description: Backport fixes for Linux 5.5 from 440.59
--- a/conftest.sh
+++ b/conftest.sh
@@ -108,6 +108,12 @@
     FILES="$FILES drm/drm_framebuffer.h"
     FILES="$FILES drm/drm_connector.h"
     FILES="$FILES drm/drm_probe_helper.h"
+    FILES="$FILES drm/drm_prime.h"
+    FILES="$FILES drm/drm_plane.h"
+    FILES="$FILES drm/drm_vblank.h"
+    FILES="$FILES drm/drm_file.h"
+    FILES="$FILES drm/drm_ioctl.h"
+    FILES="$FILES drm/drm_device.h"
     FILES="$FILES generated/autoconf.h"
     FILES="$FILES generated/compile.h"
     FILES="$FILES generated/utsrelease.h"
@@ -126,6 +132,7 @@
     FILES="$FILES linux/sched/task_stack.h"
     FILES="$FILES xen/ioemu.h"
     FILES="$FILES linux/fence.h"
+    FILES="$FILES linux/dma-resv.h"
     FILES="$FILES linux/ktime.h"
 
     # Arch specific headers which need testing
@@ -1679,9 +1686,19 @@
             #if defined(NV_DRM_DRMP_H_PRESENT)
             #include <drm/drmP.h>
             #endif
+
+            #if defined(NV_DRM_DRM_DRV_H_PRESENT)
+            #include <drm/drm_drv.h>
+            #endif
+
+            #if defined(NV_DRM_DRM_PRIME_H_PRESENT)
+            #include <drm/drm_prime.h>
+            #endif
+
             #if !defined(CONFIG_DRM) && !defined(CONFIG_DRM_MODULE)
             #error DRM not enabled
             #endif
+
             void conftest_drm_available(void) {
                 struct drm_driver drv;
 
@@ -2318,7 +2335,10 @@
             # removed: 2014-08-29  c5786fe5f1c50941dbe27fc8b4aa1afee46ae893
             #
             CODE="
+            #if defined(NV_DRM_DRMP_H_PRESENT)
             #include <drm/drmP.h>
+            #endif
+
             void conftest_drm_bus_present(void) {
                 struct drm_bus bus;
             }"
@@ -2334,7 +2354,10 @@
             # removed: 2013-11-03  42b21049fc26513ca8e732f47559b1525b04a992
             #
             CODE="
+            #if defined(NV_DRM_DRMP_H_PRESENT)
             #include <drm/drmP.h>
+            #endif
+
             int conftest_drm_bus_has_bus_type(void) {
                 return offsetof(struct drm_bus, bus_type);
             }"
@@ -2350,7 +2373,10 @@
             # removed: 2013-11-03  b2a21aa25a39837d06eb24a7f0fef1733f9843eb
             #
             CODE="
+            #if defined(NV_DRM_DRMP_H_PRESENT)
             #include <drm/drmP.h>
+            #endif
+
             int conftest_drm_bus_has_get_irq(void) {
                 return offsetof(struct drm_bus, get_irq);
             }"
@@ -2366,7 +2392,10 @@
             # removed: 2013-11-03  9de1b51f1fae6476155350a0670dc637c762e718
             #
             CODE="
+            #if defined(NV_DRM_DRMP_H_PRESENT)
             #include <drm/drmP.h>
+            #endif
+
             int conftest_drm_bus_has_get_name(void) {
                 return offsetof(struct drm_bus, get_name);
             }"
@@ -2384,7 +2413,14 @@
             #   2013-12-11  b3f2333de8e81b089262b26d52272911523e605f
             #
             CODE="
+            #if defined(NV_DRM_DRMP_H_PRESENT)
             #include <drm/drmP.h>
+            #endif
+
+            #if defined(NV_DRM_DRM_DRV_H_PRESENT)
+            #include <drm/drm_drv.h>
+            #endif
+
             int conftest_drm_driver_has_legacy_dev_list(void) {
                 return offsetof(struct drm_driver, legacy_dev_list);
             }"
@@ -2408,7 +2444,13 @@
             #   2017-07-23  e6fc3b68558e4c6d8d160b5daf2511b99afa8814
             #
             CODE="
+            #if defined(NV_DRM_DRMP_H_PRESENT)
             #include <drm/drmP.h>
+            #endif
+
+            #if defined(NV_DRM_DRM_CRTC_H_PRESENT)
+            #include <drm/drm_crtc.h>
+            #endif
 
             int conftest_drm_crtc_init_with_planes_has_name_arg(void) {
                 return
@@ -2424,7 +2466,13 @@
             compile_check_conftest "$CODE" "NV_DRM_CRTC_INIT_WITH_PLANES_HAS_NAME_ARG" "" "types"
 
             CODE="
+            #if defined(NV_DRM_DRMP_H_PRESENT)
             #include <drm/drmP.h>
+            #endif
+
+            #if defined(NV_DRM_DRM_ENCODER_H_PRESENT)
+            #include <drm/drm_encoder.h>
+            #endif
 
             int conftest_drm_encoder_init_has_name_arg(void) {
                 return
@@ -2439,7 +2487,13 @@
             compile_check_conftest "$CODE" "NV_DRM_ENCODER_INIT_HAS_NAME_ARG" "" "types"
 
             echo "$CONFTEST_PREAMBLE
+            #if defined(NV_DRM_DRMP_H_PRESENT)
             #include <drm/drmP.h>
+            #endif
+
+            #if defined(NV_DRM_DRM_PLANE_H_PRESENT)
+            #include <drm/drm_plane.h>
+            #endif
 
             int conftest_drm_universal_plane_init_has_format_modifiers_arg(void) {
                 return
@@ -2466,7 +2520,13 @@
                 echo "#undef NV_DRM_UNIVERSAL_PLANE_INIT_HAS_FORMAT_MODIFIERS_ARG" | append_conftest "types"
 
                 echo "$CONFTEST_PREAMBLE
+                #if defined(NV_DRM_DRMP_H_PRESENT)
                 #include <drm/drmP.h>
+                #endif
+
+                #if defined(NV_DRM_DRM_PLANE_H_PRESENT)
+                #include <drm/drm_plane.h>
+                #endif
 
                 int conftest_drm_universal_plane_init_has_name_arg(void) {
                     return
@@ -2535,7 +2595,10 @@
             #   2014-08-29  915b4d11b8b9e7b84ba4a4645b6cc7fbc0c071cf
             #
             CODE="
+            #if defined(NV_DRM_DRMP_H_PRESENT)
             #include <drm/drmP.h>
+            #endif
+
             int conftest_drm_driver_has_set_busid(void) {
                 return offsetof(struct drm_driver, set_busid);
             }"
@@ -2552,7 +2615,10 @@
             #   2014-07-01  3aac4502fd3f80dcf7e65dbf6edd8676893c1f46
             #
             CODE="
+            #if defined(NV_DRM_DRMP_H_PRESENT)
             #include <drm/drmP.h>
+            #endif
+
             int conftest_drm_driver_has_gem_prime_res_obj(void) {
                 return offsetof(struct drm_driver, gem_prime_res_obj);
             }"
@@ -3087,7 +3153,10 @@
             #  2016-06-21 : d6ed682eba54915ea56315bc2e5a33fca5922997
             #
             CODE="
+            #if defined(NV_DRM_DRMP_H_PRESENT)
             #include <drm/drmP.h>
+            #endif
+
             void conftest_drm_master_drop_has_from_release_arg(struct drm_driver *drv) {
                 drv->master_drop(NULL, NULL, false);
             }"
@@ -3195,7 +3264,9 @@
             #   2017-01-06  11b3c20bdd15d17382068be569740de1dccb173d
             #
             CODE="
+            #if defined(NV_DRM_DRMP_H_PRESENT)
             #include <drm/drmP.h>
+            #endif
 
             int conftest_drm_driver_unload_has_int_return_type(struct drm_driver *drv) {
                 return drv->unload(NULL /* dev */);
@@ -3605,10 +3676,14 @@
             # Introduce drm_framebuffer_{get,put}()) on 2017-02-28.
             #
             CODE="
+            #if defined(NV_DRM_DRMP_H_PRESENT)
             #include <drm/drmP.h>
+            #endif
+
             #if defined(NV_DRM_DRM_FRAMEBUFFER_H_PRESENT)
             #include <drm/drm_framebuffer.h>
             #endif
+
             void conftest_drm_framebuffer_get(void) {
                 drm_framebuffer_get();
             }"
@@ -3624,7 +3699,10 @@
             # Introduce drm_gem_object_{get,put}()) on 2017-02-28.
             #
             CODE="
+            #if defined(NV_DRM_DRMP_H_PRESENT)
             #include <drm/drmP.h>
+            #endif
+
             #if defined(NV_DRM_DRM_GEM_H_PRESENT)
             #include <drm/drm_gem.h>
             #endif
@@ -3643,7 +3721,10 @@
             # introduce drm_dev_{get/put} functions) on 2017-09-26.
             #
             CODE="
+            #if defined(NV_DRM_DRMP_H_PRESENT)
             #include <drm/drmP.h>
+            #endif
+
             #if defined(NV_DRM_DRM_DRV_H_PRESENT)
             #include <drm/drm_drv.h>
             #endif
@@ -3768,10 +3849,14 @@
             # (2019-01-29).
             #
             CODE="
+            #if defined(NV_DRM_DRMP_H_PRESENT)
             #include <drm/drmP.h>
+            #endif
+
             #if defined(NV_DRM_DRM_DRV_H_PRESENT)
             #include <drm/drm_drv.h>
             #endif
+
             unsigned int drm_driver_prime_flag_present_conftest(void) {
                 return DRIVER_PRIME;
             }"
@@ -3779,6 +3864,68 @@
             compile_check_conftest "$CODE" "NV_DRM_DRIVER_PRIME_FLAG_PRESENT" "" "types"
         ;;
 
+        drm_connector_for_each_possible_encoder)
+            #
+            # Determine the number of arguments of the
+            # drm_connector_for_each_possible_encoder() macro.
+            #
+            # drm_connector_for_each_possible_encoder() is added by commit
+            # 83aefbb887b5 (drm: Add drm_connector_for_each_possible_encoder())
+            # in v4.19. The definition and prorotype is changed to take only
+            # two arguments connector and encoder, by commit 62afb4ad425a
+            # (drm/connector: Allow max possible encoders to attach to a
+            # connector) in v5.5rc1.
+            #
+            echo "$CONFTEST_PREAMBLE
+            #if defined(NV_DRM_DRMP_H_PRESENT)
+            #include <drm/drmP.h>
+            #endif
+
+            #if defined(NV_DRM_CONNECTOR_H_PRESENT)
+            #include <drm/drm_connector.h>
+            #endif
+
+            void conftest_drm_connector_for_each_possible_encoder(
+                struct drm_connector *connector,
+                struct drm_encoder *encoder,
+                int i) {
+
+                drm_connector_for_each_possible_encoder(connector, encoder, i) {
+                }
+            }" > conftest$$.c
+
+            $CC $CFLAGS -c conftest$$.c > /dev/null 2>&1
+            rm -f conftest$$.c
+
+            if [ -f conftest$$.o ]; then
+                echo "#define NV_DRM_CONNECTOR_FOR_EACH_POSSIBLE_ENCODER_ARGUMENT_COUNT 3" | append_conftest "functions"
+                rm -f conftest$$.o
+                return
+            else
+                echo "#define NV_DRM_CONNECTOR_FOR_EACH_POSSIBLE_ENCODER_ARGUMENT_COUNT 2" | append_conftest "functions"
+            fi
+        ;;
+
+        drm_gem_object_has_resv)
+            #
+            # Determine if the 'drm_gem_object' structure has a 'resv' field.
+            #
+            # A 'resv' filed in the 'drm_gem_object' structure, is added by
+            # commit 1ba627148ef5 (drm: Add reservation_object to
+            # drm_gem_object) in v5.2.
+            #
+            CODE="$CONFTEST_PREAMBLE
+            #if defined(NV_DRM_DRM_GEM_H_PRESENT)
+            #include <drm/drm_gem.h>
+            #endif
+
+            int conftest_drm_gem_object_has_resv(void) {
+                return offsetof(struct drm_gem_object, resv);
+            }"
+
+            compile_check_conftest "$CODE" "NV_DRM_GEM_OBJECT_HAS_RESV" "" "types"
+        ;;
+
         drm_gem_prime_export_has_dev_arg)
             #
             # Determine if drm_driver::gem_prime_export() has 'dev' argument.
--- a/nvidia-drm/nvidia-dma-fence-helper.h
+++ b/nvidia-drm/nvidia-dma-fence-helper.h
@@ -25,7 +25,7 @@
 
 #include "nvidia-drm-conftest.h"
 
-#if defined(NV_DRM_DRIVER_HAS_GEM_PRIME_RES_OBJ)
+#if defined(NV_DRM_FENCE_AVAILABLE)
 
 /*
  * Fence headers are moved to file dma-fence.h and struct fence has
@@ -40,8 +40,6 @@
 #include <linux/dma-fence.h>
 #endif
 
-#include <linux/reservation.h>
-
 #if defined(NV_LINUX_FENCE_H_PRESENT)
 typedef struct fence nv_dma_fence_t;
 typedef struct fence_ops nv_dma_fence_ops_t;
@@ -118,6 +116,6 @@
 #endif
 }
 
-#endif /* defined(NV_DRM_DRIVER_HAS_GEM_PRIME_RES_OBJ) */
+#endif /* defined(NV_DRM_FENCE_AVAILABLE) */
 
 #endif /* __NVIDIA_DMA_FENCE_HELPER_H__ */
--- a/nvidia-drm/nvidia-dma-resv-helper.h
+++ b/nvidia-drm/nvidia-dma-resv-helper.h
@@ -0,0 +1,80 @@
+/*
+ * Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
+ * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+#ifndef __NVIDIA_DMA_RESV_HELPER_H__
+#define __NVIDIA_DMA_RESV_HELPER_H__
+
+#include "nvidia-drm-conftest.h"
+
+#if defined(NV_DRM_FENCE_AVAILABLE)
+
+/*
+ * linux/reservation.h is renamed to linux/dma-resv.h, by commit
+ * 52791eeec1d9 (dma-buf: rename reservation_object to dma_resv)
+ * in v5.4.
+ */
+
+#if defined(NV_LINUX_DMA_RESV_H_PRESENT)
+#include <linux/dma-resv.h>
+#else
+#include <linux/reservation.h>
+#endif
+
+#include <nvidia-dma-fence-helper.h>
+
+#if defined(NV_LINUX_DMA_RESV_H_PRESENT)
+typedef struct dma_resv nv_dma_resv_t;
+#else
+typedef struct reservation_object nv_dma_resv_t;
+#endif
+
+static inline void nv_dma_resv_init(nv_dma_resv_t *obj)
+{
+#if defined(NV_LINUX_DMA_RESV_H_PRESENT)
+    dma_resv_init(obj);
+#else
+    reservation_object_init(obj);
+#endif
+}
+
+static inline void nv_dma_resv_fini(nv_dma_resv_t *obj)
+{
+#if defined(NV_LINUX_DMA_RESV_H_PRESENT)
+    dma_resv_fini(obj);
+#else
+    reservation_object_init(obj);
+#endif
+}
+
+static inline void nv_dma_resv_add_excl_fence(nv_dma_resv_t *obj,
+                                              nv_dma_fence_t *fence)
+{
+#if defined(NV_LINUX_DMA_RESV_H_PRESENT)
+    dma_resv_add_excl_fence(obj, fence);
+#else
+    reservation_object_add_excl_fence(obj, fence);
+#endif
+}
+
+#endif /* defined(NV_DRM_FENCE_AVAILABLE) */
+
+#endif /* __NVIDIA_DMA_RESV_HELPER_H__ */
--- a/nvidia-drm/nvidia-drm-conftest.h
+++ b/nvidia-drm/nvidia-drm-conftest.h
@@ -54,5 +54,11 @@
 
 #endif
 
+#if defined(NV_DRM_DRIVER_HAS_GEM_PRIME_RES_OBJ) || \
+    defined(NV_DRM_GEM_OBJECT_HAS_RESV)
+#define NV_DRM_FENCE_AVAILABLE
+#else
+#undef NV_DRM_FENCE_AVAILABLE
+#endif
 
 #endif /* defined(__NVIDIA_DRM_CONFTEST_H__) */
--- a/nvidia-drm/nvidia-drm-connector.c
+++ b/nvidia-drm/nvidia-drm-connector.c
@@ -58,20 +58,100 @@
     nv_drm_free(nv_connector);
 }
 
+static bool
+__nv_drm_detect_encoder(struct NvKmsKapiDynamicDisplayParams *pDetectParams,
+                        struct drm_connector *connector,
+                        struct drm_encoder *encoder)
+{
+    struct nv_drm_connector *nv_connector = to_nv_connector(connector);
+    struct drm_device *dev = connector->dev;
+    struct nv_drm_device *nv_dev = to_nv_device(dev);
+    struct nv_drm_encoder *nv_encoder;
+
+    /*
+     * DVI-I connectors can drive both digital and analog
+     * encoders.  If a digital connection has been forced then
+     * skip analog encoders.
+     */
+
+    if (connector->connector_type == DRM_MODE_CONNECTOR_DVII &&
+        connector->force == DRM_FORCE_ON_DIGITAL &&
+        encoder->encoder_type == DRM_MODE_ENCODER_DAC) {
+        return false;
+    }
+
+    nv_encoder = to_nv_encoder(encoder);
+
+    memset(pDetectParams, 0, sizeof(*pDetectParams));
+
+    pDetectParams->handle = nv_encoder->hDisplay;
+
+    switch (connector->force) {
+        case DRM_FORCE_ON:
+        case DRM_FORCE_ON_DIGITAL:
+            pDetectParams->forceConnected = NV_TRUE;
+            break;
+        case DRM_FORCE_OFF:
+            pDetectParams->forceDisconnected = NV_TRUE;
+            break;
+        case DRM_FORCE_UNSPECIFIED:
+            break;
+    }
+
+    if (connector->override_edid) {
+        const struct drm_property_blob *edid = connector->edid_blob_ptr;
+
+        if (edid->length <= sizeof(pDetectParams->edid.buffer)) {
+            memcpy(pDetectParams->edid.buffer, edid->data, edid->length);
+            pDetectParams->edid.bufferSize = edid->length;
+            pDetectParams->overrideEdid = NV_TRUE;
+        } else {
+            WARN_ON(edid->length >
+                    sizeof(pDetectParams->edid.buffer));
+        }
+    }
+
+    if (!nvKms->getDynamicDisplayInfo(nv_dev->pDevice, pDetectParams)) {
+        NV_DRM_DEV_LOG_ERR(
+            nv_dev,
+            "Failed to detect display state");
+        return false;
+    }
+
+    if (pDetectParams->connected) {
+        if (!pDetectParams->overrideEdid && pDetectParams->edid.bufferSize) {
+
+            if ((nv_connector->edid = nv_drm_calloc(
+                        1,
+                        pDetectParams->edid.bufferSize)) != NULL) {
+
+                memcpy(nv_connector->edid,
+                       pDetectParams->edid.buffer,
+                       pDetectParams->edid.bufferSize);
+            } else {
+                NV_DRM_LOG_ERR("Out of Memory");
+            }
+        }
+
+        return true;
+    }
+
+    return false;
+}
+
 static enum drm_connector_status __nv_drm_connector_detect_internal(
     struct drm_connector *connector)
 {
     struct drm_device *dev = connector->dev;
-    struct nv_drm_device *nv_dev = to_nv_device(dev);
     struct nv_drm_connector *nv_connector = to_nv_connector(connector);
 
     enum drm_connector_status status = connector_status_disconnected;
 
     struct drm_encoder *detected_encoder = NULL;
     struct nv_drm_encoder *nv_detected_encoder = NULL;
+    struct drm_encoder *encoder;
 
     struct NvKmsKapiDynamicDisplayParams *pDetectParams = NULL;
-    unsigned int i;
 
     BUG_ON(!mutex_is_locked(&dev->mode_config.mutex));
 
@@ -87,90 +167,12 @@
         goto done;
     }
 
-    for (i = 0;
-         i < DRM_CONNECTOR_MAX_ENCODER && detected_encoder == NULL; i++) {
-        struct drm_encoder *encoder;
-        struct nv_drm_encoder *nv_encoder;
-
-        if (connector->encoder_ids[i] == 0) {
-            break;
-        }
-
-        encoder = nv_drm_encoder_find(dev, connector->encoder_ids[i]);
-
-        if (encoder == NULL) {
-            BUG_ON(encoder != NULL);
-            continue;
-        }
-
-        /*
-         * DVI-I connectors can drive both digital and analog
-         * encoders.  If a digital connection has been forced then
-         * skip analog encoders.
-         */
-
-        if (connector->connector_type == DRM_MODE_CONNECTOR_DVII &&
-            connector->force == DRM_FORCE_ON_DIGITAL &&
-            encoder->encoder_type == DRM_MODE_ENCODER_DAC) {
-            continue;
-        }
-
-        nv_encoder = to_nv_encoder(encoder);
-
-        memset(pDetectParams, 0, sizeof(*pDetectParams));
-
-        pDetectParams->handle = nv_encoder->hDisplay;
-
-        switch (connector->force) {
-            case DRM_FORCE_ON:
-            case DRM_FORCE_ON_DIGITAL:
-                pDetectParams->forceConnected = NV_TRUE;
-                break;
-            case DRM_FORCE_OFF:
-                pDetectParams->forceDisconnected = NV_TRUE;
-                break;
-            case DRM_FORCE_UNSPECIFIED:
-                break;
-        }
-
-        if (connector->override_edid) {
-            const struct drm_property_blob *edid = connector->edid_blob_ptr;
-
-            if (edid->length <= sizeof(pDetectParams->edid.buffer)) {
-                memcpy(pDetectParams->edid.buffer, edid->data, edid->length);
-                pDetectParams->edid.bufferSize = edid->length;
-                pDetectParams->overrideEdid = NV_TRUE;
-            } else {
-                WARN_ON(edid->length >
-                        sizeof(pDetectParams->edid.buffer));
-            }
-        }
-
-        if (!nvKms->getDynamicDisplayInfo(nv_dev->pDevice, pDetectParams)) {
-            NV_DRM_DEV_LOG_ERR(
-                nv_dev,
-                "Failed to detect display state");
-            continue;
-        }
-
-        if (pDetectParams->connected) {
-            if (!pDetectParams->overrideEdid && pDetectParams->edid.bufferSize) {
-
-                if ((nv_connector->edid = nv_drm_calloc(
-                            1,
-                            pDetectParams->edid.bufferSize)) != NULL) {
-
-                    memcpy(nv_connector->edid,
-                           pDetectParams->edid.buffer,
-                           pDetectParams->edid.bufferSize);
-                } else {
-                    NV_DRM_LOG_ERR("Out of Memory");
-                }
-            }
-
+    nv_drm_connector_for_each_possible_encoder(connector, encoder) {
+        if (__nv_drm_detect_encoder(pDetectParams, connector, encoder)) {
             detected_encoder = encoder;
+            break;
         }
-    }
+    } nv_drm_connector_for_each_possible_encoder_end;
 
     if (detected_encoder == NULL) {
         goto done;
--- a/nvidia-drm/nvidia-drm-connector.h
+++ b/nvidia-drm/nvidia-drm-connector.h
@@ -27,7 +27,13 @@
 
 #if defined(NV_DRM_ATOMIC_MODESET_AVAILABLE)
 
+#if defined(NV_DRM_DRMP_H_PRESENT)
 #include <drm/drmP.h>
+#endif
+
+#if defined(NV_DRM_DRM_CONNECTOR_H_PRESENT)
+#include <drm/drm_connector.h>
+#endif
 
 #include "nvtypes.h"
 #include "nvkms-api-types.h"
--- a/nvidia-drm/nvidia-drm-crtc.h
+++ b/nvidia-drm/nvidia-drm-crtc.h
@@ -29,7 +29,12 @@
 
 #include "nvidia-drm-helper.h"
 
+#if defined(NV_DRM_DRMP_H_PRESENT)
 #include <drm/drmP.h>
+#endif
+
+#include <drm/drm_crtc.h>
+
 #include "nvtypes.h"
 #include "nvkms-kapi.h"
 
--- a/nvidia-drm/nvidia-drm-drv.c
+++ b/nvidia-drm/nvidia-drm-drv.c
@@ -39,7 +39,27 @@
 
 #include "nvidia-drm-ioctl.h"
 
+#if defined(NV_DRM_DRMP_H_PRESENT)
 #include <drm/drmP.h>
+#endif
+
+#if defined(NV_DRM_DRM_VBLANK_H_PRESENT)
+#include <drm/drm_vblank.h>
+#endif
+
+#if defined(NV_DRM_DRM_FILE_H_PRESENT)
+#include <drm/drm_file.h>
+#endif
+
+#if defined(NV_DRM_DRM_PRIME_H_PRESENT)
+#include <drm/drm_prime.h>
+#endif
+
+#if defined(NV_DRM_DRM_IOCTL_H_PRESENT)
+#include <drm/drm_ioctl.h>
+#endif
+
+#include <linux/pci.h>
 
 /*
  * Commit fcd70cd36b9b ("drm: Split out drm_probe_helper.h")
@@ -627,7 +647,7 @@
                       nv_drm_get_dev_info_ioctl,
                       DRM_RENDER_ALLOW|DRM_UNLOCKED),
 
-#if defined(NV_DRM_DRIVER_HAS_GEM_PRIME_RES_OBJ)
+#if defined(NV_DRM_FENCE_AVAILABLE)
     DRM_IOCTL_DEF_DRV(NVIDIA_FENCE_SUPPORTED,
                       nv_drm_fence_supported_ioctl,
                       DRM_RENDER_ALLOW|DRM_UNLOCKED),
--- a/nvidia-drm/nvidia-drm-fb.h
+++ b/nvidia-drm/nvidia-drm-fb.h
@@ -27,7 +27,14 @@
 
 #if defined(NV_DRM_ATOMIC_MODESET_AVAILABLE)
 
+#if defined(NV_DRM_DRMP_H_PRESENT)
 #include <drm/drmP.h>
+#endif
+
+#if defined(NV_DRM_DRM_FRAMEBUFFER_H_PRESENT)
+#include <drm/drm_framebuffer.h>
+#endif
+
 #include "nvidia-drm-gem-nvkms-memory.h"
 #include "nvkms-kapi.h"
 
--- a/nvidia-drm/nvidia-drm-gem.c
+++ b/nvidia-drm/nvidia-drm-gem.c
@@ -28,6 +28,15 @@
 #include "nvidia-drm-ioctl.h"
 #include "nvidia-drm-prime-fence.h"
 #include "nvidia-drm-gem.h"
+#include "nvidia-dma-resv-helper.h"
+
+#if defined(NV_DRM_DRM_DRV_H_PRESENT)
+#include <drm/drm_drv.h>
+#endif
+
+#if defined(NV_DRM_DRM_PRIME_H_PRESENT)
+#include <drm/drm_prime.h>
+#endif
 
 void nv_drm_gem_free(struct drm_gem_object *gem)
 {
@@ -40,8 +49,8 @@
 
     drm_gem_object_release(&nv_gem->base);
 
-#if defined(NV_DRM_DRIVER_HAS_GEM_PRIME_RES_OBJ)
-    reservation_object_fini(&nv_gem->resv);
+#if defined(NV_DRM_FENCE_AVAILABLE) && !defined(NV_DRM_GEM_OBJECT_HAS_RESV)
+    nv_dma_resv_fini(&nv_gem->resv);
 #endif
 
     nv_gem->ops->free(nv_gem);
@@ -103,7 +112,7 @@
 }
 
 #if defined(NV_DRM_DRIVER_HAS_GEM_PRIME_RES_OBJ)
-struct reservation_object* nv_drm_gem_prime_res_obj(struct drm_gem_object *obj)
+nv_dma_resv_t* nv_drm_gem_prime_res_obj(struct drm_gem_object *obj)
 {
     struct nv_drm_gem_object *nv_gem = to_nv_gem_object(obj);
 
--- a/nvidia-drm/nvidia-drm-gem.h
+++ b/nvidia-drm/nvidia-drm-gem.h
@@ -29,13 +29,19 @@
 
 #include "nvidia-drm-priv.h"
 
+#if defined(NV_DRM_DRMP_H_PRESENT)
 #include <drm/drmP.h>
-#include "nvkms-kapi.h"
+#endif
 
-#if defined(NV_DRM_DRIVER_HAS_GEM_PRIME_RES_OBJ)
+#if defined(NV_DRM_DRM_GEM_H_PRESENT)
+#include <drm/drm_gem.h>
+#endif
 
-#include "nvidia-dma-fence-helper.h"
+#include "nvkms-kapi.h"
 
+#if defined(NV_DRM_FENCE_AVAILABLE)
+#include "nvidia-dma-fence-helper.h"
+#include "nvidia-dma-resv-helper.h"
 #endif
 
 struct nv_drm_gem_object;
@@ -53,8 +59,8 @@
     struct nv_drm_device *nv_dev;
     const struct nv_drm_gem_object_funcs *ops;
 
-#if defined(NV_DRM_DRIVER_HAS_GEM_PRIME_RES_OBJ)
-    struct reservation_object resv;
+#if defined(NV_DRM_FENCE_AVAILABLE)
+    nv_dma_resv_t  resv;
 #endif
 
     bool prime:1;
@@ -126,11 +132,16 @@
 
     /* Initialize the gem object */
 
-    drm_gem_private_object_init(dev, &nv_gem->base, size);
+#if defined(NV_DRM_FENCE_AVAILABLE)
+    nv_dma_resv_init(&nv_gem->resv);
 
-#if defined(NV_DRM_DRIVER_HAS_GEM_PRIME_RES_OBJ)
-    reservation_object_init(&nv_gem->resv);
+#if defined(NV_DRM_GEM_OBJECT_HAS_RESV)
+    nv_gem->base.resv = &nv_gem->resv;
 #endif
+
+#endif
+
+    drm_gem_private_object_init(dev, &nv_gem->base, size);
 }
 
 static inline int nv_drm_gem_create_mmap_offset(
@@ -194,7 +205,7 @@
 void nv_drm_gem_prime_vunmap(struct drm_gem_object *gem, void *address);
 
 #if defined(NV_DRM_DRIVER_HAS_GEM_PRIME_RES_OBJ)
-struct reservation_object* nv_drm_gem_prime_res_obj(struct drm_gem_object *obj);
+nv_dma_resv_t* nv_drm_gem_prime_res_obj(struct drm_gem_object *obj);
 #endif
 
 #endif /* NV_DRM_AVAILABLE */
--- a/nvidia-drm/nvidia-drm-gem-nvkms-memory.c
+++ b/nvidia-drm/nvidia-drm-gem-nvkms-memory.c
@@ -27,6 +27,12 @@
 #include "nvidia-drm-gem-nvkms-memory.h"
 #include "nvidia-drm-ioctl.h"
 
+#if defined(NV_DRM_DRM_DRV_H_PRESENT)
+#include <drm/drm_drv.h>
+#endif
+
+#include <linux/io.h>
+
 #include "nv-mm.h"
 
 static void __nv_drm_gem_nvkms_memory_free(struct nv_drm_gem_object *nv_gem)
--- a/nvidia-drm/nvidia-drm-gem-user-memory.c
+++ b/nvidia-drm/nvidia-drm-gem-user-memory.c
@@ -24,6 +24,10 @@
 
 #if defined(NV_DRM_AVAILABLE)
 
+#if defined(NV_DRM_DRM_PRIME_H_PRESENT)
+#include <drm/drm_prime.h>
+#endif
+
 #include "nvidia-drm-gem-user-memory.h"
 #include "nvidia-drm-ioctl.h"
 
--- a/nvidia-drm/nvidia-drm-helper.c
+++ b/nvidia-drm/nvidia-drm-helper.c
@@ -31,7 +31,10 @@
 
 #if defined(NV_DRM_ATOMIC_MODESET_AVAILABLE)
 
+#if defined(NV_DRM_DRMP_H_PRESENT)
 #include <drm/drmP.h>
+#endif
+
 #if defined(NV_DRM_DRM_ATOMIC_UAPI_H_PRESENT)
 #include <drm/drm_atomic_uapi.h>
 #endif
--- a/nvidia-drm/nvidia-drm-helper.h
+++ b/nvidia-drm/nvidia-drm-helper.h
@@ -27,7 +27,13 @@
 
 #if defined(NV_DRM_AVAILABLE)
 
+#if defined(NV_DRM_DRMP_H_PRESENT)
 #include <drm/drmP.h>
+#endif
+
+#if defined(NV_DRM_DRM_DRV_H_PRESENT)
+#include <drm/drm_drv.h>
+#endif
 
 /*
  * drm_dev_put() is added by commit 9a96f55034e41b4e002b767e9218d55f03bdff7d
@@ -276,6 +282,96 @@
 #endif
 }
 
+/*
+ * drm_connector_for_each_possible_encoder() is added by commit
+ * 83aefbb887b59df0b3520965c3701e01deacfc52 which was Signed-off-by:
+ *     Ville Syrjälä <ville.syrjala at linux.intel.com>
+ *
+ * drm_connector_for_each_possible_encoder() is copied from
+ * include/drm/drm_connector.h and modified to use nv_drm_encoder_find()
+ * instead of drm_encoder_find().
+ *
+ * drm_connector_for_each_possible_encoder() is copied from
+ *      include/drm/drm_connector.h @
+ *      83aefbb887b59df0b3520965c3701e01deacfc52
+ * which has the following copyright and license information:
+ *
+ * Copyright (c) 2016 Intel Corporation
+ *
+ * Permission to use, copy, modify, distribute, and sell this software and its
+ * documentation for any purpose is hereby granted without fee, provided that
+ * the above copyright notice appear in all copies and that both that copyright
+ * notice and this permission notice appear in supporting documentation, and
+ * that the name of the copyright holders not be used in advertising or
+ * publicity pertaining to distribution of the software without specific,
+ * written prior permission.  The copyright holders make no representations
+ * about the suitability of this software for any purpose.  It is provided "as
+ * is" without express or implied warranty.
+ *
+ * THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
+ * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
+ * EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR
+ * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
+ * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
+ * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
+ * OF THIS SOFTWARE.
+ */
+
+#if defined(NV_DRM_DRM_CONNECTOR_H_PRESENT)
+#include <drm/drm_connector.h>
+#endif
+
+/**
+ * nv_drm_connector_for_each_possible_encoder - iterate connector's possible
+ * encoders
+ * @connector: &struct drm_connector pointer
+ * @encoder: &struct drm_encoder pointer used as cursor
+ * @__i: int iteration cursor, for macro-internal use
+ */
+#if !defined(drm_connector_for_each_possible_encoder)
+
+#if !defined(for_each_if)
+#define for_each_if(condition) if (!(condition)) {} else
+#endif
+
+#define __nv_drm_connector_for_each_possible_encoder(connector, encoder, __i) \
+       for ((__i) = 0; (__i) < ARRAY_SIZE((connector)->encoder_ids) &&        \
+                    (connector)->encoder_ids[(__i)] != 0; (__i)++)            \
+               for_each_if((encoder) =                                        \
+                           nv_drm_encoder_find((connector)->dev,              \
+                                               (connector)->encoder_ids[(__i)]))
+
+#define nv_drm_connector_for_each_possible_encoder(connector, encoder) \
+    {                                                                  \
+        unsigned int __i;                                              \
+        __nv_drm_connector_for_each_possible_encoder(connector, encoder, __i)
+
+#define nv_drm_connector_for_each_possible_encoder_end \
+    }
+
+#else
+
+#if NV_DRM_CONNECTOR_FOR_EACH_POSSIBLE_ENCODER_ARGUMENT_COUNT == 3
+
+#define nv_drm_connector_for_each_possible_encoder(connector, encoder) \
+    {                                                                  \
+        unsigned int __i;                                              \
+        drm_connector_for_each_possible_encoder(connector, encoder, __i)
+
+#define nv_drm_connector_for_each_possible_encoder_end \
+    }
+
+#else
+
+#define nv_drm_connector_for_each_possible_encoder(connector, encoder) \
+    drm_connector_for_each_possible_encoder(connector, encoder)
+
+#define nv_drm_connector_for_each_possible_encoder_end
+
+#endif
+
+#endif
+
 static inline int
 nv_drm_connector_attach_encoder(struct drm_connector *connector,
                                 struct drm_encoder *encoder)
--- a/nvidia-drm/nvidia-drm.Kbuild
+++ b/nvidia-drm/nvidia-drm.Kbuild
@@ -65,6 +65,7 @@
 NV_CONFTEST_FUNCTION_COMPILE_TESTS += drm_framebuffer_get
 NV_CONFTEST_FUNCTION_COMPILE_TESTS += drm_gem_object_get
 NV_CONFTEST_FUNCTION_COMPILE_TESTS += drm_dev_put
+NV_CONFTEST_FUNCTION_COMPILE_TESTS += drm_connector_for_each_possible_encoder
 
 NV_CONFTEST_TYPE_COMPILE_TESTS += drm_bus_present
 NV_CONFTEST_TYPE_COMPILE_TESTS += drm_bus_has_bus_type
@@ -88,4 +89,5 @@
 NV_CONFTEST_TYPE_COMPILE_TESTS += drm_connector_list_iter
 NV_CONFTEST_TYPE_COMPILE_TESTS += drm_atomic_helper_swap_state_has_stall_arg
 NV_CONFTEST_TYPE_COMPILE_TESTS += drm_driver_prime_flag_present
+NV_CONFTEST_TYPE_COMPILE_TESTS += drm_gem_object_has_resv
 NV_CONFTEST_TYPE_COMPILE_TESTS += drm_gem_prime_export_has_dev_arg
--- a/nvidia-drm/nvidia-drm-linux.c
+++ b/nvidia-drm/nvidia-drm-linux.c
@@ -31,6 +31,12 @@
 
 #if defined(NV_DRM_AVAILABLE)
 
+#if defined(NV_DRM_DRMP_H_PRESENT)
+#include <drm/drmP.h>
+#endif
+
+#include <linux/vmalloc.h>
+
 #include "nv-mm.h"
 
 MODULE_PARM_DESC(
--- a/nvidia-drm/nvidia-drm-modeset.c
+++ b/nvidia-drm/nvidia-drm-modeset.c
@@ -30,6 +30,14 @@
 #include "nvidia-drm-os-interface.h"
 #include "nvidia-drm-helper.h"
 
+#if defined(NV_DRM_DRMP_H_PRESENT)
+#include <drm/drmP.h>
+#endif
+
+#if defined(NV_DRM_DRM_VBLANK_H_PRESENT)
+#include <drm/drm_vblank.h>
+#endif
+
 #include <drm/drm_atomic.h>
 #include <drm/drm_atomic_helper.h>
 #include <drm/drm_crtc.h>
--- a/nvidia-drm/nvidia-drm-modeset.h
+++ b/nvidia-drm/nvidia-drm-modeset.h
@@ -27,7 +27,10 @@
 
 #if defined(NV_DRM_ATOMIC_MODESET_AVAILABLE)
 
-#include <drm/drmP.h>
+#include "nvkms-kapi.h"
+
+struct drm_device;
+struct drm_atomic_state;
 
 struct drm_atomic_state *nv_drm_atomic_state_alloc(struct drm_device *dev);
 void nv_drm_atomic_state_clear(struct drm_atomic_state *state);
--- a/nvidia-drm/nvidia-drm-os-interface.h
+++ b/nvidia-drm/nvidia-drm-os-interface.h
@@ -29,7 +29,7 @@
 
 #if defined(NV_DRM_AVAILABLE)
 
-#include <drm/drmP.h>
+struct page;
 
 /* Set to true when the atomic modeset feature is enabled. */
 extern bool nv_drm_modeset_module_param;
--- a/nvidia-drm/nvidia-drm-prime-fence.c
+++ b/nvidia-drm/nvidia-drm-prime-fence.c
@@ -24,12 +24,17 @@
 
 #if defined(NV_DRM_AVAILABLE)
 
+#if defined(NV_DRM_DRMP_H_PRESENT)
+#include <drm/drmP.h>
+#endif
+
 #include "nvidia-drm-priv.h"
 #include "nvidia-drm-ioctl.h"
 #include "nvidia-drm-gem.h"
 #include "nvidia-drm-prime-fence.h"
+#include "nvidia-dma-resv-helper.h"
 
-#if defined(NV_DRM_DRIVER_HAS_GEM_PRIME_RES_OBJ)
+#if defined(NV_DRM_FENCE_AVAILABLE)
 
 #include "nvidia-dma-fence-helper.h"
 
@@ -519,7 +524,7 @@
         goto fence_context_create_fence_failed;
     }
 
-    reservation_object_add_excl_fence(&nv_gem->resv, fence);
+    nv_dma_resv_add_excl_fence(&nv_gem->resv, fence);
 
     ret = 0;
 
@@ -533,6 +538,6 @@
     return ret;
 }
 
-#endif /* NV_DRM_DRIVER_HAS_GEM_PRIME_RES_OBJ */
+#endif /* NV_DRM_FENCE_AVAILABLE */
 
 #endif /* NV_DRM_AVAILABLE */
--- a/nvidia-drm/nvidia-drm-prime-fence.h
+++ b/nvidia-drm/nvidia-drm-prime-fence.h
@@ -27,9 +27,10 @@
 
 #if defined(NV_DRM_AVAILABLE)
 
-#include <drm/drmP.h>
+struct drm_file;
+struct drm_device;
 
-#if defined(NV_DRM_DRIVER_HAS_GEM_PRIME_RES_OBJ)
+#if defined(NV_DRM_FENCE_AVAILABLE)
 
 int nv_drm_fence_supported_ioctl(struct drm_device *dev,
                                  void *data, struct drm_file *filep);
@@ -40,7 +41,7 @@
 int nv_drm_gem_fence_attach_ioctl(struct drm_device *dev,
                                   void *data, struct drm_file *filep);
 
-#endif /* NV_DRM_DRIVER_HAS_GEM_PRIME_RES_OBJ */
+#endif /* NV_DRM_FENCE_AVAILABLE */
 
 #endif /* NV_DRM_AVAILABLE */
 
--- a/nvidia-drm/nvidia-drm-priv.h
+++ b/nvidia-drm/nvidia-drm-priv.h
@@ -27,7 +27,13 @@
 
 #if defined(NV_DRM_AVAILABLE)
 
+#if defined(NV_DRM_DRMP_H_PRESENT)
 #include <drm/drmP.h>
+#endif
+
+#if defined(NV_DRM_DRM_DEVICE_H_PRESENT)
+#include <drm/drm_device.h>
+#endif
 
 #if defined(NV_DRM_DRM_GEM_H_PRESENT)
 #include <drm/drm_gem.h>
--- a/nvidia-drm/nvidia-drm-utils.c
+++ b/nvidia-drm/nvidia-drm-utils.c
@@ -24,6 +24,17 @@
 
 #if defined(NV_DRM_ATOMIC_MODESET_AVAILABLE)
 
+#if defined(NV_DRM_DRMP_H_PRESENT)
+#include <drm/drmP.h>
+#endif
+
+#if defined(NV_DRM_DRM_PLANE_H_PRESENT)
+#include <drm/drm_plane.h>
+#endif
+
+#include <drm/drm_modes.h>
+#include <uapi/drm/drm_fourcc.h>
+
 #include "nvidia-drm-priv.h"
 #include "nvidia-drm-utils.h"
 
--- a/nvidia-drm/nvidia-drm-utils.h
+++ b/nvidia-drm/nvidia-drm-utils.h
@@ -27,9 +27,11 @@
 
 #if defined(NV_DRM_ATOMIC_MODESET_AVAILABLE)
 
-#include <drm/drmP.h>
 #include "nvkms-kapi.h"
 
+enum drm_plane_type;
+struct drm_display_mode;
+
 struct NvKmsKapiConnectorInfo*
 nvkms_get_connector_info(struct NvKmsKapiDevice *pDevice,
                          NvKmsKapiConnector hConnector);


More information about the pkg-nvidia-devel mailing list