]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
drm: Also exclude SimpleDRM framebuffers with resolution 640x480
authorAlessandro Astone <alessandro.astone@canonical.com>
Wed, 6 Aug 2025 13:16:37 +0000 (15:16 +0200)
committerHans de Goede <hansg@kernel.org>
Sun, 31 Aug 2025 09:23:11 +0000 (11:23 +0200)
I'm getting this low resolution in QEMU/KVM

src/plugins/renderers/drm/plugin.c

index 54db911e5995acc31ad0ab64552d93c059141ae2..52c9c16afb3a17a1ab3559ac61d0abb75f982877 100644 (file)
@@ -1410,7 +1410,8 @@ check_simpledrm_resolution (ply_renderer_backend_t *backend,
         if (!output->connected)
                 return true;
 
-        if ((output->mode.hdisplay == 800 && output->mode.vdisplay == 600) ||
+        if ((output->mode.hdisplay == 640 && output->mode.vdisplay == 480) ||
+            (output->mode.hdisplay == 800 && output->mode.vdisplay == 600) ||
             (output->mode.hdisplay == 1024 && output->mode.vdisplay == 768)) {
                 ply_trace ("Skipping simpledrm device with mode %dx%d",
                            output->mode.hdisplay, output->mode.vdisplay);