Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 569556 - Plasma 5: multiscreen issues
Summary: Plasma 5: multiscreen issues
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL: https://git.reviewboard.kde.org/r/125...
Whiteboard: fixed in 5.8 + Qt 5.6.1
Keywords: UPSTREAM
: 587394 588286 588770 599420 (view as bug list)
Depends on: plasma-5.8.3-stable 598780
Blocks:
  Show dependency tree
 
Reported: 2015-12-24 01:41 UTC by Maciej Mrozowski
Modified: 2016-12-09 22:33 UTC (History)
14 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Mrozowski gentoo-dev 2015-12-24 01:41:06 UTC
Related upstream multiscreen bugs below. I believe many of them are actual duplicates (with the same root cause).
I propose to keep the list somewhat updated and when we feel multiscreen support is good enough (not necessarily waiting for all bugs listed to be closed), close this bug.

Multiscreen configuration not preserved:
https://bugs.kde.org/show_bug.cgi?id=356884
https://bugs.kde.org/show_bug.cgi?id=354437
https://bugs.kde.org/show_bug.cgi?id=346961
https://bugs.kde.org/show_bug.cgi?id=350132

KScreen possibly messing with xrandr settings:
https://bugs.kde.org/show_bug.cgi?id=350874
https://bugs.kde.org/show_bug.cgi?id=343608

Last but not least bugs with output hot-plug recognition:
https://bugs.kde.org/show_bug.cgi?id=340120
https://bugs.kde.org/show_bug.cgi?id=356505
https://bugs.kde.org/show_bug.cgi?id=351025
https://bugs.kde.org/show_bug.cgi?id=346535

Crashes/hangs related to multiscreen. Admittedly crashes are just minor inconvenience, since it's mostly plasma desktop, so restartable:
https://bugs.kde.org/show_bug.cgi?id=354823
https://bugs.kde.org/show_bug.cgi?id=353129
https://bugs.kde.org/show_bug.cgi?id=314073
https://bugs.kde.org/show_bug.cgi?id=343543
Comment 1 Manfred Knick 2016-01-26 12:04:04 UTC
KDE-3 was the last to successfully manage multiple _separate_ screens,
aka "Zaphod mode" (no Xinerama, no TvinView).

KDE-4 and onwards including PLASMA-5 do *not* support any setup 
to reliably deal with a diverse combination of
 + multiple _different_ HW Graphics Adapters, each having connected
 + multiple _different_ HW Monitors (esp. with different screen resolutions)

Core KDE developers (Martin Gräßlin, Thomas Lübking) state that 
they are not going to resolve this matter
because they judge it being "unimportant"
[ https://bugs.kde.org/show_bug.cgi?id=256242#c1 ] ,
refer to "dbus being screen-agnostic" and hope for Wayland.


P.S.:

Per default:

"X Windowing System: ... the X display *without* the screen number ..."

But, a little bit above, a possible alternative is pointed out:

"Message Bus Service Scope ...
We could add an optional scope to a bus name. For example, for per-(display,session pair), we could have a unique ID for each display generated automatically at login and set on screen 0 by executing a special "set display ID" binary. The ID would be stored in a _DBUS_DISPLAY_ID property and would be a string of random bytes. This ID would then be used to scope names. Starting/locating a service could be done by ID-name pair rather than only by name. ..."

[ http://dbus.freedesktop.org/doc/dbus-specification.html#message-bus-starting-services ]

Thus, the default X dbus scope is screen-agnostic, correct -
but I begin to doubt the dogma of the core KDE developers that it can not be done.

Unfortunately, I don't know about the situation in (current) qtdbus.
Comment 2 Manuel Rüger (RETIRED) gentoo-dev 2016-01-26 19:06:54 UTC
This is a tracker bug and not a discussion forum. Thanks.
Comment 3 Johannes Huber (RETIRED) gentoo-dev 2016-05-23 07:49:01 UTC
Upstream will drop kscreen at the time Qt 5.6.1 is released. This should solve almost all of the issues.
Comment 4 Johannes Huber (RETIRED) gentoo-dev 2016-05-31 07:11:08 UTC
> https://git.reviewboard.kde.org/r/125451/

Patch is merged to master. Upstream is asking for feedback: http://vizzzion.org/blog/2016/05/multiscreen-in-plasma-5-7-and-beyond/. If you want to help you will need Plasma master branch (kde overlay) and Qt 5.6 stable branch (qt overlay).
Comment 5 Michael Palimaka (kensington) gentoo-dev 2016-06-17 11:47:54 UTC
(In reply to Johannes Huber from comment #4)
> > https://git.reviewboard.kde.org/r/125451/
> 
> Patch is merged to master. Upstream is asking for feedback:
> http://vizzzion.org/blog/2016/05/multiscreen-in-plasma-5-7-and-beyond/. If
> you want to help you will need Plasma master branch (kde overlay) and Qt 5.6
> stable branch (qt overlay).

Qt 5.6.1 and Plasma 5.6.5 with patch backported now in ~arch.
Comment 6 Johannes Huber (RETIRED) gentoo-dev 2016-07-05 17:16:25 UTC
*** Bug 587394 has been marked as a duplicate of this bug. ***
Comment 7 Johannes Huber (RETIRED) gentoo-dev 2016-07-05 17:21:57 UTC
(In reply to Michael Palimaka (kensington) from comment #5)
> (In reply to Johannes Huber from comment #4)
> > > https://git.reviewboard.kde.org/r/125451/
> > 
> > Patch is merged to master. Upstream is asking for feedback:
> > http://vizzzion.org/blog/2016/05/multiscreen-in-plasma-5-7-and-beyond/. If
> > you want to help you will need Plasma master branch (kde overlay) and Qt 5.6
> > stable branch (qt overlay).
> 
> Qt 5.6.1 and Plasma 5.6.5 with patch backported now in ~arch.

Plasma 5.7.0 is now in ~arch too. Please test and give feedback. (On my multiscreen setup it works.)
Comment 8 Johannes Huber (RETIRED) gentoo-dev 2016-07-08 08:13:20 UTC
*** Bug 588286 has been marked as a duplicate of this bug. ***
Comment 9 Anton Bolshakov 2016-07-14 05:00:27 UTC
two more crashes here:

https://bugs.kde.org/show_bug.cgi?id=360165
 - fixed in qt5.6

https://bugs.kde.org/show_bug.cgi?id=351507
 - n/a
Comment 10 Andreas Sturmlechner gentoo-dev 2016-08-22 06:41:31 UTC
Some freezes may not be caused by Plasma-5, but Intel Skylake: https://lists.freedesktop.org/archives/intel-gfx/2016-August/102349.html
Comment 11 Johannes Huber (RETIRED) gentoo-dev 2016-10-18 20:18:17 UTC
Last call for testing: Any serious issues left with Qt 5.6.{1,2} + KDE Plasma 5.8?
Comment 12 Johannes Huber (RETIRED) gentoo-dev 2016-11-02 10:27:23 UTC
*** Bug 588770 has been marked as a duplicate of this bug. ***
Comment 13 Valeriy Malov 2016-11-11 18:47:48 UTC
I've just upgraded to Plasma 5 from KDE4

The only combination that works for me so far is Plasma 5.8.3 and Qt 5.6.2

Previous versions would just mess up my desktop after login, as in one of those bugs:

https://bugs.kde.org/show_bug.cgi?id=371196
https://bugs.kde.org/show_bug.cgi?id=362051
https://bugs.kde.org/show_bug.cgi?id=356225

After upgrading to Qt 5.6.2, it stopped messing panels up, instead I had no instances of Plasma on secondary monitor and two instances of it on primary monitor, but deleting old kscreen configuration seems to fix that

Some windows are still restored in weird places after login, but at least multi-screen setup seems to be usable now
Comment 14 Andreas Sturmlechner gentoo-dev 2016-11-11 19:36:18 UTC
(In reply to Valeriy Malov from comment #13)
> After upgrading to Qt 5.6.2, it stopped messing panels up, instead I had no
> instances of Plasma on secondary monitor and two instances of it on primary
> monitor, but deleting old kscreen configuration seems to fix that
> 
> Some windows are still restored in weird places after login, but at least
> multi-screen setup seems to be usable now

Thanks for testing! For the remaining issues, please check out the following PR to 5.8.3-r1: https://github.com/gentoo/gentoo/pull/2799
Comment 15 Valeriy Malov 2016-11-16 17:03:23 UTC
One issue surfaced after upgrading to 5.8.3 + Qt 5.6.2, wacomtablet's screen mapping now confuses screen numbers on boot, not sure if it's a wacomtablet bug yet.

When mapped to the right screen, it maps to left one instead, but uses geometry of the right screen. It works fine after I restart kded5.

If it's a wacomtablet's bug I guess I'll just report it to upstream later.
Comment 16 Johannes Huber (RETIRED) gentoo-dev 2016-11-19 18:10:24 UTC
*** Bug 599420 has been marked as a duplicate of this bug. ***
Comment 17 Johannes Huber (RETIRED) gentoo-dev 2016-12-09 22:33:27 UTC
All needed arches are stable for both Qt 5.6.2 and Plasma 5.8.3. We won't track the multiscreen issues downstream anymore as the majority are fixed now. So please contribute any further issues to the upstream bug tracker.