Summary: | Kwin+intel makes a mess in screen on resolution change or double monitor is connected | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | André M <andre.vmatos> |
Component: | general | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | andre.vmatos |
Priority: | NOR | ||
Version: | git master | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
URL: | https://drive.google.com/file/d/0B_Dgt6nSyjwgUlRrcXFhWVVZWjQ/view?usp=sharing | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=345532 | ||
Latest Commit: | Version Fixed In: | 6d31775ee80b4afee09473c134cc68aabe48f57c | |
Sentry Crash Report: | |||
Attachments: |
glxinfo -l
output of xrandr -q --verbose screenshot of glitch without screenshot module loaded |
Description
André M
2015-04-15 19:47:32 UTC
please provide output of: qdbus org.kde.KWin /KWin supportInformation ideally when the problem is present. Also, if "git master" is correct, you may want to give https://bugs.kde.org/show_bug.cgi?id=345532#c2 a try. (Does it for me, but there may be different issues here) (In reply to Martin Gräßlin from comment #1) > please provide output of: > qdbus org.kde.KWin /KWin supportInformation > > ideally when the problem is present. KWin Support Information: The following information should be used when requesting support on e.g. http://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 http://paste.kde.org instead of pasting into support threads. ========================== Version ======= KWin version: 5.3.90 Qt Version: 5.4.1 Qt compile version: 5.4.1 XCB compile version: 1.11 Operation Mode: X11 only Build Options ============= KWIN_BUILD_DECORATIONS: yes KWIN_BUILD_TABBOX: yes KWIN_BUILD_ACTIVITIES: yes HAVE_WAYLAND: yes HAVE_WAYLAND_EGL: yes HAVE_WAYLAND_CURSOR: yes HAVE_XKB: yes HAVE_INPUT: yes HAVE_XCB_CURSOR: yes HAVE_XCB_SYNC: yes HAVE_X11_XCB: yes X11 === Vendor: The X.Org Foundation Vendor Release: 11701000 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: Blur: 0 onAllDesktopsAvailable: true alphaChannelSupported: true closeOnDoubleClickOnMenu: false decorationButtonsLeft: 0, 9, 2 decorationButtonsRight: 6, 3, 4, 5 borderSize: 3 gridUnit: 10 font: Oxygen,10,-1,5,50,0,0,0,0,0 smallSpacing: 2 largeSpacing: 10 Options ======= focusPolicy: 0 nextFocusPrefersMouse: false clickRaise: true autoRaise: false autoRaiseInterval: 0 delayFocusInterval: 0 shadeHover: false shadeHoverInterval: 250 separateScreenFocus: false placement: 4 focusPolicyIsReasonable: true borderSnapZone: 10 windowSnapZone: 10 centerSnapZone: 0 snapOnlyWhenOverlapping: false rollOverDesktops: true focusStealingPreventionLevel: 0 legacyFullscreenSupport: false operationTitlebarDblClick: 5000 operationMaxButtonLeftClick: 5000 operationMaxButtonMiddleClick: 5015 operationMaxButtonRightClick: 5014 commandActiveTitlebar1: 0 commandActiveTitlebar2: 30 commandActiveTitlebar3: 2 commandInactiveTitlebar1: 4 commandInactiveTitlebar2: 30 commandInactiveTitlebar3: 2 commandWindow1: 4 commandWindow2: 8 commandWindow3: 8 commandWindowWheel: 31 commandAll1: 10 commandAll2: 3 commandAll3: 14 keyCmdAllModKey: 16777251 showGeometryTip: true condensedTitle: false electricBorderMaximize: true electricBorderTiling: true electricBorderCornerRatio: 0.25 borderlessMaximizedWindows: false killPingTimeout: 5000 hideUtilityWindowsForInactive: false inactiveTabsSkipTaskbar: false autogroupSimilarWindows: false autogroupInForeground: true compositingMode: 1 useCompositing: true compositingInitialized: true hiddenPreviews: 1 unredirectFullscreen: false glSmoothScale: 1 colorCorrected: false xrenderSmoothScale: false maxFpsInterval: 16666666 refreshRate: 0 vBlankTime: 6000000 glStrictBinding: false glStrictBindingFollowsDriver: true glCoreProfile: true glPreferBufferSwap: 101 glPlatformInterface: 2 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 ======= Multi-Head: no Active screen follows mouse: no Number of Screens: 1 Screen 0 Geometry: 0,0,1024x768 Compositing =========== Compositing is active Compositing Type: OpenGL OpenGL vendor string: Intel Open Source Technology Center OpenGL renderer string: Mesa DRI Intel(R) Ivybridge Mobile OpenGL version string: 3.3 (Core Profile) Mesa 10.5.3 OpenGL platform interface: EGL OpenGL shading language version string: 3.30 Driver: Intel GPU class: IvyBridge OpenGL version: 3.3 GLSL version: 3.30 Mesa version: 10.5.3 X server version: 1.17.1 Linux kernel version: 4.0 Direct rendering: Requires strict binding: no GLSL shaders: yes Texture NPOT support: yes Virtual Machine: no OpenGL 2 Shaders are used Painting blocks for vertical retrace: no Loaded Effects: --------------- zoom slidingpopups kwin4_effect_login flipswitch slide screenshot minimizeanimation kwin4_effect_scalein desktopgrid kwin4_effect_translucency coverswitch kwin4_effect_maximize kwin4_effect_fade presentwindows highlightwindow kwin4_effect_dialogparent blur contrast logout dashboard windowgeometry startupfeedback screenedge kscreen Currently Active Effects: ------------------------- kwin4_effect_translucency blur contrast Effect Settings: ---------------- zoom: zoomFactor: 1.2 mousePointer: 0 mouseTracking: 0 enableFocusTracking: false followFocus: true focusDelay: 350 moveFactor: 20 targetZoom: 1 slidingpopups: fadeInTime: 150 fadeOutTime: 250 kwin4_effect_login: flipswitch: tabBox: false tabBoxAlternative: true duration: 200 angle: 30 xPosition: 0.330000013113022 yPosition: 1 windowTitle: true slide: screenshot: minimizeanimation: kwin4_effect_scalein: desktopgrid: zoomDuration: 300 border: 10 desktopNameAlignment: 0 layoutMode: 0 customLayoutRows: 2 usePresentWindows: true kwin4_effect_translucency: coverswitch: animationDuration: 200 animateSwitch: true animateStart: true animateStop: true reflection: true windowTitle: true zPosition: 900 primaryTabBox: true secondaryTabBox: false kwin4_effect_maximize: kwin4_effect_fade: presentwindows: layoutMode: 0 showCaptions: true showIcons: true doNotCloseWindows: false ignoreMinimized: false accuracy: 20 fillGaps: true fadeDuration: 150 showPanel: false leftButtonWindow: 1 rightButtonWindow: 2 middleButtonWindow: 0 leftButtonDesktop: 2 middleButtonDesktop: 0 rightButtonDesktop: 0 highlightwindow: kwin4_effect_dialogparent: blur: blurRadius: 6 cacheTexture: true contrast: logout: useBlur: true dashboard: brightness: 0.5 saturation: 0.5 blur: false windowgeometry: handlesMoves: true handlesResizes: true startupfeedback: type: 1 screenedge: kscreen: Sorry for the long paste, I didn't pay attention to the size, should have posted to drive or pastebin instead. Created attachment 92080 [details]
glxinfo -l
Patched kwin doesn't fix the issue. Same result, same corruption.
Not sure if same issue as #345532
Because the screenshot is 1366x768 while the resolution (as seen by KWin as well) is 1024x768, can you please dump the ouput of "xrandr -q" when this happens (and notice the expected resolution) (In reply to Thomas Lübking from comment #6) > Because the screenshot is 1366x768 while the resolution (as seen by KWin as > well) is 1024x768, can you please dump the ouput of "xrandr -q" when this > happens (and notice the expected resolution) Original resolution was 1366x768. Changed to 1024x768 via kscreen dialog. Problem ocurred, screen area used reduced to 2nd resolution, but with this glitches. xrandr -q taken while bug was active: Screen 0: minimum 8 x 8, current 1366 x 768, maximum 32767 x 32767 LVDS1 connected primary 1024x768+0+0 (normal left inverted right x axis y axis) 309mm x 173mm 1366x768 59.98 + 1024x768 60.00* 800x600 60.32 56.25 640x480 59.94 DP1 disconnected (normal left inverted right x axis y axis) HDMI1 disconnected (normal left inverted right x axis y axis) VGA1 disconnected (normal left inverted right x axis y axis) VIRTUAL1 disconnected (normal left inverted right x axis y axis) There it's again... xrandr --output LVDS1 --auto xrandr --output LVDS1 --mode 1024x768 Does that lead to a) a consistent resolution ("current" being 1024x768 as well) b) graphical corruption? (In reply to Thomas Lübking from comment #8) > There it's again... > > xrandr --output LVDS1 --auto > xrandr --output LVDS1 --mode 1024x768 > > Does that lead to > a) a consistent resolution ("current" being 1024x768 as well) > b) graphical corruption? First command did nothing. Second command led to the same corruption. Typed again with 1366x768 to come back to original resolution, and everything returned to work normally. E.g. xrandr led to same results as kscreen resolution changes. please switch to GLX an OpenGL 2. Both EGL and OpenGL 3 are known to have issues. with the same "current" resolution of 1366x768? please attach the output of "xrandr -q --verbose" in this condition (lvds1 == XGA but global resolution being WXGA) Created attachment 92082 [details]
output of xrandr -q --verbose
GLX with OpenGL2. Same problem. Source resolution is 1366x768. Tried changing to 1024x768, corruption occurs. Attached requested output, during corruption.
Interestingly
> Screen 0: minimum 8 x 8, current 1024 x 768, maximum 32767 x 32767
the screen resolution is correct in this case
-> caused by xrandr invocation or kscreen?
(In reply to Thomas Lübking from comment #13) > Interestingly > > Screen 0: minimum 8 x 8, current 1024 x 768, maximum 32767 x 32767 > the screen resolution is correct in this case > > -> caused by xrandr invocation or kscreen? This test was with xrandr. But in all cases, when changing resolution to 1024x768, the "physical screen area" used was the right one, 1024x768, with black rectangles in both sides, as expected. But the central area, where should be a 1024x768 desktop, was this mess of textures and glitches, and in all cases, even with xrandr returning 1024x768, ksnapshot made a 1366x768 (previous resolution) image, with these corruptions. (In reply to André Vitor de Lima Matos from comment #14) > 1024x768, with black rectangles in both sides That's the HW (the display) and irrelevant. > all cases, even with xrandr returning 1024x768, ksnapshot made a 1366x768 > (previous resolution) image, with these corruptions. Assuming that the 1024x768 refer to the screen resolution ("current"), please check $ qdbus org.kde.KWin /Effects loadedEffects | grep screenshot if it's loaded $ qdbus org.kde.KWin /Effects unloadEffect screenshot confirm $ qdbus org.kde.KWin /Effects loadedEffects | grep screenshot cause the problem and make a screenshot - is that XGA? Created attachment 92090 [details]
screenshot of glitch without screenshot module loaded
Disabling screenshot module made the screenshot image get the right resolution, that is the screen resolution, 1024x768, and precisely what I see when the glitch occurs.
Just compiled today's version (6d31775ee80b4afee09473c134cc68aabe48f57c) and everything is working fine now. Marking as resolved. Thanks. |