[opensuse-support] screen resolution changes after switching off and on second monitor
Hi *, I am using Tumbleweed with latest snapshots on a DELL XPS 13. Besides the internal screen an external monitor is connected via Thunderbolt dock / mini display port. I modified /usr/share/sddm/scripts/Xsetup and switched off the internal monitor via xrandr, whenever an external monitor is connected. Otherwise the internal screen stays primary. When switching off the external monitor, the internal monitor stays off, which is perfectly ok. Switching on the external monitor again, leads to my actual problem, though: The internal monitor gets switched on for a second, then gets switched off again, and the external monitor shows the desktop. For the second the internal monitor is on, screen resolution changes forth to the resolution of the internal monitor and back to the resolution of the external monitor. This leads to a completely distorted desktop regarding my own windows. Plasma itself obviously can cope with the fast change in resolution. Switching off kscreen2 stops that switching, but I loose a few other features. Is there any setting to tell kscreen2 not to activate the internal screen in this case, but instead directly use the external one? I hope this description was not too confusing ;) TIA. Bye. Michael. -- Michael Hirmke -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
Michael Hirmke composed on 2019-02-07 15:49 (UTC+0100):
Is there any setting to tell kscreen2 not to activate the internal screen in this case, but instead directly use the external one?
No laptops here to try with, but I have seen strange behavior from some combinations of screen resolutions, physical displays, environment, and display power states. Have you tried taking control from kscreen2 before powering a display up or down? e.g. Ctrl-Alt-F3, power off, Alt-F7; Ctrl-Alt-F4, power up, Alt-F7. -- Evolution as taught in public schools is religion, not science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
Hi Felix,
Michael Hirmke composed on 2019-02-07 15:49 (UTC+0100):
Is there any setting to tell kscreen2 not to activate the internal screen in this case, but instead directly use the external one?
No laptops here to try with, but I have seen strange behavior from some combinations of screen resolutions, physical displays, environment, and display power states. Have you tried taking control from kscreen2 before powering a display up or down? e.g. Ctrl-Alt-F3, power off, Alt-F7; Ctrl-Alt-F4, power up, Alt-F7.
thx for this hint. In this case screen resolution does not change back and forth, but the internal screen is switched on showing the terminal login prompt. This isn't a desired behaviour, too.
Felix Miata *** http://fm.no-ip.com/
Bye. Michael. -- Michael Hirmke -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
On jeudi, 7 février 2019 15.49:00 h CET Michael Hirmke wrote:
Hi *,
I am using Tumbleweed with latest snapshots on a DELL XPS 13. Besides the internal screen an external monitor is connected via Thunderbolt dock / mini display port. I modified /usr/share/sddm/scripts/Xsetup and switched off the internal monitor via xrandr, whenever an external monitor is connected. Otherwise the internal screen stays primary.
When switching off the external monitor, the internal monitor stays off, which is perfectly ok. Switching on the external monitor again, leads to my actual problem, though: The internal monitor gets switched on for a second, then gets switched off again, and the external monitor shows the desktop. For the second the internal monitor is on, screen resolution changes forth to the resolution of the internal monitor and back to the resolution of the external monitor. This leads to a completely distorted desktop regarding my own windows. Plasma itself obviously can cope with the fast change in resolution.
Switching off kscreen2 stops that switching, but I loose a few other features.
Is there any setting to tell kscreen2 not to activate the internal screen in this case, but instead directly use the external one?
I hope this description was not too confusing ;)
TIA.
Bye. Michael.
Hi Michael, I'm doing kind of same sort of things like you. With a Precision M7510 4k internal screen and 27" 4k external plus another low dpi hp 24". I don't use any xrandr rules, just plain kscreen configuration and I've setup it to say keep internal monitor off when external is there (all the connection are handled by display port (dock and mini-dp directly on the laptop). This setup has really work well since months. Maybe the xrandr script is conflicting with events captured by kscreen ? -- Bruno Friedmann Ioda-Net Sàrl www.ioda-net.ch Bareos Partner, openSUSE Member, fsfe supporter GPG KEY : D5C9B751C4653227 irc: tigerfoot -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
Hi Bruno, [...]
Hi Michael, I'm doing kind of same sort of things like you. With a Precision M7510 4k internal screen and 27" 4k external plus another low dpi hp 24". I don't use any xrandr rules, just plain kscreen configuration and I've setup it to say keep internal monitor off when external is there (all the connection are handled by display port (dock and mini-dp directly on the laptop).
This setup has really work well since months. Maybe the xrandr script is conflicting with events captured by kscreen ?
thx for your answer, but I already tested without the xrandr script. The result after login is the same - kscreen2 shows the desktop on the external monitor, but switches forth and back when this monitor is switched off and on again. The negative side effect without xrandr is, that sddm shows the login screen on both monitors with the resolution of the internal monitor. I also told xrandr to leave both monitors on - with the external one as primary monitor. That also works, but has the same side effect with xrandr2. Who did you tell kscreen to leave the internal monitor off, when the external one is on?
--
Bruno Friedmann
Bye. Michael. -- Michael Hirmke -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
On dimanche, 10 février 2019 11.00:00 h CET Michael Hirmke wrote:
Hi Bruno,
[...]
Hi Michael, I'm doing kind of same sort of things like you. With a Precision M7510 4k internal screen and 27" 4k external plus another low dpi hp 24". I don't use any xrandr rules, just plain kscreen configuration and I've setup it to say keep internal monitor off when external is there (all the connection are handled by display port (dock and mini-dp directly on the laptop).
This setup has really work well since months. Maybe the xrandr script is conflicting with events captured by kscreen ?
thx for your answer, but I already tested without the xrandr script. The result after login is the same - kscreen2 shows the desktop on the external monitor, but switches forth and back when this monitor is switched off and on again. The negative side effect without xrandr is, that sddm shows the login screen on both monitors with the resolution of the internal monitor. I also told xrandr to leave both monitors on - with the external one as primary monitor. That also works, but has the same side effect with xrandr2.
Who did you tell kscreen to leave the internal monitor off, when the external one is on?
--
Bruno Friedmann
Bye. Michael.
I've setup it like this http://paste.opensuse.org/view//55509909 kscreen is smart enough to remember which monitor are connected (uuid like) and thus if I'm not at my work place the internal monitor is again active. -- Bruno Friedmann Ioda-Net Sàrl www.ioda-net.ch Bareos Partner, openSUSE Member, fsfe supporter GPG KEY : D5C9B751C4653227 irc: tigerfoot -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
Hi Bruno, [...]
Who did you tell kscreen to leave the internal monitor off, when the external one is on?
[...]
I've setup it like this
same settings here, but ...
kscreen is smart enough to remember which monitor are connected (uuid like) and thus if I'm not at my work place the internal monitor is again active.
... in my case kscreen2 is not smart enough. After switching on the external monitor, first the internal one is automatically switched on for one or two seconds, before the external one shows the desktop. Bye. Michael. -- Michael Hirmke -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
participants (3)
-
Bruno Friedmann
-
Felix Miata
-
mh@mike.franken.de