NetBSD Problem Report #46974

From www@NetBSD.org  Sun Sep 16 20:38:25 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 717FE63B907
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 16 Sep 2012 20:38:25 +0000 (UTC)
Message-Id: <20120916203824.3A9B663B86D@www.NetBSD.org>
Date: Sun, 16 Sep 2012 20:38:24 +0000 (UTC)
From: krille@users.sf.net
Reply-To: krille@users.sf.net
To: gnats-bugs@NetBSD.org
Subject: x11/qt4-libs: rendering problems (qlandkartegt, merkaartor)
X-Send-Pr-Version: www-1.0

>Number:         46974
>Category:       pkg
>Synopsis:       x11/qt4-libs: rendering problems (qlandkartegt, merkaartor)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 16 20:40:00 +0000 2012
>Last-Modified:  Sat Sep 29 11:55:01 +0000 2012
>Originator:     Christian Hattemer
>Release:        5.1_STABLE
>Organization:
>Environment:
NetBSD webster.lan 5.1_STABLE NetBSD 5.1_STABLE (WEBSTER) #0: Sun Aug 26 14:40:57 CEST 2012  krille@webster.lan:/home/krille/pc-build/obj/sys/arch/i386/compile/WEBSTER i386
>Description:
I have upgraded x11/qt4-libs from 4.7.4nb2 to 4.8.3 and geography/qlandkartegt from 1.0.1nb4 to 1.4.2nb3. The base system had also been upgraded to the latest state of the branch previously.

Now the display of qlandkartegt is broken. It used to start with an odd window layout and the map flickering heavily on every mouse move. Slightly resizing the window would fix it. For unknown reasons it has stopped doing that now and starts up ok. However all further windows that can be opened are still broken and can't be fixed by resizing them.

Here's what happens in the terminal:
krille@webster:~ > qlandkartegt
use config file: "" 
Warning: QNativeImage: Unable to attach to shared memory segment. 
Warning: X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x0
Warning: X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x0
Warning: X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x0

The warnings appear when a broken dialog is shown.

It seems that qlandkartegt works a little better when running it from twm. However there are still broken windows and it varies which ones are broken during runtime. I'm normally using wm/icewm 1.3.7 (pkg updated by myself).

geography/merkaartor (0.17.2nb3 to 0.17.2nb11) has a similar problem: The main window used to be broken and unfixable, now it seems ok, but all further windows are broken and unfixable. There's no output on the terminal.

I heard that the issue might have to do with graphics/cairo, FWIW I'm using 1.10.2nb5.
>How-To-Repeat:
See above.
>Fix:

>Audit-Trail:
From: Christian Hattemer <c.hattemer@arcor.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/46974: x11/qt4-libs: rendering problems (qlandkartegt, merkaartor)
Date: Tue, 25 Sep 2012 21:53:32 +0200

 I found that the Qt Designer is also broken with similar symptoms, other 
 tools (qtconfig, qdbusviewer, qmlviewer) seem to be working.

 I wonder whether this problem is related to bin/46978?

 -- 
 LG, Christian

 /~\ The ASCII
 \ / Ribbon Campaign
   X  against HTML
 / \ E-Mail

From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/46974: x11/qt4-libs: rendering problems (qlandkartegt,
 merkaartor)
Date: Fri, 28 Sep 2012 09:24:46 +0000

 On Sun, Sep 16, 2012 at 08:40:00PM +0000, krille@users.sf.net wrote:
  > I heard that the issue might have to do with graphics/cairo, FWIW
  > I'm using 1.10.2nb5.

 That's the old one. It's 1.12 that's been reported to cause problems.
 (and at least one batch of those problems has been fixed by updating
 the radeon X driver)

 -- 
 David A. Holland
 dholland@netbsd.org

From: Christian Hattemer <c.hattemer@arcor.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/46974: x11/qt4-libs: rendering problems (qlandkartegt, merkaartor)
Date: Sat, 29 Sep 2012 13:53:48 +0200

 On 09/28/12 11:25, David Holland wrote:
 >   That's the old one. It's 1.12 that's been reported to cause problems.
 >   (and at least one batch of those problems has been fixed by updating
 >   the radeon X driver)

 I guess there isn't much chance in updating the driver on netbsd-5 with 
 native X? Probably the options are
 * Update to netbsd-6
 * Switch to pkgsrc X
 * Revert to older Qt

 -- 
 LG, Christian

 /~\ The ASCII
 \ / Ribbon Campaign
   X  against HTML
 / \ E-Mail

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.