Bug 376148 - windows tiling artifacts
Summary: windows tiling artifacts
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.9.0
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-07 16:40 UTC by grouchomarx.fr
Modified: 2017-07-22 15:14 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
artifact (250.96 KB, image/jpeg)
2017-02-07 16:40 UTC, grouchomarx.fr
Details
no preview (312.88 KB, image/jpeg)
2017-02-07 16:43 UTC, grouchomarx.fr
Details
kwin support information (5.74 KB, text/plain)
2017-02-07 19:06 UTC, grouchomarx.fr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description grouchomarx.fr 2017-02-07 16:40:05 UTC
Created attachment 103888 [details]
artifact

How to reproduce :
- move the window to the top right corner
- drag it down along the right side

Expected results :
- the preview should be updated properly

Actual Results :
- the preview is not updated, or disappears. A copy of the window can appear on the background.
It looks like the background is not refreshed.

Reproducibility :
- most of the time

Additional info :
- Intel GPU
- it doesn't happen if I switch to Wayland or disable DRI3.
Comment 1 grouchomarx.fr 2017-02-07 16:43:50 UTC
Created attachment 103889 [details]
no preview
Comment 2 Martin Flöser 2017-02-07 18:35:20 UTC
Please provide the output of:
qdbus org.kde.KWin /KWin supportInformation
Comment 3 grouchomarx.fr 2017-02-07 19:06:34 UTC
Created attachment 103891 [details]
kwin support information
Comment 4 Martin Flöser 2017-02-07 20:10:11 UTC
Version
=======
KWin version: 5.9.0
Qt Version: 5.7.1
Qt compile version: 5.7.1
XCB compile version: 1.11.1

Operation Mode: X11 only

Build Options
=============
KWIN_BUILD_DECORATIONS: yes
KWIN_BUILD_TABBOX: yes
KWIN_BUILD_ACTIVITIES: yes
HAVE_INPUT: yes
HAVE_DRM: yes
HAVE_GBM: yes
HAVE_X11_XCB: yes
HAVE_EPOXY_GLX: yes
HAVE_WAYLAND_EGL: yes

X11
===
Vendor: The X.Org Foundation
Vendor Release: 11804000
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: 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

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: 1
legacyFullscreenSupport: false
operationTitlebarDblClick: 5000
operationMaxButtonLeftClick: 5000
operationMaxButtonMiddleClick: 5015
operationMaxButtonRightClick: 5014
commandActiveTitlebar1: 0
commandActiveTitlebar2: 30
commandActiveTitlebar3: 2
commandInactiveTitlebar1: 4
commandInactiveTitlebar2: 30
commandInactiveTitlebar3: 2
commandWindow1: 7
commandWindow2: 8
commandWindow3: 8
commandWindowWheel: 31
commandAll1: 10
commandAll2: 3
commandAll3: 14
keyCmdAllModKey: 16777251
showGeometryTip: false
condensedTitle: false
electricBorderMaximize: true
electricBorderTiling: true
electricBorderCornerRatio: 0.25
borderlessMaximizedWindows: false
killPingTimeout: 5000
hideUtilityWindowsForInactive: true
inactiveTabsSkipTaskbar: false
autogroupSimilarWindows: false
autogroupInForeground: true
compositingMode: 1
useCompositing: true
compositingInitialized: true
hiddenPreviews: 1
glSmoothScale: 2
xrenderSmoothScale: false
maxFpsInterval: 16666666
refreshRate: 0
vBlankTime: 6000000
glStrictBinding: true
glStrictBindingFollowsDriver: true
glCoreProfile: false
glPreferBufferSwap: 101
glPlatformInterface: 1
windowsBlockCompositing: 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
=======
Multi-Head: no
Active screen follows mouse:  no
Number of Screens: 1

Screen 0:
---------
Name: VGA-1
Geometry: 0,0,1680x1050
Refresh Rate: 59.9543


Compositing
===========
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Ironlake Mobile 
OpenGL version string: 2.1 Mesa 11.2.0
OpenGL platform interface: GLX
OpenGL shading language version string: 1.20
Driver: Intel
GPU class: i965
OpenGL version: 2.1
GLSL version: 1.20
Mesa version: 11.2
X server version: 1.18.4
Linux kernel version: 4.4
Direct rendering: Requires strict binding: yes
GLSL shaders:  yes
Texture NPOT support:  yes
Virtual Machine:  no
OpenGL 2 Shaders are used
Painting blocks for vertical retrace:  no

Loaded Effects:
---------------
dimscreen
zoom
slidingpopups
kwin4_effect_login
kwin4_effect_windowaperture
slide
screenshot
kwin4_effect_translucency
minimizeanimation
flipswitch
desktopgrid
coverswitch
colorpicker
kwin4_effect_maximize
kwin4_effect_fade
kwin4_effect_morphingpopups
presentwindows
highlightwindow
kwin4_effect_dialogparent
startupfeedback
screenedge
kscreen

Currently Active Effects:
-------------------------

Effect Settings:
----------------
dimscreen:

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:

kwin4_effect_windowaperture:

slide:

screenshot:

kwin4_effect_translucency:

minimizeanimation:

flipswitch:
tabBox: false
tabBoxAlternative: false
duration: 200
angle: 30
xPosition: 0.33000001311302185
yPosition: 1
windowTitle: true

desktopgrid:
zoomDuration: 300
border: 10
desktopNameAlignment: 0
layoutMode: 0
customLayoutRows: 2
usePresentWindows: true

coverswitch:
animationDuration: 200
animateSwitch: true
animateStart: true
animateStop: true
reflection: true
windowTitle: true
zPosition: 900
primaryTabBox: false
secondaryTabBox: false

colorpicker:

kwin4_effect_maximize:

kwin4_effect_fade:

kwin4_effect_morphingpopups:

presentwindows:
layoutMode: 1
showCaptions: true
showIcons: true
doNotCloseWindows: true
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:

startupfeedback:
type: 1

screenedge:

kscreen:
Comment 5 Martin Flöser 2017-02-07 20:11:45 UTC
which xorg driver are you using? Intel or modesettings?
Comment 6 grouchomarx.fr 2017-02-07 20:39:03 UTC
I am using modesetting.

The bug is also there with uxa and sna if I enable DRI3.

There seems to be no problem with uxa and sna if I disable DRI3.
Comment 7 Martin Flöser 2017-07-22 15:14:18 UTC
as tuning the Intel driver fixes the problem I unfortunately must say this is a driver issue. Ironlake is rather old and I doubt that it got adjusted to support DRI3 properly - it got introduced much later than Ironlake and Intel does not really provide newer features for older hardware.