I recently switched from windows to Linux using Linux Mint 21.2. Since I will be using GPU-intensive programs (games and some ai models), I wanted to install the latest NVIDIA drivers. Here is my device information:
Monster Tulpar T7 V20.3
RTX 3060 Mobile
When I try lspci | grep VGA
I get the following output:
00:02.0 VGA compatible controller: Intel Corporation CometLake-H GT2 [UHD Graphics] (rev 05)
01:00.0 VGA compatible controller: NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q] (rev a1)
I tried downloading the Nvidia 535 driver from both driver manager and apt install. Although it seems to be installed, when I try nvidia-smi I get the following output:
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver.
Also when I try to boot the computer with this driver (i.e. not using nouveau) I get the error named "NVRM: This PCI I/O Region assigned to your NVIDIA device is invalid" and multiple "Failed to start NVIDIA Persistence Daemon", the boot takes too long.
I also tried changing distro and switching to Pop_OS!, I get the same error, nothing has changed. Also when I run games on Steam it never sees the nvidia gpu.
I also got this output when I ran lspci -k | grep -EA3 'VGA|3D|Display':
00:02.0 VGA compatible controller: Intel Corporation CometLake-H GT2 [UHD Graphics] (rev 05)
DeviceName: Onboard - Video
Subsystem: Tongfang Hongkong Limited CometLake-H GT2 [UHD Graphics]
Kernel driver in use: i915
01:00.0 VGA compatible controller: NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q] (rev a1)
Subsystem: Tongfang Hongkong Limited GA106M [GeForce RTX 3060 Mobile / Max-Q]
Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia 01:00.1 Audio device: NVIDIA Corporation Device 228e (rev a1)
My fast boot and secure boot options are off. I have tried pci=realloc=off as a kernel parameter. I have searched for this problem on the internet, foreign forums and reddit and have not found any solution that works. I would really appreciate any help. Thank you.