Okay, so for the past week I’ve been trying to get my Nvidia driver working but to no avail. I’ve read and tried pretty much everything online.
Asus G15 G513Q-HF010T
CPU: AMD Ryzen R7 5800H with Radeon Graphics
GPU: NVIDIA RTX 3070
Linux Mint 20.1 Ulyssa
It’s a dual boot with Windows 10 already installed on it.
So I Installed Mint (Cinnamon) and the first thing I did was to try and install/enable the Nvdia driver from the “Driver Manager”, it was installed and after the reboot was stuck to the black screen with the “_” at the top left corner . All I can do is ALT+CTRL+F1 to enter the terminal. Also tried installing the drive as per the steps at:
## Chapter 4. Installing the NVIDIA Driver in NVIDIA Accelerated Linux Graphics Driver README and Installation Guide for 460.39 driver (sorry , can’t add more links in the tread)
Downloaded from here:
Before that I tried installing this one instead:
(but the whole OS was re-install after lots of troubleshooting so I could start fresh)
I’m attaching 1 file with all the info as can’t attach more than that (let me know if anything else is required):
nvidia-troubleshoot.txt (1.7 MB)
Search for to find easier:
NVIDIA BUG REPORT
The PCI BusID number in xorg.conf was added by manually by me as apparently it helped in some cases with this issue (not here though).
Also tried adding “AllowEmptyInitialConfiguration” to the “Device” section.
Removing the whole xorg.conf file makes it even worse as I again get stuck on blackscreen but the “" is blinking and when I try ALT+CTRL+F1 the login appears for a second and then it’s gone right away, like it’s constantly refreshing and going back to "”. So in order to get back to the terminal I run into recovery mode and re-instate the xorg.conf.
Also tried adding nouveau.modeset=0 to GRUB upon booting (tested with “nomodeset” as well).
blacklist-nvidia-nouveau is also set in /etc/modprobe.d/ (in attached)
According to the Xorg.1.log (in attached), the NVIDIA driver and GPU are detected and properly (grep -i nvidia) and with the correct PCI.
I read few threads that updating the Kernel is required but I believe this is the latest version for Mint ?
One thing to note that during the driver installation there was a warning:
“Unable to determine the path to install the libglvnd EGL vendor library config files. Check that you have pkg-config and the libglvnd development libraries installed, or specify a path with --glvnd-egl-config-path.”
After reading on that I checked in /usr/lib/xorg/modules/modules/drivers, which was missing the “nvidia_dr.so” file.
Same for: /usr/lib/xorg/modules/extensions/libglxserver_nvidia.so.460.39
So I installed “apt install build-essential libglvnd-dev pkg-config”, after which the files were there. (in attached)
Also checked and followed:
## Chapter 8. Common Problems in the same Guide mentioned at the begging.
Not sure about this in the Xorg.1.log:
[ 796.419] (--) NVIDIA(GPU-0): DFP-0: disconnected [ 796.419] (--) NVIDIA(GPU-0): DFP-0: Internal DisplayPort [ 796.419] (--) NVIDIA(GPU-0): DFP-0: 2670.0 MHz maximum pixel clock [ 796.419] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select" [ 796.419] (==) NVIDIA(0): will be used as the requested mode.
At this point only the terminal is working and no GUI.
Apologies for the ridiculously long thread but I think having the more info the better.
Any help is greatly appreciated as I am kinda stuck and not sure what I’m missing.