Bug 21257 - Qt applications strange behavior
Summary: Qt applications strange behavior
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/nouveau (show other bugs)
Version: 7.4 (2008.09)
Hardware: Other All
: medium normal
Assignee: Nouveau Project
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-17 11:22 UTC by Luiz Angelo Daros de Luca
Modified: 2013-08-13 03:07 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
xorg log (56.51 KB, text/x-log)
2009-04-20 11:03 UTC, Luiz Angelo Daros de Luca
no flags Details
Yast on startup (normal) (58.14 KB, image/png)
2009-05-14 15:07 UTC, Luiz Angelo Daros de Luca
no flags Details
Yast after some hours (21.07 KB, image/png)
2009-05-14 15:08 UTC, Luiz Angelo Daros de Luca
no flags Details

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.