Discussion:
[kwin] [Bug 394921] New: Desktop Display Corrupted
(too old to reply)
b***@kde.org
2018-06-01 13:06:53 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=394921

Bug ID: 394921
Summary: Desktop Display Corrupted
Product: kwin
Version: 5.12.5
Platform: Archlinux Packages
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: compositing
Assignee: kwin-bugs-***@kde.org
Reporter: nroycea+***@gmail.com
Target Milestone: ---

Created attachment 112997
--> https://bugs.kde.org/attachment.cgi?id=112997&action=edit
View of corrupted desktop display.

I have NO idea how to categorize this or what the cause could be, but recently
(within past few updates?), my desktop display would get completely corrupted
with icons, widgets, bottom bar, start menu all get corrupted with some text,
likely from what I was viewing in the browser.

It's nearly unviewable when it happens and I am forced to reboot (hmm, logout?
I might try that after this).
I updated today and it already happened after a handful of hours.
I looked at the xorg.0.log and the last entry was only like 58 seconds of
uptime.

I can't tell if there is anything relevent in journalctl, but the following
happened around that time I think:
*****
Jun 01 07:25:35 computername plasmashell[1011]: QXcbConnection: XCB error: 2
(BadValue), sequence: 46720, resource id: 60817409, major code: 142 (Unknown),
minor code: 3
Jun 01 07:25:35 computername plasmashell[1011]:
file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/ToolTipInstance.qml:36:
ReferenceError: index is not defined
Jun 01 07:25:35 computername plasmashell[1011]:
file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/ToolTipInstance.qml:437:
ReferenceError: VirtualDesktop is not defined
Jun 01 07:25:35 computername plasmashell[1011]: QXcbConnection: XCB error: 2
(BadValue), sequence: 46313, resource id: 79691781, major code: 142 (Unknown),
minor code: 3
Jun 01 07:25:35 computername plasmashell[1011]: QXcbConnection: XCB error: 2
(BadValue), sequence: 46312, resource id: 79691781, major code: 142 (Unknown),
minor code: 3
Jun 01 07:25:35 computername plasmashell[1011]: QXcbConnection: XCB error: 2
(BadValue), sequence: 46311, resource id: 79691781, major code: 142 (Unknown),
minor code: 3
Jun 01 07:25:35 computername plasmashell[1011]:
file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/ToolTipInstance.qml:437:
ReferenceError: VirtualDesktop is not defined
Jun 01 07:25:35 computername plasmashell[1011]:
file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/ToolTipInstance.qml:41:
ReferenceError: AppPid is not defined
Jun 01 07:25:35 computername plasmashell[1011]:
file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/ToolTipInstance.qml:437:
ReferenceError: VirtualDesktop is not defined
Jun 01 07:25:35 computername plasmashell[1011]:
file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/ToolTipInstance.qml:395:
ReferenceError: model is not defined
Jun 01 07:25:35 computername plasmashell[1011]:
file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/ToolTipInstance.qml:37:
ReferenceError: index is not defined
Jun 01 07:25:35 computername plasmashell[1011]:
file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/ToolTipInstance.qml:181:
ReferenceError: IsMinimized is not defined
Jun 01 07:25:35 computername plasmashell[1011]:
file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/ToolTipInstance.qml:36:
ReferenceError: index is not defined
Jun 01 07:25:35 computername plasmashell[1011]:
file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/ToolTipInstance.qml:41:
ReferenceError: AppPid is not defined
Jun 01 07:25:35 computername kwin_x11[984]: QXcbConnection: XCB error: 3
(BadWindow), sequence: 59138, resource id: 81788929, major code: 18
(ChangeProperty), minor code: 0
Jun 01 07:25:35 computername kwin_x11[984]: QXcbConnection: XCB error: 3
(BadWindow), sequence: 59134, resource id: 81788928, major code: 18
(ChangeProperty), minor code: 0
Jun 01 07:25:33 computername plasmashell[1011]: QXcbConnection: XCB error: 2
(BadValue), sequence: 45904, resource id: 77594630, major code: 142 (Unknown),
minor code: 3
Jun 01 07:25:33 computername plasmashell[1011]: QXcbConnection: XCB error: 2
(BadValue), sequence: 45903, resource id: 75497478, major code: 142 (Unknown),
minor code: 3
Jun 01 07:25:33 computername plasmashell[1011]: QXcbConnection: XCB error: 2
(BadValue), sequence: 45902, resource id: 75497478, major code: 142 (Unknown),
minor code: 3
Jun 01 07:25:33 computername plasmashell[1011]:
file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/ToolTipInstance.qml:36:
ReferenceError: index is not defined
*****
--
You are receiving this mail because:
You are watching all bug changes.
Martin Flöser
2018-06-01 15:25:45 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=394921

--- Comment #1 from Martin Flöser <***@kde.org> ---
please provide the output of:
qdbus org.kde.KWin /KWin supportInformation

when the problem is visible.
--
You are receiving this mail because:
You are watching all bug changes.
Martin Flöser
2018-06-02 11:18:09 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=394921

Martin Flöser <***@kde.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #113008|text/x-log |text/plain
mime type| |
--
You are receiving this mail because:
You are watching all bug changes.
Martin Flöser
2018-06-02 11:19:35 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=394921

--- Comment #3 from Martin Flöser <***@kde.org> ---
You are using xrender. I doubt that you want that. Please try switching to
OpenGL. If it doesn't work it might indicate broken drivers.
--
You are receiving this mail because:
You are watching all bug changes.
b***@kde.org
2018-06-02 11:26:41 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=394921

--- Comment #4 from nroycea+***@gmail.com ---
Heh, actually I do want xrender...
The reason I did that (and I probably should've created a bug for it) is
because over time, OpenGL rendering messes up video.
I may be watching video on Kodi and rendering "sort of" stops. I say "sort of"
because if I move my mouse over it I think, or move the window, the video is
repainted, but once I stop moving it, rendering stops again.
With that, at least I wouldn't have to reboot to "fix" it, but switch the
compositor is enough to get it going again (until next time).
XRender NEVER had that problem.
--
You are receiving this mail because:
You are watching all bug changes.
b***@kde.org
2018-06-02 11:28:49 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=394921

--- Comment #5 from nroycea+***@gmail.com ---
Oh, also I could log out rather than reboot with this issue.
And switching the compositor to OpenGL (without logging out or rebooting)
didn't change anything (like how video rendering would start again).
--
You are receiving this mail because:
You are watching all bug changes.
b***@kde.org
2018-06-02 11:06:31 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=394921

--- Comment #2 from nroycea+***@gmail.com ---
Created attachment 113008
--> https://bugs.kde.org/attachment.cgi?id=113008&action=edit
qdbus command output

Yay (I don't even know if I'm being sarcastic), it just happened again...
When I rebooted before, I ran your command, outputting to a txt file as a
baseline.
Now that it happened again, I ran it again and ran a diff on the outputs but
sadly no changes.

This time I was working in kicad and when I click on the Start Menu (whatever
it's called in KDE), I could see the kicad rendering overlaying the Start Menu.
The text "Project name"..."gerbview"..."pcb_calculator"... all very clear that
the rendering was grabbed from kicad.

I might keep it as-is (no reboot) for a while since I can somewhat manage
through it, just so we can do more troubleshooting in this current condition
rather than have to wait for it to happen.
--
You are receiving this mail because:
You are watching all bug changes.
Martin Flöser
2018-06-02 12:58:04 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=394921

--- Comment #6 from Martin Flöser <***@kde.org> ---
Please switch to OpenGL and provide the supportInformation
--
You are receiving this mail because:
You are watching all bug changes.
b***@kde.org
2018-06-02 13:09:10 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=394921

--- Comment #7 from nroycea+***@gmail.com ---
Created attachment 113012
--> https://bugs.kde.org/attachment.cgi?id=113012&action=edit
baseline qdbus for opengl

I'm assuming you want it for the corrupted output, but sadly I was forced to do
a magic-key-reboot because of a different issue (not related to KDE I don't
believe).
But this is the output for opengl after the reboot.
If(/when?) it happens again or messes up with my video viewing, I'll run it
again and submit the output.
--
You are receiving this mail because:
You are watching all bug changes.
Martin Flöser
2018-06-02 14:50:58 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=394921

--- Comment #8 from Martin Flöser <***@kde.org> ---
What I wanted to know was whether your driver works at all. That seems to be
the case.
--
You are receiving this mail because:
You are watching all bug changes.
Martin Flöser
2018-06-02 14:48:54 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=394921

Martin Flöser <***@kde.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #113012|text/x-log |text/plain
mime type| |
--
You are receiving this mail because:
You are watching all bug changes.
b***@kde.org
2018-06-02 15:30:35 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=394921

--- Comment #9 from nroycea+***@gmail.com ---
Ah. Do you still think I'm in the right place or should I be looking to some
other component as the cause of this issue?
I use Arch, and I think I could pacman -U previous KDE/QT stuff, but I dread
that it won't be smooth (dependencies...).
--
You are receiving this mail because:
You are watching all bug changes.
Martin Flöser
2018-06-02 15:52:01 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=394921

--- Comment #10 from Martin Flöser <***@kde.org> ---
We recently got several graphics issues and what they have in common is the
newer Mesa version. If you are able to downgrade Mesa, that could be worth a
try.

Given the screenshot I doubt it's a problem in KWin, but rather lower in the
stack. What's extremely showing is that xrender hasn't seen any functionality
changes for quite some time, so a regression there is extremely unlikely.
--
You are receiving this mail because:
You are watching all bug changes.
b***@kde.org
2018-06-03 16:27:06 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=394921

--- Comment #11 from nroycea+***@gmail.com ---
Downgraded Mesa to 17.3.7 (from 18.0.4) and seeing it here too.
I think I'll "try to" downgrade mesa and kwin/plasma down to 5.12.1 timeframe.
--
You are receiving this mail because:
You are watching all bug changes.
b***@kde.org
2018-06-08 16:11:19 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=394921

--- Comment #12 from nroycea+***@gmail.com ---
After downgrading all 5.12.# packages to 5.12.1, I tried to update mesa to
18.0.4 but for some reason, programs wouldn't load, so I brought that down to
18.0.1.

No corruption occurred for a couple of days which I think was good enough, so I
updated all the 5.12.1 packages to 5.12.2 and got a corruption today.

I dropped back down to 5.12.1 and will let that go for awhile to see if it
truly doesn't corrupt.
--
You are receiving this mail because:
You are watching all bug changes.
b***@kde.org
2018-06-11 19:22:58 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=394921

--- Comment #13 from nroycea+***@gmail.com ---
Nope, still an issue with 5.12.1.
Dropping mesa down from 18.0.1 to 17.3.
--
You are receiving this mail because:
You are watching all bug changes.
b***@kde.org
2018-06-13 20:12:05 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=394921

--- Comment #14 from nroycea+***@gmail.com ---
Nope, all kde stuff version 5.12.1, mesa 17.3.5, and the display still
corrupts.
Going to drop xorg stuff from 1.20.0-5 to 1.19.5-1.

Man, this is bonkers.
--
You are receiving this mail because:
You are watching all bug changes.
b***@kde.org
2018-06-13 20:14:37 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=394921

--- Comment #15 from nroycea+***@gmail.com ---
Hmm, downgrading showing xorg-server and xf86-video-intel are in conflict.
Maybe something in xf86-video-intel...
--
You are receiving this mail because:
You are watching all bug changes.
b***@kde.org
2018-06-15 23:43:49 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=394921

--- Comment #16 from nroycea+***@gmail.com ---
Got rid of xf86-video-intel and it still happened.
Downgraded xorg stuff to 1.19.5 and it "looks like" it's still happening except
only the background and close button of the program previews is corrupted.
It may be a fluke that the Start menu and desktop icons aren't also corrupted.

I had prior to downgrading xorg stuff, I upgraded everything.
Now I'll just downgrade kde/xorg/mesa altogether.

But really, I'm at a loss. Having downgraded each component that I think could
have affected the corruption, yet it still happens.
--
You are receiving this mail because:
You are watching all bug changes.
b***@kde.org
2018-06-20 00:55:39 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=394921

--- Comment #17 from nroycea+***@gmail.com ---
I started to downgrade a bunch of stuff which started to snowball with
dependencies and then sddm ended up no longer logging in (likely unfulfilled
downgrades).

So I just upgraded everything to the latest yet again (upgraded during testing
so I'm VERY doubtful the success was related to the upgrade) and renamed
.config so every config had to be recreated.
After a few days and still no problems.

Go figure...
I still have the old .config dirs but don't have much interest in determining
which ended up being the problem since it's working again.

So unless you have an idea you want me to look at relating to the .config
stuff, I guess this can be considered closed.
--
You are receiving this mail because:
You are watching all bug changes.
Martin Flöser
2018-06-20 04:23:44 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=394921

Martin Flöser <***@kde.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |WORKSFORME
Status|UNCONFIRMED |RESOLVED

--- Comment #18 from Martin Flöser <***@kde.org> ---
Setting to worksforme as of latest comment.
--
You are receiving this mail because:
You are watching all bug changes.
b***@kde.org
2018-06-24 03:42:44 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=394921

nroycea+***@gmail.com changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|WORKSFORME |---

--- Comment #19 from nroycea+***@gmail.com ---
Ugh, too soon I'm afraid.
(also, seeing I have the option to change the status).

No idea why it happened now. But I will say 2 changes I've made was to the
workspace theme/colors and adding widgets.

I've changed them back (I think), but the corruption didn't change. I probably
have to log out first for it to clear up.
--
You are receiving this mail because:
You are watching all bug changes.
b***@kde.org
2018-06-26 15:33:59 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=394921

***@gmail.com changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmail
| |.com

--- Comment #20 from ***@gmail.com ---
Just a quick note to say I'm seeing the same thing here on Gentoo:

Version
=======
KWin version: 5.12.5
Qt Version: 5.9.4
Qt compile version: 5.9.4
XCB compile version: 1.13


When it happens, restarting plasmashell works and avoid a full reboot:

$ kquitapp5 plasmashell && kstart5 plasmashell
--
You are receiving this mail because:
You are watching all bug changes.
b***@kde.org
2018-06-28 22:26:09 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=394921

--- Comment #21 from nroycea+***@gmail.com ---
Good to know. I actually just had to use that right now, but for something
different and I'm not even sure what bug category to classify it under...

I just paused spotify then turned off my audio receiver (via HDMI).
I know stuff happens on my PC whenever I turn my receiver on/off. EG. Kodi will
come to the foreground.

My desktop and system bar all disappeared this time, almost like a crash except
there was nothing listed under coredumpctl and journalctl didn't flag anything
in red.
The only entries at that time were a bunch of:
*****
Jun 28 16:49:46 computername ksmserver[2873]: UnmapNotify: 26275158
Jun 28 16:49:46 computername ksmserver[2873]: Unknown toplevel for MapNotify
Jun 28 16:49:46 computername ksmserver[2873]: UnmapNotify: 100663376
*****
and
*****
Jun 28 16:58:49 computername kwin_x11[2883]: QXcbConnection: XCB error: 3
(BadWindow), sequence: 49621, resource id: 111152821, major code: 18
(ChangeProperty), minor code: 0
*****
and a bunch of
*****
Jun 28 16:59:11 computername kscreen_backend_launcher[2865]:
kscreen.xcb.helper: RRScreenChangeNotify
Jun 28 16:59:10 computername kscreen_backend_launcher[2865]:
kscreen.xcb.helper: Subpixel Order: 0
Jun 28 16:59:10 computername kscreen_backend_launcher[2865]:
kscreen.xcb.helper: Connection: "Disconnected"
Jun 28 16:59:10 computername kscreen_backend_launcher[2865]:
kscreen.xcb.helper: Rotation: "Rotate_0"
Jun 28 16:59:10 computername kscreen_backend_launcher[2865]:
kscreen.xcb.helper: Mode: 70
Jun 28 16:59:10 computername kscreen_backend_launcher[2865]:
kscreen.xcb.helper: CRTC: 64
Jun 28 16:59:10 computername kscreen_backend_launcher[2865]:
kscreen.xcb.helper: Output: 68
Jun 28 16:59:10 computername kscreen_backend_launcher[2865]:
kscreen.xcb.helper: RRNotify_OutputChange
Jun 28 16:59:10 computername kscreen_backend_launcher[2865]:
kscreen.xcb.helper: State (newValue, Deleted): 1
Jun 28 16:59:10 computername kscreen_backend_launcher[2865]:
kscreen.xcb.helper: Property: EDIDd
Jun 28 16:59:10 computername kscreen_backend_launcher[2865]:
kscreen.xcb.helper: Output: 68
Jun 28 16:59:10 computername kscreen_backend_launcher[2865]:
kscreen.xcb.helper: RRNotify_OutputProperty (ignored)
Jun 28 16:59:10 computername kscreen_backend_launcher[2865]:
kscreen.xcb.helper: State (newValue, Deleted): 1
Jun 28 16:59:10 computername kscreen_backend_launcher[2865]:
kscreen.xcb.helper: Property: EDID
Jun 28 16:59:10 computername kscreen_backend_launcher[2865]:
kscreen.xcb.helper: Output: 68
Jun 28 16:59:10 computername kscreen_backend_launcher[2865]:
kscreen.xcb.helper: RRNotify_OutputProperty (ignored)
Jun 28 16:58:50 computername ksmserver[2873]: Grab Released
*****

Hmm, actually those ksmserver UnmapNotify related stuff seems to be peppered
throughout my log. Not just at that time.
The kscreen_backend_launcher stuff "MAY" be from when I restarted plasmashell.
Again, no crash per se... it just disappears.

Still no corruption ever since I deleted my configs AGAIN. I'll wait some more
days before I start to customize it again and also wait some days in between
customization. I'm thinking widgets will come first.

Some more debugging lines probably need to be added to the code (somewhere)
since the system isn't being told of these failures.
--
You are receiving this mail because:
You are watching all bug changes.
b***@kde.org
2018-07-07 04:51:56 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=394921

--- Comment #22 from nroycea+***@gmail.com ---
Note to self:
Over 1 week and no corruption after resetting stuff.
Added widgets back. Wait a period of time, then change theme.
--
You are receiving this mail because:
You are watching all bug changes.
b***@kde.org
2018-07-21 09:24:11 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=394921

--- Comment #23 from nroycea+***@gmail.com ---
2 more weeks later and still no issues after adding ONLY widgets.
I upgraded again and now adding on another change by way of Workspace
Theme->Look And Feel-> Oxygen.
We'll see if this causes any issues. I think I normally customize it a little
more, but will limit this test to only that change.
--
You are receiving this mail because:
You are watching all bug changes.
b***@kde.org
2018-08-02 22:58:32 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=394921

***@gmail.com changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmail.com
--
You are receiving this mail because:
You are watching all bug changes.
b***@kde.org
2018-08-10 14:44:31 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=394921

--- Comment #24 from nroycea+***@gmail.com ---
Actually I changed to Look And Feel to Breeze Dark and still no issues.
Now I'm taking it further by changing the Desktop Theme to Oxygen, and Colors
to Zion (Reversed), and Application Style->Widget Style to Oxygen.
--
You are receiving this mail because:
You are watching all bug changes.
Christoph Feck
2018-09-05 03:17:30 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=394921

--- Comment #25 from Christoph Feck <***@kde.org> ---
Any update?
--
You are receiving this mail because:
You are watching all bug changes.
b***@kde.org
2018-09-05 05:10:15 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=394921

nroycea+***@gmail.com changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |WORKSFORME

--- Comment #26 from nroycea+***@gmail.com ---
Sadly (or not), I haven't had any problems after making those changes.
I also reinstalled opengl intel/mesa stuff the other day and still no problems
as of yet.

Maybe the issue was unknowingly fixed by some update. As such, I'll close it
with "works for me" since I can't speak for kilian.
--
You are receiving this mail because:
You are watching all bug changes.
Loading...