Summary: | kscreen randomly rewrites screen configuration | ||
---|---|---|---|
Product: | [Plasma] KScreen | Reporter: | Bernd Steinhauser <linux> |
Component: | common | Assignee: | Sebastian Kügler <sebas> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jimmy, lutz.wrage, nate, wio |
Priority: | NOR | ||
Version: | 5.5.95 | ||
Target Milestone: | --- | ||
Platform: | Exherbo | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | screen configuration |
Description
Bernd Steinhauser
2016-03-12 09:21:17 UTC
Created attachment 97851 [details]
screen configuration
I have a similar problem with a configuration for laptop screen plus external monitor. The offset of the laptop screen should be (1920, 2160) but is sometimes reset to (0,0). I've seen this with all plasma 5.x.y versions that I've used so far. As a workaround I use incrond to run a script that restores the kscreen configuration file whenever it changes. It's easier to remove write access to the file, but that still does not solve the problem at all. With icrond's logging I was hoping to see a pattern when this occurs, but I couldn't find anything. It seems more or less random. As I don't see this every time, I guess there is a race going on. To me, it looks like kscreen tries to look for a config, when some daemon or backend is sometimes not available to retrieve the config (e.g. kded or kdeinit). Then it tries a best guess at the screen config and writes that config to disk (at that time, the backend/daemon/whatever would be available, because it happens a bit later). Since I'm not good at understanding c++ and since I don't know kscreen in detail, that's just speculation. However, I remember from times where loading a config was successful, that there are lines in the log telling you that it found a config and tries to apply that. When the config gets rewritten, I can't find such lines in the log, but there aren't logs about something failing either. Other than the lines about some xrandr, but iirc that's normal (since there are multiple ones). Not sure if related although it seems likely, but my 3 screen config seems to be lost each login (since qt 5.6) and is a joke to setup again with kscreen5. Video demonstration: https://www.youtube.com/watch?v=GWC_SrE9cco. Let me know if I should file separate bug. My 3 screens are correct at login manager, but on login the left and right (identical screens) are cloned and center screen is disabled. I didn't have this anymore for quite some time, so might close this as resolved (one way or another). Thanks for following up! |