5

I have a system76 laptop (Oryxp3) which works flawlessly with Kubuntu, hibernation and suspension too, drivers and everything too (battery sucks, but it's mostly a software problem which will take a lot of time to address), but for whatever reason only the DESKTOP makes some weird glitches when resuming from suspension/hibernation.

I can fix it by changing Layout from "Folder view" to "Desktop", applying and then reverting back to "Folder view", so it seems like a refresh problem.

Although I would love to have either a proper fix to refresh my desktop after suspend, or a command to do that. A hack or a workaround that I can bind to a command, I'm just too lazy to unlock widgets, right click, change option, apply, revert, apply every restore from suspension.

My GPU is NVIDIA GTX 1070 with NVIDIA drivers: 375.39

Here is how it looks, although sometimes is worse and the font gets all colored in weird ways and it's unreadable:

Desktop icons with graphic glitches

0

3 Answers 3

2

Nvidia cards exhibit this weird display corruption when resuming from sleep. Simplest work around is toggle the compositor: alt+shft+f12

4
  • 2
    This doesn't work on my system, only thing that gets rid of it is:killall plasmashell; kstart plasmashell
    – Ozone
    Apr 2, 2017 at 9:05
  • A similar issue is still a present issue with Kubuntu 18.04.2 x64 on NVIDIA driver 430.26. A discussion into the bug is discussed here.
    – safesploit
    Jun 20, 2019 at 21:17
  • 1
    @AdrianMaire I don't think I was able to answer because it was already closed as a duplicate, but I later posted a response to this question on the unix forum instead unix.stackexchange.com/a/378177/17168 The bug is fixed in up to date kde/nvidia drivers, but it's still sometimes useful to restart plasma: current one-liner command is: kstart5 plasmashell -- --replace
    – Ozone
    Oct 6, 2020 at 0:37
  • @Ozone, I requested to re-open, and it seems done. You might want to add you solution. Also, you can link the unix page for reference. Oct 8, 2020 at 13:59
1

This bug has been fixed, see closed reports (from: https://unix.stackexchange.com/a/378177/17168):

I haven't had the problem with glitched desktop icons for over a year or two now but I do still notice some apps with accelerated contexts will be glitched after a restart but it can usually be fixed by just moving the window or refreshing a page.

If you are running an older KDE version or you just want to restart plasma for another reason you can use (Sources: 1 and 2 ):

KDE > 5.13

 kstart5 plasmashell -- --replace

KDE > 5.10

 kquitapp5 plasmashell
 kstart5 plasmashell

KDE 5

 killall plasmashell
 kstart plasmashell

KDE 4

killall plasma-desktop
kstart plasma-desktop
1

I got it fixed by adding:

[QtQuickRendererSettings] 
GraphicsResetNotifications=true

to ~/.config/plasmashellrc

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .