Summary: | Use serial numbers to identify displays instead of interface names | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | gudvinr+kde |
Component: | generic-multiscreen | Assignee: | Aleix Pol <aleixpol> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | CC: | kde, nate, noga.dany, openmindead, pereira.alex, plasma-bugs |
Priority: | NOR | ||
Version: | 5.23.0 | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
gudvinr+kde
2021-10-18 17:39:38 UTC
This seems like a very good idea to me and would fix multiple issues faced by users, in particular https://bugzilla.kernel.org/show_bug.cgi?id=206387. nice catch with that kernel bug report :) I filed that kernel bug report because of exactly what this bug report describes :) ( the amdgpu.dc=1 enabled daisy chaining and amdgpu.dc=0 disables it ) btw ... I noticed that between 5.23.0 and 5.23.1, my plasma configuration switched monitors. Nothing a lastScreen switch in .config/plasma-org.kde.plasma.desktop-appletsrc didnt fix though. >This seems like a very good idea to me
It's not. I have two monitors in this house with the same serial.
But even ignoring that, if you ever upgrade your single monitor you have unrecoverable data loss.
There is definitely work to do on screen management, see the open invent tickets, but this isn't it.
>>It's not
Why not? It just means that the algo used should take into account monitors' serials as well. And that the primary monitor/screen configuration should apply to any connected screen if it's the only one. Also, a concept of laptop screen should be introduced, which should be possible to be permanently set as a secondary one unless it's the only one in which case it becomes primary until another monitor is detected.
I also have 2 monitors and it's a total mess every time I login - in X it's race conditions resulting in weird bugs like Night Color failures to apply its settings, plasmashell crashes due to it trying to start while the external monitor is being detected; and in Wayland - there's no way to set the external monitor as a primary display, it's always a "reversed X" layout.
(In reply to David Edmundson from comment #3) > if you ever upgrade your single monitor you have > unrecoverable data loss. This is kinda what it is now. If you reboot PC and DRM driver decides to mangle interface names it'll lead to configuration loss unless you mitigate it in some way. So either way you need to work around that. But I really doubt that there are displays out there with changing serials. Unless there is some way to get reliable and consistent data from DRM. For some reason it works correctly in Wayland, no constant changing of monitor IDs when using Thunderbolt dock station. Is it there implemented the better way? |