Hello,
I am experiencing frequent, random screen freezes lasting about 1-2 seconds on my laptop when using the integrated AMD Radeon 680M GPU under Wayland. This issue occurs at seemingly random intervals.
System Information:
-
GPU: AMD Radeon 680M (Integrated)
-
KWin Version: 6.5.3 (Wayland)
-
Mesa Version: 25.2.7-cachyos1.2
-
Kernel Version: 6.17.9 (also experienced on 6.16.x and 6.12.59, but seemingly absent before approx. 6.12.57)
Problem Description: The display freezes randomly for 1-2 seconds. I have attempted the suggested workaround from another bug report (Bug 511852) by adding the kernel parameter amdgpu.dcdebugmask=0x10, but this did not resolve the issue.
Relevant Logs (immediately after a freeze): Checking journalctl -r right after a freeze, I consistently find the following kwin_wayland errors:
Nov 30 14:20:21 RedmiG kwin_wayland[1578]: Failed to create framebuffer: 无效的参数
Nov 30 14:20:21 RedmiG kwin_wayland[1578]: Failed to create framebuffer: 无效的参数
Nov 30 14:20:21 RedmiG kwin_wayland[1578]: Invalid framebuffer status: "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
Nov 30 14:20:21 RedmiG kwin_wayland[1578]: 0x502: GL_INVALID_OPERATION error generated. <image> and <target> are incompatible
Nov 30 14:20:21 RedmiG kwin_wayland[1578]: Invalid framebuffer status: "GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT"
Nov 30 14:20:21 RedmiG kwin_wayland[1578]: 0x500: GL_INVALID_ENUM error generated. Invalid <face>.
Keyboard Input Issue During Freeze: If I am typing during a freeze, a massive repetition of the last letter typed before the freeze occurs immediately after the display unfreezes. The log shows a related message:
Nov 29 15:20:06 RedmiG kwin_wayland_wrapper[1994]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
KWin Support Information: I have pasted my full KWin support information output (including OpenGL details, loaded effects, screen configuration, etc.) to a pastebin as requested.
Pastebin Link to KWin Technical Support Information:
KWin 技术支持信息:
请在寻求技术支持时 (例如 https://discuss.kde.org 网站) 提供以下信息。
这些信息包括关于当前正在运行的 Kwin 实例的相关信息、
使用的选项、OpenGL 驱动程序、正在运行的特效等。
请不要将本段文字下方的信息直接粘贴到技术支持讨论串,
而应将它们粘贴到在线剪贴板网站 (例如 https://paste.kde.org)。
==========================
Version
KWin version: 6.5.3
Qt Version: 6.10.1
Qt compile version: 6.10.1
XCB compile version: 1.17.0
Operation Mode: Wayland
Build Options
KWIN_BUILD_DECORATIONS: yes
KWIN_BUILD_TABBOX: yes
KWIN_BUILD_ACTIVITIES: yes
HAVE_X11_XCB: yes
X11
Vendor: The X.Org Foundation
Vendor Release: 12401009
Protocol Version/Revision: 11/0
SHAPE: yes; Version: 0x11
RANDR: yes; Version: 0x14
Composite: yes; Version: 0x4
RENDER: yes; Version: 0xb
XFIXES: yes; Version: 0x50
SYNC: yes; Version: 0x31
RES: yes; Version: 0x12
Decoration
Plugin: org.kde.kwin.aurorae
Theme: __aurorae__svg__Utterly-Round-Dark-Solid
Plugin recommends border size: No
onAllDesktopsAvailable: false
alphaChannelSupported: true
closeOnDoubleClickOnMenu: false
decorationButtonsLeft: 0, 2
decorationButtonsRight: 6, 3, 4, 5
borderSize: 3
gridUnit: 12
font: Maple Mono NF CN,12,-1,5,400,0,0,0,0,0,0,0,0,0,0,1
smallSpacing: 3
largeSpacing: 12
Output backend
Name: DRM
Atomic Mode Setting on GPU 0: true
Atomic Mode Setting on GPU 1: true
Cursor
themeName: Bibata-Modern-Ice
themeSize: 24
Options
focusPolicy: ClickToFocus
xwaylandCrashPolicy: 1
xwaylandMaxCrashCount: 3
nextFocusPrefersMouse: false
clickRaise: true
autoRaise: false
autoRaiseInterval: 0
delayFocusInterval: 0
separateScreenFocus: true
placement: 5
activationDesktopPolicy: SwitchToOtherDesktop
focusPolicyIsReasonable: true
borderSnapZone: 10
windowSnapZone: 10
centerSnapZone: 0
snapOnlyWhenOverlapping: false
edgeBarrier: 100
cornerBarrier: 1
rollOverDesktops: false
focusStealingPreventionLevel: 1
operationTitlebarDblClick: 5000
operationMaxButtonLeftClick: 5000
operationMaxButtonMiddleClick: 5013
operationMaxButtonRightClick: 5012
commandActiveTitlebar1: MouseRaise
commandActiveTitlebar2: MouseNothing
commandActiveTitlebar3: MouseOperationsMenu
commandInactiveTitlebar1: MouseActivateAndRaise
commandInactiveTitlebar2: MouseNothing
commandInactiveTitlebar3: MouseOperationsMenu
commandWindow1: MouseActivateRaiseOnReleaseAndPassClick
commandWindow2: MouseActivateAndPassClick
commandWindow3: MouseActivateAndPassClick
commandWindowWheel: MouseNothing
commandAll1: MouseUnrestrictedMove
commandAll2: MouseToggleRaiseAndLower
commandAll3: MouseUnrestrictedResize
keyCmdAllModKey: 16777250
doubleClickBorderToMaximize: true
condensedTitle: false
electricBorderMaximize: true
electricBorderTiling: true
electricBorderCornerRatio: 0.25
borderlessMaximizedWindows: false
killPingTimeout: 5000
compositingMode: 1
allowTearing: true
interactiveWindowMoveEnabled: true
pictureInPictureHomeCorner: BottomRightCorner
pictureInPictureMargin: 20
overlayVirtualKeyboardOnWindows: false
Screen Edges
desktopSwitching: false
desktopSwitchingMovingClients: false
cursorPushBackDistance: 1x1
actionTopLeft: 5
actionTop: 0
actionTopRight: 0
actionRight: 0
actionBottomRight: 0
actionBottom: 0
actionBottomLeft: 0
actionLeft: 0
Screens
Number of Screens: 2
Screen 0:
Name: eDP-2
Enabled: 1
Geometry: 2560,160,2048x1280
Physical size: 345x215mm
Scale: 1.25
Refresh Rate: 240000
Adaptive Sync: automatic
Screen 1:
Name: DP-1
Enabled: 1
Geometry: 0,0,2560x1440
Physical size: 598x336mm
Scale: 1
Refresh Rate: 240001
Adaptive Sync: incapable
Compositing
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon 680M (radeonsi, rembrandt, LLVM 21.1.5, DRM 3.64, 6.17.9-1-cachyos-bore-lto)
OpenGL version string: 4.6 (Core Profile) Mesa 25.2.7-cachyos1.2
OpenGL platform interface: EGL
OpenGL shading language version string: 4.60
Driver: Unknown
GPU class: Unknown
OpenGL version: 4.6
GLSL version: 4.60
Mesa version: 25.2.7
X server version: 1.24.1
Linux kernel version: 6.17.9
Direct rendering: Requires strict binding: no
Virtual Machine: no
OpenGL 2 Shaders are used
Loaded Effects:
shakecursor
outputlocator
colorpicker
zoom
screenedge
lightlyshaders_blur
sessionquit
logout
login
slidingpopups
windowaperture
slide
squash
scale
maximize
fullscreen
frozenapp
fadingpopups
dimscreen
dialogparent
wobblywindows
windowview
tileseditor
overview
highlightwindow
blendchanges
startupfeedback
kwin_effect_lightlyshaders
systembell
screentransform
kscreen
Currently Active Effects:
lightlyshaders_blur
kwin_effect_lightlyshaders
Effect Settings:
shakecursor:
outputlocator:
colorpicker:
zoom:
zoomFactor: 1.2
mousePointer: 0
mouseTracking: 0
focusDelay: 350
moveFactor: 20
targetZoom: 1
screenedge:
lightlyshaders_blur:
sessionquit:
pluginId: sessionquit
isActiveFullScreenEffect: false
logout:
pluginId: logout
isActiveFullScreenEffect: false
login:
pluginId: login
isActiveFullScreenEffect: false
slidingpopups:
slideInDuration: 282
slideOutDuration: 282
windowaperture:
pluginId: windowaperture
isActiveFullScreenEffect: false
slide:
horizontalGap: 45
verticalGap: 20
slideBackground: true
squash:
pluginId: squash
isActiveFullScreenEffect: false
scale:
pluginId: scale
isActiveFullScreenEffect: false
maximize:
pluginId: maximize
isActiveFullScreenEffect: false
fullscreen:
pluginId: fullscreen
isActiveFullScreenEffect: false
frozenapp:
pluginId: frozenapp
isActiveFullScreenEffect: false
fadingpopups:
pluginId: fadingpopups
isActiveFullScreenEffect: false
dimscreen:
pluginId: dimscreen
isActiveFullScreenEffect: false
dialogparent:
pluginId: dialogparent
isActiveFullScreenEffect: false
wobblywindows:
stiffness: 0.12
drag: 0.8
moveFactor: 0.1
xTesselation: 20
yTesselation: 20
minVelocity: 0
maxVelocity: 1000
stopVelocity: 0.5
minAcceleration: 0
maxAcceleration: 1000
stopAcceleration: 0.5
moveWobble: true
resizeWobble: true
windowview:
activeView:
delegate:
animationDuration: 424
ignoreMinimized: false
mode:
partialActivationFactor: 0
gestureInProgress: false
searchText:
selectedIds:
tileseditor:
activeView:
delegate:
animationDuration: 200
overview:
activeView:
delegate:
animationDuration: 424
ignoreMinimized: false
filterWindows: true
organizedGrid: true
overviewPartialActivationFactor: 0
overviewGestureInProgress: false
transitionPartialActivationFactor: 0
transitionGestureInProgress: false
gridPartialActivationFactor: 0
gridGestureInProgress: false
desktopOffset:
searchText:
highlightwindow:
blendchanges:
startupfeedback:
type: 1
kwin_effect_lightlyshaders:
systembell:
screentransform:
kscreen:
Loaded Plugins:
BounceKeysPlugin
KeyNotificationPlugin
MouseKeysPlugin
StickyKeysPlugin
TouchpadShortcutsPlugin
buttonsrebind
eis
krunnerintegration
nightlight
screencast
screenshot
Available Plugins:
BounceKeysPlugin
KeyNotificationPlugin
MouseKeysPlugin
StickyKeysPlugin
TouchpadShortcutsPlugin
buttonsrebind
eis
krunnerintegration
nightlight
screencast
screenshot
Any help in diagnosing this issue would be greatly appreciated. Thank you.