Bug 513582 - Bringing up a Task Switcher that shows window thumbnails sometimes crashes the NVIDIA driver
Summary: Bringing up a Task Switcher that shows window thumbnails sometimes crashes th...
Status: NEEDSINFO WAITINGFORINFO
Alias: None
Product: kwin
Classification: Plasma
Component: tabbox (other bugs)
Version First Reported In: 6.5.4
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-19 14:08 UTC by danct12
Modified: 2025-12-21 13:57 UTC (History)
2 users (show)

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


Attachments
journalctl (3.62 KB, text/plain)
2025-12-19 14:08 UTC, danct12
Details
kwin info from 6.5.3 (6.31 KB, text/x-log)
2025-12-21 13:57 UTC, danct12
Details

Note You need to log in before you can comment on or make changes to this bug.
Description danct12 2025-12-19 14:08:10 UTC
Created attachment 187798 [details]
journalctl

SUMMARY
With Plasma 6.5.4, Kwin would do an illegal read operation on the Task Switcher, causing the GPU driver to crash.

STEPS TO REPRODUCE
1. Set Task Switcher type to "Thumbnail Grid"
2. Repeatedly bring up the Task Switcher via Alt - Tab
3. There's a chance the GPU driver would crash

OBSERVED RESULT
Task switcher would work most of the time.

EXPECTED RESULT
Task switcher causes the GPU driver to sometimes crash.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0 
Qt Version: 6.10.1
NVIDIA Version: 580.119.02

ADDITIONAL INFORMATION
Doesn't seem to happen with 6.5.3. I have tried to downgrade NVIDIA driver to 580.105 (the last version I was on before rebooting) and the issue still persists.

Switching Task Switcher style to "Large Icons" or "Compact" seems to have made the issue go away, as that doesn't display the app overview.
Comment 1 Oliver Beard 2025-12-20 03:11:59 UTC
Is this a problem in the Wayland or X11 session?

What GPU are you using?

Have you tried downgrading only KWin? That would make clear that this is due to a change in KWin rather than some other package/library.

If you are able to determine reliable means of reproducing this, that would be quite helpful.
Comment 2 danct12 2025-12-21 09:45:51 UTC
(In reply to Oliver Beard from comment #1)
> Is this a problem in the Wayland or X11 session?
Wayland

> 
> What GPU are you using?
NVIDIA Geforce GTX 1050 Ti

> 
> Have you tried downgrading only KWin? That would make clear that this is due
> to a change in KWin rather than some other package/library.
> 
> If you are able to determine reliable means of reproducing this, that would
> be quite helpful.

As of the latest update on Arch Linux (and switched to nvidia-580xx-dkms), I'm not able to reproduce the issue anymore. I'll update this report once I can figure out how to reproduce it.
Comment 3 danct12 2025-12-21 13:43:32 UTC
And just got a crash.. I'll be downgrading to kwin 6.5.3 and see if the issue happens there.
Comment 4 danct12 2025-12-21 13:52:28 UTC
(In reply to danct12 from comment #2)
> (In reply to Oliver Beard from comment #1)
> > If you are able to determine reliable means of reproducing this, that would
> > be quite helpful.
> 
Thumbnail Grid and repeatedly Alt-tabbing is probably the best thing I could do to reproduce the issue, sorry :\

Anyway, this is the latest crash from dmesg, and I also upgraded back to driver 580.119.02, GTX 1050 Ti:

[14453.167829] NVRM: Xid (PCI:0000:08:00): 32, pid=1670, name=kwin_wayland, channel 0x000000ed intr 00040000
[14710.643378] NVRM: Xid (PCI:0000:08:00): 32, pid=40599, name=kwin_wayland, channel 0x0000000e intr 00200000
[14710.643724] NVRM: Xid (PCI:0000:08:00): 32, pid=40599, name=kwin_wayland, channel 0x0000000e intr 02000000
[15247.297656] NVRM: Xid (PCI:0000:08:00): 32, pid=81380, name=kwin_wayland, channel 0x0000000e intr 00040000
[15247.297984] NVRM: Xid (PCI:0000:08:00): 32, pid=81380, name=kwin_wayland, channel 0x0000000e intr 00040000

Not sure what these means. If anyone knows an NVIDIA engineer, let me know what these ESR means.
Comment 5 danct12 2025-12-21 13:57:55 UTC
Created attachment 187848 [details]
kwin info from 6.5.3