Problems loading nvidia driver for RTX 3060 in Ubuntu 18.04

Started by mahesh, Oct 09, 2023, 07:25 AM

Previous topic - Next topic

mahesh

Hi,
I am having problems with my driver in Ubuntu 18.04 with a GPU Geforce RTX 3060 and CPU intel core i7 on a computer with dual booting (Windows 10 and Ubuntu). I have installed the driver by all the methods I have seen online, but with all of them I get the following after introducing the command nvidia-smi:
"NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running"


Right now I am trying with the driver 460, but I have also tried with 470.


I dont have the file: "/lib/modprobe.d/blacklist-nvidia.conf"


If I introduce the command sudo prime-select nvidia, I get: "Info: the nvidia profile is already set"


My bug report states the following:
"Unable to load nvidia-installer ncurses v6 user interace.
Using: nvidia-installer ncurses user interface.
Error: An NVIDIA kernel module 'nvidia' appears to already be loaded in your kernel . This may be because it is in use (for example, by an X server, a CUDA program, or the NVIDIA persistence daemon)."

I dont know how to fix it. Could someone help me?
Thanks.


Thanks.