Bug 376377 - Smaller left monitor display looks like it's at 0,0 when set to (and acts) 0,90 (wayland)
Summary: Smaller left monitor display looks like it's at 0,0 when set to (and acts) 0,...
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.9.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 376783 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-02-12 00:58 UTC by pavestnavi
Modified: 2018-03-13 10:56 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
mgraesslin: Wayland+


Attachments
image referenced in the post (255.91 KB, image/png)
2017-02-12 00:59 UTC, pavestnavi
Details
Actual image referenced in the post, last one was wrong (449.36 KB, image/jpeg)
2017-02-12 01:03 UTC, pavestnavi
Details
Output of qdbus supportinfo (5.45 KB, text/plain)
2017-02-12 14:01 UTC, pavestnavi
Details
qdbus kwin support info while left screen is at 0,90 (5.46 KB, text/plain)
2017-02-12 19:51 UTC, pavestnavi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pavestnavi 2017-02-12 00:58:46 UTC
First of all thank you for your work, I am impressed at plasma on wayland and I use it more and more.

Because I am not good at explaining, I attached a picture. In the picture are my graphic details from glxinfo (amdgpu tonga r9 285 on linux 4.9.3 and mesa 13) and a picture of the bug mentioned in the title. When my second monitor on the left (1600x900) is at the 0,90 position, it shows as if it were at 0,0. The mouse cursor and the actual environment both show as if I were on 0,0. In the picture, you can see my mouse hover over the close button on the terminal. My mouse was in reality hovering 90 pixels over it. In the picture you can also see that the bottom 90 pixels of my wallpaper are garbage data. That is because at first, that part of my wallpaper is drawn at 0,0 downwards.

In short, the 0,90 position makes the monitor behave to applications at 0,90 while the interface still shows it at 0,0. I forgot to mention that my second monitor is 1920x1080, though you might have figured it by now.

Thank you again for your work, plasma on wayland is making wonderful progress and I am very glad of it.
Comment 1 pavestnavi 2017-02-12 00:59:49 UTC
Created attachment 103991 [details]
image referenced in the post
Comment 2 pavestnavi 2017-02-12 01:03:01 UTC
Created attachment 103992 [details]
Actual image referenced in the post, last one was wrong
Comment 3 pavestnavi 2017-02-12 01:04:57 UTC
Comment on attachment 103991 [details]
image referenced in the post

wrong image
Comment 4 Martin Flöser 2017-02-12 07:35:08 UTC
Please provide the output of:
qdbus org.kde.KWin /KWin supportInformation
Comment 5 pavestnavi 2017-02-12 14:01:48 UTC
Created attachment 104001 [details]
Output of qdbus supportinfo
Comment 6 Martin Flöser 2017-02-12 19:31:02 UTC
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.9.1
Qt Version: 5.7.1
Qt compile version: 5.7.1
XCB compile version: 1.12

Operation Mode: Xwayland

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: 11901000
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: 3, 4, 8
decorationButtonsRight: 1, 9, 5
borderSize: 3
gridUnit: 10
font: Noto Sans,10,-1,0,50,0,0,0,0,0
smallSpacing: 2
largeSpacing: 10

Options
=======
focusPolicy: 2
nextFocusPrefersMouse: false
clickRaise: true
autoRaise: true
autoRaiseInterval: 500
delayFocusInterval: 100
shadeHover: false
shadeHoverInterval: 250
separateScreenFocus: false
placement: 4
focusPolicyIsReasonable: false
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: 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: false
glStrictBindingFollowsDriver: true
glCoreProfile: true
glPreferBufferSwap: 0
glPlatformInterface: 2
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: 2

Screen 0:
---------
Name: GSM HDMI-A-1-E2442
Geometry: 1600,0,1920x1080
Refresh Rate: 59.94

Screen 1:
---------
Name: BNQ DVI-I-1-BenQ GL2030/71C00073019
Geometry: 0,0,1600x900
Refresh Rate: 60


Compositing
===========
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD TONGA (DRM 3.8.0 / 4.9.8-1-default, LLVM 3.9.1)
OpenGL version string: 4.3 (Core Profile) Mesa 13.0.4
OpenGL platform interface: EGL
OpenGL shading language version string: 4.30
Driver: Unknown
GPU class: Unknown
OpenGL version: 4.3
GLSL version: 4.30
Mesa version: 13.0.4
Linux kernel version: 4.9.8
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
slide
screenshot
kwin4_effect_translucency
kwin4_effect_windowaperture
minimizeanimation
desktopgrid
colorpicker
kwin4_effect_maximize
kwin4_effect_fade
kwin4_effect_morphingpopups
presentwindows
highlightwindow
kwin4_effect_dialogparent
blur
contrast
startupfeedback
screenedge
kscreen

Currently Active Effects:
-------------------------
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:

slide:

screenshot:

kwin4_effect_translucency:

kwin4_effect_windowaperture:

minimizeanimation:

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

colorpicker:

kwin4_effect_maximize:

kwin4_effect_fade:

kwin4_effect_morphingpopups:

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: 12
cacheTexture: true

contrast:

startupfeedback:
type: 1

screenedge:

kscreen:
Comment 7 Martin Flöser 2017-02-12 19:32:54 UTC
According to the support information your screen is at 0/0 and not at 0/90.

How did you try to set it to 0/90?
Comment 8 pavestnavi 2017-02-12 19:49:15 UTC
(In reply to Martin Gräßlin from comment #7)
> According to the support information your screen is at 0/0 and not at 0/90.
> 
> How did you try to set it to 0/90?

I set it back to 0,0 later because it's unusable at 0,90. Would you like me to attach the supportinfo while it's set at 0,90?

Also for additional information this also happened on last week's KDE Neon devedition's (git stable) build.
Comment 9 pavestnavi 2017-02-12 19:51:42 UTC
Created attachment 104009 [details]
qdbus kwin support info while left screen is at 0,90
Comment 10 Martin Flöser 2017-02-12 20:02:29 UTC
Version
=======
KWin version: 5.9.1
Qt Version: 5.7.1
Qt compile version: 5.7.1
XCB compile version: 1.12

Operation Mode: Xwayland

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: 11901000
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: 3, 4, 8
decorationButtonsRight: 1, 9, 5
borderSize: 3
gridUnit: 10
font: Noto Sans,10,-1,0,50,0,0,0,0,0
smallSpacing: 2
largeSpacing: 10

Options
=======
focusPolicy: 2
nextFocusPrefersMouse: false
clickRaise: true
autoRaise: true
autoRaiseInterval: 500
delayFocusInterval: 100
shadeHover: false
shadeHoverInterval: 250
separateScreenFocus: false
placement: 4
focusPolicyIsReasonable: false
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: 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: false
glStrictBindingFollowsDriver: true
glCoreProfile: true
glPreferBufferSwap: 0
glPlatformInterface: 2
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: 2

Screen 0:
---------
Name: GSM HDMI-A-1-E2442
Geometry: 1600,0,1920x1080
Refresh Rate: 59.94

Screen 1:
---------
Name: BNQ DVI-I-1-BenQ GL2030/71C00073019
Geometry: 0,90,1600x900
Refresh Rate: 60


Compositing
===========
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD TONGA (DRM 3.8.0 / 4.9.8-1-default, LLVM 3.9.1)
OpenGL version string: 4.3 (Core Profile) Mesa 13.0.4
OpenGL platform interface: EGL
OpenGL shading language version string: 4.30
Driver: Unknown
GPU class: Unknown
OpenGL version: 4.3
GLSL version: 4.30
Mesa version: 13.0.4
Linux kernel version: 4.9.8
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
slide
screenshot
kwin4_effect_translucency
kwin4_effect_windowaperture
minimizeanimation
desktopgrid
colorpicker
kwin4_effect_maximize
kwin4_effect_fade
kwin4_effect_morphingpopups
presentwindows
highlightwindow
kwin4_effect_dialogparent
blur
contrast
startupfeedback
screenedge
kscreen

Currently Active Effects:
-------------------------
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:

slide:

screenshot:

kwin4_effect_translucency:

kwin4_effect_windowaperture:

minimizeanimation:

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

colorpicker:

kwin4_effect_maximize:

kwin4_effect_fade:

kwin4_effect_morphingpopups:

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: 12
cacheTexture: true

contrast:

startupfeedback:
type: 1

screenedge:

kscreen:
Comment 11 Martin Flöser 2017-02-12 20:05:52 UTC
We might have two unrelated bugs here. One being input being wrong, one being rendering being wrong.

In general multi-screen is not yet correctly implemented and only some limited setups are functioning. It looks like we still have assumptions about first screen starting at 0/0
Comment 12 pavestnavi 2017-02-12 20:37:04 UTC
(In reply to Martin Gräßlin from comment #11)
> We might have two unrelated bugs here. One being input being wrong, one
> being rendering being wrong.
> 
> In general multi-screen is not yet correctly implemented and only some
> limited setups are functioning. It looks like we still have assumptions
> about first screen starting at 0/0

What I can say is that the monitor settings aren't saved between sessions and they start with the HDMI one on the left at 0,0 and the DVI one on the right at 1080,0

I have to set it back every time, and no matter how I fiddle with it it won't work properly unless I put the DVI monitor on 0 on the y axis.

I assume that's the expected behaviour. I hope this helps you resolve the multi-screen issue a bit more.
Comment 13 Martin Flöser 2017-02-22 06:11:40 UTC
*** Bug 376783 has been marked as a duplicate of this bug. ***
Comment 14 Martin Flöser 2017-12-29 20:51:18 UTC
We had several fixes regarding layout of screens in a multi-screen setup. It is very likely that this specific bug got fixed as well at latest with Plasma 5.12. Due to that I dare to mark as fixed. If you are still able to reproduce with Plasma 5.12: please reopen.