In my quick testing both 16 and 15 bit rendering seems to result a lot
of non-rendering in the xfce login manager (and some apparent
stride-mismatches at 16 bit thrown in for added fun).

Until that works better simply opt out the lower-bit modes by default.

Cc: Chris Wilson <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
---
 src/sna/sna_driver.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/sna/sna_driver.c b/src/sna/sna_driver.c
index 00d90bf..d72787e 100644
--- a/src/sna/sna_driver.c
+++ b/src/sna/sna_driver.c
@@ -520,6 +520,9 @@ static Bool sna_pre_init(ScrnInfoPtr scrn, int flags)
        }
 
        preferred_depth = sna->info->gen < 030 ? 15 : 24;
+       /* i830M seems to be horribly broken with 16/15 bits */
+       if (sna->info->gen == 020)
+               preferred_depth = 24;
        if (!fb_supports_depth(fd, preferred_depth))
                preferred_depth = 24;
 
-- 
1.8.1.4

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to