This is happening because the mainline kernels started getting built
with CONFIG_UBSAN=y.

Apparently, turning this on at build time inserts code at various points
that helps identify undefined behaviour, and even though the runtime
reporter is not on, the inserted code breaks the nvidia driver.

If you build your own kernel without the option, things work fine.

** Changed in: nvidia-graphics-drivers-470 (Ubuntu)
       Status: New => Confirmed

** Summary changed:

- Kubuntu 21.04 Mainline Kernels Fail To Boot Using Nvidia 470.63.01
+ Recent Mainline Kernels with CONFIG_UBSAN=y Fail To Boot Using Nvidia 
470.63.01

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to nvidia-graphics-drivers-470 in Ubuntu.
https://bugs.launchpad.net/bugs/1943104

Title:
  Recent Mainline Kernels with CONFIG_UBSAN=y Fail To Boot Using Nvidia
  470.63.01

Status in nvidia-graphics-drivers-470 package in Ubuntu:
  Confirmed

Bug description:
  Kubuntu 21.04 Nvidia 470.63.01 Installing mainline kernel using UKUU
  from https://kernel.ubuntu.com/~kernel-ppa/mainline/

  All mainline kernels installed since upgrading to Nvidia 470.63.01 failing to 
boot though compile is without error. Splash screen blinks then is stuck at the 
point in the photo below. https://gyazo.com/a4aff411c1deb7bd1613e5740123dd5b 
  Tried with the following kernels 5.13.13 5.14.0 5.14.1 5.14.2

  Last good kernel was 5.14-rc7 which was compiled with previous Nvidia
  version 470.57.x Purge and reinstall makes zero difference.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-470/+bug/1943104/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to