Skip to content

ply-device-manager: Treat SimpleDRM drm devices as fbdev devices

Hans de Goede requested to merge jwrdegoede/plymouth:simpledrm-enumeration into main

Simple-framebuffer devices driven by simpledrm lack information like panel-rotation info and physical size, causing the splash to briefly render on its side / without HiDPI scaling, switching to the correct rendering when the native driver loads.

To avoid this treat simpledrm devices as fbdev devices and only use them after the timeout.

Also add 2 exceptions to this:

  1. If nomodeset is passed on the kernel commandline then no native drivers will load, so in this case it is best to immediately use SimpleDRM devices when they are detected.

  2. On some devics the firmware leave the panel black at boot. In this case it is desirable to show the splash to the user ASAP so that there is some visual feedback that the device is booting. Add a support for a "plymouth.use-simpledrm" kernel cmdline option to show the splash immediately on SimpleDRM devices rather then waiting for the native driver to load.

Closes #167 (closed)

Merge request reports