Bug 514918 - Kwin changes resolution out of nowhere
Summary: Kwin changes resolution out of nowhere
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: git master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-21 21:56 UTC by Akseli Lahtinen
Modified: 2026-01-21 21:58 UTC (History)
0 users

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 Akseli Lahtinen 2026-01-21 21:56:35 UTC
SUMMARY

This has happened to me couple times, and I do not know what exactly causes it, but when opening/closing windows (usually librewolf with hardware rendering on), kwin decides to change resolution to something smaller out of nowhere, without any user input.

STEPS TO REPRODUCE
1. Open various windows that use hardware rendering (idk if that is proper term but anyway)
2. Occasionally journal is full of logs from kwin saying: Atomic modeset test failed! Cannot allocate memory

OBSERVED RESULT
The journal keeps spamming this until resolution gets changed

EXPECTED RESULT
?

SOFTWARE/OS VERSIONS
Operating System: KDE Linux 2026-01-21
KDE Plasma Version: 6.6.80
KDE Frameworks Version: 6.23.0
Qt Version: 6.10.1
Kernel Version: 6.18.5-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 16 GiB of RAM (15.5 GiB usable)
Graphics Processor: AMD Radeon RX 6600


ADDITIONAL INFORMATION

Here's all the logs i have from during the time the reset happens:

Jan 21 23:50:13 desktop flatpak[87373]: qrc:/qt/qml/org/kde/kirigamiaddons/labs/components/Avatar.qml:230:9: QML QQuickImage: Failed to fetch remote media (https://m>
Jan 21 23:50:14 desktop kwin_wayland[69326]: Failed to find a working output layer configuration! Enabled layers:
Jan 21 23:50:14 desktop kwin_wayland[69326]: src KWin::RectF(0,0 3440x1440) -> dst KWin::Rect(0,0 3440x1440)
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Applying output configuration failed!
Jan 21 23:50:14 desktop kwin_wayland[69326]: Failed to find a working output layer configuration! Enabled layers:
Jan 21 23:50:14 desktop kwin_wayland[69326]: src KWin::RectF(0,0 3440x1440) -> dst KWin::Rect(0,0 3440x1440)
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Applying output configuration failed!
Jan 21 23:50:14 desktop kwin_wayland[69326]: Failed to find a working output layer configuration! Enabled layers:
Jan 21 23:50:14 desktop kwin_wayland[69326]: src KWin::RectF(0,0 3440x1440) -> dst KWin::Rect(0,0 3440x1440)
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Applying output configuration failed!
Jan 21 23:50:14 desktop kwin_wayland[69326]: Failed to find a working output layer configuration! Enabled layers:
Jan 21 23:50:14 desktop kwin_wayland[69326]: src KWin::RectF(0,0 3440x1440) -> dst KWin::Rect(0,0 3440x1440)
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Applying output configuration failed!
Jan 21 23:50:14 desktop kwin_wayland[69326]: Failed to find a working output layer configuration! Enabled layers:
Jan 21 23:50:14 desktop kwin_wayland[69326]: src KWin::RectF(0,0 3440x1440) -> dst KWin::Rect(0,0 3440x1440)
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Applying output configuration failed!
Jan 21 23:50:14 desktop kwin_wayland[69326]: Failed to find a working output layer configuration! Enabled layers:
Jan 21 23:50:14 desktop kwin_wayland[69326]: src KWin::RectF(0,0 3440x1440) -> dst KWin::Rect(0,0 3440x1440)
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Applying output configuration failed!
Jan 21 23:50:14 desktop kwin_wayland[69326]: Failed to find a working output layer configuration! Enabled layers:
Jan 21 23:50:14 desktop kwin_wayland[69326]: src KWin::RectF(0,0 3440x1440) -> dst KWin::Rect(0,0 3440x1440)
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Applying output configuration failed!
Jan 21 23:50:14 desktop kwin_wayland[69326]: Failed to find a working output layer configuration! Enabled layers:
Jan 21 23:50:14 desktop kwin_wayland[69326]: src KWin::RectF(0,0 3440x1440) -> dst KWin::Rect(0,0 3440x1440)
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Atomic modeset test failed! Cannot allocate memory
Jan 21 23:50:14 desktop kwin_wayland[69326]: Applying output configuration failed!
Jan 21 23:50:14 desktop kwin_wayland[69326]: Failed to find a working output layer configuration! Enabled layers:
Jan 21 23:50:14 desktop kwin_wayland[69326]: src KWin::RectF(0,0 3440x1440) -> dst KWin::Rect(0,0 3440x1440)

Nothing is kwin related before/after this logspam
Comment 1 Akseli Lahtinen 2026-01-21 21:58:41 UTC
To add, dmesg does not show anything else except:

Tons of spam for overlayfs, doubt it's related

`[17954.605889] overlayfs: maximum fs stacking depth exceeded`

And unsure if this is related either, might be somewhat around same time as the journal spam, but likely not

`[17926.546415] audit: type=1131 audit(1769032339.991:608): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=dbus-:1.4-org.kde.kded.smart@1 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'`