#StackBounty: #boot #20.04 #nvidia #.desktop Ubuntu-desktop repeatedly not working on boot

Bounty: 50

I’ve been running Ubuntu 20.04.3 LTS on my Lenovo Thinkpad T14 for around a year now with little to no issue. However, very recently I have been experiencing issues with ubuntu-desktop not loading on boot.

Occasionally when I boot my machine I will be met with a black screen with a cursor flashing in the top left corner (rather than booting to the log in screen). Thus far I have managed to fix this by going to tty5 or tty6, logging in and using the command apt-get install --reinstall ubuntu-desktop. After rebooting, the system then tends to boot to the desktop as normal. I say tends as it is not always the case, e.g., today I had to reinstall ubuntu-desktop twice before it worked.

One possible cause that I can see is I have a Nvidia MX330 graphics card, which has not played so nicely with my machine in the past. For instance I previously upgraded the driver for the card and could no longer boot my machine until I rolled back the upgrade. Moreover, I recently purged all of the Nvidia packages from my machine apt-get purge nvidia* and now my machine runs a lot smoother!

I am wondering if anyone has any ideas as to why ubuntu-desktop would be sporadically breaking or as to ways to debug this issue? I checked my update logs less /var/log/apt/history.log and it doesn’t seem to correlate with recent updates.


Get this bounty!!!

#StackBounty: #linux #x11 #nvidia #display Display Constantly "Fuzzy" with Nvidia Driver

Bounty: 50

I’ve been having this issue for at least 3 years where my display will be blurry while using the proprietary Nvidia driver. Nouveau doesn’t fix anything either.

Any screenshots that I take using the monitor will show up crystal clear, but visually looking at it, everything seems fuzzy, blurry and sometimes even ghosts if I move a window around. I have a second monitor plugged in via a DP->VGA adaptor and, even when my main monitor is blurry, that looks perfectly fine. Sometimes my monitor will work flawlessly, but that’s once in a blue moon.

I’m currently running Void Linux with the latest Linux kernel and KDE Plasma.

I am using an Nvidia RTX 2060, and the monitor is getting the signal via HDMI. I am unsure of the monitor’s control board and anything like that as it’s a seemingly random brand that have no official datasheets (and it doesn’t even seem to be sold anymore). What I do know is it’s a 32" 1080p@60Hz display, and it won’t go higher than that.

I don’t have this issue on Windows 10, and everything is displayed crisp and clear as day.

Here are some steps I have taken:

  • Tried GNOME, KDE Plasma and even XFCE – all produce the same output
  • Swapped the HDMI cable and even bought a whole new one
  • Tried changing the HDMI port that I use on the monitor
  • The issue has persisted across two GPUs now (I used to use a GTX1050)
  • Reinstalling the Nvidia Linux drivers (and reconfiguring them). They show up in lsmod and X11 is set to use them – nouveau is blacklisted and I confirmed this with lsmod
  • The issue has persisted over many distros, such as Ubuntu, Pop, Arch, Gentoo and Void.
  • I have looked in the monitor settings and found nothing relevant, and changing everything I can see does nothing to fix the clarity either
  • I’ve looked high and low in Plasma’s and Nvidia’s settings, and tried things such as forced anti-aliasing, text rendering, and even vsync changes. They make no difference even after a save + reboot.
  • I’ve installed every (even seemingly) relevant package across every Linux distribution that I’ve used, and none of them made a difference.
  • I re-tried POP_OS and ensured that I was using the Nvidia ISO and installs to root out any misconfiguration, to no avail.
  • Ensured that FXAA was disabled in the Nvidia settings
  • I can view this image found by @ArtemS.Tashkinov in Firefox while using F11, with no vertical/horizontal scroll bars
  • I have checked through the nvidia log file (the one you’re able to generate manually) and found nothing that seems to relate to my issue.

It’s probably important to note that, in a live Linux ISO, if I change my output to a lower resolution and then back to native a good 5-8 times, the monitor will clear up. This is not a permanent fix but I think it has something to do with the connection being re-initialised, although I’m not too sure about the reason.

Another odd thing I have noticed is that, occasionally, on first boot the monitor will look perfectly fine (as it does on Windows). If the monitor goes into standby mode and turns back on however, things go back to the usual blurry state.

I have looked around for others that have experienced something similar to me and all of the issues turned out to be misconfiguration or things that had nothing to do with what I’m experiencing (mostly anti-aliasing issues).

I find it hard to think of things that could be at fault as it works perfectly fine in Windows, which is baffling to me. In addition to this, when I ran Windows under Linux via KVM+QEMU (with Single GPU Passthrough), all the issues went away as the drivers were handled by Windows.

Here is an output of xrandr:

Screen 0: minimum 8 x 8, current 3360 x 1179, maximum 32767 x 32767
HDMI-0 connected primary 1920x1080+1440+0 (normal left inverted right x axis y axis) 376mm x 301mm
   1920x1080     60.00*+  59.94    50.00    23.98  
   1680x1050     59.95  
   1440x900      59.89  
   1280x720      60.00    59.94    50.00  
   1152x864      60.00  
   1024x768      60.00  
   800x600       60.32    56.25  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    72.81    59.94    59.93  
DP-0 connected 1440x900+0+279 (normal left inverted right x axis y axis) 408mm x 255mm
   1440x900      59.89*+
   1280x1024     75.02    60.02  
   1280x960      60.00  
   1152x864      75.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   640x480       75.00    72.81    59.94  
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)

Here are two previews of google.com, this is windows and this is Linux. I know the differences aren’t too perceivable on camera, but they are to the naked eye. Looking at it more, it seems that the output is also heavily under-saturated while in Linux.

Just as an additional comparison, I ran this sharpness test on both Windows and Linux. Here is Windows, and here is Linux.

I’m completely out of ideas now, so any help or insight as to how I’d go about even debugging this would be greatly appreciated!

I have also asked this question on the Nvidia Linux forums, as suggested by a commenter, but have had zero help there.


Get this bounty!!!

#StackBounty: #20.04 #nvidia #virtualization #cuda #gpu How does one make a GPU in a brand new ubuntu 20.04 VM usable?

Bounty: 50

I’ve been trying all day to have this (v100) GPU working on a new ubuntu VM. I tried installing the drivers and rebooting and also purging/uninstalling everything to do with nvidia but none of these things seem to work.

In particular I ran this specifically:

apt update;
apt install build-essential;

sudo add-apt-repository ppa:graphics-drivers
sudo apt install ubuntu-drivers-common
ubuntu-drivers devices
sudo apt-get install nvidia-driver-460
sudo reboot now

Then sometimes it seems that nvidia-smi is working (as of the writing of this question it wasn’t so I wasn’t able to copy paste what is said when it works) but when it doesn’t work it says this:

(synthesis) miranda9@miranda9:~$ nvidia-smi
Unable to determine the device handle for GPU 0000:00:06.0: Unknown Error

any help is appreciated.

Note I also do not have access to the VMs vmx file so this question and answers are useless/meaningless to me: https://forums.developer.nvidia.com/t/nvidia-smi-reports-unable-to-determine-the-device-handle-for-gpu/46835

In addition I have tried to uninstall everything from nivida and re-install it with:

sudo apt-get --purge remove "*nvidia*"
sudo /usr/bin/nvidia-uninstall

then

apt update;
apt install build-essential;

sudo add-apt-repository ppa:graphics-drivers
sudo apt install ubuntu-drivers-common
ubuntu-drivers devices
sudo apt-get install nvidia-driver-460
sudo reboot now

but that doesnt seem to work


More info in case it helps:

(synthesis) miranda9@miranda9:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.2 LTS
Release:        20.04
Codename:       focal

also:

(synthesis) miranda9@miranda9:~$ python
Python 3.9.5 (default, Jun  4 2021, 12:28:51) 
[GCC 7.5.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
>>> torch.cuda.is_available()
/home/miranda9/miniconda3/envs/synthesis/lib/python3.9/site-packages/torch/cuda/__init__.py:52: UserWarning: CUDA initialization: Unexpected error from cudaGetDeviceCount(). Did you run some cuda functions before calling NumCudaDevices() that might have already set an error? Error 101: invalid device ordinal (Triggered internally at  /opt/conda/conda-bld/pytorch_1623448238472/work/c10/cuda/CUDAFunctions.cpp:115.)
  return torch._C._cuda_getDeviceCount() > 0
False

As requested by comment:

# lspci
00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II]
00:01.2 USB controller: Intel Corporation 82371SB PIIX3 USB [Natoma/Triton II] (rev 01)
00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 01)
00:02.0 VGA compatible controller: Cirrus Logic GD 5446
00:03.0 SCSI storage controller: XenSource, Inc. Xen Platform Device (rev 01)
00:05.0 System peripheral: XenSource, Inc. Citrix XenServer PCI Device for Windows Update (rev 01)
00:06.0 3D controller: NVIDIA Corporation GV100GL [Tesla V100 PCIe 16GB] (rev a1)

another vm:

$ lspci
00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II]
00:01.2 USB controller: Intel Corporation 82371SB PIIX3 USB [Natoma/Triton II] (rev 01)
00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 01)
00:02.0 VGA compatible controller: Cirrus Logic GD 5446
00:03.0 SCSI storage controller: XenSource, Inc. Xen Platform Device (rev 01)
00:05.0 System peripheral: XenSource, Inc. Citrix XenServer PCI Device for Windows Update (rev 01)
00:06.0 3D controller: NVIDIA Corporation GV100GL [Tesla V100 PCIe 16GB] (rev a1)

Resources I’ve search for help:


Get this bounty!!!

#StackBounty: #cuda #gpu #nvidia #ubuntu-20.04 Nvidia-smi ; No devices were found

Bounty: 50

I am facing this issue since 3 days, i have uninstalled nvidia drivers and reinstalled again and tried searching for many answers, i could not find one satisfactory response

When i check my GPU using nvidia-smi i am getting a response No devices were found

Ubuntu drivers in my system

sudo ubuntu-drivers devices
[sudo] password for dev: 
== /sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0 ==
modalias : pci:v000010DEd00001F99sv000017AAsd00003A43bc03sc00i00
vendor   : NVIDIA Corporation
driver   : nvidia-driver-460-server - distro non-free
driver   : nvidia-driver-460 - third-party non-free recommended
driver   : nvidia-driver-465 - third-party non-free
driver   : nvidia-driver-450-server - distro non-free
driver   : xserver-xorg-video-nouveau - distro free builtin

output of LSB modules :

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.2 LTS
Release:    20.04
Codename:   focal

GPU information :

cat /proc/driver/nvidia/gpus/0000:01:00.0/information
Model:       GeForce GTX 1650
IRQ:         91
GPU UUID:    GPU-e40be3a1-7830-6e15-7330-30fd6a28ae8f
Video BIOS:      ??.??.??.??.??
Bus Type:    PCIe
DMA Size:    47 bits
DMA Mask:    0x7fffffffffff
Bus Location:    0000:01:00.0
Device Minor:    0
Blacklisted:     No

Drivers installed :

lspci -k | grep -EA3 'VGA|3D|Display'
01:00.0 VGA compatible controller: NVIDIA Corporation Device 1f99 (rev a1)
    Subsystem: Lenovo Device 3a3f
    Kernel driver in use: nvidia
    Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
--
05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Renoir (rev c7)
    Subsystem: Lenovo Renoir
    Kernel driver in use: amdgpu
    Kernel modules: amdgpu

Nvidia installations :

nvidia_uvm           1011712  0
nvidia_drm             53248  0
nvidia_modeset       1228800  1 nvidia_drm
nvidia              34168832  2 nvidia_uvm,nvidia_modeset
drm_kms_helper        217088  2 amdgpu,nvidia_drm
nvidiafb               53248  0
vgastate               20480  1 nvidiafb
fb_ddc                 16384  1 nvidiafb
i2c_algo_bit           16384  2 nvidiafb,amdgpu
drm                   552960  22 gpu_sched,drm_kms_helper,amdgpu,nvidia_drm,ttm


Get this bounty!!!

#StackBounty: #boot #drivers #20.04 #nvidia Black Screen after boot with GeForce RTX 2080 Ti

Bounty: 50

I have a desktop with GeForce RTX 2080 Ti.

After Ubuntu 20.04 Installation it loads straight onto a blank screen with a blinking cursor. I get a terminal on the system using Ctrl + Alt + F1.

I first tried all the suggestions mentioned below

I read in some forums that the graphics card maybe the root cause of the issue. So I tried checking the compatible versions on NVidia’s website as well as tried running ubuntu-drivers devices

== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd00001E04sv000010DEsd000012AEbc03sc00i00
vendor   : NVIDIA Corporation
model    : TU102 [GeForce RTX 2080 Ti]
driver   : nvidia-driver-465 - third-party non-free
driver   : nvidia-driver-418-server - distro non-free
driver   : nvidia-driver-450-server - distro non-free
driver   : nvidia-driver-460-server - distro non-free
driver   : nvidia-driver-460 - third-party non-free recommended
driver   : xserver-xorg-video-nouveau - distro free builtin

I went with nvidia-driver-460. Tried rebooting after that and still booted up into the same blank screen. I tried running nvidia-smi and then something happened to the display. It showed multiple purple glitches across the screen and returned No devices were found

enter image description here

I tried purging and reinstalling the drivers as per this answer – https://askubuntu.com/a/1129890
The output for some of the commonly requested commands across the forum in similar scenarios have been highlighted

lspci -vvv

01:00.0 VGA compatible controller: NVIDIA Corporation TU102 [GeForce RTX 2080 Ti] (rev a1) (prog-if 00 [VGA controller])
    Subsystem: NVIDIA Corporation TU102 [GeForce RTX 2080 Ti]
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0
    Interrupt: pin A routed to IRQ 16
    Region 0: Memory at a3000000 (32-bit, non-prefetchable) [size=16M]
    Region 1: Memory at 90000000 (64-bit, prefetchable) [size=256M]
    Region 3: Memory at a0000000 (64-bit, prefetchable) [size=32M]
    Region 5: I/O ports at 3000 [size=128]
    Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
    Capabilities: <access denied>
    Kernel driver in use: nvidia
    Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia

dmesg | grep NVRM

[    2.758029] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  460.84  Wed May 26 20:14:59 UTC 2021
[    4.073016] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x26:0xffff:1290)
[    4.073070] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[    4.507083] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x26:0xffff:1290)
[    4.507166] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[    5.189855] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x26:0xffff:1290)
[    5.189875] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[    5.623500] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x26:0xffff:1290)
[    5.623520] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[ 1165.397831] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x26:0xffff:1290)
[ 1165.397902] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[ 1165.830240] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x26:0xffff:1290)
[ 1165.830257] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[ 1179.773513] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x26:0xffff:1290)
[ 1179.773531] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[ 1180.202302] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x26:0xffff:1290)
[ 1180.202325] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[ 1416.634313] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x26:0xffff:1290)
[ 1416.634352] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[ 1417.063089] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x26:0xffff:1290)
[ 1417.063107] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0

dmesg | grep nvidia

[    2.621823] nvidia: module license 'NVIDIA' taints kernel.
[    2.758029] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  460.84  Wed May 26 20:14:59 UTC 2021
[    2.774304] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  460.84  Wed May 26 20:01:59 UTC 2021


Get this bounty!!!

#StackBounty: #boot #drivers #20.04 #nvidia Black Screen after Boot with 2080 Ti

Bounty: 50

I have a desktop with RTX 2080 Ti

After Ubuntu 20.04 Installation it loads straight onto a blank screen with a blinking cursor. I get a terminal on the system using Ctrl + Alt + F1.

I first tried all the suggestions mentioned below

I read in some forums that the graphics card maybe the root cause of the issue. So I tried checking the compatible versions on NVidia’s website as well as tried running ubuntu-drivers devices

== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd00001E04sv000010DEsd000012AEbc03sc00i00
vendor   : NVIDIA Corporation
model    : TU102 [GeForce RTX 2080 Ti]
driver   : nvidia-driver-465 - third-party non-free
driver   : nvidia-driver-418-server - distro non-free
driver   : nvidia-driver-450-server - distro non-free
driver   : nvidia-driver-460-server - distro non-free
driver   : nvidia-driver-460 - third-party non-free recommended
driver   : xserver-xorg-video-nouveau - distro free builtin

I went with nvidia-driver-460. Tried rebooting after that and still booted up into the same blank screen. I tried running nvidia-smi and then something happened to the display. It showed multiple purple glitches across the screen and returned No devices were found

enter image description here

I tried purging and reinstalling the drivers as per this answer – https://askubuntu.com/a/1129890
The output for some of the commonly requested commands across the forum in similar scenarios have been highlighted

lspci -vvv

01:00.0 VGA compatible controller: NVIDIA Corporation TU102 [GeForce RTX 2080 Ti] (rev a1) (prog-if 00 [VGA controller])
    Subsystem: NVIDIA Corporation TU102 [GeForce RTX 2080 Ti]
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0
    Interrupt: pin A routed to IRQ 16
    Region 0: Memory at a3000000 (32-bit, non-prefetchable) [size=16M]
    Region 1: Memory at 90000000 (64-bit, prefetchable) [size=256M]
    Region 3: Memory at a0000000 (64-bit, prefetchable) [size=32M]
    Region 5: I/O ports at 3000 [size=128]
    Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
    Capabilities: <access denied>
    Kernel driver in use: nvidia
    Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia

dmesg | grep NVRM

[    2.758029] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  460.84  Wed May 26 20:14:59 UTC 2021
[    4.073016] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x26:0xffff:1290)
[    4.073070] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[    4.507083] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x26:0xffff:1290)
[    4.507166] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[    5.189855] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x26:0xffff:1290)
[    5.189875] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[    5.623500] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x26:0xffff:1290)
[    5.623520] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[ 1165.397831] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x26:0xffff:1290)
[ 1165.397902] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[ 1165.830240] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x26:0xffff:1290)
[ 1165.830257] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[ 1179.773513] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x26:0xffff:1290)
[ 1179.773531] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[ 1180.202302] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x26:0xffff:1290)
[ 1180.202325] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[ 1416.634313] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x26:0xffff:1290)
[ 1416.634352] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[ 1417.063089] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x26:0xffff:1290)
[ 1417.063107] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0

dmesg | grep nvidia

[    2.621823] nvidia: module license 'NVIDIA' taints kernel.
[    2.758029] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  460.84  Wed May 26 20:14:59 UTC 2021
[    2.774304] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  460.84  Wed May 26 20:01:59 UTC 2021


Get this bounty!!!

#StackBounty: #boot #drivers #nvidia #kernel #21.04 nvidia drivers stopped working after 21.04 update

Bounty: 100

Yesterday I finally updated Ubuntu to 21.04 from 20.10. The update went well, but after a reboot the system was stuck on my motherboard’s splash screen.

I’ve noticed that in grub, I have two kernels to choose from:

5.11.0-22-generic

and

5.8.0-59-generic

When I pick the second one, the system boots, but everything’s kind of weird and glitchy. But it worked well enough for me to open the driver settings, and switch to nouveau.

With nouveau, everything works well with the default kernel, except that I can’t play demanding games, so I’d definitely prefer to use nvidia’s driver.

Switching to nvidia’s driver makes the problem appear again, no matter which version I choose (the default is 460 but I tried other ones too).

Out of curiosity, I tried a Manjaro Live CD which can boot with proprietary drivers, and it had a similar problem. It gets stuck while booting, but when I boot with open source driver, it works. So maybe it’s something to do with the kernel, and nvidia’s driver? Is it a known problem? I have a RTX 2060 video card.


Get this bounty!!!

#StackBounty: #drivers #nvidia #20.04 #kernel #secure-boot Re enable Secure Boot, Screen Goes Blank After Installing NVidia Driver

Bounty: 50

I had installed NVIDIA Drivers 465.27 on my Ubuntu 20.04 using software updater.
That time, I could not sign the kernel modules via installer as mentioned here, rather I disabled the secure boot option from BIOS and everything worked fine. Drivers are working fine, GPU is detected.

As disabling secure boot might not be a security best practice, I wanted to enable it again but my screen goes blank after booting up. I tried manually signing NVIDIA kernel module in DKMS with the method mentioned in this Ubuntu blog

I can see that my nvidia modules at /lib/modules/5.8.0-59-generic/updates/dkms/ are signed as I can see the message Module signature appended~. at the end of hex dump. But still if I enable Secure Boot option, the screen goes blank after booting. How can I re-enable secure boot in my Ubuntu 20.04? Thank you in advance!


Get this bounty!!!

#StackBounty: #nvidia #display #hdmi #display-resolution Connecting Ubuntu Machine to New Display Does Not Recognise Display

Bounty: 50

I have a machine running Ubuntu 20.04 which was connected to a 4K display (Samsung), and is now connected to a different 4K display (Dell). Since rebooting the machine, just before it gets to the login screen, the display goes blank and the display notifies me

No HDMI 1 Cable. The display will go into standby mode

Why would a different display cause this and how do I fix it?

Note : I’ve just inserted an Ubuntu Live USB device. Afer checking the disks I get the same thing, just a blank screen and the message:

No HDMI 1 Cable. The display will go into standby mode.


Get this bounty!!!