Bug 488989 - amdgpu DRM/radeonsi Mesa: X and Wayland die when using Prism Launcher or War Thunder, sometimes disabling user input entirely.
Summary: amdgpu DRM/radeonsi Mesa: X and Wayland die when using Prism Launcher or War ...
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: generic-crash (show other bugs)
Version: 6.1.0
Platform: Fedora RPMs Linux
: NOR major
Target Milestone: ---
Assignee: KWin default assignee
URL: https://discuss.kde.org/t/random-disp...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-22 15:59 UTC by Roke Julian Lockhart Beedell
Modified: 2024-06-29 17:18 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:
4wy78uwh: Intel-
4wy78uwh: Mesa+
4wy78uwh: nouveau+


Attachments
"Java" crash log from the last time this occurred in Prism Launcher. (23.52 KB, application/x-xz)
2024-06-22 15:59 UTC, Roke Julian Lockhart Beedell
Details
Video demonstrating the issue. (3.11 MB, video/mp4)
2024-06-22 16:02 UTC, Roke Julian Lockhart Beedell
Details
Video demonstrating the issue. (3.41 MB, video/mp4)
2024-06-22 16:02 UTC, Roke Julian Lockhart Beedell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roke Julian Lockhart Beedell 2024-06-22 15:59:06 UTC
Created attachment 170827 [details]
"Java" crash log from the last time this occurred in Prism Launcher.

SUMMARY

When I utilize https://github.com/flathub/org.prismlauncher.PrismLauncher/tree/275738db15e11445f30262f694951e4603ff623f (the commit returned by `flatpak info org.prismlauncher.PrismLauncher`) after approximately 20 minutes of operation, my display shall freeze, then every 5 seconds disable for 2 seconds and re-appear with corrupted content. This can solely *sometimes* be saved by switching to a TTY and killing my user.

Although https://bugzilla.opensuse.org/show_bug.cgi?id=1220043#c0 describes how previously the system immediately ceased to output audio and respond to all commands (including `SysReq`s to the kernel) this wasn't true today (the last time that I verified that it remained reproducible).

That URI also demonstrates that this first occurred on openSUSE Tumbleweed after a system update, and that I expected it to be OS-specific. However, it's remained since I installed Fedora 40 as its replacement. This leads me to believe that it's upstream somewhere, but I have little idea where. After a *lot* of deliberation, I've considered here the most likely place, considering that KWin under Wayland acts as both compositor *and* display server, and because it's the primary commonality between the OSes I've used thus far.

STEPS TO REPRODUCE

1.  Install https://download.fedoraproject.org/pub/fedora/linux/releases/40/Spins/x86_64/iso/Fedora-KDE-Live-x86_64-40-1.14.iso

1.  *   Prism Launcher (Minecraft):

        ```sh
        flatpak install 'https://dl.flathub.org/repo/appstream/org.prismlauncher.PrismLauncher.flatpakref' && \
        flatpak update 'app/org.prismlauncher.PrismLauncher/x86_64/stable' --commit=0319f34827814955c05d8961e4f1fe50956112afdd86251cc27e416859f97434 && \
        flatpak run -vvv 'app/org.prismlauncher.PrismLauncher/x86_64/stable'
        ```

        Prism Launcher always causes it eventually. Usually within 30 minutes of play time, sometimes 5 or 10.

    *   War Thunder:
    
        ```sh
        flatpak install 'https://dl.flathub.org/repo/appstream/com.valvesoftware.Steam.flatpakref' && \
        flatpak update 'app/com.valvesoftware.Steam/x86_64/stable' --commit=173cd565d98d4951bd858bad290e8481a9e72dbf5f7c9c980165a060666184b1 && \
        flatpak run com.valvesoftware.Steam 'steam://install/236390' && \
        flatpak run com.valvesoftware.Steam 'steam://rungameid/236390'
        ```

        Note that it appears to very, very rarely occur in WT anymore.

OBSERVED RESULT

As https://imgur.com/a/https-discussion-fedoraproject-org-t-random-indefinite-system-hang-110020-8-b6Cpbg1 demonstrates, after approximately 20 minutes of Prism Launcher running:

1.  My display freezes.

    Simultaneously:

    2.  Keyboard (and mouse - all HID) input disables.
    3.  The content is artifacted.

4.  That used to be where it would then automatically reboot. However, recently, it's changed:

    1.  The display renders entirely `#000000`, for a moment.
    2.  Then, usually:

        1.  The content reappears, more artefacted. This shall continue unless I try to do something with the keyboard, like the undermentioned.
        2.  Keyboard inputs (at least, switching to the TTY) finally go through.

        However, today, I was finally able to acquire some logs due to being instead dumped into a crash dump in TTY1, instead of having the display corrupt. What appear to be the traces I saw are undermentioned - I hope they're relevant:

        > ```log
        > Jun 22 16:02:25 sayw4i systemd-coredump[11753]: Process 1966 (plasmashell) of user 1000 dumped core.
        >                                                 
        >                                                 Module unitconverter.so from rpm kdeplasma-addons-6.1.0-1.fc40.x86_64
        >                                                 Module kuriikwsfilter.so from rpm kf6-kio-6.3.0-1.fc40.x86_64
        >                                                 Module org.kde.datetime.so from rpm kdeplasma-addons-6.1.0-1.fc40.x86_64
        >                                                 Module fixhosturifilter.so from rpm kf6-kio-6.3.0-1.fc40.x86_64
        >                                                 Module localdomainurifilter.so from rpm kf6-kio-6.3.0-1.fc40.x86_64
        >                                                 Module libkuriikwsfiltereng_private.so.6 from rpm kf6-kio-6.3.0-1.fc40.x86_64
        >                                                 Module kurisearchfilter.so from rpm kf6-kio-6.3.0-1.fc40.x86_64
        >                                                 Module krunner_spellcheck.so from rpm kdeplasma-addons-6.1.0-1.fc40.x86_64
        >                                                 Module kshorturifilter.so from rpm kf6-kio-6.3.0-1.fc40.x86_64
        >                                                 Module krunner_konsoleprofiles.so from rpm kdeplasma-addons-6.1.0-1.fc40.x86_64
        >                                                 Module krunner_dictionary.so from rpm kdeplasma-addons-6.1.0-1.fc40.x86_64
        >                                                 Module krunner_charrunner.so from rpm kdeplasma-addons-6.1.0-1.fc40.x86_64
        >                                                 Module krunner_plasma-desktop.so from rpm plasma-desktop-6.1.0-3.fc40.x86_64
        >                                                 Module krunner_kwin.so from rpm plasma-desktop-6.1.0-3.fc40.x86_64
        >                                                 Module locations.so from rpm plasma-workspace-6.1.0-3.fc40.x86_64
        >                                                 Module krunner_webshortcuts.so from rpm plasma-workspace-6.1.0-3.fc40.x86_64
        >                                                 Module krunner_shell.so from rpm plasma-workspace-6.1.0-3.fc40.x86_64
        >                                                 Module krunner_sessions.so from rpm plasma-workspace-6.1.0-3.fc40.x86_64
        >                                                 Module krunner_services.so from rpm plasma-workspace-6.1.0-3.fc40.x86_64
        >                                                 Module krunner_recentdocuments.so from rpm plasma-workspace-6.1.0-3.fc40.x86_64
        >                                                 Module krunner_powerdevil.so from rpm plasma-workspace-6.1.0-3.fc40.x86_64
        >                                                 Module krunner_placesrunner.so from rpm plasma-workspace-6.1.0-3.fc40.x86_64
        >                                                 Module krunner_kill.so from rpm plasma-workspace-6.1.0-3.fc40.x86_64
        >                                                 Module krunner_bookmarksrunner.so from rpm plasma-workspace-6.1.0-3.fc40.x86_64
        >                                                 Module krunner_appstream.so from rpm plasma-workspace-6.1.0-3.fc40.x86_64
        >                                                 Module helprunner.so from rpm plasma-workspace-6.1.0-3.fc40.x86_64
        >                                                 Module libmpfr.so.6 from rpm mpfr-4.2.1-4.fc40.x86_64
        >                                                 Module libqalculate.so.22 from rpm libqalculate-4.9.0-4.fc40.x86_64
        >                                                 Module calculator.so from rpm plasma-workspace-6.1.0-3.fc40.x86_64
        >                                                 Module krunner_systemsettings.so from rpm plasma-systemsettings-6.1.0-1.fc40.x86_64
        >                                                 Module krunner_pimcontacts.so from rpm akonadi-search-24.05.0-1.fc40.x86_64
        >                                                 Module libKPipeWireDeclarative.so from rpm kpipewire-6.1.0-1.fc40.x86_64
        >                                                 Module libbrightnesscontrolplugin.so from rpm plasma-workspace-6.1.0-3.fc40.x86_64
        >                                                 Module libknotificationqmlplugin.so from rpm kf6-knotifications-6.3.0-1.fc40.x86_64
        >                                                 Module libbatterycontrol.so.6 from rpm plasma-workspace-6.1.0-3.fc40.x86_64
        >                                                 Module libbatterycontrolplugin.so from rpm plasma-workspace-6.1.0-3.fc40.x86_64
        >                                                 Module libbatterymonitorplugin.so from rpm plasma-workspace-6.1.0-3.fc40.x86_64
        >                                                 Module kio_file.so from rpm kf6-kio-6.3.0-1.fc40.x86_64
        >                                                 Module libcluster-private-samba.so from rpm samba-4.20.2-1.fc40.x86_64
        >                                                 Module libclidns-private-samba.so from rpm samba-4.20.2-1.fc40.x86_64
        >                                                 Module libcli-ldap-common-private-samba.so from rpm samba-4.20.2-1.fc40.x86_64
        >                                                 Module libflag-mapping-private-samba.so from rpm samba-4.20.2-1.fc40.x86_64
        >                                                 Module libmsghdr-private-samba.so from rpm samba-4.20.2-1.fc40.x86_64
        >                                                 Module libjansson.so.4 from rpm jansson-2.13.1-9.fc40.x86_64
        >                                                 Module libMESSAGING-SEND-private-samba.so from rpm samba-4.20.2-1.fc40.x86_64
        >                                                 Module libsamdb.so.0 from rpm samba-4.20.2-1.fc40.x86_64
        >                                                 Module libwbclient.so.0 from rpm samba-4.20.2-1.fc40.x86_64
        >                                                 Module libsamba-modules-private-samba.so from rpm samba-4.20.2-1.fc40.x86_64
        >                                                 Module libasn1util-private-samba.so from rpm samba-4.20.2-1.fc40.x86_64
        >                                                 Module libndr-krb5pac.so.0 from rpm samba-4.20.2-1.fc40.x86_64
        >                                                 Module libdatrie.so.1 from rpm libdatrie-0.2.13-9.fc40.x86_64
        >                                                 Module libiov-buf-private-samba.so from rpm samba-4.20.2-1.fc40.x86_64
        >                                                 Module libcli-nbt-private-samba.so from rpm samba-4.20.2-1.fc40.x86_64
        >                                                 Module libaddns-private-samba.so from rpm samba-4.20.2-1.fc40.x86_64
        >                                                 Module libcli-cldap-private-samba.so from rpm samba-4.20.2-1.fc40.x86_64
        >                                                 Module libndr-nbt.so.0 from rpm samba-4.20.2-1.fc40.x86_64
        >                                                 Module libldb.so.2 from rpm libldb-2.9.1-1.fc40.x86_64
        >                                                 Module libsamdb-common-private-samba.so from rpm samba-4.20.2-1.fc40.x86_64
        >                                                 Module libldbsamba-private-samba.so from rpm samba-4.20.2-1.fc40.x86_64
        >                                                 Module libauthkrb5-private-samba.so from rpm samba-4.20.2-1.fc40.x86_64
        >                                                 Module libsmb-transport-private-samba.so from rpm samba-4.20.2-1.fc40.x86_64
        >                                                 Module libkrb5samba-private-samba.so from rpm samba-4.20.2-1.fc40.x86_64
        >                                                 Module libutil-setid-private-samba.so from rpm samba-4.20.2-1.fc40.x86_64
        >                                                 Module libtime-basic-private-samba.so from rpm samba-4.20.2-1.fc40.x86_64
        >                                                 Module libserver-role-private-samba.so fro
        > ```

        > ```log
        > Jun 22 16:02:26 sayw4i kernel: CPU: 6 PID: 1780 Comm: kwin_wayland Tainted: G        W          6.9.5-200.fc40.x86_64 #1
        > Jun 22 16:02:26 sayw4i kernel: Hardware name: ASRock X670E Taichi/X670E Taichi, BIOS 1.21 04/26/2023
        > Jun 22 16:02:26 sayw4i kernel: RIP: 0010:drm_suballoc_try_free+0x38/0x80 [drm_suballoc_helper]
        > Jun 22 16:02:26 sayw4i kernel: Code: 53 48 8b 47 18 48 8b 18 4c 39 eb 74 32 4c 8b 23 49 39 dd 74 2a 48 8b 6b 38 48 85 ed 74 21 48 8b 45 30 a8 01 75 2c 48 8b 45 08 <48> 8b 40 20 48 85 c0 74 0c 48 89 ef ff d0 0f 1f 00 84 c0 75 0b 5b
        > Jun 22 16:02:26 sayw4i kernel: RSP: 0018:ffffa5ec479bf3d8 EFLAGS: 00010246
        > Jun 22 16:02:26 sayw4i kernel: RAX: 0040000000000000 RBX: ffff8c5c67d75c40 RCX: 0000000000400014
        > Jun 22 16:02:26 sayw4i kernel: RDX: ffff8c5c67d75580 RSI: ffffd3a0479f5d40 RDI: 0000000000040000
        > Jun 22 16:02:26 sayw4i kernel: RBP: ffff8c5cf956a940 R08: ffff8c5c67d75e40 R09: 0000000000400014
        > Jun 22 16:02:26 sayw4i kernel: R10: 0000000000400014 R11: 0000000000000000 R12: ffff8c5c67d75000
        > Jun 22 16:02:26 sayw4i kernel: R13: ffff8c5b9ca105f0 R14: ffff8c5b9ca105d0 R15: ffff8c5b9ca105d0
        > Jun 22 16:02:26 sayw4i kernel: FS:  00007faa2346eb40(0000) GS:ffff8c62b8700000(0000) knlGS:0000000000000000
        > Jun 22 16:02:26 sayw4i kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
        > Jun 22 16:02:26 sayw4i kernel: CR2: 0000369400625000 CR3: 000000013ae26000 CR4: 0000000000f50ef0
        > Jun 22 16:02:26 sayw4i kernel: PKRU: 55555554
        > Jun 22 16:02:26 sayw4i kernel: Call Trace:
        > Jun 22 16:02:26 sayw4i kernel:  <TASK>
        > Jun 22 16:02:26 sayw4i kernel:  ? __die_body.cold+0x19/0x27
        > Jun 22 16:02:26 sayw4i kernel:  ? die_addr+0x3c/0x60
        > Jun 22 16:02:26 sayw4i kernel:  ? exc_general_protection+0x17d/0x400
        > Jun 22 16:02:26 sayw4i kernel:  ? asm_exc_general_protection+0x26/0x30
        > Jun 22 16:02:26 sayw4i kernel:  ? drm_suballoc_try_free+0x38/0x80 [drm_suballoc_helper]
        > Jun 22 16:02:26 sayw4i kernel:  ? drm_suballoc_try_free+0x6b/0x80 [drm_suballoc_helper]
        > Jun 22 16:02:26 sayw4i kernel:  drm_suballoc_new+0x18e/0x860 [drm_suballoc_helper]
        > Jun 22 16:02:26 sayw4i kernel:  amdgpu_sa_bo_new+0x1e/0x40 [amdgpu]
        > Jun 22 16:02:26 sayw4i kernel:  amdgpu_ib_get+0x46/0xb0 [amdgpu]
        > Jun 22 16:02:26 sayw4i kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
        > Jun 22 16:02:26 sayw4i kernel:  amdgpu_job_alloc_with_ib+0x77/0xc0 [amdgpu]
        > Jun 22 16:02:26 sayw4i kernel:  amdgpu_vm_sdma_alloc_job+0x59/0x80 [amdgpu]
        > Jun 22 16:02:26 sayw4i kernel:  amdgpu_vm_sdma_prepare+0x49/0xd0 [amdgpu]
        > Jun 22 16:02:26 sayw4i kernel:  amdgpu_vm_update_range+0x1c2/0x7b0 [amdgpu]
        > Jun 22 16:02:26 sayw4i kernel:  ? unix_stream_read_generic+0x269/0xca0
        > Jun 22 16:02:26 sayw4i kernel:  amdgpu_vm_bo_update+0x353/0x750 [amdgpu]
        > Jun 22 16:02:26 sayw4i kernel:  amdgpu_gem_va_ioctl+0x484/0x4b0 [amdgpu]
        > Jun 22 16:02:26 sayw4i kernel:  ? __pfx_amdgpu_gem_va_ioctl+0x10/0x10 [amdgpu]
        > Jun 22 16:02:26 sayw4i kernel:  drm_ioctl_kernel+0xb0/0x100
        > Jun 22 16:02:26 sayw4i kernel:  drm_ioctl+0x28b/0x540
        > Jun 22 16:02:26 sayw4i kernel:  ? __pfx_amdgpu_gem_va_ioctl+0x10/0x10 [amdgpu]
        > Jun 22 16:02:26 sayw4i kernel:  amdgpu_drm_ioctl+0x4e/0x90 [amdgpu]
        > Jun 22 16:02:26 sayw4i kernel:  __x64_sys_ioctl+0x94/0xd0
        > Jun 22 16:02:26 sayw4i kernel:  do_syscall_64+0x82/0x160
        > Jun 22 16:02:26 sayw4i kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
        > Jun 22 16:02:26 sayw4i kernel:  ? drm_ioctl+0x2ba/0x540
        > Jun 22 16:02:26 sayw4i kernel:  ? __pfx_amdgpu_gem_op_ioctl+0x10/0x10 [amdgpu]
        > Jun 22 16:02:26 sayw4i kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
        > Jun 22 16:02:26 sayw4i kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
        > Jun 22 16:02:26 sayw4i kernel:  ? __pm_runtime_suspend+0x69/0xc0
        > Jun 22 16:02:26 sayw4i kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
        > Jun 22 16:02:26 sayw4i kernel:  ? amdgpu_drm_ioctl+0x71/0x90 [amdgpu]
        > Jun 22 16:02:26 sayw4i kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
        > Jun 22 16:02:26 sayw4i kernel:  ? syscall_exit_to_user_mode+0x75/0x230
        > Jun 22 16:02:26 sayw4i kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
        > Jun 22 16:02:26 sayw4i kernel:  ? do_syscall_64+0x8e/0x160
        > Jun 22 16:02:26 sayw4i kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
        > Jun 22 16:02:26 sayw4i kernel:  ? syscall_exit_to_user_mode+0x75/0x230
        > Jun 22 16:02:26 sayw4i kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
        > Jun 22 16:02:26 sayw4i kernel:  ? do_syscall_64+0x8e/0x160
        > Jun 22 16:02:26 sayw4i kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
        > Jun 22 16:02:26 sayw4i kernel:  ? amdgpu_drm_ioctl+0x71/0x90 [amdgpu]
        > Jun 22 16:02:26 sayw4i kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
        > Jun 22 16:02:26 sayw4i kernel:  ? syscall_exit_to_user_mode+0x75/0x230
        > Jun 22 16:02:26 sayw4i kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
        > Jun 22 16:02:26 sayw4i kernel:  ? do_syscall_64+0x8e/0x160
        > Jun 22 16:02:26 sayw4i kernel:  ? do_syscall_64+0x8e/0x160
        > Jun 22 16:02:26 sayw4i kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
        > Jun 22 16:02:26 sayw4i kernel:  ? syscall_exit_to_user_mode+0x75/0x230
        > Jun 22 16:02:26 sayw4i kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
        > Jun 22 16:02:26 sayw4i kernel:  ? do_syscall_64+0x8e/0x160
        > Jun 22 16:02:26 sayw4i kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
        > Jun 22 16:02:26 sayw4i kernel:  ? syscall_exit_to_user_mode+0x75/0x230
        > Jun 22 16:02:26 sayw4i kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
        > Jun 22 16:02:26 sayw4i kernel:  ? do_syscall_64+0x8e/0x160
        > Jun 22 16:02:26 sayw4i kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
        > Jun 22 16:02:26 sayw4i kernel:  ? f_dupfd+0x4a/0x70
        > Jun 22 16:02:26 sayw4i kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
        > Jun 22 16:02:26 sayw4i kernel:  ? do_fcntl+0x32a/0x670
        > Jun 22 16:02:26 sayw4i kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
        > Jun 22 16:02:26 sayw4i kernel:  ? sched_mm_cid_remote_clear+0x8a/0x110
        > Jun 22 16:02:26 sayw4i kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
        > Jun 22 16:02:26 sayw4i kernel:  ? __x64_sys_fcntl+0x81/0xc0
        > Jun 22 16:02:26 sayw4i kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
        > Jun 22 16:02:26 sayw4i kernel:  ? syscall_exit_to_user_mode+0x75/0x230
        > Jun 22 16:02:26 sayw4i kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
        > Jun 22 16:02:26 sayw4i kernel:  ? do_syscall_64+0x8e/0x160
        > Jun 22 16:02:26 sayw4i kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
        > Jun 22 16:02:26 sayw4i kernel:  entry_SYSCALL_64_after_hwframe+0x76/0x7e
        > Jun 22 16:02:26 sayw4i kernel: RIP: 0033:0x7faa29726d5d
        > Jun 22 16:02:26 sayw4i kernel: Code: 04 25 28 00 00 00 48 89 45 c8 31 c0 48 8d 45 10 c7 45 b0 10 00 00 00 48 89 45 b8 48 8d 45 d0 48 89 45 c0 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1a 48 8b 45 c8 64 48 2b 04 25 28 00 00 00
        > Jun 22 16:02:26 sayw4i kernel: RSP: 002b:00007ffcfd9bb620 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
        > Jun 22 16:02:26 sayw4i kernel: RAX: ffffffffffffffda RBX: 0000564ce120e150 RCX: 00007faa29726d5d
        > Jun 22 16:02:26 sayw4i kernel: RDX: 00007ffcfd9bb6c0 RSI: 00000000c0286448 RDI: 000000000000001a
        > Jun 22 16:02:26 sayw4i kernel: RBP: 00007ffcfd9bb670 R08: ffff800108400000 R09: 000000000000000e
        > Jun 22 16:02:26 sayw4i kernel: R10: 0000000000000039 R11: 0000000000000246 R12: 00007ffcfd9bb6c0
        > Jun 22 16:02:26 sayw4i kernel: R13: 00000000c0286448 R14: 000000000000001a R15: 00007ffcfd9bb740
        > Jun 22 16:02:26 sayw4i kernel:  </TASK>
        > Jun 22 16:02:26 sayw4i kernel: Modules linked in: binfmt_misc uinput snd_seq_dummy snd_hrtimer rfcomm nf_conntrack_netbios_ns nf_conntrack_broadcast nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip_set nf_tables qrtr uhid bnep sunrpc vfat fat iwlmvm intel_rapl_msr snd_hda_codec_hdmi mac80211 amd_atl intel_rapl_common uvcvideo edac_mce_amd snd_hda_intel uvc snd_intel_dspcfg libarc4 kvm_amd snd_usb_audio videobuf2_vmalloc videobuf2_memops snd_intel_sdw_acpi videobuf2_v4l2 snd_hda_codec snd_usbmidi_lib videobuf2_common btusb snd_hda_core snd_ump kvm btrtl snd_hwdep snd_rawmidi btintel iwlwifi btbcm snd_seq videodev rapl intel_wmi_thunderbolt snd_seq_device btmtk wmi_bmof pcspkr i2c_piix4 k10temp bluetooth ledtrig_netdev mc snd_pcm corsair_psu cfg80211 r8169 snd_timer snd thunderbolt soundcore realtek rfkill gpio_amdpt gpio_generic joydev squashfs loop nfnetlink zram amdgpu hid_logitech_hidpp crct10dif_pclmul
        > Jun 22 16:02:26 sayw4i kernel:  crc32_pclmul amdxcp crc32c_intel i2c_algo_bit polyval_clmulni polyval_generic drm_ttm_helper ttm drm_exec gpu_sched ghash_clmulni_intel drm_suballoc_helper sha512_ssse3 drm_buddy uas sha256_ssse3 sha1_ssse3 nvme drm_display_helper ccp sp5100_tco nvme_core usb_storage cec nvme_auth video wmi hid_logitech_dj fuse i2c_dev
        > Jun 22 16:02:26 sayw4i kernel: ---[ end trace 0000000000000000 ]---
        > Jun 22 16:02:26 sayw4i kernel: RIP: 0010:drm_suballoc_try_free+0x38/0x80 [drm_suballoc_helper]
        > Jun 22 16:02:26 sayw4i kernel: Code: 53 48 8b 47 18 48 8b 18 4c 39 eb 74 32 4c 8b 23 49 39 dd 74 2a 48 8b 6b 38 48 85 ed 74 21 48 8b 45 30 a8 01 75 2c 48 8b 45 08 <48> 8b 40 20 48 85 c0 74 0c 48 89 ef ff d0 0f 1f 00 84 c0 75 0b 5b
        > Jun 22 16:02:26 sayw4i kernel: RSP: 0018:ffffa5ec479bf3d8 EFLAGS: 00010246
        > Jun 22 16:02:26 sayw4i kernel: RAX: 0040000000000000 RBX: ffff8c5c67d75c40 RCX: 0000000000400014
        > Jun 22 16:02:26 sayw4i kernel: RDX: ffff8c5c67d75580 RSI: ffffd3a0479f5d40 RDI: 0000000000040000
        > Jun 22 16:02:26 sayw4i kernel: RBP: ffff8c5cf956a940 R08: ffff8c5c67d75e40 R09: 0000000000400014
        > Jun 22 16:02:26 sayw4i kernel: R10: 0000000000400014 R11: 0000000000000000 R12: ffff8c5c67d75000
        > Jun 22 16:02:26 sayw4i kernel: R13: ffff8c5b9ca105f0 R14: ffff8c5b9ca105d0 R15: ffff8c5b9ca105d0
        > Jun 22 16:02:26 sayw4i kernel: FS:  00007faa2346eb40(0000) GS:ffff8c62b8700000(0000) knlGS:0000000000000000
        > Jun 22 16:02:26 sayw4i kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
        > Jun 22 16:02:26 sayw4i kernel: CR2: 0000369400625000 CR3: 000000013ae26000 CR4: 0000000000f50ef0
        > Jun 22 16:02:26 sayw4i kernel: PKRU: 55555554
        > Jun 22 16:02:26 sayw4i kernel: note: kwin_wayland[1780] exited with preempt_count 1
        > ```

EXPECTED RESULT

None of this should occur, evidently. At the least, if kwin_wayland has a fault, it should crash cleanly, rather than bring down my system with it, especially in the corrupt way that it has thus far.

SOFTWARE/OS VERSIONS

Operating System: Fedora Linux 40  
KDE Plasma Version: 6.1.0  
KDE Frameworks Version: 6.3.0  
Qt Version: 6.7.1  
Kernel Version: 6.9.5-200.fc40.x86_64 (64-bit)  
Graphics Platform: Wayland  
Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor  
Memory: 30.5 GiB of RAM  
Graphics Processor: AMD Radeon RX 5700  
Manufacturer: ASRock  
Product Name: X670E Taichi  

ADDITIONAL INFORMATION

I have considered whether this is a symptom of a dying GPU. However, it never occurs in anything except WT and Prism Launcher, *seemingly* irrespective of how taxing it is on GPU. However, I don't play much else, so this is mostly anecdotal.

Considering I can usually immediately switch to TTY4, where all is fine, and then switch to TTY1 where it's becoming worse, I can quite confidently assume it's a software fault.

I've really tried my best to make this actionable.
Comment 1 Roke Julian Lockhart Beedell 2024-06-22 16:02:30 UTC
Created attachment 170828 [details]
Video demonstrating the issue.

https://imgur.com/YYUOD3q
Comment 2 Roke Julian Lockhart Beedell 2024-06-22 16:02:55 UTC
Created attachment 170829 [details]
Video demonstrating the issue.

https://imgur.com/hLoDOqR
Comment 3 Roke Julian Lockhart Beedell 2024-06-24 00:05:40 UTC
(In reply to Roke Julian Lockhart Beedell from comment #0)
I just installed Windows 11 and played Prism. It didn't crash for the 6 hours I played. This is undoubtedly a software regression in the graphical stacks utilized by Fedora and OSTW (of course, with the commonality of KDE Plasma 5 and 6 accounting for most of that stack, being the DE).
Comment 4 Zamundaaa 2024-06-24 15:31:10 UTC
This isn't really kwin crashing itself, the crash is in kernel code. Please report this to https://gitlab.freedesktop.org/drm/amd/-/issues
If you can test older kernels, it might help narrow the problem down for amdgpu developers if you find out in which kernel version the issue started to happen.
Comment 5 Roke Julian Lockhart Beedell 2024-06-29 17:18:10 UTC
(In reply to Zamundaaa from comment #4)
Thank you, lots. I've done the best I can - https://gitlab.freedesktop.org/drm/amd/-/issues/3462.