Issues Installing nvida drivers for RTX 3060 [SOLVED]

Questions about hardware and drivers
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Post Reply
Snipes89
Level 1
Level 1
Posts: 13
Joined: Fri Jan 05, 2024 8:52 pm

Issues Installing nvida drivers for RTX 3060 [SOLVED]

Post by Snipes89 »

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
Last edited by Snipes89 on Sat Jan 27, 2024 11:39 am, edited 1 time in total.
Wildwull
Level 1
Level 1
Posts: 3
Joined: Fri Jan 19, 2024 6:02 pm

Re: Issues Installing nvida drivers for RTX 3060

Post by Wildwull »

Use the following command instead.

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.
Snipes89
Level 1
Level 1
Posts: 13
Joined: Fri Jan 05, 2024 8:52 pm

Re: Issues Installing nvida drivers for RTX 3060

Post by Snipes89 »

Wildwull wrote: Fri Jan 19, 2024 6:05 pm Use the following command instead.

sudo apt install nvidia-driver firmware-misc-nonfree
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
Wildwull
Level 1
Level 1
Posts: 3
Joined: Fri Jan 19, 2024 6:02 pm

Re: Issues Installing nvida drivers for RTX 3060

Post by Wildwull »

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.
Snipes89
Level 1
Level 1
Posts: 13
Joined: Fri Jan 05, 2024 8:52 pm

Re: Issues Installing nvida drivers for RTX 3060

Post by Snipes89 »

Wildwull 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.
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 enabled
Wildwull
Level 1
Level 1
Posts: 3
Joined: Fri Jan 19, 2024 6:02 pm

Re: Issues Installing nvida drivers for RTX 3060

Post by Wildwull »

Snipes89 wrote: Fri Jan 19, 2024 7:16 pm

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 enabled
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.
User avatar
MiZoG
Level 8
Level 8
Posts: 2395
Joined: Fri Jan 26, 2018 8:30 pm
Location: Athens, Greece

Re: Issues Installing nvida drivers for RTX 3060

Post by MiZoG »

Post your full system specs.
System Reports --> System Information --> Copy --> Paste here.
Snipes89
Level 1
Level 1
Posts: 13
Joined: Fri Jan 05, 2024 8:52 pm

Re: Issues Installing nvida drivers for RTX 3060

Post by Snipes89 »

Wildwull wrote: Sat Jan 20, 2024 2:22 pm
Snipes89 wrote: Fri Jan 19, 2024 7:16 pm

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 enabled
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.
I tried to enable secure boot and didnt get the MOK screen still

I'm fairly confident i'm a bit of a newb I used the purge command I used
sudo apt-get remove --purge nvidia-*
Snipes89
Level 1
Level 1
Posts: 13
Joined: Fri Jan 05, 2024 8:52 pm

Re: Issues Installing nvida drivers for RTX 3060

Post by Snipes89 »

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
Post Reply

Return to “Hardware Support”