Skip to contentSkip to conversation

New: Display errors in Qt applications after using Android Virtual Devices

Bug 92287 [email protected] 1 participant 10 messages Oct 5, 2015 – Sep 18, 2019 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 92287
Summary: Display errors in Qt applications after using Android
Virtual Devices
Product: Mesa
Version: 11.0
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: major
Priority: medium
Component: Drivers/DRI/nouveau
Assignee: [email protected]
Reporter: guido-WHizhSsHnEbSgI/GaPOurUTU+k/[email protected]
QA Contact: [email protected]

Created attachment 118670
--> https://bugs.freedesktop.org/attachment.cgi?id=118670&action=edit
Screenshot showing the problems

After using an Android Virtual Machine (from Android Studio,
https://developer.android.com/sdk/index.html) and stopping it, Qt/KDE application will show weird display errors. Pixmaps get drawn poorly aligned or with parts of them corrupted or just not at all, some windows are translucent when they should not be, drop down menus are not drawn fully (some items do not get drawn, although the space for them is still reserved) and have horizontal bars, either black or of various weird colors, through them. Most applications affected by this become unusable. I will attach a screenshot that shows the problem.

Only Qt/KDE applications seem to be affected by this, as far as I can tell. Only applications that are newly started after this will be affected, not applications that have been running before but have opened new windows. When these problems start to happen, only restarting the computer seems to fix them, simply restarting the X server is not enough.

On two occasions so far, the problems were even worse: The X display froze completely, except for mouse movements, and I could no longer switch the keyboards NumLuck LED on or off by pressing Numlock. I had to reset the machine with a SysRq sequence.

This problem is not always reproducible, but seems to happen more often when running two AVDs simultaneously and then quitting them. The AVDs need to be configured to "Use Host GPU". I have not found any other way to reproduce this.

My system:

Gentoo Linux on x86_64
X server: xorg-server 1.17.2-r1
Display driver: 1.0.11
Mesa: 11.0.2
Kernel version: 4.2.2

This also happened with earlier versions of the X server and Mesa. I upgraded those after this problem first started,

Signature · 3 lines
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): bug-92287-8800-V0hAGp6uBxMKqLRl/[email protected]/

#2 lore raw

[Bug 92287] Display errors in Qt applications after using Android Virtual Devices

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

Guido Winkelmann <guido-WHizhSsHnEbSgI/GaPOurUTU+k/[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

 Attachment #118670|text/plain                  |image/png
          mime type|                            |
Signature · 3 lines
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#3 lore raw

[Bug 92287] Display errors in Qt applications after using Android Virtual Devices

In reply to a message not in the archive

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

--- Comment #1 from Guido Winkelmann <guido-WHizhSsHnEbSgI/GaPOurUTU+k/[email protected]> --- Created attachment 118671
--> https://bugs.freedesktop.org/attachment.cgi?id=118671&action=edit
dmesg output when the problem occured

Signature · 3 lines
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#4 lore raw

[Bug 92287] Display errors in Qt applications after using Android Virtual Devices

In reply to a message not in the archive

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

--- Comment #2 from Guido Winkelmann <guido-WHizhSsHnEbSgI/GaPOurUTU+k/[email protected]> --- Created attachment 118672
--> https://bugs.freedesktop.org/attachment.cgi?id=118672&action=edit
Xorg logfile from when the problem occured

Signature · 3 lines
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#5 lore raw

[Bug 92287] Display errors in Qt applications after using Android Virtual Devices

In reply to a message not in the archive

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

--- Comment #3 from Guido Winkelmann <guido-WHizhSsHnEbSgI/GaPOurUTU+k/[email protected]> --- Correction:

It just happened again, and this time, even application that have been running the whole time are affected.

Signature · 3 lines
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#6 lore raw

[Bug 92287] Display errors in Qt applications after using Android Virtual Devices

In reply to a message not in the archive

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

--- Comment #4 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Seems like something may have gotten overwritten (like the background texture was made to be fully transparent). Odd.

You might try with mesa-git -- there are a handful of patches on there that deal with resource lifetime issues, but I doubt it will do anything to resolve your problem.

Signature · 3 lines
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#7 lore raw

[Bug 92287] Display errors in Qt applications after using Android Virtual Devices

In reply to a message not in the archive

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

--- Comment #5 from Guido Winkelmann <guido-WHizhSsHnEbSgI/GaPOurUTU+k/[email protected]> ---

Quoted 1 line

You might try with mesa-git -- there are a handful of patches on there that deal with resource lifetime issues, but I doubt it will do anything to resolve your problem.

I've installed mesa git, and so far, it looks like that solves the reported problems, although sometimes they take a while to manifest. Will report back tomorrow.

Signature · 3 lines
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#8 lore raw

[Bug 92287] Display errors in Qt applications after using Android Virtual Devices

In reply to a message not in the archive

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

--- Comment #6 from Guido Winkelmann <guido-WHizhSsHnEbSgI/GaPOurUTU+k/[email protected]> --- It looked good yesterday, but today the problem is back...

Signature · 3 lines
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#9 lore raw

[Bug 92287] Display errors in Qt applications after using Android Virtual Devices

In reply to a message not in the archive

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

--- Comment #7 from Guido Winkelmann <guido-WHizhSsHnEbSgI/GaPOurUTU+k/[email protected]> --- One more addendum:

Since upgrading to mesa-git yesterday, the problem seems to randomly solve itself every once in a while, whereas before, it could only be solved by rebooting...

Signature · 3 lines
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#10 lore raw

[Bug 92287] Display errors in Qt applications after using Android Virtual Devices

In reply to a message not in the archive

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

GitLab Migration User <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #8 from GitLab Migration User <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1086.

Signature · 3 lines
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau