Score:0

Fresh 21.10 not using nvidia driver for rtx3060ti

cn flag

I have a fresh 21.10 OS install.

I have enabled third-party driver downloads.

I have the nvidia driver installed.

Still, it will only use the mesa driver, not the nvidia driver.

xander@gamer2:~$ dpkg --list | grep nvidia
rc  linux-modules-nvidia-470-5.13.0-19-generic 5.13.0-19.19                       amd64        Linux kernel nvidia modules for version 5.13.0-19
ii  linux-modules-nvidia-470-5.13.0-22-generic 5.13.0-22.22+2                     amd64        Linux kernel nvidia modules for version 5.13.0-22
ii  linux-modules-nvidia-470-generic-hwe-20.04 5.13.0-22.22+2                     amd64        Extra drivers for nvidia-470 for the generic-hwe-20.04 flavour
ii  linux-objects-nvidia-470-5.13.0-19-generic 5.13.0-19.19                       amd64        Linux kernel nvidia modules for version 5.13.0-19 (objects)
ii  linux-objects-nvidia-470-5.13.0-22-generic 5.13.0-22.22+2                     amd64        Linux kernel nvidia modules for version 5.13.0-22 (objects)
ii  linux-signatures-nvidia-5.13.0-19-generic  5.13.0-19.19                       amd64        Linux kernel signatures for nvidia modules for version 5.13.0-19-generic
ii  linux-signatures-nvidia-5.13.0-22-generic  5.13.0-22.22+2                     amd64        Linux kernel signatures for nvidia modules for version 5.13.0-22-generic
ii  nvidia-common                              1:0.9.2.2                          amd64        transitional package for ubuntu-drivers-common
ii  nvidia-kernel-common-470                   470.86-0ubuntu0.21.10.1            amd64        Shared files used with the kernel module
ii  nvidia-prime                               0.8.17.1                           all          Tools to enable NVIDIA's Prime
ii  nvidia-settings                            470.57.01-0ubuntu3                 amd64        Tool for configuring the NVIDIA graphics driver
ii  screen-resolution-extra                    0.18.1                             all          Extension for the nvidia-settings control panel
xander@gamer2:~$ lsmod | grep nvidia
nvidia_uvm           1052672  0
nvidia_drm             61440  1
nvidia_modeset       1200128  1 nvidia_drm
nvidia              35311616  2 nvidia_uvm,nvidia_modeset
drm_kms_helper        262144  1 nvidia_drm
drm                   561152  5 drm_kms_helper,nvidia,nvidia_drm
xander@gamer2:~$ glxinfo | grep Vendor
Error: unable to open display 
xander@gamer2:~$ DISPLAY=:0 glxinfo | grep vendor
server glx vendor string: SGI
client glx vendor string: Mesa Project and SGI
OpenGL vendor string: Mesa/X.org
xander@gamer2:~$ DISPLAY=:0 glxinfo | grep Vendor
    Vendor: Mesa/X.org (0xffffffff)

CPU: i5-11600K

GPU: RTX 3060 Ti

OS: 21.10

If I go to additional drivers tab, I cannot change the option. It is stuck to "manually installed driver."

UPDATE

If I replace the RTX-3060Ti GPU with a GTX1600 GPU, Ubuntu uses the nvidia driver.

Which leads me to conclude that either:

  1. 3060Ti (LHR) is too new for Ubuntu
  2. 3060Ti (LHR) is too new for my MSI MAG B560M BAZOOKA mATX Motherboard.
  3. 3060Ti (LHR) is too new for linux nvidia drivers.

UPDATE 2

Ok, I've given up on trying to understand this, but for what it's worth: it worked with the GTX1600, and when I switched back to the RTX3060Ti, it still worked. Stumped.

ChanganAuto avatar
us flag
Have you disabled Secure Boot?
Bram avatar
cn flag
Secure boot is switched OFF in the BIOS.
ChanganAuto avatar
us flag
So, open Nvidia X Server Settings and check which profile is selected. You may need to select "Nvdia" (or high performance) and reboot.
Bram avatar
cn flag
@ChanganAuto nvidia-settings does not run properly, and opens with a blank window. `ERROR: unable to load info from any available system.`
ChanganAuto avatar
us flag
If so then better to remove everything and reinstall: `sudo apt-get remove --purge nvidia* && sudo ubuntu-drivers autoinstall`
Maarten Meijer avatar
fr flag
Have you managed to get it to work?
Bram avatar
cn flag
@MaartenMeijer see update2 section in my post. It inexplicably worked by changing gpu and changing gpu back again.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.