1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
dpkg -l | grep -i nvidia
ii libnvidia-cfg1-470:amd64 470.141.03-0ubuntu0.20.04.1 amd64 NVIDIA binary OpenGL/GLX configuration library
ii libnvidia-common-470 470.141.03-0ubuntu0.20.04.1 all Shared files used by the NVIDIA libraries
ii libnvidia-compute-470:amd64 470.141.03-0ubuntu0.20.04.1 amd64 NVIDIA libcompute package
ii libnvidia-compute-470:i386 470.141.03-0ubuntu0.20.04.1 i386 NVIDIA libcompute package
ii libnvidia-decode-470:amd64 470.141.03-0ubuntu0.20.04.1 amd64 NVIDIA Video Decoding runtime libraries
ii libnvidia-decode-470:i386 470.141.03-0ubuntu0.20.04.1 i386 NVIDIA Video Decoding runtime libraries
ii libnvidia-encode-470:amd64 470.141.03-0ubuntu0.20.04.1 amd64 NVENC Video Encoding runtime library
ii libnvidia-encode-470:i386 470.141.03-0ubuntu0.20.04.1 i386 NVENC Video Encoding runtime library
ii libnvidia-extra-470:amd64 470.141.03-0ubuntu0.20.04.1 amd64 Extra libraries for the NVIDIA driver
ii libnvidia-fbc1-470:amd64 470.141.03-0ubuntu0.20.04.1 amd64 NVIDIA OpenGL-based Framebuffer Capture runtime library
ii libnvidia-fbc1-470:i386 470.141.03-0ubuntu0.20.04.1 i386 NVIDIA OpenGL-based Framebuffer Capture runtime library
ii libnvidia-gl-470:amd64 470.141.03-0ubuntu0.20.04.1 amd64 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii libnvidia-gl-470:i386 470.141.03-0ubuntu0.20.04.1 i386 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii libnvidia-ifr1-470:amd64 470.141.03-0ubuntu0.20.04.1 amd64 NVIDIA OpenGL-based Inband Frame Readback runtime library
ii libnvidia-ifr1-470:i386 470.141.03-0ubuntu0.20.04.1 i386 NVIDIA OpenGL-based Inband Frame Readback runtime library
ii nvidia-compute-utils-470 470.141.03-0ubuntu0.20.04.1 amd64 NVIDIA compute utilities
ii nvidia-dkms-470 470.141.03-0ubuntu0.20.04.1 amd64 NVIDIA DKMS package
ii nvidia-driver-470 470.141.03-0ubuntu0.20.04.1 amd64 NVIDIA driver metapackage
ii nvidia-kernel-common-470 470.141.03-0ubuntu0.20.04.1 amd64 Shared files used with the kernel module
ii nvidia-kernel-source-470 470.141.03-0ubuntu0.20.04.1 amd64 NVIDIA kernel source package
ii nvidia-prime 0.8.16~0.20.04.2 all Tools to enable NVIDIA's Prime
ii nvidia-settings 470.57.01-0ubuntu0.20.04.3 amd64 Tool for configuring the NVIDIA graphics driver
ii nvidia-utils-470 470.141.03-0ubuntu0.20.04.1 amd64 NVIDIA driver support binaries
ii screen-resolution-extra 0.18build1 all Extension for the nvidia-settings control panel
ii xserver-xorg-video-nvidia-470 470.141.03-0ubuntu0.20.04.1 amd64 NVIDIA binary Xorg driver
nvidia-smi
Failed to initialize NVML: Driver/library version mismatch
glxinfo | grep -i opengl
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 151 (GLX)
Minor opcode of failed request: 24 (X_GLXCreateNewContext)
Value in failed request: 0x0
Serial number of failed request: 110
Current serial number in output stream: 111
cat /var/log/Xorg.0.log | grep nvidia
[ 8.285] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/x86_64-linux-gnu/nvidia/xorg,/usr/lib/xorg/modules"
[ 8.324] (II) LoadModule: "nvidia"
[ 8.324] (II) Loading /usr/lib/x86_64-linux-gnu/nvidia/xorg/nvidia_drv.so
[ 8.349] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 8.397] (II) Applying OutputClass "nvidia" options to /dev/dri/card0
[ 8.397] (**) NVIDIA(0): Option "nvidiaXineramaInfoOrder" "DFP-0"
[ 8.397] (**) NVIDIA(0): Option "MetaModes" "DVI-D-0: nvidia-auto-select +0+0, HDMI-1: nvidia-auto-select +1920+0"
[ 8.397] (II) Loading sub module "glxserver_nvidia"
[ 8.397] (II) LoadModule: "glxserver_nvidia"
[ 8.397] (II) Loading /usr/lib/x86_64-linux-gnu/nvidia/xorg/libglxserver_nvidia.so
[ 8.590] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[ 9.398] (II) NVIDIA(0): "DVI-D-0:nvidia-auto-select+0+0,HDMI-1:nvidia-auto-select+1920+0"
[ 9.425] (II) NVIDIA(0): Setting mode "DVI-D-0:nvidia-auto-select+0+0,HDMI-1:nvidia-auto-select+1920+0"
[ 9.923] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
[ 257.655] (II) NVIDIA(0): Setting mode "DVI-D-0: nvidia-auto-select @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}, HDMI-1: nvidia-auto-select @1680x1050 +0+0 {ViewPortIn=1680x1050, ViewPortOut=1680x1050+0+0}"
[ 257.706] (II) NVIDIA(0): Setting mode "DVI-D-0: nvidia-auto-select @1920x1080 +1680+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}, HDMI-1: nvidia-auto-select @1680x1050 +0+0 {ViewPortIn=1680x1050, ViewPortOut=1680x1050+0+0}"
[ 19318.414] (II) NVIDIA(0): Setting mode "DPY-0:nvidia-auto-select+0+0,DPY-2:nvidia-auto-select+1920+30"
dmesg | grep nvidia
[ 6.387587] nvidia: loading out-of-tree module taints kernel.
[ 6.387595] nvidia: module license 'NVIDIA' taints kernel.
[ 6.452043] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[ 6.460708] nvidia-nvlink: Nvlink Core is being initialized, major device number 236
[ 6.461355] nvidia 0000:08:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
[ 6.586289] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 470.129.06 Thu May 12 22:42:45 UTC 2022
[ 6.665585] [drm] [nvidia-drm] [GPU ID 0x00000800] Loading driver
[ 6.665587] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:08:00.0 on minor 0
[ 6.994664] nvidia-uvm: Loaded the UVM driver, major device number 234.
[ 7.259834] audit: type=1400 audit(1662807580.142:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=1103 comm="apparmor_parser"
[ 7.259836] audit: type=1400 audit(1662807580.142:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod" pid=1103 comm="apparmor_parser"
[ 8.806749] caller os_map_kernel_space.part.0+0x77/0xa0 [nvidia] mapping multiple BARs
sudo ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:03.1/0000:08:00.0 ==
modalias : pci:v000010DEd00001C03sv00001043sd000085ACbc03sc00i00
vendor : NVIDIA Corporation
model : GP106 [GeForce GTX 1060 6GB]
driver : nvidia-driver-390 - distro non-free
driver : nvidia-driver-418-server - distro non-free
driver : nvidia-driver-515 - distro non-free recommended
driver : nvidia-driver-510-server - distro non-free
driver : nvidia-driver-470-server - distro non-free
driver : nvidia-driver-515-server - distro non-free
driver : nvidia-driver-510 - distro non-free
driver : nvidia-driver-470 - distro non-free
driver : nvidia-driver-450-server - distro non-free
driver : xserver-xorg-video-nouveau - distro free builtin