I'm experiencing an issue with the NVIDIA driver on LMDE 6 and using kernel 6.1.0-12-amd64
my gpu kernel driver keeps getting set to nouveau driver
I have tried to blacklisted the nouveau drive. And added nouveau.modeset=0 to the GRUB configuration, and updated GRUB using update-grub. However, when I run nvidia-smi, I encounter the following error:
"NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running."
I am using an NVIDIA GeForce RTX 3060 for the video card.
and I have installed the NVIDIA drivers
sudo apt install nvidia-driver
Issues Installing nvida drivers for RTX 3060 [SOLVED]
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Issues Installing nvida drivers for RTX 3060 [SOLVED]
Last edited by Snipes89 on Sat Jan 27, 2024 11:39 am, edited 1 time in total.
Re: Issues Installing nvida drivers for RTX 3060
Use the following command instead.
sudo apt install nvidia-driver firmware-misc-nonfree
sudo apt install nvidia-driver firmware-misc-nonfree
Last edited by Wildwull on Fri Jan 19, 2024 6:07 pm, edited 1 time in total.
Re: Issues Installing nvida drivers for RTX 3060
I removed the other Nvidia install rebooted and tried the command you sent and installed it and same result
2d:00.0 VGA compatible controller: NVIDIA Corporation GA106 [GeForce RTX 3060 Lite Hash Rate] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Micro-Star International Co., Ltd. [MSI] GA106 [GeForce RTX 3060 Lite Hash Rate]
Flags: bus master, fast devsel, latency 0, IRQ 83, IOMMU group 30
I/O ports at f000
Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: nouveau
Kernel modules: nvidia
Re: Issues Installing nvida drivers for RTX 3060
If you have relatively new system or dual booting with Win11. Then Secure Boot is probably enabled in your system.
You will need to import a MOK key using the following command.
sudo mokutil --import /var/lib/dkms/mok.pub
You will be asked for a password to enter password for MOK twice
Make it something you can remember.
Once it imports the key. Reboot
This will invoke the MOK screen after reboot
Choose the ENROL MOK option and follow the prompts. At some point you get the chance to enter the MOK password we created.
Once it’s imported the password, reboot and you should be able to boot into the system.
You will need to import a MOK key using the following command.
sudo mokutil --import /var/lib/dkms/mok.pub
You will be asked for a password to enter password for MOK twice
Make it something you can remember.
Once it imports the key. Reboot
This will invoke the MOK screen after reboot
Choose the ENROL MOK option and follow the prompts. At some point you get the chance to enter the MOK password we created.
Once it’s imported the password, reboot and you should be able to boot into the system.
Re: Issues Installing nvida drivers for RTX 3060
Im dual booting with Win10 and I have secure boot disabled in the bios. I tried the command anyway and hasn't changed the driver from "nouveau" after rebooting i never got the "ENROL MOK" option after reboot im guessing cause secure boot isnt enabledWildwull wrote: ⤴Fri Jan 19, 2024 6:59 pm If you have relatively new system or dual booting with Win11. Then Secure Boot is probably enabled in your system.
You will need to import a MOK key using the following command.
sudo mokutil --import /var/lib/dkms/mok.pub
You will be asked for a password to enter password for MOK twice
Make it something you can remember.
Once it imports the key. Reboot
This will invoke the MOK screen after reboot
Choose the ENROL MOK option and follow the prompts. At some point you get the chance to enter the MOK password we created.
Once it’s imported the password, reboot and you should be able to boot into the system.
Re: Issues Installing nvida drivers for RTX 3060
MOK wont be invoked unless Secure Boot is enabled in the BIOS.
It may be worth turning on secure boot in the BIOS to see if the MOK screen does work. It's not a given the MOK screen works on all hardware.
You can easily disable it again with no harm done.
That is unlikely to get the NVidia driver working on its own.
When you uninstalled the driver did you PURGE all Nvidia? As just uninstalling the driver is usually not enough.
When trying to install. did you get any message in terminal that there where was an error. (like dependences not met)?
How familiar are you with using Linux?
if fairly confident are you confident at using the Linux terminal?
If confident I can give some guidance on how to Purge Nvidia and clear the data CACHE.
Last edited by Wildwull on Sat Jan 20, 2024 5:25 pm, edited 1 time in total.
Re: Issues Installing nvida drivers for RTX 3060
Post your full system specs.
System Reports --> System Information --> Copy --> Paste here.
System Reports --> System Information --> Copy --> Paste here.
Re: Issues Installing nvida drivers for RTX 3060
I tried to enable secure boot and didnt get the MOK screen stillWildwull wrote: ⤴Sat Jan 20, 2024 2:22 pmMOK wont be invoked unless Secure Boot is enabled in the BIOS.
It may be worth turning on secure boot in the BIOS to see if the MOK screen does work. It's not a given the MOK screen works on all hardware.
You can easily disable it again with no harm done.
That is unlikely to get the NVidia driver working on its own.
When you uninstalled the driver did you PURGE all Nvidia? As just uninstalling the driver is usually not enough.
When trying to install. did you get any message in terminal that there where was an error. (like dependences not met)?
How familiar are you with using Linux?
if fairly confident are you confident at using the Linux terminal?
If confident I can give some guidance on how to Purge Nvidia and clear the data CACHE.
I'm fairly confident i'm a bit of a newb I used the purge command I used
sudo apt-get remove --purge nvidia-*
Re: Issues Installing nvida drivers for RTX 3060
So i figured out why it wasn't working for me I was booting into with an older kernel version and it wasn't loading the NVIDIA driver. I use rEFInd to dual boot I selected the newer kernel in rEFInd and it works now