Bug 441871 - Screen glitches out half of the time
Summary: Screen glitches out half of the time
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.21.5
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-01 15:51 UTC by David
Modified: 2021-10-20 22:53 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
xsession_errors_log (161.59 KB, text/plain)
2021-09-01 15:51 UTC, David
Details
black_screen (505.53 KB, image/png)
2021-09-02 19:49 UTC, David
Details
broken_screen (1.19 MB, image/png)
2021-09-02 19:51 UTC, David
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David 2021-09-01 15:51:58 UTC
Created attachment 141223 [details]
xsession_errors_log

SUMMARY
After an update to KDE plasma 5.21.5 and frameworks 5.83.0, now roughly half of the times when I start a new session, it does not start latte dock and seems to have graphical glitches when trying to restart it (takes longer than usual to restart, and before restarting sticks with roughly 3/4 of the screen from top to bottom being in black while the rest shows a normal desktop).

It takes a full system restart for the issue to go away (not just a plasma session restart), and next time plasma starts, it will do so with compositing disabled.

The xsession-errors file (attached) shows this message many times:
Errors:

[2594:2594:0901/114421.740314:ERROR:shared_context_state.cc(73)] Skia shader compilation error

STEPS TO REPRODUCE
1. Restart computer, wait until it launches KDE plasma.

OBSERVED RESULT
Plasma starts with issues, latte dock is not shown, has glitches when trying to restart the computer.

EXPECTED RESULT
Should start flawlessly.

REPRODUCIBLE
Roughly half of the times it starts.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2021-09-02 17:47:09 UTC
What other issues do you see besides Latte Dock not launching? If there are graphical glitches, can you attach a screenshot or a photo?
Comment 2 David 2021-09-02 19:34:00 UTC
Graphical glitches when latte doesn’t load:
- If I set the compositor to OpenGL 2.0 or 3.1, when I issue a system restart, roughly 3/4 of the screen (horizontally from top to bottom) will set to black for a while before switching to the text-based non-X screen that shows the restart steps.
- If I set the compositor to OpenGL 3.1 and boot with a resolution higher than the last one I used, the bottom 1/4 of the screen at start up will look kind of separated (like when you break a glass and look through).
- If I set the compositor to Xrender, the bottom 1/3 or so of the screen will look black but a bit transparent.
- If I launch some window and move it around, the movement oftentimes does not look smooth.
- Window corners sometimes look a bit weird.
Comment 3 David 2021-09-02 19:49:10 UTC
Created attachment 141254 [details]
black_screen

Screenshot of the top of the screen going black before restart.
Comment 4 David 2021-09-02 19:51:45 UTC
Created attachment 141255 [details]
broken_screen

Another glitch: moving part of a window to the bottom half of the screen will not display anything (things get cut halfway). Widgets that auto-load are not affected. Selecting with the mouse in the desktop is also affected.
Comment 5 Nate Graham 2021-09-02 20:14:09 UTC
Thanks. Seems like a KWin issue, not a Plasma issue. Latte Dock not starting would be an unrelated thing caused by a separate issue.

Are you using NVIDIA graphics hardware?
Comment 6 David 2021-09-02 20:14:50 UTC
(In reply to Nate Graham from comment #5)
> Thanks. Seems like a KWin issue, not a Plasma issue. Latte Dock not starting
> would be an unrelated thing caused by a separate issue.
> 
> Are you using NVIDIA graphics hardware?

No, this is an AMD Vega 56 using the mesa driver.
Comment 7 David 2021-10-20 22:53:28 UTC
Solved in 5.23.