So, I have changed the cable. Same problem. I have switched inputs and got my first screen connected over the DP-Adapter and the second screen directly via HDMI. Same problem. So I now can exclude the cable and the adapter.
And when I switched inputs my main screen got to “screen 1” and my second screen got to “screen 0”. So the order is not a thing.
But I have found out, that indeed it’s the refresh rate, that will be changed when the monitor is deativated and then activated again (or “scanned” again, when I hit the “two screens-button” in the taskbar although both screens are on).
Here is an output of “qdbus org.kde.KWin /KWin supportInformation” (one portion of it).
Here is the output before doing anything (both screens on):
Screens
=======
Multi-Head: no
Active screen follows mouse: yes
Number of Screens: 2
Screen 0:
---------
Name: HDMI-0
Geometry: 0,0,1920x1080
Scale: 1
Refresh Rate: 60000
Screen 1:
---------
Name: DP-1
Geometry: 0,0,1920x1080
Scale: 1
Refresh Rate: 60000
Here after hitting the “two screens button” in the task bar (same effect as deativating-reactivating screen):
Screens
=======
Multi-Head: no
Active screen follows mouse: yes
Number of Screens: 2
Screen 0:
---------
Name: HDMI-0
Geometry: 0,0,1920x1080
Scale: 1
Refresh Rate: 60000
Screen 1:
---------
Name: DP-1
Geometry: 0,0,1920x1080
Scale: 1
Refresh Rate: 60053
The refresh rate will be changed from 60.000 to 60.053 unbelievable, that this little change does have an impact like this.
Is there anybody of you that has two screens (and maybe better though one of it 4k one Full-HD) who can compare the output of the above command before and after “switching” screens?
I would like to know if this is a software bug or maybe bad communication from the monitor itself???
There is no absolute need for it. I’m happy already, but I’m really curios.
EDIT: here is a part of “xrandr -q --verbose” output after triggering the issue:
1920x1080 (0x1ea) 74.250MHz +HSync +VSync Interlace *current
h: width 1920 start 2008 end 2052 total 2200 skew 0 clock 33.75KHz
v: height 1080 start 1084 end 1094 total 1124 clock 60.05Hz
So the difference isn’t that little. The qdbus information only gives the refresh rate of the vertical screen, but in the horizontal it’s half of what it’s supposed to.