Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 610388

Summary: kde-plasma/kwin-5.9.2 kwin_wayland 3 monitors: windows on left screen only rendered slightly below their position
Product: Gentoo Linux Reporter: Joe Harvell <landshark>
Component: Current packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugs.kde.org/show_bug.cgi?id=376377
Whiteboard: tracking upstream
Package list:
Runtime testing required: ---
Attachments: screenshot of left screen only
emerge --info
KDE logs from system journal around the time I saw the problem
xorg-server log file
config file in /etc/X11/xorg.conf.d

Description Joe Harvell 2017-02-21 18:46:31 UTC
Created attachment 464570 [details]
screenshot of left screen only

Note, I'm running a Plasma Wayland session.

Sometimes when a window gets placed on the left screen in a 3 monitor horizontal layout, the system enters a state where every window on the left screen is rendered about 5mm below where the window manager positions them.

The attached screenshot of the left screen only demonstrates this. I have positioned the pointer about 5mm above the rendered position of the top left corner of the window and right clicked to get the window's context menu.  Also, note the top 5mm of the screen shows relics of other windows.  This upper 5mm content is not frozen.  When I move other windows around it updates back and forth with each movement, showing different pieces of whatever I'm moving.  Hard to explain that one without video.

Once the system is in this state, I can go to the Configuration du système GUI (System configuration [systemsettings5]), select Affichage et Écran (view and screen).  From there I disable/re-enable the left screen and the problem goes away.

Additional Info:

When I first start the Plasma Wayland Session, the right two screens in my 3 screen horizontal layout are swapped.  Every time I login I have to go into the Affichage et Écran menu and swap those two screens.  I'll open another issue for that problem, but it seems related since swapping the screens is also how I fix the issue.

I am attaching the screenshot, emerge --info, and KDE logs from the system journal  during this time
Comment 1 Joe Harvell 2017-02-21 18:47:31 UTC
Created attachment 464572 [details]
emerge --info
Comment 2 Joe Harvell 2017-02-21 18:48:47 UTC
Created attachment 464574 [details]
KDE logs from system journal around the time I saw the problem
Comment 3 Joe Harvell 2017-02-21 18:52:09 UTC
Created attachment 464578 [details]
xorg-server log file
Comment 4 Joe Harvell 2017-02-21 18:52:56 UTC
jharvell@wolfhound ~/git/ns/nis $ lspci | egrep ^03
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cayman PRO GL [FirePro V7900]
03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cayman/Antilles HDMI Audio [Radeon HD 6930/6950/6970/6990]
Comment 5 Joe Harvell 2017-02-21 18:54:10 UTC
jharvell@wolfhound ~/git/ns/nis $ eselect qtgraphicssystem list
Available Qt Graphics Systems:
  [1]   native
  [2]   opengl (experimental)
  [3]   raster (default) *
jharvell@wolfhound ~/git/ns/nis $ eselect opengl list
Available OpenGL implementations:
  [1]   xorg-x11 *
jharvell@wolfhound ~/git/ns/nis $ eselect mesa list
64bit i915 (Intel 915, 945)
64bit i965 (Intel GMA 965, G/Q3x, G/Q4x, HD)
64bit r300 (Radeon R300-R500)
  [1]   gallium *
64bit r600 (Radeon R600-R700, Evergreen, Northern Islands)
  [1]   gallium *
64bit sw (Software renderer)
  [1]   classic
  [2]   gallium *
32bit i915 (Intel 915, 945)
32bit i965 (Intel GMA 965, G/Q3x, G/Q4x, HD)
32bit r300 (Radeon R300-R500)
  [1]   gallium *
32bit r600 (Radeon R600-R700, Evergreen, Northern Islands)
  [1]   gallium *
32bit sw (Software renderer)
  [1]   classic
  [2]   gallium *
Comment 6 Joe Harvell 2017-02-21 19:16:34 UTC
Created attachment 464580 [details]
config file in /etc/X11/xorg.conf.d

jharvell@wolfhound /etc/X11/xorg.conf.d $ ls -al
total 16
drwxr-xr-x 2 root root 4096 21 févr. 12:13 .
drwxr-xr-x 6 root root 4096 21 févr. 12:13 ..
-rw-r--r-- 1 root root   27 20 févr. 01:20 20opengl.conf
-rw-r--r-- 1 root root  409 28 oct.  01:21 50radeon-2-head.conf
Comment 7 Andreas Sturmlechner gentoo-dev 2017-02-21 23:53:02 UTC
Please report this issue upstream, they can really use more multiscreen testers.

Also good to know about existing Errata: https://community.kde.org/Plasma/5.9_Errata#Wayland
Comment 8 Joe Harvell 2017-02-22 02:57:42 UTC
(In reply to Andreas Sturmlechner from comment #7)
> Please report this issue upstream, they can really use more multiscreen
> testers.
> 
> Also good to know about existing Errata:
> https://community.kde.org/Plasma/5.9_Errata#Wayland

Thanks for pointing out the errata.  I see they don't claim to be done with multi-screen yet.  Works pretty well as is by the way.

 - (Multi-)Screen configuration only partially implemented
Comment 9 Joe Harvell 2017-02-22 03:05:13 UTC
Filed https://bugs.kde.org/show_bug.cgi?id=376783 with KDE
Comment 10 Michael Palimaka (kensington) gentoo-dev 2018-03-13 10:58:00 UTC
Per Martin on the upstream bug, this is likely fixed in 5.12.