NetBSD Problem Report #49812

From www@NetBSD.org  Fri Apr  3 18:13:34 2015
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id DA5E4A65B8
	for <gnats-bugs@gnats.NetBSD.org>; Fri,  3 Apr 2015 18:13:33 +0000 (UTC)
Message-Id: <20150403181332.B1361A65C3@mollari.NetBSD.org>
Date: Fri,  3 Apr 2015 18:13:32 +0000 (UTC)
From: jmcneill@invisible.ca
Reply-To: jmcneill@invisible.ca
To: gnats-bugs@NetBSD.org
Subject: Pixbufs corruption with 24-bpp displays
X-Send-Pr-Version: www-1.0

>Number:         49812
>Category:       xsrc
>Synopsis:       Pixbufs corruption with 24-bpp displays
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 03 18:15:00 +0000 2015
>Originator:     Jared McNeill
>Release:        7.0_BETA
>Organization:
>Environment:
NetBSD empusa 7.99.5 NetBSD 7.99.5 (ODROID-C1) #466: Fri Apr  3 14:43:09 ADT 2015  Jared@Jared-PC:/cygdrive/d/netbsd/src/sys/arch/evbarm/compile/obj/ODROID-C1 evbarm

>Description:
Not sure if this is an xsrc or pkg bug.

I'm seeing corrupt pixbufs in Midori etc on ODROID-C1 when running with a 24-bpp display. The problem disappears if I run at a different display depth.

It looks strangely exactly like the display corruption I've seen on i965 with drmkms. I can reproduce it easily with the "gtk-demo" app. Here is the expected result:

 http://www.netbsd.org/~jmcneill/amlogic/pixbuf-16bpp.jpg

Here is the result of running the same test with a 24bpp framebuffer:

 http://www.netbsd.org/~jmcneill/amlogic/pixbuf-24bpp.jpg
>How-To-Repeat:
Using a 24-bpp framebuffer in X, run "gtk-demo" and double-click the "Pixbufs" test.
>Fix:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.