NetBSD Problem Report #40064

From  Sat Nov 29 12:05:01 2008
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id 3322263B8BD
	for <>; Sat, 29 Nov 2008 12:05:01 +0000 (UTC)
Message-Id: <>
Date: Sat, 29 Nov 2008 13:04:53 +0100 (CET)
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
>Last-Modified:  Mon Jan 17 08:39:56 +0000 2011
>Originator:     Martin Husemann
>Release:        NetBSD 5.99.3
The NetBSD Foundation, Inc.
System: NetBSD 5.99.3 NetBSD 5.99.3 (MARTINS) #23: Tue Nov 25 21:41:28 CET 2008 amd64
Architecture: x86_64
Machine: amd64

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

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

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

Here is a screenshot:

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.

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).



From: Martin Husemann <>
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.


From: Martin Husemann <>
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?


From: Martin Husemann <>
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:

 My vote is still on disabling Composite by default.

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

State-Changed-From-To: open->analyzed
State-Changed-When: Wed, 10 Dec 2008 21:10:14 +0000
Turns out to be a imlib bug (can't handle ARGB visuals), this debian
bug report handles it:
(pointed out by snj)

From: Christian Hattemer <>
Subject: Re: xsrc/40064
Date: Sat, 21 Nov 2009 19:13:12 +0100


 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 from NetBSD 5.0_STABLE here.

 Bye, Chris

State-Changed-From-To: analyzed->feedback
State-Changed-When: Sat, 15 Jan 2011 19:22:49 +0000
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-When: Mon, 17 Jan 2011 08:39:56 +0000
This is a plain pkg bug in Imglib, not related to in-tree xorg


NetBSD Home
NetBSD PR Database Search

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