KDE5 After resume from suspend I have corrupted labels under icons

kdekde5nvidiasuspend

I'm using KDE neon distribution (Ubuntu 16.04 LTS + latest KDE5 DE).

Suspend+resume looks to be mostly working on my notebook, but the labels under icons (I have "folder view" set up as background in plasma shell) are corrupted, like this:

screenshot of corrupted labels on desktop

On the left side corrupted icon, on the right fixed by dragging the icon few pixels and letting it drop back to its original place.

Looks to me, as it may be not graphics driver issue, but even KDE5 plasma folder view caching bug?

QUESTION:

  • how to refresh the whole desktop easily? The KDE menu "Refresh Desktop" does not help (I guess there's some cache for icons, and it is not invalidated).

  • how to create some high quality bug report, what kind of logs/commands output is worth of it, and where even to start to hunt down this one.

While I'm programmer myself, I don't do any Qt/KDE5 development, so I don't have even idea, which part of KDE is responsible for these, where to look for errors and which tools are available for diagnostics. A quick look into dmesg and /var/log/Xorg.0.log didn't bring up anything suspicious.

lshw -c video

  *-display               
       description: 3D controller
       product: GM107M [GeForce GTX 960M]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a2
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list rom
       configuration: driver=nvidia latency=0
       resources: irq:130 memory:de000000-deffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:e000(size=128) memory:df000000-df07ffff
  *-display
       description: VGA compatible controller
       product: Intel Corporation
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 06
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915_bpo latency=0
       resources: irq:125 memory:dd000000-ddffffff memory:b0000000-bfffffff ioport:f000(size=64)

glxinfo | grep OpenGL

OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 960M/PCIe/SSE2
OpenGL core profile version string: 4.5.0 NVIDIA 375.66
OpenGL core profile shading language version string: 4.50 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.5.0 NVIDIA 375.66
OpenGL shading language version string: 4.50 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 375.66
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:

Best Answer

I know your pain, this has been annoying me for months now.

  1. The only way to fix the desktop I've found is brute force, I made a shortcut to do this and run it every time I resume from standby:

    killall plasmashell; kstart plasmashell

EDIT: 2020/10/6 - this bug has since been fixed, but for reference: restart command for plasma 5.18.5 is now:

kstart5 plasmashell -- --replace
  1. I can't properly answer this but I'm posting all the info I've got so I can link this from the bug report page. The glitching is a long standing issue with the NVidia drivers and KDE plasma, previously the same question was asked here but it got falsely marked as a duplicate of a similar related issue: https://askubuntu.com/questions/897928/kde-desktop-icons-glitched-after-suspend-kubuntu-16-10

I had some hope after the recent 5.10.3 plasma update as it was supposed to be fixed https://bugs.kde.org/show_bug.cgi?id=344326 https://www.phoronix.com/scan.php?page=news_item&px=KDE-Plasma-5.10.3-Released , but it didn't fix the issue for me.
I'm going to follow up on that bug report with a link to this post so also attaching an image of the bug on my system here.

(EDIT: found the actual bug report for Plasma https://bugs.kde.org/show_bug.cgi?id=382115)

(EDIT2: found the bug report for QT: https://bugreports.qt.io/browse/QTBUG-56610 and NVidia forum thread https://devtalk.nvidia.com/default/topic/971972/linux/icon-text-label-corruption-with-kde-plasma-5-desktop-folder-view/)

$ cat /etc/issue
Ubuntu 17.04 \n \l
$ uname -a
Linux desktop 4.10.0-26-generic #30-Ubuntu SMP Tue Jun 27 09:30:12 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
$ plasmashell --version
plasmashell 5.10.3

Desktop icons after suspend/resume

Related Question