Aha! Now the plymouth log makes sense.

This looks innocent enough:
00:00:04.091 ../src/plugins/renderers/drm/plugin.c:977:load_driver         : 
Opening '/dev/dri/card0'
00:00:04.091 ../src/plugins/renderers/drm/plugin.c:981:load_driver         : 
open failed: No such file or directory

because presumably we are trying to open SimpleDRM just as the nvidia-
drm driver is loading, which removes SimpleDRM (starting from NVIDIA
570.133.07-0ubuntu2, but it could happen with any other DRM driver as
well).

But!

ply-device-manager somewhat ingenuously treats any ENOENT as a "the drm
plugin is not installed" at $libdir/plymouth/renderers/drm.so

So it completely gives up on DRM, and we never get a graphical splash
screen.

This is fixed upstream by
https://gitlab.freedesktop.org/plymouth/plymouth/-/commit/c06ee92bafc586d20710c39a6f0d38651b769ffd

This also explains why @ahasenack mentioned in bug 2103798 that he *sometimes* 
sees a graphical splash screen and sometimes not, as it's a race condition 
whether we fail to open SimpleDRM with ENOENT or not.
While excluding all DRM drivers from initrd also "fixes" the issue by making 
SimpleDRM never go away so early, so that we cannot possibly fail to open it 
with ENOENT.

** Changed in: plymouth (Ubuntu)
       Status: Incomplete => Triaged

** Changed in: plymouth (Ubuntu)
   Importance: Undecided => Medium

** Changed in: plymouth (Ubuntu)
     Assignee: (unassigned) => Alessandro Astone (aleasto)

** Summary changed:

- Plymouth doesn't show splash screen with NVIDIA GPU
+ Plymouth doesn't always show splash screen if DRM drivers are installed in 
initrd

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2105377

Title:
  Plymouth doesn't always show splash screen if DRM drivers are
  installed in initrd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dracut/+bug/2105377/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to