Bug 418422 - Plasma update 5.17 widget rendering issues.
Summary: Plasma update 5.17 widget rendering issues.
Status: RESOLVED UPSTREAM
Alias: None
Product: kdeplasma-addons
Classification: Plasma
Component: systemloadviewer (show other bugs)
Version: 5.18.4
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-03 09:39 UTC by boeroboy
Modified: 2020-04-15 07:18 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Partial screenshot of my desktop with widgets that used to be fine. (287.17 KB, image/jpeg)
2020-03-03 09:39 UTC, boeroboy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description boeroboy 2020-03-03 09:39:16 UTC
Created attachment 126559 [details]
Partial screenshot of my desktop with widgets that used to be fine.

SUMMARY
Widgets being rendered incorrectly, overlays, charts randomly blank.  QT issue?  Please see screenshot attachment.  I've used monitor widgets on my desktop for years but suddenly over the past few months an update has caused widget rendering issues.  Text is randomly redrawn without clearing the buffers, charts randomly go blank, etc.  Sometimes forcing a refresh of a widget or changing the settings causes it to refresh and draw correctly but it would be nice to have an actual fix.

STEPS TO REPRODUCE
1. Place a monitor widget such as CPU temp, cpu load, network, disk etc into desktop.
2. Reboot or watch as occasionally sessions lack half of your charts and numbers are refreshed badly.
3. Change a network monitor or setting in one of the widgets and confirm.  Refreshes may fix it temporarily.

OBSERVED RESULT
Check screenshot attachment.  Charts are missing and numbers are overdrawn.

EXPECTED RESULT
All charts should render correctly as they have in the past.  Numbers should clear buffers when redrawing so you don't see the previous numbers behind.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
Fedora 31


KDE Plasma Version: 
$  sudo dnf info plasma-desktop
Last metadata expiration check: 1:33:38 ago on Tue 03 Mar 2020 07:39:05 AM GMT.
Installed Packages
Name         : plasma-desktop
Version      : 5.17.5
Release      : 1.fc31
Architecture : x86_64
Size         : 26 M
Source       : plasma-desktop-5.17.5-1.fc31.src.rpm
Repository   : @System
From repo    : updates
Summary      : Plasma Desktop shell
URL          : https://cgit.kde.org/plasma-desktop.git
License      : GPLv2+ and (GPLv2 or GPLv3)
Description  : Plasma Desktop shell.

KDE Frameworks Version: 
Qt Version: 
$  sudo dnf info qt5-qtbase
Last metadata expiration check: 1:54:07 ago on Tue 03 Mar 2020 07:39:05 AM GMT.
Installed Packages
Name         : qt5-qtbase
Version      : 5.13.2
Release      : 2.fc31
Architecture : x86_64
Size         : 9.7 M
Source       : qt5-qtbase-5.13.2-2.fc31.src.rpm
Repository   : @System
From repo    : updates
Summary      : Qt5 - QtBase components
URL          : http://qt-project.org/
License      : LGPLv2 with exceptions or GPLv3 with exceptions
Description  : Qt is a software toolkit for developing applications.
             : 
             : This package contains base tools, like string, xml, and network
             : handling.


ADDITIONAL INFORMATION
Comment 1 boeroboy 2020-03-03 09:46:48 UTC
Normal (prior) behaviour here: https://www.youtube.com/watch?v=sBjJRLPN5kA
Comment 2 boeroboy 2020-03-16 12:02:11 UTC
This seems to have resolved itself with recent updates though plasma-desktop and qt5-qtbase are still the same versions... Maybe a graphics driver issue or something?
Comment 3 boeroboy 2020-03-17 08:30:01 UTC
Nope - after a suspend and resume this problem is back.
Comment 4 boeroboy 2020-03-24 08:10:44 UTC
Update on this - seems to only happen after resume from suspend - and ONLY on systems with NVidia GPU.  I have Intel and AMD boxes that work fine but NVidia has render issues.  Strange.
Comment 5 Axel Braun 2020-03-25 08:31:52 UTC
Same issue here:
X1E:/home/docb # glxinfo | grep 'OpenGL renderer string'
OpenGL renderer string: GeForce GTX 1650 with Max-Q Design/PCIe/SSE2
Works fine if only the Intel graphic is used
See: https://bugzilla.opensuse.org/show_bug.cgi?id=1167449
Comment 6 boeroboy 2020-03-27 09:32:26 UTC
Related: https://bugreports.qt.io/browse/QTBUG-73831

Apparently this is common across QT and NVidia.  Mipmaps fail after resume.
Comment 7 Nate Graham 2020-04-15 04:38:27 UTC
Yep, it's an NVIDIA issue. :(
Comment 8 David Edmundson 2020-04-15 06:26:06 UTC
Should be resolved by the context loss event monitoring
Comment 9 boeroboy 2020-04-15 07:18:43 UTC
(In reply to David Edmundson from comment #8)
> Should be resolved by the context loss event monitoring

Thanks.  Link?  Is this a driver fix in roadmap or something similar?