Bug 500953 - KolourPaint causes the NVIDIA driver to crash when editing large images (especially the cut feature)
Summary: KolourPaint causes the NVIDIA driver to crash when editing large images (espe...
Status: RESOLVED UPSTREAM
Alias: None
Product: kolourpaint
Classification: Applications
Component: general (other bugs)
Version First Reported In: 24.08.3
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: kolourpaint-support
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-02 12:25 UTC by Niels
Modified: 2025-03-03 11:09 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Niels 2025-03-02 12:25:47 UTC
SUMMARY
Whenever I edit a large image using KolourPaint, my complete desktop freezes.

STEPS TO REPRODUCE
1. Open a large image
2. Try to select a part of the image 
3. Try to cut it, it works once or twice and then KDE crashes

OBSERVED RESULT
The NVIDIA driver / KDE completely crashes

EXPECTED RESULT
A cut image

SOFTWARE/OS VERSIONS
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 6.12.6-gentoo
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.2

ADDITIONAL INFORMATION
- I'm no longer able to use the graphical inteface in any way, until I reboot.
- I can switch back to the terminal and reboot my machine safely
- NVIDIA driver version: x11-drivers/nvidia-drivers-550.144.03

Relevant dmesg related snippets:
- Mar 02 12:15:07 pc03 kernel: NVRM: _instmemAddHashEntry: Display Hash table is FULL!! <- This error will be flooding the log files.
- Eventually the following error pops up: ar 02 12:15:21 pc03 kernel: [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to apply atomic modeset.  Error code: -22

Eventually the graphics driver crashes:
Mar 02 12:15:47 pc03 kernel: [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 0
Mar 02 12:15:47 pc03 root[1769]: ACPI event unhandled: jack/lineout LINEOUT unplug
Mar 02 12:15:47 pc03 root[1771]: ACPI event unhandled: jack/videoout VIDEOOUT unplug
Mar 02 12:15:47 pc03 kwin_wayland[1075]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Mar 02 12:15:50 pc03 kernel: [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 0
Mar 02 12:15:52 pc03 kwin_wayland[1075]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Mar 02 12:15:53 pc03 kernel: [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 0
Mar 02 12:15:56 pc03 kernel: [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 0
Mar 02 12:15:56 pc03 acpid[832]: client connected from 910[0:0]
Mar 02 12:15:56 pc03 acpid[832]: 1 client rule loaded
Mar 02 12:15:56 pc03 root[1785]: ACPI event unhandled: jack/lineout LINEOUT plug
Mar 02 12:15:56 pc03 root[1787]: ACPI event unhandled: jack/videoout VIDEOOUT plug
Mar 02 12:15:57 pc03 root[1789]: ACPI event unhandled: jack/lineout LINEOUT unplug
Mar 02 12:15:57 pc03 root[1791]: ACPI event unhandled: jack/videoout VIDEOOUT unplug
Mar 02 12:15:57 pc03 kwin_wayland[1075]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Mar 02 12:16:00 pc03 kernel: [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 0
Mar 02 12:16:02 pc03 kwin_wayland[1075]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Mar 02 12:16:03 pc03 kernel: [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 0
Mar 02 12:16:05 pc03 acpid[832]: client 910[0:0] has disconnected
Mar 02 12:16:05 pc03 systemd[1]: Received SIGINT.
Mar 02 12:16:05 pc03 systemd[1]: Activating special unit System Reboot...
Mar 02 12:16:05 pc03 sddm-helper[990]: Signal received: SIGTERM
Mar 02 12:16:05 pc03 systemd[1]: Stopping Session 2 of User nvanaert...
Mar 02 12:16:05 pc03 sddm[903]: Authentication error: SDDM::Auth::ERROR_INTERNAL "Process crashed"
Mar 02 12:16:05 pc03 sddm[903]: Auth: sddm-helper (--socket /tmp/sddm-auth-b495f7a1-ecc6-45c4-a80f-abb44eaf58cd --id 1 --start /usr/libexec/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland --user nvanaert) crashed (exit code 1)
Mar 02 12:16:05 pc03 sddm[903]: Authentication error: SDDM::Auth::ERROR_INTERNAL "Process crashed"
Mar 02 12:16:05 pc03 sddm[903]: Auth: sddm-helper exited with 1
Mar 02 12:16:05 pc03 dbus-daemon[1062]: [session uid=1000 pid=1062 pidfd=5] Activating service name='org.kde.kwalletd6' requested by ':1.21' (uid=1000 pid=1353 comm="/usr/bin/kwalletmanager5 --kwalletd")
Mar 02 12:16:05 pc03 kwalletd6[1802]: kf.wallet.kwalletd: Lacking a socket, pipe: 0 env: 0
Mar 02 12:16:06 pc03 kernel: [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 0
Mar 02 12:16:07 pc03 root[1807]: ACPI event unhandled: jack/lineout LINEOUT plug
Mar 02 12:16:07 pc03 root[1809]: ACPI event unhandled: jack/videoout VIDEOOUT plug
Mar 02 12:16:07 pc03 kwin_wayland[1075]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Mar 02 12:16:10 pc03 kernel: [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 0
Mar 02 12:16:12 pc03 kwin_wayland[1075]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Mar 02 12:16:13 pc03 kernel: [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 0
Mar 02 12:16:16 pc03 kernel: [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 0
Mar 02 12:16:17 pc03 kwin_wayland[1075]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Mar 02 12:16:19 pc03 kernel: [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 0
Mar 02 12:16:22 pc03 kernel: [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 0
Comment 1 Martin Koller 2025-03-03 11:09:36 UTC
kwin_wayland[1075]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug


Nothing kolourpaint can do here, sorry.