https://bugs.kde.org/show_bug.cgi?id=365946
Bug ID: 365946
Summary: Use of same Open GL Texture by two windows
Product: plasmashell
Version: master
Platform: Other
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Some user on Reddit complained of black squares/missing text.
I think we've seen other reports, particularly the missing text.
Download http://static.davidedmundson.co.uk/plasmashell.trace
and open qapitrace
Follow texture 97 - It ends up being used by two windows at once for different
things
Chronological history:
====
frame 90 (THUMBNAIL 1)
creates texture 97
*EVENT*
(user mouse overs the firefox tab in the taskbar.
so we're replace the thumbnails AND start to animate the firefox icon in the
taskbar) in two windows
*EVENT*
====
frame 109 (TASKBAR:) deletes texture 97 (probably destruction of window
Thumbnail1?)
frame 109 creates new texture 97 - a slightly highlighted firefox icon
====
frame 110 (THUMBNAIL 2)
deletes textures 97 (because reasons?)
uploads new texture 97
uses glXCreatePixmap so it *must* be the WindowThumbnail item
apitrace reports bug uploading - but that makes sense if the source is some
other window which we don't have replaying
====
frame 112 (TASKBAR)
uses texture 97
API trace doesn't show that texture. (we should see two. Program 22 is fading
node and we clearly try to use two textures)
implies texture 97 is broken - which is what I see on my read-through. It
should be the highlighted firefox, yet it's clearly been deleted and replaced
by that other window
====
Interesting that the relevant parts (a FadingNode and WindowThumbnail) are both
KDE code (i.e more likely to be b0rked than Qt code)
Though this could also be coincidence because these by definition will be doing
more dynamic things than static images.
Possible bugs:
- Window thumbnail is deleting someone elses texture.
I did make an RR about WindowThumbnail doing a double delete once.
Maybe this user doesn't have that patch?
EDIT: OBVIOUSLY NOT BECAUSE I NEVER MERGED IT!!!
OR
- FadingNode isn't holding on to the texture like it should
Though it's a QScopedPointer round the QSGTexure though(?)
OR
-Threads
It is two windows are both meddling with the same texture ID..possible?
and discardPixmap() is called in multiple places in the main thread
which is wrong (?)
OR
- Something else :)
--
You are receiving this mail because:
You are watching all bug changes.