SUMMARY A vertical line appears above chrome in same position randomly. It also randomly appears above firefox, telegram. I never managed to take screenshot because it dissapears when i click screenshot button. STEPS TO REPRODUCE 1. Not reproducible everytime but mostly appears above google chrome most of the time OBSERVED RESULT A vertical line appears EXPECTED RESULT No vertical line appears SOFTWARE/OS VERSIONS Operating System: KDE neon Testing Edition KDE Plasma Version: 5.26.90 KDE Frameworks Version: 5.102.0 Qt Version: 5.15.8 Kernel Version: 5.15.0-58-generic (64-bit) Graphics Platform: Wayland Processors: 8 × 11th Gen Intel® Core™ i5-1135G7 @ 2.40GHz Memory: 7.4 GiB of RAM Graphics Processor: Mesa Intel® Xe Graphics Manufacturer: HP Product Name: HP Pavilion x360 Convertible 14-dw1xxx
Created attachment 155873 [details] A video where line's height depends on a window's position
Created attachment 155874 [details] Huge line when firefox is snapped to half of screen
Created attachment 155875 [details] Line above telegram
Please post the output of `qdbus org.kde.KWin /KWin supportInformation`
(In reply to Vlad Zahorodnii from comment #4) > Please post the output of `qdbus org.kde.KWin /KWin supportInformation` ``` KWin Support Information: The following information should be used when requesting support on e.g. https://forum.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: 5.26.90 Qt Version: 5.15.8 Qt compile version: 5.15.8 XCB compile version: 1.14 Operation Mode: Xwayland Build Options ============= KWIN_BUILD_DECORATIONS: yes KWIN_BUILD_TABBOX: yes KWIN_BUILD_ACTIVITIES: yes HAVE_X11_XCB: yes HAVE_EPOXY_GLX: yes X11 === Vendor: The X.Org Foundation Vendor Release: 12201001 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.kwin.aurorae Theme: __aurorae__svg__Layan Plugin recommends border size: No onAllDesktopsAvailable: false alphaChannelSupported: true closeOnDoubleClickOnMenu: false decorationButtonsLeft: 0, 2 decorationButtonsRight: 6, 3, 4, 5 borderSize: 3 gridUnit: 10 font: Noto Sans,10,-1,0,50,0,0,0,0,0 smallSpacing: 2 largeSpacing: 10 Output backend ============== Name: DRM Active: true Atomic Mode Setting on GPU 0: true Cursor ====== themeName: breeze_cursors themeSize: 24 Options ======= focusPolicy: 0 xwaylandCrashPolicy: xwaylandMaxCrashCount: 3 nextFocusPrefersMouse: false clickRaise: true autoRaise: false autoRaiseInterval: 0 delayFocusInterval: 0 shadeHover: false shadeHoverInterval: 250 separateScreenFocus: false activeMouseScreen: true placement: activationDesktopPolicy: 0 focusPolicyIsReasonable: true borderSnapZone: 10 windowSnapZone: 10 centerSnapZone: 0 snapOnlyWhenOverlapping: false rollOverDesktops: false focusStealingPreventionLevel: 1 operationTitlebarDblClick: 5000 operationMaxButtonLeftClick: 5000 operationMaxButtonMiddleClick: 5015 operationMaxButtonRightClick: 5014 commandActiveTitlebar1: 0 commandActiveTitlebar2: 28 commandActiveTitlebar3: 2 commandInactiveTitlebar1: 4 commandInactiveTitlebar2: 28 commandInactiveTitlebar3: 2 commandWindow1: 7 commandWindow2: 8 commandWindow3: 8 commandWindowWheel: 28 commandAll1: 10 commandAll2: 3 commandAll3: 14 keyCmdAllModKey: 16777250 condensedTitle: false electricBorderMaximize: true electricBorderTiling: true electricBorderCornerRatio: 0.25 borderlessMaximizedWindows: false killPingTimeout: 5000 hideUtilityWindowsForInactive: true compositingMode: 1 useCompositing: true hiddenPreviews: 1 glSmoothScale: 2 glStrictBinding: false glStrictBindingFollowsDriver: true glPreferBufferSwap: 101 glPlatformInterface: 2 windowsBlockCompositing: true latencyPolicy: renderTimeEstimator: allowTearing: true Screen Edges ============ desktopSwitching: false desktopSwitchingMovingClients: false cursorPushBackDistance: 1x1 timeThreshold: 150 reActivateThreshold: 350 actionTopLeft: 0 actionTop: 0 actionTopRight: 0 actionRight: 0 actionBottomRight: 0 actionBottom: 0 actionBottomLeft: 0 actionLeft: 0 Screens ======= Active screen follows mouse: yes Number of Screens: 1 Screen 0: --------- Name: eDP-1 Enabled: 1 Geometry: 0,0,1536x864 Scale: 1.25 Refresh Rate: 60013 Adaptive Sync: incapable Compositing =========== Compositing is active Compositing Type: OpenGL OpenGL vendor string: Intel OpenGL renderer string: Mesa Intel(R) Xe Graphics (TGL GT2) OpenGL version string: 4.6 (Core Profile) Mesa 22.0.5 OpenGL platform interface: EGL OpenGL shading language version string: 4.60 Driver: Intel GPU class: Tiger Lake OpenGL version: 4.6 GLSL version: 4.60 Mesa version: 22.0.5 Linux kernel version: 5.15 Direct rendering: Requires strict binding: no GLSL shaders: yes Texture NPOT support: yes Virtual Machine: no OpenGL 2 Shaders are used Loaded Effects: --------------- colorpicker outputlocator screenshot screenedge zoom blur contrast kwin4_effect_login kwin4_effect_sessionquit kwin4_effect_logout slidingpopups kwin4_effect_windowaperture slide kwin4_effect_frozenapp kwin4_effect_maximize kwin4_effect_squash kwin4_effect_fullscreen kwin4_effect_scale kwin4_effect_morphingpopups kwin4_effect_fadingpopups kwin4_effect_dialogparent desktopgrid highlightwindow overview tileseditor windowview blendchanges startupfeedback kscreen screentransform Currently Active Effects: ------------------------- blur contrast Effect Settings: ---------------- colorpicker: outputlocator: screenshot: screenedge: zoom: zoomFactor: 1.2 mousePointer: 0 mouseTracking: 0 focusTrackingEnabled: false textCaretTrackingEnabled: false focusDelay: 350 moveFactor: 20 targetZoom: 1 blur: contrast: kwin4_effect_login: pluginId: kwin4_effect_login isActiveFullScreenEffect: false kwin4_effect_sessionquit: pluginId: kwin4_effect_sessionquit isActiveFullScreenEffect: false kwin4_effect_logout: pluginId: kwin4_effect_logout isActiveFullScreenEffect: false slidingpopups: slideInDuration: 150 slideOutDuration: 250 kwin4_effect_windowaperture: pluginId: kwin4_effect_windowaperture isActiveFullScreenEffect: false slide: horizontalGap: 45 verticalGap: 20 slideBackground: true kwin4_effect_frozenapp: pluginId: kwin4_effect_frozenapp isActiveFullScreenEffect: false kwin4_effect_maximize: pluginId: kwin4_effect_maximize isActiveFullScreenEffect: false kwin4_effect_squash: pluginId: kwin4_effect_squash isActiveFullScreenEffect: false kwin4_effect_fullscreen: pluginId: kwin4_effect_fullscreen isActiveFullScreenEffect: false kwin4_effect_scale: pluginId: kwin4_effect_scale isActiveFullScreenEffect: false kwin4_effect_morphingpopups: pluginId: kwin4_effect_morphingpopups isActiveFullScreenEffect: false kwin4_effect_fadingpopups: pluginId: kwin4_effect_fadingpopups isActiveFullScreenEffect: false kwin4_effect_dialogparent: pluginId: kwin4_effect_dialogparent isActiveFullScreenEffect: false desktopgrid: activeView: gridRows: 1 gridColumns: 1 animationDuration: 300 layout: 1 partialActivationFactor: 0 gestureInProgress: false showAddRemove: true desktopNameAlignment: 0 desktopLayoutMode: 0 customLayoutRows: 2 highlightwindow: overview: activeView: animationDuration: 300 layout: 1 ignoreMinimized: false blurBackground: true partialActivationFactor: 0 gestureInProgress: false searchText: tileseditor: activeView: animationDuration: 200 windowview: activeView: animationDuration: 300 layout: 1 ignoreMinimized: false mode: 7274605 partialActivationFactor: 0 gestureInProgress: false searchText: blendchanges: startupfeedback: type: 1 kscreen: screentransform: Loaded Plugins: --------------- kwin5_plugin_buttonrebinds kwin5_plugin_colord kwin5_plugin_krunner kwin5_plugin_nightcolor kwin5_plugin_screencast Available Plugins: ------------------ kwin5_plugin_buttonrebinds kwin5_plugin_colord kwin5_plugin_krunner kwin5_plugin_nightcolor kwin5_plugin_screencast ```
Are there visual artifacts with integer scale factor, e.g. 1?
(In reply to Vlad Zahorodnii from comment #6) > Are there visual artifacts with integer scale factor, e.g. 1? No visual artifacts on scale factor of 1 , 2, 1.75 Visual artifacts on scale factor of 1.25 , 1.5
Glitch is only vertical in 125% scale but on 150% scale vertical as well as horizontal glitches appear
*** Bug 465169 has been marked as a duplicate of this bug. ***
This also seems to happen on the recently released Plasma 5.27. Weirdly, for me, it doesn't appear on 150% scaling, but it does on 125%. If I change to 140% I get a horizontal line instead which appears at roughly the same place as the vertical bar when using 125%. Here's my output of the support info: ========================== Version ======= KWin version: 5.27.0 Qt Version: 5.15.8 Qt compile version: 5.15.8 XCB compile version: 1.14 Operation Mode: Xwayland Build Options ============= KWIN_BUILD_DECORATIONS: yes KWIN_BUILD_TABBOX: yes KWIN_BUILD_ACTIVITIES: yes HAVE_X11_XCB: yes HAVE_EPOXY_GLX: yes X11 === Vendor: The X.Org Foundation Vendor Release: 12201001 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.kwin.aurorae Theme: __aurorae__svg__Canta-light Plugin recommends border size: No onAllDesktopsAvailable: false alphaChannelSupported: true closeOnDoubleClickOnMenu: false decorationButtonsLeft: 0 decorationButtonsRight: 3, 4, 5 borderSize: 3 gridUnit: 12 font: Google Sans,10,-1,5,50,0,0,0,0,0,Regular smallSpacing: 3 largeSpacing: 12 Output backend ============== Name: DRM Active: true Atomic Mode Setting on GPU 0: true Cursor ====== themeName: breeze_cursors themeSize: 24 Options ======= focusPolicy: 1 xwaylandCrashPolicy: xwaylandMaxCrashCount: 3 nextFocusPrefersMouse: true clickRaise: true autoRaise: false autoRaiseInterval: 750 delayFocusInterval: 300 shadeHover: false shadeHoverInterval: 250 separateScreenFocus: true activeMouseScreen: true placement: activationDesktopPolicy: 0 focusPolicyIsReasonable: true borderSnapZone: 10 windowSnapZone: 10 centerSnapZone: 0 snapOnlyWhenOverlapping: false rollOverDesktops: false focusStealingPreventionLevel: 1 operationTitlebarDblClick: 5000 operationMaxButtonLeftClick: 5000 operationMaxButtonMiddleClick: 5015 operationMaxButtonRightClick: 5014 commandActiveTitlebar1: 0 commandActiveTitlebar2: 28 commandActiveTitlebar3: 2 commandInactiveTitlebar1: 4 commandInactiveTitlebar2: 28 commandInactiveTitlebar3: 2 commandWindow1: 7 commandWindow2: 8 commandWindow3: 8 commandWindowWheel: 28 commandAll1: 10 commandAll2: 3 commandAll3: 14 keyCmdAllModKey: 16777251 condensedTitle: false electricBorderMaximize: true electricBorderTiling: true electricBorderCornerRatio: 0.25 borderlessMaximizedWindows: false killPingTimeout: 5000 hideUtilityWindowsForInactive: true compositingMode: 1 useCompositing: true hiddenPreviews: 1 glSmoothScale: 2 glStrictBinding: false glStrictBindingFollowsDriver: true glPreferBufferSwap: 101 glPlatformInterface: 2 windowsBlockCompositing: true latencyPolicy: renderTimeEstimator: allowTearing: true Screen Edges ============ desktopSwitching: false desktopSwitchingMovingClients: false cursorPushBackDistance: 1x1 timeThreshold: 150 reActivateThreshold: 350 actionTopLeft: 0 actionTop: 0 actionTopRight: 0 actionRight: 0 actionBottomRight: 0 actionBottom: 0 actionBottomLeft: 0 actionLeft: 0 Screens ======= Active screen follows mouse: yes Number of Screens: 2 Screen 0: --------- Name: DP-1 Enabled: 1 Geometry: 0,0,2048x1152 Scale: 1.25 Refresh Rate: 143998 Adaptive Sync: incapable Screen 1: --------- Name: DP-2 Enabled: 1 Geometry: 2047,0,1766x994 Scale: 1.44922 Refresh Rate: 143998 Adaptive Sync: incapable Compositing =========== Compositing is active Compositing Type: OpenGL OpenGL vendor string: AMD OpenGL renderer string: AMD Radeon RX 5700 XT (navi10, LLVM 15.0.7, DRM 3.49, 6.1.11-x64v1-xanmod1) OpenGL version string: 4.6 (Core Profile) Mesa 22.3.5 - kisak-mesa PPA 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: 22.3.5 X server version: 1.22.1 Linux kernel version: 6.1.11 Direct rendering: Requires strict binding: no GLSL shaders: yes Texture NPOT support: yes Virtual Machine: no OpenGL 2 Shaders are used Loaded Effects: --------------- colorpicker outputlocator screenshot zoom blur contrast kwin4_effect_logout kwin4_effect_sessionquit kwin4_effect_login slidingpopups kwin4_effect_translucency kwin4_effect_windowaperture slide kwin4_effect_squash kwin4_effect_maximize kwin4_effect_morphingpopups kwin4_effect_frozenapp kwin4_effect_fadingpopups kwin4_effect_fullscreen kwin4_effect_scale kwin4_effect_dialogparent desktopgrid highlightwindow overview tileseditor windowview blendchanges startupfeedback kscreen screentransform Currently Active Effects: ------------------------- blur contrast Effect Settings: ---------------- colorpicker: outputlocator: screenshot: zoom: zoomFactor: 1.2 mousePointer: 0 mouseTracking: 0 focusTrackingEnabled: false textCaretTrackingEnabled: false focusDelay: 350 moveFactor: 20 targetZoom: 1 blur: contrast: kwin4_effect_logout: pluginId: kwin4_effect_logout isActiveFullScreenEffect: false kwin4_effect_sessionquit: pluginId: kwin4_effect_sessionquit isActiveFullScreenEffect: false kwin4_effect_login: pluginId: kwin4_effect_login isActiveFullScreenEffect: false slidingpopups: slideInDuration: 150 slideOutDuration: 250 kwin4_effect_translucency: pluginId: kwin4_effect_translucency isActiveFullScreenEffect: false kwin4_effect_windowaperture: pluginId: kwin4_effect_windowaperture isActiveFullScreenEffect: false slide: horizontalGap: 45 verticalGap: 20 slideBackground: true kwin4_effect_squash: pluginId: kwin4_effect_squash isActiveFullScreenEffect: false kwin4_effect_maximize: pluginId: kwin4_effect_maximize isActiveFullScreenEffect: false kwin4_effect_morphingpopups: pluginId: kwin4_effect_morphingpopups isActiveFullScreenEffect: false kwin4_effect_frozenapp: pluginId: kwin4_effect_frozenapp isActiveFullScreenEffect: false kwin4_effect_fadingpopups: pluginId: kwin4_effect_fadingpopups isActiveFullScreenEffect: false kwin4_effect_fullscreen: pluginId: kwin4_effect_fullscreen isActiveFullScreenEffect: false kwin4_effect_scale: pluginId: kwin4_effect_scale isActiveFullScreenEffect: false kwin4_effect_dialogparent: pluginId: kwin4_effect_dialogparent isActiveFullScreenEffect: false desktopgrid: activeView: gridRows: 1 gridColumns: 1 animationDuration: 300 layout: 1 partialActivationFactor: 0 gestureInProgress: false showAddRemove: true desktopNameAlignment: 0 desktopLayoutMode: 0 customLayoutRows: 2 highlightwindow: overview: activeView: animationDuration: 300 layout: 1 ignoreMinimized: false blurBackground: true partialActivationFactor: 0 gestureInProgress: false searchText: tileseditor: activeView: animationDuration: 200 windowview: activeView: animationDuration: 300 layout: 1 ignoreMinimized: false mode: 231608832 partialActivationFactor: 0 gestureInProgress: false searchText: blendchanges: startupfeedback: type: 1 kscreen: screentransform: Loaded Plugins: --------------- kwin5_plugin_buttonrebinds kwin5_plugin_colord kwin5_plugin_krunner kwin5_plugin_nightcolor kwin5_plugin_screencast Available Plugins: ------------------ kwin5_plugin_buttonrebinds kwin5_plugin_colord kwin5_plugin_krunner kwin5_plugin_nightcolor kwin5_plugin_screencast
*** Bug 465891 has been marked as a duplicate of this bug. ***
Update: I think it may be related to the Blur effect, because I just tried turning that off and that seems to have made the lines disappear. Interestingly the lines also only appear when there's a semi-translucent window behind eg chrome or firefox.
Running a bisect the issue seems to be with https://invent.kde.org/plasma/kwin/-/commit/64e42bbd04e10e8b0c32bec444864ce7c64bbfc5 and that whole MR in fact. Maybe the blur code doesn't like the rounding ?
Created attachment 156441 [details] photo of a monitor with white lines around windows I can also reproduce the issue. 150% scaling, wayland. Funny thing it stops being a problem when I try to screen capture it with spectacle. I have to take a photo of a monitor to demonstrate. qdbus org.kde.KWin /KWin supportInformation KWin Support Information: The following information should be used when requesting support on e.g. https://forum.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: 5.27.0 Qt Version: 5.15.8 Qt compile version: 5.15.8 XCB compile version: 1.15 Operation Mode: Xwayland Build Options ============= KWIN_BUILD_DECORATIONS: yes KWIN_BUILD_TABBOX: yes KWIN_BUILD_ACTIVITIES: yes HAVE_X11_XCB: yes HAVE_EPOXY_GLX: yes X11 === Vendor: The X.Org Foundation Vendor Release: 12201008 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, 3, 4 decorationButtonsRight: 1, 2 borderSize: 0 gridUnit: 10 font: Noto Sans,10,-1,5,50,0,0,0,0,0,Regular smallSpacing: 2 largeSpacing: 10 Output backend ============== Name: DRM Active: true Atomic Mode Setting on GPU 0: true Cursor ====== themeName: breeze_cursors themeSize: 24 Options ======= focusPolicy: 1 xwaylandCrashPolicy: xwaylandMaxCrashCount: 3 nextFocusPrefersMouse: false clickRaise: true autoRaise: false autoRaiseInterval: 750 delayFocusInterval: 100 shadeHover: false shadeHoverInterval: 250 separateScreenFocus: false activeMouseScreen: true placement: activationDesktopPolicy: 0 focusPolicyIsReasonable: true borderSnapZone: 10 windowSnapZone: 10 centerSnapZone: 0 snapOnlyWhenOverlapping: false rollOverDesktops: true focusStealingPreventionLevel: 1 operationTitlebarDblClick: 5000 operationMaxButtonLeftClick: 5000 operationMaxButtonMiddleClick: 5015 operationMaxButtonRightClick: 5014 commandActiveTitlebar1: 0 commandActiveTitlebar2: 28 commandActiveTitlebar3: 2 commandInactiveTitlebar1: 4 commandInactiveTitlebar2: 28 commandInactiveTitlebar3: 2 commandWindow1: 7 commandWindow2: 8 commandWindow3: 8 commandWindowWheel: 28 commandAll1: 10 commandAll2: 3 commandAll3: 14 keyCmdAllModKey: 16777251 condensedTitle: false electricBorderMaximize: true electricBorderTiling: true electricBorderCornerRatio: 0.25 borderlessMaximizedWindows: false killPingTimeout: 5000 hideUtilityWindowsForInactive: true compositingMode: 1 useCompositing: true hiddenPreviews: 2 glSmoothScale: 2 glStrictBinding: false glStrictBindingFollowsDriver: true glPreferBufferSwap: 101 glPlatformInterface: 2 windowsBlockCompositing: true latencyPolicy: renderTimeEstimator: allowTearing: true Screen Edges ============ desktopSwitching: false desktopSwitchingMovingClients: false cursorPushBackDistance: 1x1 timeThreshold: 150 reActivateThreshold: 350 actionTopLeft: 0 actionTop: 0 actionTopRight: 0 actionRight: 0 actionBottomRight: 0 actionBottom: 0 actionBottomLeft: 0 actionLeft: 0 Screens ======= Active screen follows mouse: yes Number of Screens: 2 Screen 0: --------- Name: DP-2 Enabled: 0 Screen 1: --------- Name: DP-3 Enabled: 1 Geometry: 0,0,1707x960 Scale: 1.5 Refresh Rate: 143856 Adaptive Sync: never Compositing =========== Compositing is active Compositing Type: OpenGL OpenGL vendor string: AMD OpenGL renderer string: AMD Radeon RX 580 Series (polaris10, LLVM 15.0.7, DRM 3.49, 6.1.12-arch1-1) OpenGL version string: 4.6 (Core Profile) Mesa 22.3.4 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: 22.3.4 X server version: 1.22.1 Linux kernel version: 6.1.12 Direct rendering: Requires strict binding: no GLSL shaders: yes Texture NPOT support: yes Virtual Machine: no OpenGL 2 Shaders are used Loaded Effects: --------------- colorpicker outputlocator screenshot screenedge zoom blur contrast kwin4_effect_login kwin4_effect_sessionquit kwin4_effect_logout slidingpopups kwin4_effect_windowaperture slide slideback kwin4_effect_maximize kwin4_effect_fullscreen kwin4_effect_scale kwin4_effect_morphingpopups kwin4_effect_frozenapp kwin4_effect_fadingpopups kwin4_effect_squash sheet desktopgrid highlightwindow overview tileseditor windowview wobblywindows blendchanges startupfeedback kscreen screentransform Currently Active Effects: ------------------------- screenedge blur contrast Effect Settings: ---------------- colorpicker: outputlocator: screenshot: screenedge: zoom: zoomFactor: 1.2 mousePointer: 0 mouseTracking: 0 focusTrackingEnabled: false textCaretTrackingEnabled: false focusDelay: 350 moveFactor: 20 targetZoom: 1 blur: contrast: kwin4_effect_login: pluginId: kwin4_effect_login isActiveFullScreenEffect: false kwin4_effect_sessionquit: pluginId: kwin4_effect_sessionquit isActiveFullScreenEffect: false kwin4_effect_logout: pluginId: kwin4_effect_logout isActiveFullScreenEffect: false slidingpopups: slideInDuration: 75 slideOutDuration: 125 kwin4_effect_windowaperture: pluginId: kwin4_effect_windowaperture isActiveFullScreenEffect: false slide: horizontalGap: 45 verticalGap: 20 slideBackground: true slideback: kwin4_effect_maximize: pluginId: kwin4_effect_maximize isActiveFullScreenEffect: false kwin4_effect_fullscreen: pluginId: kwin4_effect_fullscreen isActiveFullScreenEffect: false kwin4_effect_scale: pluginId: kwin4_effect_scale isActiveFullScreenEffect: false kwin4_effect_morphingpopups: pluginId: kwin4_effect_morphingpopups isActiveFullScreenEffect: false kwin4_effect_frozenapp: pluginId: kwin4_effect_frozenapp isActiveFullScreenEffect: false kwin4_effect_fadingpopups: pluginId: kwin4_effect_fadingpopups isActiveFullScreenEffect: false kwin4_effect_squash: pluginId: kwin4_effect_squash isActiveFullScreenEffect: false sheet: duration: 150 desktopgrid: activeView: gridRows: 1 gridColumns: 2 animationDuration: 150 layout: 1 partialActivationFactor: 0 gestureInProgress: false showAddRemove: true desktopNameAlignment: 0 desktopLayoutMode: 0 customLayoutRows: 2 highlightwindow: overview: activeView: animationDuration: 150 layout: 1 ignoreMinimized: false blurBackground: true partialActivationFactor: 0 gestureInProgress: false searchText: tileseditor: activeView: animationDuration: 200 windowview: activeView: animationDuration: 150 layout: 1 ignoreMinimized: false mode: 0 partialActivationFactor: 0 gestureInProgress: false searchText: wobblywindows: stiffness: 0.15 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 blendchanges: startupfeedback: type: 1 kscreen: screentransform: Loaded Plugins: --------------- kwin5_plugin_buttonrebinds kwin5_plugin_colord kwin5_plugin_krunner kwin5_plugin_nightcolor kwin5_plugin_screencast Available Plugins: ------------------ kwin5_plugin_buttonrebinds kwin5_plugin_colord kwin5_plugin_krunner kwin5_plugin_nightcolor kwin5_plugin_screencast
@JonnyRobbie Do the lines go away of you disable the Blur effect?
(In reply to Mathias Tillman from comment #15) > @JonnyRobbie Do the lines go away of you disable the Blur effect? Both Blur AND Background Contrast has to be turned off for the lines to disappear. If either one is on, the lines are there. Also, not sure if its a symptom of the same cause - the white highlight border around the window seems like it's a pixel away from the actual window. You can see it in the photo I've attached before.
*** Bug 464526 has been marked as a duplicate of this bug. ***
Reminds me of Bug 464526, which was fixed in Plasma 5.27.1, which was released today. Can you upgrade to Plasma 5.27.1 and see if this is fixed too? Thanks!
(In reply to Nate Graham from comment #18) > Reminds me of Bug 464526, which was fixed in Plasma 5.27.1, which was > released today. > > Can you upgrade to Plasma 5.27.1 and see if this is fixed too? Thanks! Yeah tested after updating. Issue still persists.
*** Bug 465995 has been marked as a duplicate of this bug. ***
See https://invent.kde.org/plasma/kwin/-/merge_requests/3236 for a discussion about a potential fix for this issue. It does work for me, but there are some uncertainties about how to best approach it.
I have to say that upgrading to 5.27.1 did not help. Still seeing white flickering border and artifacts.
*** Bug 465966 has been marked as a duplicate of this bug. ***
I have to say that 5.27.2 didn't fix this for me :( In fact, it might be even worse.
*** Bug 466643 has been marked as a duplicate of this bug. ***
Since my bug 466643 was marked a duplicate of this one, I will comment here. Though I am not entirely sure if this bug is the same bug I am experiencing. Here are some observations from my side: 1. I am seeing flickering blue lines (full and partial) between the items of menus. For example, if you right-click on the desktop, move your mouse around on the opening menu (also around the desktop itself), those flickering blue lines will be between the menu items. The flickering stops immediately when the mouse movement stops. Also, while using konsole and Midnight Commander, moving the "selection bar" up and down over files, will leave line artifacts as well. 2. This is with any scale fractional scale, integer scales are fine. 3. Desktop effects seemingly have no effect on this. I also don't have blur or background contrast active. 4. This happen with Breeze (Dark/Light) and Adwaita (Dark/Light) for example but disappears completely with Fusion which, otoh, seems somewhat slow/sluggish as a downside. 5. I tried https://invent.kde.org/plasma/kwin/-/merge_requests/3236 but it made no noticeable difference in my case (currently running with it). 6. I have seen this for quite some time now, probably since Nvidia introduced their GBM support. 7. I am running the latest git qt-5 branches for everything kde (Plasma, kwin, etc.) except normal applications. 8. Java applications using FlatLaf are apparently also completely fine. KWin Support Information: The following information should be used when requesting support on e.g. https://forum.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: 5.27.2 Qt Version: 5.15.8 Qt compile version: 5.15.8 XCB compile version: 1.15 Operation Mode: Xwayland Build Options ============= KWIN_BUILD_DECORATIONS: yes KWIN_BUILD_TABBOX: yes KWIN_BUILD_ACTIVITIES: yes HAVE_X11_XCB: yes HAVE_EPOXY_GLX: yes X11 === Vendor: The X.Org Foundation Vendor Release: 12201008 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: 0, 2 decorationButtonsRight: 6, 3, 4, 5 borderSize: 0 gridUnit: 10 font: Noto Sans,10,-1,0,50,0,0,0,0,0 smallSpacing: 2 largeSpacing: 10 Output backend ============== Name: DRM Active: true Atomic Mode Setting on GPU 0: true Cursor ====== themeName: breeze_cursors themeSize: 36 Options ======= focusPolicy: 0 xwaylandCrashPolicy: xwaylandMaxCrashCount: 3 nextFocusPrefersMouse: false clickRaise: true autoRaise: false autoRaiseInterval: 0 delayFocusInterval: 0 shadeHover: false shadeHoverInterval: 250 separateScreenFocus: false activeMouseScreen: true placement: activationDesktopPolicy: 0 focusPolicyIsReasonable: true borderSnapZone: 10 windowSnapZone: 10 centerSnapZone: 0 snapOnlyWhenOverlapping: false rollOverDesktops: true focusStealingPreventionLevel: 1 operationTitlebarDblClick: 5000 operationMaxButtonLeftClick: 5000 operationMaxButtonMiddleClick: 5015 operationMaxButtonRightClick: 5014 commandActiveTitlebar1: 0 commandActiveTitlebar2: 28 commandActiveTitlebar3: 2 commandInactiveTitlebar1: 4 commandInactiveTitlebar2: 28 commandInactiveTitlebar3: 2 commandWindow1: 7 commandWindow2: 8 commandWindow3: 8 commandWindowWheel: 28 commandAll1: 10 commandAll2: 3 commandAll3: 14 keyCmdAllModKey: 16777250 condensedTitle: false electricBorderMaximize: true electricBorderTiling: true electricBorderCornerRatio: 0.25 borderlessMaximizedWindows: false killPingTimeout: 5000 hideUtilityWindowsForInactive: true compositingMode: 1 useCompositing: true hiddenPreviews: 1 glSmoothScale: 2 glStrictBinding: false glStrictBindingFollowsDriver: true glPreferBufferSwap: 99 glPlatformInterface: 2 windowsBlockCompositing: true latencyPolicy: renderTimeEstimator: allowTearing: true Screen Edges ============ desktopSwitching: true 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 ======= Active screen follows mouse: yes Number of Screens: 1 Screen 0: --------- Name: HDMI-A-1 Enabled: 1 Geometry: 0,0,2560x1440 Scale: 1.5 Refresh Rate: 60000 Adaptive Sync: incapable Compositing =========== Compositing is active Compositing Type: OpenGL OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: NVIDIA GeForce GTX 1080/PCIe/SSE2 OpenGL version string: 3.1.0 NVIDIA 530.30.02 OpenGL platform interface: EGL OpenGL shading language version string: 1.40 NVIDIA via Cg compiler Driver: NVIDIA Driver version: 530.30.2 GPU class: Unknown OpenGL version: 3.1 GLSL version: 1.40 X server version: 1.22.1 Linux kernel version: 6.1.11 Direct rendering: Requires strict binding: no GLSL shaders: yes Texture NPOT support: yes Virtual Machine: no OpenGL 2 Shaders are used Loaded Effects: --------------- colorpicker outputlocator screenshot kwin4_effect_sessionquit kwin4_effect_login kwin4_effect_logout kwin4_effect_windowaperture magiclamp slide slideback kwin4_effect_maximize kwin4_effect_fullscreen kwin4_effect_scale kwin4_effect_fadingpopups kwin4_effect_frozenapp kwin4_effect_morphingpopups kwin4_effect_dialogparent desktopgrid highlightwindow overview tileseditor windowview blendchanges startupfeedback kscreen screentransform Currently Active Effects: ------------------------- Effect Settings: ---------------- colorpicker: outputlocator: screenshot: kwin4_effect_sessionquit: pluginId: kwin4_effect_sessionquit isActiveFullScreenEffect: false kwin4_effect_login: pluginId: kwin4_effect_login isActiveFullScreenEffect: false kwin4_effect_logout: pluginId: kwin4_effect_logout isActiveFullScreenEffect: false kwin4_effect_windowaperture: pluginId: kwin4_effect_windowaperture isActiveFullScreenEffect: false magiclamp: slide: horizontalGap: 45 verticalGap: 20 slideBackground: false slideback: kwin4_effect_maximize: pluginId: kwin4_effect_maximize isActiveFullScreenEffect: false kwin4_effect_fullscreen: pluginId: kwin4_effect_fullscreen isActiveFullScreenEffect: false kwin4_effect_scale: pluginId: kwin4_effect_scale isActiveFullScreenEffect: false kwin4_effect_fadingpopups: pluginId: kwin4_effect_fadingpopups isActiveFullScreenEffect: false kwin4_effect_frozenapp: pluginId: kwin4_effect_frozenapp isActiveFullScreenEffect: false kwin4_effect_morphingpopups: pluginId: kwin4_effect_morphingpopups isActiveFullScreenEffect: false kwin4_effect_dialogparent: pluginId: kwin4_effect_dialogparent isActiveFullScreenEffect: false desktopgrid: activeView: gridRows: 2 gridColumns: 4 animationDuration: 300 layout: 1 partialActivationFactor: 0 gestureInProgress: false showAddRemove: true desktopNameAlignment: 0 desktopLayoutMode: 0 customLayoutRows: 2 highlightwindow: overview: activeView: animationDuration: 300 layout: 1 ignoreMinimized: false blurBackground: true partialActivationFactor: 0 gestureInProgress: false searchText: tileseditor: activeView: animationDuration: 200 windowview: activeView: animationDuration: 300 layout: 1 ignoreMinimized: false mode: 6946816 partialActivationFactor: 0 gestureInProgress: false searchText: blendchanges: startupfeedback: type: 1 kscreen: screentransform: Loaded Plugins: --------------- kwin5_plugin_buttonrebinds kwin5_plugin_colord kwin5_plugin_krunner kwin5_plugin_nightcolor kwin5_plugin_screencast Available Plugins: ------------------ kwin5_plugin_buttonrebinds kwin5_plugin_colord kwin5_plugin_krunner kwin5_plugin_nightcolor kwin5_plugin_screencast
*** Bug 466778 has been marked as a duplicate of this bug. ***
Can I ask what is the current status? Has it been reproduced by developers? Will it be fixed in .3? Is there something more we can do to help?
Still present in 5.27.3
*** Bug 468734 has been marked as a duplicate of this bug. ***
Still present in 5.27.4
*** Bug 464408 has been marked as a duplicate of this bug. ***
This can also be reproduced on with 100% scaling by using mouse mark on top
*** Bug 469187 has been marked as a duplicate of this bug. ***
So my bug was also marked as a duplicate. I want to add that turning blur and background contrast doesn't change anything. I hope someone finds a solution to this, it's pretty bad having lines everywhere and without scaling I can't really read a word... Did someone find a workaround to this to make the lines disappear until this bug gets fixed? I would really appreciate it.
With the limited man power KWin has and this being a rather nasty problem (and not a priority), I wouldn't hold my breath for this to get fixed any time soon, I am afraid. I spent a few weeks trying to fix it, deep diving in kwin internals but at the end, I came to the conclusion that there is (imho) no way to make it work with all the floating point numbers and rounding. You have damage events in logical coordinates that are just one pixel in height... after scaling both coordinates and size, they have to perfectly fit where the damage is in device coordinates or you will end up with graphical glitches. That is extremely hard, if not impossible, to do right all the time. I shared my findings and tried to suggest a possible solution I called "fuzzy repaint". Basically you add a few pixel in each direction to the damage event to account for possible floating point/rounding errors. Even a very basic PoC on my end, fixed all glitches and worked fine. It would have required my work and thought to make it safe and sound, but it was better than what we have now and did not require a full repaint or anything else expensive. Unfortunately I was ignored (which is absolutely fine!), so I called it a day and moved on to different shores... :-( It's a pity really. On the surface, with KDE and KWin, you get pretty much everything you wished for with their handling of Wayland/Xwayland, scaling and HiDPI, but it has also has to work properly which is where it falls short.
Matthias, did you submit that work for consideration anywhere?
I posted a (lengthy) comment on the 3236 merge request with my findings and suggestion, but after being ignored, I felt somewhat stupid/embarrassed, so I deleted it. The code itself was only a few lines that I never posted because it was just a PoC on my end. I wanted to get a discussion going if this would be a possible solution and where the best place would be, to extend the damage event and how, so I could have come up with a proper implementation that could have been merged eventually.
Darn, I'm sorry that you didn't get a good response. Any chance you could post the code in the form of a merge request for KWin? I'm actually at a Plasma sprint right now and I'm sitting by a KWin developer, and I might be able to help get a conversation started.
Thanks for looking into this-- very much appreciated! :-) Here you go: https://invent.kde.org/plasma/kwin/-/merge_requests/4080
One thing I don't understand - this seems like a regression. It was fine in 5.26, but appeared in 5.27. Now I know enough that asking "how hard could it be" is an unfortunate question, so I'll try to rephrase that: have we managed to bisect towards the offending commit that it would help us diagnose the issue and point towards a solution?
The changes that caused the issue are known. But they were necessary to make fractional scaling work properly on Wayland with Qt 6, so we can't just revert them. We need to figure out a way to keep those changes but fix these glitch issues that they caused in Qt 5. One such attempt is in progress: https://invent.kde.org/plasma/kwin/-/merge_requests/4080.
Should be fixed by the work in https://invent.kde.org/plasma/kwin/-/merge_requests/4080, thanks to Matthias Dahl!
I'm sorry to say this, but today I got Version 5.27.6 for my Fedora KDE and the lines are still there for me. Maybe I'm doing something wrong, but I still have them in several context menus. I think it is a better than before and I don't see them in the windows themself anymore, but only in menus. Also in some apps they seem to be gone completely, also in the dropdown menus (for example KDE Konsole), but in other apps (like Dolphin, KolourPaint, Gwenview etc.) the lines are still there. They are also really strong in the rightclick menu on the desktop. I mean it is not terrible, and maybe this is fixed with QT6 and Plasma 6 anyways? Then this is fine I think. But wanted to report it anyways, so in the future scaling isn't that bugged anymore. I'm using wayland with 150% fractional scaling. Thanks for all the awesome work on KDE Plasma!
I'm very sorry but the fix has not been applied to the stable 5.27 branch yet, only master. (Plasma 6). I will ping the appropriate people right away. Sorry I haven't been paying closer attention to this lately. :-(
@Matthias: No problem, but thanks for the quick response. I could only test shortly yesterday, so it seems I was just lucky with the lines in some programs. Good to know that the fix isn't the problem, but just hasn't applied yet. I'm actually really happy about that, because I thought I had a different problem and now it gets most likely fixed in the future. Thanks again for your help!
@Sebi: You're very welcome. And btw, I know exactly how you feel... been in the same situation quite a few times myself. :-) Thanks to David Edmundson, the fix has now been merged to the stable branch (5.27) and will be part of the next stable release.
You were the person that digged into that right? Awesome work! As Debian will stay with 5.27 for the next like 3 years, its very important to fix this issue. One of the last things to make this version of Plasma stable. Plasma 6 will come to Debian in 2026 or so?
Upgraded to 5.27.7 and these square artifacts are still appearing with blur desktop effect enabled. The artifact has the color of the desktop wallpaper behind it. https://bugsfiles.kde.org/attachment.cgi?id=156344 Linux: Arch Linux KDE Plasma Version: 5.27.7 (wayland) KDE Frameworks Version: 5.108.0 Qt Version: 5.15.10 GPU: AMD 7900XTX (mesa-git 23.3) Display scaling: 150%
Those are around the cursor, which makes it a different issue with a different root cause. Can you submit a new bug report about it? Thanks!
I will reopen https://bugs.kde.org/show_bug.cgi?id=465891 then which was marked as a dup of this bug