Score:0

Problem Getting Nvidia drivers to work on Dell Laptop 16 Plus RTX 3060 Ubuntu 21.10

in flag

When I switch to nvidia-driver* I get black screen of death for splash page.

xserver-xorg-video-nouveau works, but only because it is falling back to Intel

$ glxinfo | grep Device Device: Mesa Intel(R) UHD Graphics (TGL GT1) (0x9a60) $ grep CMDLINE_LINUX_DEFAULT /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nvidia-drm.modeset=1 i915.enable_psr=0 pci=noaer" From .local/share/xorg/Xorg.1.log:

[ 15.828] (II) LoadModule: "nvidia" [ 15.828] (WW) Warning, couldn't open module nvidia [ 15.828] (EE) Failed to load module "nvidia" (module does not exist, 0)

cc flag
Which Nvidia driver are you using, and how did you install it? Which gcc compiler are you using ( gcc --version) -- is that the default compiler? The Nvidia driver installs from the standard repos put the driver in a known location, and use a specific version gcc which came with the system to build it -- yours is missing for some reason.
in flag
Seems to happen no matter what nvidia driver I use. I have been trying mostly nvidia-driver-495 from PPA graphics-drivers, but it seems to happen no matter what I try. gcc is the stock version from Ubuntu 21.10: 11.2.0
in flag
When I apt install nvidia-driver-495, it does create nvidia.ko
cc flag
The graphics-drivers PPA should place the driver in /usr/lib/modules/5.13xxx-generic/updates/dkms/nvidia.ko properly, so maybe something was leftover from other installs. Try a complete purge of *nvidia* and reinstall the nvidia-driver-495 driver. Try a reboot after the install too.
Terrance avatar
id flag
Did you disable Secure Boot in BIOS? Also, I am only seeing the `nvidia-driver-495` in the `proposed` repos which means it hasn't been officially released yet for Ubuntu. The newest driver I can see is `nvidia-driver-470`.
in flag
sudo apt install nvidia-driver-495 does create /usr/lib/modules/5.13.0-21-generic/updates/dkms/nvidia.ko I think the problem is in X not in kernel
in flag
Did disable secure boot. Also have tried nvidia-driver-470.
in flag
I think the problem is in the missing nvidia.drv file in /usr/lib/modules/5.13.0-21-generic/updates/dkms/nvidia.ko not in whether I have nvidia.ko, which I do.
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.