Bug 21257

Summary: Qt applications strange behavior
Product: xorg Reporter: Luiz Angelo Daros de Luca <luizluca>
Component: Driver/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: 7.4 (2008.09)   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
xorg log
none
Yast on startup (normal)
none
Yast after some hours none

Description Luiz Angelo Daros de Luca 2009-04-17 11:22:05 UTC
Hello,

I'm having a problem with Qt applications and nouveau. I filled a bug in kde (4.2.2) for some drawing problems. However, as it occurs also with virtualbox, I think this might be related to nouveau with Qt.

I use updated nouveau git + drm git without 3d. Alfter some time, plasma and virtualbox, independently, stops to draw some parts randomly. For example, when I pass the mouse over icons, they disapear and reapear (maybe reapers using cache image).

If I kill plasma or vbox and open it again, it works for some time before the same problem reocurs. This happens also with other kde aplications like kterminal.

I also tested with nv without being able to reproduce the problem.

For plasma I got a lot of this error:

QPainter::begin: Paint device returned engine == 0, type: 3                     
QPainter::setCompositionMode: Painter not active    
QPainter::end: Painter not active, aborted                                      

I also reported this in:
https://bugs.kde.org/show_bug.cgi?id=189059

PS: I'm not attaching the kernel log as it has only the normal startup info.
Do I need to attach "drm+debug" ?
Comment 1 Younes Manton 2009-04-17 17:20:59 UTC
Can you attach your Xorg.0.log?
Comment 2 Luiz Angelo Daros de Luca 2009-04-20 11:03:01 UTC
Created attachment 24977 [details]
xorg log

(Sorry, I forget to press "Attach" on bug openning)
Comment 3 Luiz Angelo Daros de Luca 2009-04-25 14:14:52 UTC
From my KDE bug report about this problem:
 
"According to the Plasma developers both Plasma and Konsole have something in
 common: ARGV visuals. So this is probably a graphics driver issue."

Sorry for my ignorance but I just know ARGV from "int main(argc,argv)" ;)

You guys might know what is it. I hope that this is useful.
Comment 4 Younes Manton 2009-04-25 17:05:46 UTC
Probably means ARGB visuals.

You said it started happening a few weeks ago, what did you update to cause it? Are you compiling the driver yourself and can you bisect it? I can't run Plasma or Konsole at the moment so I can't really look at it.
Comment 5 Luiz Angelo Daros de Luca 2009-04-26 17:41:21 UTC
For some time, I was compiling but installing 64 bits libs in /usr/lib/ (nouveau default dir even on x86_64) and not /usr/lib64/. Sometime in the past, I fixed this forcing this in configure script. This brought another bug (already fixed) and so, I can't say which came first: my compilation fix or this bug in git.

If this bug could be rapidly reproduced, I could try something like "git bisect"

Is there any other way I can help?
Comment 6 Luiz Angelo Daros de Luca 2009-04-29 10:59:31 UTC
Some more news:

I cannot reproduce this on a single screen setup. I removed my second monitor and the problem seems to vanish. When I readded it, it came back.

I have an unsual setup with a 21' lcd and a 15' lcd rotated to right and left of the first screen. The main reason to use nouveau is the randr1.2 support.

Comment 7 Younes Manton 2009-04-29 13:07:56 UTC
Can you try without rotation?
Comment 8 Luiz Angelo Daros de Luca 2009-05-14 15:06:45 UTC
It happens also without rotation and with simple apps like Yast



Comment 9 Luiz Angelo Daros de Luca 2009-05-14 15:07:27 UTC
Created attachment 25873 [details]
Yast on startup (normal)
Comment 10 Luiz Angelo Daros de Luca 2009-05-14 15:08:18 UTC
Created attachment 25874 [details]
Yast after some hours

Here, the icons are gone.
Comment 11 Martin Peres 2013-08-13 03:07:12 UTC
Nouveau has no problems with KDE on any of my cards. Let's close this bug.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.