NetBSD Problem Report #40064

From martin@aprisoft.de  Sat Nov 29 12:05:01 2008
Return-Path: <martin@aprisoft.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 3322263B8BD
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 29 Nov 2008 12:05:01 +0000 (UTC)
Message-Id: <20081129120453.89B6BAF580E@emmas.aprisoft.de>
Date: Sat, 29 Nov 2008 13:04:53 +0100 (CET)
From: martin@duskware.de
Reply-To: martin@duskware.de
To: gnats-bugs@gnats.NetBSD.org
Subject: image display problems with in-tree xorg
X-Send-Pr-Version: 3.95

>Number:         40064
>Category:       pkg
>Synopsis:       image display problems with in-tree xorg
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    martin
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 29 12:10:00 +0000 2008
>Closed-Date:    
>Last-Modified:  Mon Jan 17 08:39:56 +0000 2011
>Originator:     Martin Husemann
>Release:        NetBSD 5.99.3
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD martins.aprisoft.de 5.99.3 NetBSD 5.99.3 (MARTINS) #23: Tue Nov 25 21:41:28 CET 2008 martin@martins.aprisoft.de:/usr/src/sys/arch/amd64/compile/MARTINS amd64
Architecture: x86_64
Machine: amd64
>Description:

I switched from XFree to in-tree xorg recently and installed all pkgs from
scratch.

One of the pkgs is qvwm-1.1.12nb8, and it has severe display problems - it
doesn't show any content from .ani, .xpm, .png or .jpg files (didn't try
others).

It is using imlib-1.9.15nb4 to display images, so other users of this lib
might be affected too.

Here is a screenshot:

  http://www.netbsd.org/~martin/qvwm-display-bogus.png

Note that apparently the alpha channel works, but the colour planes are not
filled (seem to be random leftovers). The logo, especially the flag shows this.
The buttons on the xclock frame are also empty (I guess the borders are drawn
by code, the content, from a png file, is missing).

I see this on both an amd64 machine with Radeon driver, as well as a sparc64
one with ffb driver.

I'm filing this as xsrc and not pkg because the pkg has not changed. Maybe
it is an application (or imagelib) bug, but if so XFree did cope.

>How-To-Repeat:
Install the wm/qvwm pkg and run it in default installation. Note the missing
frame window button contents and desktop icons (it is obvious even if you 
never ran this wm before, and the pkg is pretty lightweight).

>Fix:
n/a

>Release-Note:

>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: xsrc/40064: image display problems with in-tree xorg
Date: Sat, 29 Nov 2008 13:15:40 +0100

 Forgot to mention: other apps can display arbitrary images just fine (I tested
 firefox 2 for example). So there must be something special going on due to the
 way imglib or qvwm display the images.

 Martin

From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: xsrc/40064: image display problems with in-tree xorg
Date: Mon, 8 Dec 2008 10:38:51 +0100

 After updating to -current again (I guess Quentin's recent fix is the key)
 *plus* disabling the Composite extension in xorg.conf this works again.

 I have no clue what "Composite" even is and how it would interfere with
 blitting. Since it seems to be buggy, should we disable it by default?

 Martin

From: Martin Husemann <martin@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: Re: xsrc/40064: image display problems with in-tree xorg
Date: Wed, 10 Dec 2008 12:29:42 +0000

 I filed an upstream bug report for this:

   https://bugs.freedesktop.org/show_bug.cgi?id=18999

 My vote is still on disabling Composite by default.

Responsible-Changed-From-To: xsrc-manager->martin
Responsible-Changed-By: martin@NetBSD.org
Responsible-Changed-When: Wed, 10 Dec 2008 21:10:14 +0000
Responsible-Changed-Why:
I'll handle it


State-Changed-From-To: open->analyzed
State-Changed-By: martin@NetBSD.org
State-Changed-When: Wed, 10 Dec 2008 21:10:14 +0000
State-Changed-Why:
Turns out to be a imlib bug (can't handle ARGB visuals), this debian
bug report handles it: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=448360
(pointed out by snj)


From: Christian Hattemer <c.hattemer@arcor.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: xsrc/40064
Date: Sat, 21 Nov 2009 19:13:12 +0100

 Hi,

 it turns out that nedit is also affected by the problem and fixed by 
 disabling the composite extension. With the extension enabled the whole 
 window is full of garbage with only a few recognizeable parts of the normal 
 window content.

 It's interesting that other motif programs such as xpdf and vim-motif aren't 
 affected by the issue.

 The only remaining program with problems I know of is audacity. The window 
 content is basically Ok, but the waveform display is broken. This wasn't 
 fixed by disabling the composite extension.

 I'm using X.org from NetBSD 5.0_STABLE here.

 -- 
 Bye, Chris

State-Changed-From-To: analyzed->feedback
State-Changed-By: jmcneill@NetBSD.org
State-Changed-When: Sat, 15 Jan 2011 19:22:49 +0000
State-Changed-Why:
I fixed some problems today with Composite and DAMAGE support, can you update your sources and try again?


State-Changed-From-To: feedback->open
State-Changed-By: martin@NetBSD.org
State-Changed-When: Mon, 17 Jan 2011 08:39:56 +0000
State-Changed-Why:
This is a plain pkg bug in Imglib, not related to in-tree xorg


>Unformatted:

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-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.