Gigabyte Aero15 GTX 3060 not detected after upgrade to 470 drivers

Hello everyone,
I’ve been trying to figure this one out for a couple of days and it seems that there are a lot of problems with the 470 Nvidia drivers so it might just be related to that but I would like to see if anyone has run into this issue.
New Aero15 laptop with 11th gen Intel and GTX 3060. I have installed Manjaro i3 edition and everything is working fine until after the install I upgrade the system with the latest drivers. (470)
After the reboot, the GTX is not detected by the system anymore.

$ cat /proc/driver/nvidia/gpus/0000:01:00.0/information
Model: NVIDIA GeForce RTX 3060 Laptop GPU
IRQ: 185
GPU UUID: GPU-e44264c2-24ad-cbd9-fce2-cb7b6c30cf8b
Video BIOS: ??.??.??.??.??
Bus Type: PCIe
DMA Size: 47 bits
DMA Mask: 0x7fffffffffff
Bus Location: 0000:01:00.0
Device Minor: 0
GPU Excluded: No

$ nvidia-smi
No devices were found

And dmesg is showing:

[ 296.441341] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x26:0x56:1262)
[ 296.441519] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[ 298.016187] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x26:0x56:1262)
[ 298.016208] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0

$ mhwd

0000:01:00.0 (0300:10de:2520) Display controller nVidia Corporation:


              NAME               VERSION          FREEDRIVER           TYPE

video-hybrid-intel-nvidia-prime 2020.11.30 false PCI
video-nvidia 2020.11.30 false PCI
video-linux 2018.05.04 true PCI
video-modesetting 2020.01.13 true PCI
video-vesa 2017.03.12 true PCI

0000:00:02.0 (0300:8086:9a60) Display controller Intel Corporation:


              NAME               VERSION          FREEDRIVER           TYPE

video-hybrid-intel-nvidia-prime 2020.11.30 false PCI
video-linux 2018.05.04 true PCI
video-modesetting 2020.01.13 true PCI
video-vesa 2017.03.12 true PCI

$ mhwd-gpu --status
:: status
xorg configuration file: ‘/etc/X11/mhwd.d/nvidia.conf’

$ cat /etc/X11/mhwd.d/nvidia.conf

Generated by mhwd - Manjaro Hardware Detection

Let me know if you would like to see any other logs or if you have any idea why this is happening.
This laptop is not my main machine yet so I can experiment.

Thanks,
Bogdan

Is this a hybrid system i.e. do you have an intel APU with graphics and a discrete Nvidia GPU?

video-hybrid-intel-nvidia-prime 2020.11.30 false PCI
video-nvidia 2020.11.30 false PCI

The above is a little clue, because mhwd is reporting that no Nvidia driver is active or working.

If so then my bet is that the Nvidia driver is at fault, and perhaps rolling back to the previous driver version will miraculously improve matters.

Here’s the self help recipe book:

https://wiki.manjaro.org/index.php/Configure_Graphics_Cards

Thank you for your feedback.
This is a hybrid system/
The nvidia drivers are installed. I also tried a reinstall with no change.

Graphics: Device-1: Intel TigerLake-H GT1 [UHD Graphics] vendor: Gigabyte driver: i915 v: kernel bus-ID: 00:02.0
Device-2: NVIDIA GA106M [GeForce RTX 3060 Mobile / Max-Q] vendor: Gigabyte driver: nvidia v: 470.57.02
bus-ID: 01:00.0
Device-3: IMC Networks USB2.0 HD UVC WebCam type: USB driver: uvcvideo bus-ID: 3-9:4
Display: x11 server: X.Org 1.20.11 driver: loaded: modesetting failed: nvidia resolution: 1920x1080
OpenGL: renderer: Mesa Intel UHD Graphics (TGL GT1) v: 4.6 Mesa 21.1.5 direct render: Yes

I’m assuming this might be the reason why it’s not working “loaded: modesetting failed”. I just don’t know how to fix it.

Thanks

Also this file is empty

$ mhwd-gpu
:: status
xorg configuration file: ‘/etc/X11/mhwd.d/nvidia.conf’

and I don’t know if that is normal or not.

Right here it says you have the nvidia driver installed,but somehow is not working for you

I’m assuming that too,because I don’t have that “modesetting failed” with video-hybrid-intel-nvidia-prime

Graphics:  Device-1: Intel HD Graphics 630 driver: i915 v: kernel 
           Device-2: NVIDIA GP107M [GeForce GTX 1050 Ti Mobile] driver: nvidia v: 470.57.02 
           Device-3: Realtek Integrated Webcam type: USB driver: uvcvideo 
           Display: x11 server: X.Org 1.20.11 driver: loaded: modesetting resolution: 1920x1080~60Hz 
           OpenGL: renderer: Mesa Intel HD Graphics 630 (KBL GT2) v: 4.6 Mesa 21.1.5

For now I have a workaround.
I have installed the hybrid drivers using mhwd. After that I went to NVIDIA’s websited and downloaded the 465 driver for linux. After I installed it it recognized the card so at least for now I have some things working. I blacklisted the linux512-nvidia package so it does not get updated.

XRaTIX, are you running prime to switch between intel and nvidia?
I’m new to this so I don’t know what exactly if anything I need to do.
When I run nvidia-smi I get this:

±----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 1156 G /usr/lib/Xorg 4MiB |
±----------------------------------------------------------------------------+
To me it looks like Xorg is running off the GTX and I’m pretty sure that is going to drain the battery pretty fast. Any idea how I can switch between the two?

Thanks

Yeah,when you are in hybrid mode there will be always a Xorg process there,with the 470 drivers there is no longer there.

You can use optimus-manager to switch between integrated only (intel),hybrid (intel + nvidia) or full nvidia

Then just run one of this commands to switch

optimus-manager --switch integrated
optimus-manager --switch hybrid
optimus-manager --switch nvidia

If you prefer a graphical way,you can also install optimus-manager-qt

Then in the systray,you can select what graphic card to use,although I don’t know if this can work with i3,i’m not too familiar with tiling window manager.

image

1 Like

Thanks for the suggestion. I already tried optimus-manager a couple of times and every time I reboot after the install lightdm cannot start but this time something was different. After I installed and rebooted lightdm started as expected. So I’m happy :slight_smile:
I did another full install this time to boot off md raid and everything was fine once I installed the 465 drivers from Nvidia.

Thank you for your help.

2 Likes

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.