https://bugs.kde.org/show_bug.cgi?id=471979

            Bug ID: 471979
           Summary: plasma-systemmonitor: graphical artefacts with nouveau
                    kernel module
    Classification: Applications
           Product: plasma-systemmonitor
           Version: 5.27.5
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: ksysguard-b...@kde.org
          Reporter: computer.enthusias...@gmail.com
                CC: ahiems...@heimr.nl, plasma-b...@kde.org
  Target Milestone: ---

Created attachment 160088
  --> https://bugs.kde.org/attachment.cgi?id=160088&action=edit
example of graphic artifact

SUMMARY
plasma-systemmonitor is poorly usable due to graphical artefacts when running
with nouveau kernel module . The artifact affects the process tables and the
menus of the program, expecially when the mouse pointer hovers on them. This
issue appeared on a Debian Bookworm (12.0) installation and wasn't present with
previous Debian version. 
A bug report has been opened in the Debian Bug Tracking System:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1040234

STEPS TO REPRODUCE
1. start plasma-systemmonitor from the KDE menu or from the command line,
2. display process table and/or select items from program menu.

OBSERVED RESULT
KDE's plasma-systemmonitor (KDE's system monitor) shows graphical artefacts and
this makes the application poorly usable. The artefacts  are more more visible
when the mouse hovers on a list of items (for  example, the list of running
processes or a list of items in the  program's menu (screenshot attached). The
nouveau kernel module continuously reports the following same error  messages
(in kernel's log) as long as plasma-systemmonitor is running:
-------------8<-------------8<-------------8<-------------8<-------------8<
lug 03 09:20:39 debian kernel: nouveau 0000:01:00.0: gr: TRAP_MP - TP0:00000010
[LOCAL_LIMIT_WRITE]
lug 03 09:20:39 debian kernel: nouveau 0000:01:00.0: gr: TRAP_MP - TP1:00000010
[LOCAL_LIMIT_WRITE]
lug 03 09:20:39 debian kernel: nouveau 0000:01:00.0: gr: TRAP_PROP - TP 0 -
Unknown CUDA fault at address 00201a3800
lug 03 09:20:39 debian kernel: nouveau 0000:01:00.0: gr: TRAP_PROP - TP 0 -
e0c: 00000000, e18: 00000f02, e1c: 00000000, e20: 00000000, e24: 09030000
lug 03 09:20:39 debian kernel: nouveau 0000:01:00.0: gr: TRAP_PROP - TP 1 -
Unknown CUDA fault at address 00201a9100
lug 03 09:20:39 debian kernel: nouveau 0000:01:00.0: gr: TRAP_PROP - TP 1 -
e0c: 00000000, e18: 00000ff2, e1c: 00000000, e20: 00000000, e24: 09030000
lug 03 09:20:39 debian kernel: nouveau 0000:01:00.0: gr: 00200000 [] ch 16
[001e4c6000 Xorg[787]] subc 3 class 8297 mthd 15e0 data 00000000
lug 03 09:20:39 debian kernel: nouveau 0000:01:00.0: fb: trapped write at
00201a3800 on channel 16 [1e4c6000 Xorg[787]] engine 00 [PGRAPH] client 0b
[PROP] subclient 09 [LOCAL] reason 00000002 [PAGE_NOT_PRESENT]
-------------8<-------------8<-------------8<-------------8<-------------8<
The overall graphical performance of the system during the issue is affected
when plasma-systemmonitor is running, too.

When plasma-systemmonitor is stopped, the graphical performance returns normal
and the nouveau kernel module stops generating error messages in kernel's log.

It seems that plasma-systemmonitor is triggering a malfunction in the graphical
stack (detected by nouveau kernel module) and the graphic artefacts are a
consequence of it.

The plasma-systemmonitor distributed with Debian Bookworm uses Qt5 QML. QML
should make use of GPU acceleration, unlike in the system monitor distributed
with previous versions of KDE. Some reports have previously shown similar
issues.

The issue disappears if run plasma-systemmonitor runs from command line
disabling the hardware acceleration by Mesa 3D with the following command that
forces software rendering:

$ LIBGL_ALWAYS_SOFTWARE=1 plasma-systemmonitor

note: the artefacts appear also if Debian Bookworm (12.0) is booted with the
linux kernel version (5.10.165) used in the previous Debian release (that was
not affected by hte issue because it was using a previous and older version of
the KDE system monitor). Therefore, the issue is probably triggered by
something in user space.

EXPECTED RESULT
I would expect plasma-systemmonitor to be running out of the box (with
graphical acceleration from nouveau kernel module) without graphical artefacts.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
The KDE "about" information is:
  Operating System: Debian GNU/Linux 12
  KDE Plasma Version: 5.27.5
  KDE Frameworks Version: 5.103.0
  Qt Version: 5.15.8
  Kernel Version: 6.1.0-9-amd64 (64-bit)
  Graphics Platform: X11
  Processors: 2 × Intel® Core™2 Duo CPU P8400 @ 2.26GHz
  Memory: 2.9 GiB of RAM
  Graphics Processor: NV96
  Manufacturer: Acer
  Product Name: Aspire 5930
  System Version: 0100

ADDITIONAL INFORMATION
This are the details about the nvidia graphic card:
-------------8<-------------8<-------------8<-------------8<-------------8<
$ inxi -G
Graphics:
  Device-1: NVIDIA G96CM [GeForce 9600M GT] driver: nouveau v: kernel
  Display: x11 server: X.Org v: 1.21.1.7 with: Xwayland v: 22.1.9 
driver: X:
    loaded: modesetting unloaded: fbdev,vesa dri: nouveau gpu: nouveau
    resolution: 1280x800~60Hz
  API: OpenGL v: 3.3 Mesa 22.3.6 renderer: NV96
-------------8<-------------8<-------------8<-------------8<-------------8<
-- System Information:
Debian Release: 12.0
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-9-amd64 (SMP w/2 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:it_IT
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages plasma-systemmonitor depends on:
ii  ksystemstats                             5.27.5-2
ii  libc6                                    2.36-9
ii  libkf5configcore5                        5.103.0-2
ii  libkf5configgui5                         5.103.0-2
ii  libkf5coreaddons5                        5.103.0-1
ii  libkf5dbusaddons5                        5.103.0-1
ii  libkf5globalaccel-bin                    5.103.0-1
ii  libkf5globalaccel5                       5.103.0-1
ii  libkf5i18n5                              5.103.0-1
ii  libkf5itemmodels5                        5.103.0-1
ii  libkf5kiogui5                            5.103.0-1
ii  libkf5newstuffcore5                      5.103.0-1
ii  libkf5service-bin                        5.103.0-1
ii  libkf5service5                           5.103.0-1
ii  libkf5windowsystem5                      5.103.0-1
ii  libksysguardsensorfaces1                 4:5.27.5-2
ii  libqt5core5a                             5.15.8+dfsg-11
ii  libqt5dbus5                              5.15.8+dfsg-11
ii  libqt5gui5                               5.15.8+dfsg-11
ii  libqt5qml5                               5.15.8+dfsg-3
ii  libqt5widgets5                           5.15.8+dfsg-11
ii  libstdc++6                               12.2.0-14
ii  qml-module-org-kde-kcm                   5.103.0-1
ii  qml-module-org-kde-kcoreaddons           5.103.0-1
ii  qml-module-org-kde-kirigami2             5.103.0-1
ii  qml-module-org-kde-kitemmodels           5.103.0-1
ii  qml-module-org-kde-kquickcontrolsaddons  5.103.0-1
ii  qml-module-org-kde-ksysguard             4:5.27.5-2
ii  qml-module-org-kde-newstuff              5.103.0-1
ii  qml-module-org-kde-qqc2desktopstyle      5.103.0-1
ii  qml-module-org-kde-quickcharts           5.103.0-1
ii  qml-module-qt-labs-platform              5.15.8+dfsg-2
ii  qml-module-qt-labs-qmlmodels             5.15.8+dfsg-3
ii  qml-module-qtqml                         5.15.8+dfsg-3
ii  qml-module-qtqml-models2                 5.15.8+dfsg-3
ii  qml-module-qtquick-controls2             5.15.8+dfsg-2
ii  qml-module-qtquick-dialogs               5.15.8-2
ii  qml-module-qtquick-layouts               5.15.8+dfsg-3
ii  qml-module-qtquick-window2               5.15.8+dfsg-3
ii  qml-module-qtquick2                      5.15.8+dfsg-3

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to