https://bugs.kde.org/show_bug.cgi?id=512792

            Bug ID: 512792
           Summary: Wayland/KWin Freeze with AMD Radeon 680M (Rembrandt) -
                    GL_FRAMEBUFFER_INCOMPLETE_… Errors in Log
    Classification: Plasma
           Product: kwin
      Version First unspecified
       Reported In:
          Platform: CachyOS
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: compositing
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

STEPS TO REPRODUCE

    Boot into a Wayland session using the integrated AMD Radeon 680M GPU.

    Open and use graphic-intensive or browser-based applications (e.g.,
Firefox, VS Code).

    Wait for random time intervals (e.g., every few minutes).

OBSERVED RESULT

    The display freezes completely for approximately 1-2 seconds. This issue
affects both the built-in and external monitors simultaneously.

    The freezing is much more frequent when using browser-based applications
like VS Code and Firefox.

    If typing during the freeze, a massive repetition of the last pressed key
occurs immediately after the display unfreezes.

    VS Code exhibits noticeable screen tearing when using the AMD iGPU (this
issue disappears when switching to the NVIDIA dedicated GPU).

    The following recurring critical errors appear in journalctl -r immediately
preceding or during a freeze event:

Nov 30 21:09:15 RedmiG kwin_wayland[1578]: Failed to create framebuffer: 无效的参数 
Nov 30 21:09:15 RedmiG kwin_wayland[1578]: Failed to create framebuffer: 无效的参数 
Nov 30 21:09:15 RedmiG kwin_wayland[1578]: Invalid framebuffer status: 
"GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
Nov 30 21:09:15 RedmiG kwin_wayland[1578]: 0x502: GL_INVALID_OPERATION error
generated. <image> and <target> are incompatible
Nov 30 21:09:15 RedmiG kwin_wayland[1578]: Invalid framebuffer status: 
"GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT"
Nov 30 21:09:15 RedmiG kwin_wayland[1578]: 0x500: GL_INVALID_ENUM error
generated. Invalid <face>.

    The kwin_wayland: Wait failed message is also logged, which appears to be
closely related to the freezing event:

    Nov 30 21:09:07 RedmiG kwin_wayland[1578]: Wait failed

    A key repeat log is also observed when typing during a freeze:

    Nov 29 15:20:06 RedmiG kwin_wayland_wrapper[1994]: Key repeat discarded,
Wayland compositor doesn't seem to be processing events fast enough!

EXPECTED RESULT

The display should render smoothly without random 1-2 second freezes, GL
framebuffer errors, or compositor wait failures.

SOFTWARE/OS VERSIONS

Operating System: CachyOS Linux 
KDE Plasma Version: 6.5.3
KDE Frameworks Version: 6.20.0
Qt Version: 6.10.1
Kernel Version: 6.17.9-1-cachyos-bore-lto (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 6800H with Radeon Graphics
Memory: 48 GiB of RAM (46.2 GiB usable)
Graphics Processor 1: AMD Radeon 680M
Graphics Processor 2: NVIDIA GeForce RTX 3060 Laptop GPU
Manufacturer: TIMI
Product Name: Redmi G 2022

ADDITIONAL INFORMATION

Hardware Details:

    GPU: AMD Radeon 680M (Integrated, Primary device when issue occurs)

    Kernel: Affected on Linux 6.17.9, 6.16.x, and 6.12.59. Seemingly not
affected before approx. Linux 6.12.57.

    Mesa: 25.2.7-cachyos1.2

    Compositing Mode: OpenGL

Workarounds Attempted (Unsuccessful):

    Applied kernel parameter amdgpu.dcdebugmask=0x10 (as suggested in Bug
511852).

Other notes:

1. This bug is very similar to https://bugs.kde.org/show_bug.cgi?id=511852, but
I experienced a severe user experience issue with it.

2. English is not my native language, so some parts may be unclear.

3. I am happy to provide more diagnostic information.

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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to