https://bugs.kde.org/show_bug.cgi?id=490619
Bug ID: 490619 Summary: [AMD] After switching multi-screen modes, some Plasma applet popups open almost zero-sized due to GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT error Classification: Plasma Product: kwin Version: unspecified Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: multi-screen Assignee: kwin-bugs-n...@kde.org Reporter: m...@ratijas.tk Target Milestone: --- SUMMARY I connected an external display to my Framework laptop 16 (AMD CPU + iGPU edition), and right now some of the Plasma applets can not open their full representation: they open a tiny almost invisible window which is (I guess) just the rounded background SVG with no content. Here's what happens in logs: Jul 21 21:25:34 facility kwin_wayland[974]: kwin_scene_opengl: 0x4: GL_INVALID_VALUE in glTexStorage2D(width, height or depth < 1) Jul 21 21:25:34 facility kwin_wayland[974]: kwin_scene_opengl: Invalid framebuffer status: "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT" Jul 21 21:25:34 facility kwin_wayland[974]: kwin_effect_blur: Failed to create an offscreen framebuffer Jul 21 21:25:34 facility kwin_wayland[974]: kwin_scene_opengl: 0x4: GL_INVALID_VALUE in glTexStorage2D(width, height or depth < 1) Jul 21 21:25:34 facility kwin_wayland[974]: kwin_scene_opengl: Invalid framebuffer status: "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT" Jul 21 21:25:34 facility kwin_wayland[974]: kwin_effect_blur: Failed to create an offscreen framebuffer Jul 21 21:25:34 facility kwin_wayland[974]: kwin_scene_opengl: 0x4: GL_INVALID_VALUE in glTexStorage2D(width, height or depth < 1) Jul 21 21:25:34 facility kwin_wayland[974]: kwin_scene_opengl: Invalid framebuffer status: "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT" Jul 21 21:25:34 facility kwin_wayland[974]: kwin_effect_blur: Failed to create an offscreen framebuffer [...] lots of messages like that Jul 21 21:25:35 facility plasmashell[1195]: The cached device pixel ratio value was stale on window update. Please file a QTBUG which explains how to reproduce. [...] and then again a lot more messages like the above three lines STEPS TO REPRODUCE Not sure when exactly it broke, but I tried every single mode in the Meta+P quick menu several times, and at some point tried opening a Bluetooth applet on the desktop, and discovered that it is not the only one that has broken popups. OBSERVED RESULT applet popups workn't EXPECTED RESULT expected to see normal applet popups SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 6.1.80 KDE Frameworks Version: 6.5.0 Qt Version: 6.7.2 Kernel Version: 6.9.10-arch1-1 (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 9 7940HS w/ Radeon 780M Graphics Memory: 58.7 GiB of RAM Graphics Processor: AMD Radeon 780M Manufacturer: Framework Product Name: Laptop 16 (AMD Ryzen 7040 Series) System Version: AJ ADDITIONAL INFORMATION > kscreen-doctor -o Output: 1 eDP-1 enabled connected priority 1 Panel Modes: 0:2560x1600@165*! 1:2560x1600@60 2:1920x1200@165 3:1920x1080@165 4:1600x1200@165 5:1680x1050@165 6:1280x1024@165 7:1440x900@165 8:1280x800@165 9:1280x720@165 10:1024x768@165 11:800x600@165 12:640x480@165 13:1600x1200@60 14:1280x1024@60 15:1024x768@60 16:2560x1600@60 17:1920x1200@60 18:1280x800@60 19:2560x1440@60 20:1920x1080@60 21:1600x900@60 22:1368x768@60 23:1280x720@60 Geometry: 0,0 1707x1067 Scale: 1.5 Rotation: 1 Overscan: 0 Vrr: Automatic RgbRange: unknown HDR: incapable Wide Color Gamut: incapable ICC profile: none Color profile source: EDID Brightness control: supported, set to 15% Output: 2 DP-2 enabled connected priority 2 DisplayPort Modes: 0:3840x2160@60! 1:3840x2160@30 2:3840x2160@30 3:3840x2160@25 4:3840x2160@24 5:3840x2160@24 6:1920x2160@60 7:2560x1440@60 8:2048x1280@60 9:1920x1200@60 10:1920x1080@60 11:1920x1080@60 12:1920x1080@60 13:1920x1080@50 14:1920x1080@25 15:1920x1080@24 16:1920x1080@24 17:1600x1200@60 18:1680x1050@60 19:1600x900@60 20:1280x1024@75 21:1280x1024@60 22:1440x900@60 23:1280x800@60 24:1152x864@75 25:1280x720@60 26:1280x720@60 27:1280x720@50 28:1024x768@75 29:1024x768@60 30:800x600@75 31:800x600@60 32:720x576@50 33:720x576@50 34:720x480@60 35:720x480@60 36:720x480@60 37:720x480@60 38:640x480@75 39:640x480@60 40:640x480@60 41:640x480@60 42:720x400@70 43:1600x1200@60 44:1280x1024@60 45:1024x768@60 46:2560x1600@60* 47:1920x1200@60 48:1280x800@60 49:3200x1800@60 50:2880x1620@60 51:2560x1440@60 52:1920x1080@60 53:1600x900@60 54:1368x768@60 55:1280x720@60 Geometry: 1707,0 1707x1067 Scale: 1.5 Rotation: 1 Overscan: 0 Vrr: Automatic RgbRange: unknown HDR: incapable Wide Color Gamut: incapable ICC profile: none Color profile source: sRGB Brightness control: supported, set to 100% ❯ qdbus org.kde.KWin /KWin supportInformation KWin Support Information: The following information should be used when requesting support on e.g. https://discuss.kde.org. It provides information about the currently running instance, which options are used, what OpenGL driver and which effects are running. Please post the information provided underneath this introductory text to a paste bin service like https://paste.kde.org instead of pasting into support threads. ========================== Version ======= KWin version: 6.1.80 Qt Version: 6.7.2 Qt compile version: 6.7.2 XCB compile version: 1.17.0 Operation Mode: Xwayland Build Options ============= KWIN_BUILD_DECORATIONS: yes KWIN_BUILD_TABBOX: yes KWIN_BUILD_ACTIVITIES: yes HAVE_X11_XCB: yes HAVE_GLX: yes X11 === Vendor: The X.Org Foundation Vendor Release: 12401001 Protocol Version/Revision: 11/0 SHAPE: yes; Version: 0x11 RANDR: yes; Version: 0x14 DAMAGE: yes; Version: 0x11 Composite: yes; Version: 0x4 RENDER: yes; Version: 0xb XFIXES: yes; Version: 0x50 SYNC: yes; Version: 0x31 GLX: yes; Version: 0x0 Decoration ========== Plugin: org.kde.breeze Theme: Breeze Plugin recommends border size: None onAllDesktopsAvailable: true alphaChannelSupported: true closeOnDoubleClickOnMenu: false decorationButtonsLeft: 5, 4, 3 decorationButtonsRight: 9, 2 borderSize: 0 gridUnit: 10 font: SF Pro Display,10,-1,5,400,0,0,0,0,0,0,0,0,0,0,1 smallSpacing: 2 largeSpacing: 10 Output backend ============== Name: DRM Atomic Mode Setting on GPU 0: true Cursor ====== themeName: breeze_cursors themeSize: 24 Options ======= focusPolicy: ClickToFocus xwaylandCrashPolicy: 1 xwaylandMaxCrashCount: 3 nextFocusPrefersMouse: false clickRaise: true autoRaise: false autoRaiseInterval: 0 delayFocusInterval: 0 shadeHover: false shadeHoverInterval: 250 separateScreenFocus: false placement: 5 activationDesktopPolicy: SwitchToOtherDesktop focusPolicyIsReasonable: true borderSnapZone: 10 windowSnapZone: 10 centerSnapZone: 0 snapOnlyWhenOverlapping: false edgeBarrier: 100 cornerBarrier: 1 rollOverDesktops: false focusStealingPreventionLevel: 0 operationTitlebarDblClick: 5000 operationMaxButtonLeftClick: 5000 operationMaxButtonMiddleClick: 5015 operationMaxButtonRightClick: 5014 commandActiveTitlebar1: MouseRaise commandActiveTitlebar2: MouseNothing commandActiveTitlebar3: MouseOperationsMenu commandInactiveTitlebar1: MouseActivateAndRaise commandInactiveTitlebar2: MouseNothing commandInactiveTitlebar3: MouseOperationsMenu commandWindow1: MouseActivateRaiseAndPassClick commandWindow2: MouseActivateAndPassClick commandWindow3: MouseActivateAndPassClick commandWindowWheel: MouseNothing commandAll1: MouseUnrestrictedMove commandAll2: MouseToggleRaiseAndLower commandAll3: MouseUnrestrictedResize keyCmdAllModKey: 16777250 condensedTitle: false electricBorderMaximize: true electricBorderTiling: true electricBorderCornerRatio: 0.25 borderlessMaximizedWindows: false killPingTimeout: 5000 compositingMode: 1 useCompositing: true hiddenPreviews: 1 glSmoothScale: 2 glStrictBinding: true glStrictBindingFollowsDriver: true glPreferBufferSwap: AutoSwapStrategy glPlatformInterface: 2 windowsBlockCompositing: false allowTearing: true Screen Edges ============ desktopSwitching: false desktopSwitchingMovingClients: true cursorPushBackDistance: 1x1 timeThreshold: 300 reActivateThreshold: 350 actionTopLeft: 0 actionTop: 0 actionTopRight: 0 actionRight: 0 actionBottomRight: 0 actionBottom: 0 actionBottomLeft: 0 actionLeft: 0 Screens ======= Number of Screens: 2 Screen 0: --------- Name: eDP-1 Enabled: 1 Geometry: 0,0,1707x1067 Scale: 1.5 Refresh Rate: 165000 Adaptive Sync: automatic Screen 1: --------- Name: DP-2 Enabled: 1 Geometry: 1707,0,1707x1067 Scale: 1.5 Refresh Rate: 59987 Adaptive Sync: automatic Compositing =========== Compositing is active Compositing Type: OpenGL OpenGL vendor string: AMD OpenGL renderer string: AMD Radeon 780M (radeonsi, gfx1103_r1, LLVM 18.1.8, DRM 3.57, 6.9.10-arch1-1) OpenGL version string: 4.6 (Core Profile) Mesa 24.1.4-arch1.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: 24.1.4 X server version: 1.24.1 Linux kernel version: 6.9.10 Direct rendering: Requires strict binding: no Virtual Machine: no OpenGL 2 Shaders are used Loaded Effects: --------------- shakecursor screenshot outputlocator colorpicker zoom screenedge blur contrast sessionquit logout login slidingpopups windowaperture slide magiclamp cube squash scale maximize fullscreen frozenapp fadingpopups dialogparent wobblywindows windowview tileseditor overview highlightwindow blendchanges startupfeedback screentransform kscreen Currently Active Effects: ------------------------- blur contrast Effect Settings: ---------------- shakecursor: screenshot: outputlocator: colorpicker: zoom: zoomFactor: 1.2 mousePointer: 0 mouseTracking: 0 focusTrackingEnabled: false textCaretTrackingEnabled: false focusDelay: 350 moveFactor: 20 targetZoom: 1 screenedge: blur: contrast: sessionquit: pluginId: sessionquit isActiveFullScreenEffect: false logout: pluginId: logout isActiveFullScreenEffect: false login: pluginId: login isActiveFullScreenEffect: false slidingpopups: slideInDuration: 200 slideOutDuration: 200 windowaperture: pluginId: windowaperture isActiveFullScreenEffect: false slide: horizontalGap: 45 verticalGap: 20 slideBackground: true magiclamp: cube: activeView: delegate: data: configuration: visible: false activated: false animationDuration: 200 mainDelegate: 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 dialogparent: pluginId: dialogparent isActiveFullScreenEffect: false wobblywindows: stiffness: 0.1 drag: 0.85 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: 300 ignoreMinimized: false mode: partialActivationFactor: 0 gestureInProgress: false searchText: selectedIds: tileseditor: activeView: delegate: animationDuration: 200 overview: activeView: delegate: animationDuration: 300 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 screentransform: kscreen: Loaded Plugins: --------------- BounceKeysPlugin KeyNotificationPlugin StickyKeysPlugin buttonsrebind eis krunnerintegration nightlight screencast Available Plugins: ------------------ BounceKeysPlugin KeyNotificationPlugin StickyKeysPlugin buttonsrebind eis krunnerintegration nightlight screencast -- You are receiving this mail because: You are watching all bug changes.