Timo Aaltonen pushed to branch debian-unstable at X Strike Force / driver / xserver-xorg-video-vesa
Commits: 07ad38e6 by Adam Jackson at 2019-03-08T08:44:28Z Try harder to avoid 24bpp We're preferring depth 24 even if that means 24bpp. Newer servers don't support 24bpp anymore, and even for old servers it's suboptimal. Change the heuristic to only try 24bpp if the alternative is pseudocolor. Fixes: xorg/driver/xf86-video-vesa#3 (cherry picked from commit 634dae745cf71c257554b4c18bde7710cd1716e8) - - - - - 7870aa47 by Timo Aaltonen at 2019-03-08T08:46:06Z update changelog - - - - - af881ade by Timo Aaltonen at 2019-03-08T08:46:18Z upload to sid - - - - - 2 changed files: - debian/changelog - src/vesa.c Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,9 @@ +xserver-xorg-video-vesa (1:2.4.0-2) unstable; urgency=medium + + * Cherry-pick a commit to fix default bpp selection. (LP: #1818879) + + -- Timo Aaltonen <[email protected]> Fri, 08 Mar 2019 10:46:08 +0200 + xserver-xorg-video-vesa (1:2.4.0-1) unstable; urgency=medium [ Sven Joachim ] ===================================== src/vesa.c ===================================== @@ -683,12 +683,14 @@ VESAPreInit(ScrnInfoPtr pScrn, int flags) V_MODETYPE_VBE); /* Preferred order for default depth selection. */ - if (depths & V_DEPTH_24) + if (depths & V_DEPTH_24 && (flags24 & Support32bppFb)) defaultDepth = 24; else if (depths & V_DEPTH_16) defaultDepth = 16; else if (depths & V_DEPTH_15) defaultDepth = 15; + else if (depths & V_DEPTH_24) + defaultDepth = 24; /* ew though */ else if (depths & V_DEPTH_8) defaultDepth = 8; else if (depths & V_DEPTH_4) View it on GitLab: https://salsa.debian.org/xorg-team/driver/xserver-xorg-video-vesa/compare/df7a1a8df5f45f5a8a248ad32d665faa569495af...af881aded17ebd2b85fbcb7203dd8a0c6b7314ca -- View it on GitLab: https://salsa.debian.org/xorg-team/driver/xserver-xorg-video-vesa/compare/df7a1a8df5f45f5a8a248ad32d665faa569495af...af881aded17ebd2b85fbcb7203dd8a0c6b7314ca You're receiving this email because of your account on salsa.debian.org.

