Summary: | Exiting and playing Dota2 will generate a lot of logs with warning "kwin_wayland_drm: atomic commit failed: Invalid argument" | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Sigmund <qwe2968> |
Component: | platform-drm | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | REPORTED --- | ||
Severity: | normal | CC: | holubvojtech, nate, xaver.hugl |
Priority: | NOR | ||
Version: | 6.2.2 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
30000 logs
drm-debug.00 drm-debug.01 drm-debug.02 Output of drm_info |
Description
Sigmund
2024-11-05 15:02:30 UTC
Please attach the output of drm_info, so we can get basic information about your GPU and display setup. To figure out exactly why the driver fails the commit, we'll need to use drm debug logging. Just enable it, have the game fullscreen for a few seconds, and then you can disable it again. https://invent.kde.org/plasma/kwin/-/wikis/Debugging-DRM-issues describes how to do that, and how to get the logs from it. Created attachment 175578 [details]
drm-debug.00
Created attachment 175579 [details]
drm-debug.01
Created attachment 175580 [details]
drm-debug.02
(In reply to Zamundaaa from comment #1) > Please attach the output of drm_info, so we can get basic information about > your GPU and display setup. > To figure out exactly why the driver fails the commit, we'll need to use drm > debug logging. Just enable it, have the game fullscreen for a few seconds, > and then you can disable it again. > https://invent.kde.org/plasma/kwin/-/wikis/Debugging-DRM-issues describes > how to do that, and how to get the logs from it. I split one drm-debug log into three. Hope these logs can help. Ahhh, I think they are different things. For my logs are different from them and I use desktop. I also tried their solutions, didn't work. I can reproduce this by running `vkcube --present_mode 0` (VK_PRESENT_MODE_IMMEDIATE_KHR) and forcing fullscreen (ALT+F3 menu). This message appears when I actively move the mouse cursor over the screen - the cube rendering can be paused (SPACE). I had the same problem with Dead by Daylight (game is using system cursor in menu/lobby), enabling vsync in game settings stopped the message from appearing. If I remember correctly, this started with Plasma 6.2. Maybe it's related to the atomic tearing changes? `kwin_wayland_drm: atomic commit failed: Invalid argument` is the only message (one per frame), no kernel errors. Operating System: Fedora Linux 41 KDE Plasma Version: 6.2.3 KDE Frameworks Version: 6.8.0 Qt Version: 6.8.0 Kernel Version: 6.11.7-300.fc41.x86_64 (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 5700X 8-Core Processor Memory: 31.2 GiB of RAM Graphics Processor: AMD Radeon RX 6700 XT Created attachment 175898 [details]
Output of drm_info
My drm_info
|