Here's my inxi -G output:
Code: Select all
Graphics:
Device-1: NVIDIA GP106 [GeForce GTX 1060 6GB] driver: nvidia v: 470.63.01
Display: x11 server: X.Org 1.20.11 driver: modesetting,nvidia
resolution: 1920x1080~60Hz, 1920x1080~60Hz
OpenGL: renderer: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2
v: 4.6.0 NVIDIA 470.63.01
Code: Select all
ii libnvidia-cfg1-470:amd64 470.63.01-0ubuntu0.20.04.2 amd64 NVIDIA binary OpenGL/GLX configuration library
ii libnvidia-common-470 470.63.01-0ubuntu0.20.04.2 all Shared files used by the NVIDIA libraries
rc libnvidia-compute-390:amd64 390.144-0ubuntu0.20.04.1 amd64 NVIDIA libcompute package
rc libnvidia-compute-390:i386 390.144-0ubuntu0.20.04.1 i386 NVIDIA libcompute package
rc libnvidia-compute-460:amd64 460.91.03-0ubuntu0.20.04.1 amd64 NVIDIA libcompute package
ii libnvidia-compute-470:amd64 470.63.01-0ubuntu0.20.04.2 amd64 NVIDIA libcompute package
ii libnvidia-compute-470:i386 470.63.01-0ubuntu0.20.04.2 i386 NVIDIA libcompute package
ii libnvidia-decode-470:amd64 470.63.01-0ubuntu0.20.04.2 amd64 NVIDIA Video Decoding runtime libraries
ii libnvidia-decode-470:i386 470.63.01-0ubuntu0.20.04.2 i386 NVIDIA Video Decoding runtime libraries
ii libnvidia-encode-470:amd64 470.63.01-0ubuntu0.20.04.2 amd64 NVENC Video Encoding runtime library
ii libnvidia-encode-470:i386 470.63.01-0ubuntu0.20.04.2 i386 NVENC Video Encoding runtime library
ii libnvidia-extra-470:amd64 470.63.01-0ubuntu0.20.04.2 amd64 Extra libraries for the NVIDIA driver
ii libnvidia-fbc1-470:amd64 470.63.01-0ubuntu0.20.04.2 amd64 NVIDIA OpenGL-based Framebuffer Capture runtime library
ii libnvidia-fbc1-470:i386 470.63.01-0ubuntu0.20.04.2 i386 NVIDIA OpenGL-based Framebuffer Capture runtime library
ii libnvidia-gl-470:amd64 470.63.01-0ubuntu0.20.04.2 amd64 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii libnvidia-gl-470:i386 470.63.01-0ubuntu0.20.04.2 i386 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii libnvidia-ifr1-470:amd64 470.63.01-0ubuntu0.20.04.2 amd64 NVIDIA OpenGL-based Inband Frame Readback runtime library
ii libnvidia-ifr1-470:i386 470.63.01-0ubuntu0.20.04.2 i386 NVIDIA OpenGL-based Inband Frame Readback runtime library
rc nvidia-compute-utils-390 390.144-0ubuntu0.20.04.1 amd64 NVIDIA compute utilities
rc nvidia-compute-utils-460 460.91.03-0ubuntu0.20.04.1 amd64 NVIDIA compute utilities
ii nvidia-compute-utils-470 470.63.01-0ubuntu0.20.04.2 amd64 NVIDIA compute utilities
rc nvidia-dkms-390 390.144-0ubuntu0.20.04.1 amd64 NVIDIA DKMS package
rc nvidia-dkms-460 460.91.03-0ubuntu0.20.04.1 amd64 NVIDIA DKMS package
ii nvidia-dkms-470 470.63.01-0ubuntu0.20.04.2 amd64 NVIDIA DKMS package
ii nvidia-driver-470 470.63.01-0ubuntu0.20.04.2 amd64 NVIDIA driver metapackage
rc nvidia-kernel-common-390 390.144-0ubuntu0.20.04.1 amd64 Shared files used with the kernel module
rc nvidia-kernel-common-460 460.91.03-0ubuntu0.20.04.1 amd64 Shared files used with the kernel module
ii nvidia-kernel-common-470 470.63.01-0ubuntu0.20.04.2 amd64 Shared files used with the kernel module
ii nvidia-kernel-source-470 470.63.01-0ubuntu0.20.04.2 amd64 NVIDIA kernel source package
ii nvidia-prime 0.8.16~0.20.04.1 all Tools to enable NVIDIA's Prime
ii nvidia-prime-applet 1.2.9 all An applet for NVIDIA Prime
ii nvidia-settings 470.57.01-0ubuntu0.20.04.1 amd64 Tool for configuring the NVIDIA graphics driver
ii nvidia-utils-470 470.63.01-0ubuntu0.20.04.2 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.63.01-0ubuntu0.20.04.2 amd64 NVIDIA binary Xorg driver
Below is more relevant-output that might be useful in troubleshooting.I finally managed to fix this with help form the link SMG provided. There i found about /var/log/Xorg.0.log which i did not know exists. There i found that my nvidia driver module does not exists on first boot. After some searching i found about this error where linux looks at the wrong place for nvidia driver and thus cant load it. I found some good info on this link.
And then i modified the solution there for my version of Mint. Finlay i fixed the problem by adding following code to my /etc/X11/xorg.conf file.
CODE: SELECT ALL
Btw, there is already nvidia.conf file in /usr/share/X11/xorg.conf.d with a path to the driver but for some reason it did not work for me, but adding this line to xorg.conf fixes everything.Code: Select all
Section "Files" ModulePath "/usr/lib/x86_64-linux-gnu/nvidia/xorg" ModulePath "/usr/lib/xorg/modules" EndSection
Thanks for all the help and how do i mark this post as solved
screenfetch
Code: Select all
MMMMMMMMMMMMMMMMMMMMMMMMMmds+. OS: Linuxmint 20.2 uma
MMm----::-://////////////oymNMd+` Kernel: x86_64 Linux 5.4.0-84-generic
MMd /++ -sNMd: Uptime: 12m
MMNso/` dMM `.::-. .-::.` .hMN: Packages: 2463
ddddMMh dMM :hNMNMNhNMNMNh: `NMm Shell: bash 5.0.17
NMm dMM .NMN/-+MMM+-/NMN` dMM Resolution: 5760x1080
NMm dMM -MMm `MMM dMM. dMM DE: Cinnamon 5.0.5
NMm dMM -MMm `MMM dMM. dMM WM: Muffin
NMm dMM .mmd `mmm yMM. dMM WM Theme: Faded-Dream (Sweet-mars)
NMm dMM` ..` ... ydm. dMM GTK Theme: Sweet-mars [GTK2/3]
hMM- +MMd/-------...-:sdds dMM Icon Theme: candy-icons
-NMm- :hNMNNNmdddddddddy/` dMM Font: Ubuntu 10
-dMNs-``-::::-------.`` dMM Disk: 332G / 924G (38%)
`/dMNmy+/:-------------:/yMMM CPU: Intel Core i7-4790K @ 8x 4.4GHz [44.0°C]
./ydNMMMMMMMMMMMMMMMMMMMMM GPU: NVIDIA GeForce GTX 1060 6GB
\.MMMMMMMMMMMMMMMMMMM RAM: 2231MiB / 15964MiB
nvidia-smi
Code: Select all
Thu Sep 16 16:48:37 2021
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.63.01 Driver Version: 470.63.01 CUDA Version: 11.4 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... Off | 00000000:01:00.0 On | N/A |
| 8% 52C P0 23W / 120W | 330MiB / 6070MiB | 2% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 930 G /usr/lib/xorg/Xorg 211MiB |
| 0 N/A N/A 1455 G cinnamon 43MiB |
| 0 N/A N/A 1954 G ...AAAAAAAAA= --shared-files 72MiB |
+-----------------------------------------------------------------------------+
glxinfo | grep NVIDIA
Code: Select all
server glx vendor string: NVIDIA Corporation
client glx vendor string: NVIDIA Corporation
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 470.63.01
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL version string: 4.6.0 NVIDIA 470.63.01
OpenGL shading language version string: 4.60 NVIDIA
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 470.63.01