Bug 371196 - Panel consistently appears on wrong monitor after reboot since 5.8
Summary: Panel consistently appears on wrong monitor after reboot since 5.8
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-multiscreen (show other bugs)
Version: 5.8.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Marco Martin
URL:
Keywords: multiscreen
Depends on:
Blocks:
 
Reported: 2016-10-19 00:15 UTC by kafei
Modified: 2016-11-23 00:01 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.8.4


Attachments
Desktop layout after reboot (1.76 MB, image/png)
2016-10-19 00:21 UTC, kafei
Details
After switching primary display to HDMI monitor and back to DP monitor (1.76 MB, image/png)
2016-10-19 00:22 UTC, kafei
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kafei 2016-10-19 00:15:57 UTC
I have a multi-monitor setup consisting of my 144Hz primary monitor in front of me on displayport, and my 60Hz secondary monitor to the right on HDMI. After I upgraded from 5.7.5 to 5.8.1 on Archlinux, my panel consistently appears on my non-primary monitor after rebooting, and the default wallpaper appears on my primary monitor. After going into the system settings and setting my primary display to my HDMI monitor, then back to my DP monitor, my panel and wallpaper move back to my primary monitor. But my secondary monitor then has the default wallpaper and desktop toolbox. In addition, I set the refresh rate of my 144Hz monitor to 120Hz, and this has also been resetting to 144Hz after rebooting. I can set those back to normal, but it's annoying to have to do on each boot.

This behaviour didn't occur on 5.7, and I've never experienced multi-monitor issues in the year I've been using plasma 5 (unlike many others), so I consider this a regression. Behaviour similar to this is described in the comments of a few other bug reports (https://bugs.kde.org/show_bug.cgi?id=370180 and https://bugs.kde.org/show_bug.cgi?id=356225, the latter is filled with noise and now closed), but I couldn't find any bug report specifically describing this issue.  I waited until 5.8.2 before filing a bug report to see if it would be fixed but the bug still occurs. Also, I apologize if this should have been filed against plasmashell instead of KScreen.

Reproducible: Always

Steps to Reproduce:
1. Upgrade to Plasma 5.8
2. Configure DP monitor to be primary with panel
3. Reboot

Actual Results:  
Panel appears on secondary (HDMI) monitor and wallpaper of other monitor is reset to default and the desktop toolbox appears in the top right corner.

Expected Results:  
Panel should remain on primary (DP) monitor, and both monitors should keep the same wallpaper.

I have an NVIDIA 970 using the proprietary drivers version 370.28.

Below are the outputs of `kscreen-console bug` and `qdbus org.kde.KWin /KWin supportInformation`. I noticed that `kscreen-console bug` said "kscreen.log" couldn't be parsed, but after deleting `~/.local/share/kscreen/kscreen.log` and rebooting, the problem still occurred.

matt@KaFei:~$ kscreen-console bug                        
START: Requesting Config
Received config. Took 13 milliseconds

========================xrandr --verbose==========================
Screen 0: minimum 8 x 8, current 3840 x 1080, maximum 16384 x 16384
DVI-I-0 disconnected (normal left inverted right x axis y axis)
        Identifier: 0x1e4
        Timestamp:  56207
        Subpixel:   unknown
        Clones:    
        CRTCs:      0 1 2 3
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: 
        CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0 
        BorderDimensions: 4 
                supported: 4
        Border: 0 0 0 0 
                range: (0, 65535)
        SignalFormat: VGA 
                supported: VGA
        ConnectorType: DVI-I 
        ConnectorNumber: 0                                                                                             
        _ConnectorLocation: 0                                                                                          
DVI-I-1 disconnected (normal left inverted right x axis y axis)                                                        
        Identifier: 0x1e5                                                                                              
        Timestamp:  56207                                                                                              
        Subpixel:   unknown                                                                                            
        Clones:                                                                                                        
        CRTCs:      0 1 2 3                                                                                            
        Transform:  1.000000 0.000000 0.000000                                                                         
                    0.000000 1.000000 0.000000                                                                         
                    0.000000 0.000000 1.000000                                                                         
                   filter:                                                                                             
        CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0                                                                 
        BorderDimensions: 4                                                                                            
                supported: 4                                                                                           
        Border: 0 0 0 0                                                                                                
                range: (0, 65535)                                                                                      
        SignalFormat: TMDS                                                                                             
                supported: TMDS                                                                                        
        ConnectorType: DVI-I                                                                                           
        ConnectorNumber: 0                                                                                             
        _ConnectorLocation: 0                                                                                          
HDMI-0 connected 1920x1080+1920+0 (0x1e7) normal (normal left inverted right x axis y axis) 521mm x 293mm              
        Identifier: 0x1e6                                                                                              
        Timestamp:  56207                                                                                              
        Subpixel:   unknown                                                                                            
        Gamma:      1.0:1.0:1.0                                                                                        
        Brightness: 1.0                                                                                                
        Clones:                                                                                                        
        CRTC:       1                                                                                                  
        CRTCs:      0 1 2 3                                                                                            
        Transform:  1.000000 0.000000 0.000000                                                                         
                    0.000000 1.000000 0.000000                                                                         
                    0.000000 0.000000 1.000000                                                                         
                   filter:                                                                                             
        CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0                                                                 
        EDID:                                                                                                          
                00ffffffffffff004c2d650b57333230                                                                       
                3018010380341d782a9791a556549d25                                                                       
                0e5054bfef80714f81c0810081809500                                                                       
                a9c0b3000101023a801871382d40582c                                                                       
                450009252100001e011d007251d01e20
                6e28550009252100001e000000fd0032
                4b1e5111000a202020202020000000fc
                00533234443339300a202020202001b8
                02031af14690041f1312032309070783
                01000066030c00100080011d00bc52d0
                1e20b828554009252100001e8c0ad090
                204031200c4055000925210000188c0a
                d08a20e02d10103e9600092521000018
                00000000000000000000000000000000
                00000000000000000000000000000000
                000000000000000000000000000000c9
        BorderDimensions: 4 
                supported: 4
        Border: 0 0 0 0 
                range: (0, 65535)
        SignalFormat: TMDS 
                supported: TMDS
        ConnectorType: HDMI 
        ConnectorNumber: 4 
        _ConnectorLocation: 4 
  1920x1080 (0x1e7) 148.500MHz +HSync +VSync *current +preferred
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  67.50KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  60.00Hz
  1920x1080 (0x1e8) 148.350MHz +HSync +VSync
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  67.43KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  59.94Hz
  1920x1080 (0x1e9) 148.500MHz +HSync +VSync
        h: width  1920 start 2448 end 2492 total 2640 skew    0 clock  56.25KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  50.00Hz
  1680x1050 (0x1ea) 146.250MHz -HSync +VSync
        h: width  1680 start 1784 end 1960 total 2240 skew    0 clock  65.29KHz
        v: height 1050 start 1053 end 1059 total 1089           clock  59.95Hz
  1600x900 (0x1eb) 108.000MHz +HSync +VSync
        h: width  1600 start 1624 end 1704 total 1800 skew    0 clock  60.00KHz
        v: height  900 start  901 end  904 total 1000           clock  60.00Hz
  1440x900 (0x1ec) 106.500MHz -HSync +VSync
        h: width  1440 start 1520 end 1672 total 1904 skew    0 clock  55.93KHz
        v: height  900 start  903 end  909 total  934           clock  59.89Hz
  1280x1024 (0x1ed) 135.000MHz +HSync +VSync
        h: width  1280 start 1296 end 1440 total 1688 skew    0 clock  79.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  75.02Hz
  1280x1024 (0x1ee) 108.000MHz +HSync +VSync
        h: width  1280 start 1328 end 1440 total 1688 skew    0 clock  63.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  60.02Hz
  1280x800 (0x1ef) 83.500MHz -HSync +VSync
        h: width  1280 start 1352 end 1480 total 1680 skew    0 clock  49.70KHz
        v: height  800 start  803 end  809 total  831           clock  59.81Hz
  1280x720 (0x1f0) 74.250MHz +HSync +VSync
        h: width  1280 start 1390 end 1430 total 1650 skew    0 clock  45.00KHz
        v: height  720 start  725 end  730 total  750           clock  60.00Hz
  1280x720 (0x1f1) 74.180MHz +HSync +VSync
        h: width  1280 start 1390 end 1430 total 1650 skew    0 clock  44.96KHz
        v: height  720 start  725 end  730 total  750           clock  59.94Hz
  1280x720 (0x1f2) 74.250MHz +HSync +VSync
        h: width  1280 start 1720 end 1760 total 1980 skew    0 clock  37.50KHz
        v: height  720 start  725 end  730 total  750           clock  50.00Hz
  1152x864 (0x1f3) 108.000MHz +HSync +VSync
        h: width  1152 start 1216 end 1344 total 1600 skew    0 clock  67.50KHz
        v: height  864 start  865 end  868 total  900           clock  75.00Hz
  1024x768 (0x1f4) 78.750MHz +HSync +VSync
        h: width  1024 start 1040 end 1136 total 1312 skew    0 clock  60.02KHz
        v: height  768 start  769 end  772 total  800           clock  75.03Hz
  1024x768 (0x1f5) 75.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1328 skew    0 clock  56.48KHz
        v: height  768 start  771 end  777 total  806           clock  70.07Hz
  1024x768 (0x1f6) 65.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz
        v: height  768 start  771 end  777 total  806           clock  60.00Hz
  800x600 (0x1f7) 49.500MHz +HSync +VSync
        h: width   800 start  816 end  896 total 1056 skew    0 clock  46.88KHz
        v: height  600 start  601 end  604 total  625           clock  75.00Hz
  800x600 (0x1f8) 50.000MHz +HSync +VSync
        h: width   800 start  856 end  976 total 1040 skew    0 clock  48.08KHz
        v: height  600 start  637 end  643 total  666           clock  72.19Hz
  800x600 (0x1f9) 40.000MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz
        v: height  600 start  601 end  605 total  628           clock  60.32Hz
  800x600 (0x1fa) 36.000MHz +HSync +VSync
        h: width   800 start  824 end  896 total 1024 skew    0 clock  35.16KHz
        v: height  600 start  601 end  603 total  625           clock  56.25Hz
  720x576 (0x1fb) 27.000MHz -HSync -VSync
        h: width   720 start  732 end  796 total  864 skew    0 clock  31.25KHz
        v: height  576 start  581 end  586 total  625           clock  50.00Hz
  720x480 (0x1fc) 27.000MHz -HSync -VSync
        h: width   720 start  736 end  798 total  858 skew    0 clock  31.47KHz
        v: height  480 start  489 end  495 total  525           clock  59.94Hz
  640x480 (0x1fd) 31.500MHz -HSync -VSync
        h: width   640 start  656 end  720 total  840 skew    0 clock  37.50KHz
        v: height  480 start  481 end  484 total  500           clock  75.00Hz
  640x480 (0x1fe) 31.500MHz -HSync -VSync
        h: width   640 start  656 end  696 total  832 skew    0 clock  37.86KHz
        v: height  480 start  481 end  484 total  520           clock  72.81Hz
  640x480 (0x1ff) 25.175MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz
        v: height  480 start  490 end  492 total  525           clock  59.94Hz
DP-0 disconnected (normal left inverted right x axis y axis)
        Identifier: 0x200
        Timestamp:  56207
        Subpixel:   unknown
        Clones:    
        CRTCs:      0 1 2 3
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: 
        CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0 
        BorderDimensions: 4 
                supported: 4
        Border: 0 0 0 0 
                range: (0, 65535)
        SignalFormat: DisplayPort 
                supported: DisplayPort
        ConnectorType: DisplayPort 
        ConnectorNumber: 1 
        _ConnectorLocation: 1 
DP-1 disconnected (normal left inverted right x axis y axis)
        Identifier: 0x201
        Timestamp:  56207
        Subpixel:   unknown
        Clones:    
        CRTCs:      0 1 2 3
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: 
        CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0 
        BorderDimensions: 4 
                supported: 4
        Border: 0 0 0 0 
                range: (0, 65535)
        SignalFormat: TMDS 
                supported: TMDS
        ConnectorType: DisplayPort 
        ConnectorNumber: 1 
        _ConnectorLocation: 1 
DP-2 connected primary 1920x1080+0+0 (0x204) normal (normal left inverted right x axis y axis) 531mm x 298mm
        Identifier: 0x202
        Timestamp:  56207
        Subpixel:   unknown
        Gamma:      1.0:1.0:1.0
        Brightness: 1.0
        Clones:    
        CRTC:       0
        CRTCs:      0 1 2 3
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: 
        CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0 
        EDID: 
                00ffffffffffff0009d12f7f45540000
                08190104a5351e783e9de1a654549f26
                0d5054a56b80d1c0317c4568457c8168
                617c953c3168023a801871382d40582c
                4500132a2100001e000000ff00313246
                3030333237534c300a20000000fd0038
                901ea021000a202020202020000000fc
                0042656e5120584c323432305a0a01d6
                020318f14b010203040590111213141f
                2309070783010000023a801871382d40
                582c4500132a2100001e866f80a07038
                404030203500132a2100001a011d0072
                51d01e206e285500132a2100001efe5b
                80a07038354030203500132a2100001a
                fc7e80887038124018203500132a2100
                001e000000000000000000000000002a
        BorderDimensions: 4 
                supported: 4
        Border: 0 0 0 0 
                range: (0, 65535)
        SignalFormat: DisplayPort 
                supported: DisplayPort
        ConnectorType: DisplayPort 
        ConnectorNumber: 2 
        _ConnectorLocation: 2 
  1920x1080 (0x1e7) 148.500MHz +HSync +VSync +preferred
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  67.50KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  60.00Hz
  1920x1080 (0x203) 325.080MHz +HSync +VSync
        h: width  1920 start 1944 end 1976 total 2056 skew    0 clock 158.11KHz
        v: height 1080 start 1083 end 1088 total 1098           clock 144.00Hz
  1920x1080 (0x204) 285.500MHz +HSync -VSync *current
        h: width  1920 start 1968 end 2000 total 2080 skew    0 clock 137.26KHz
        v: height 1080 start 1083 end 1088 total 1144           clock 119.98Hz
  1920x1080 (0x205) 235.500MHz +HSync -VSync
        h: width  1920 start 1968 end 2000 total 2080 skew    0 clock 113.22KHz
        v: height 1080 start 1083 end 1088 total 1133           clock  99.93Hz
  1920x1080 (0x1e8) 148.350MHz +HSync +VSync
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  67.43KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  59.94Hz
  1920x1080 (0x1e9) 148.500MHz +HSync +VSync
        h: width  1920 start 2448 end 2492 total 2640 skew    0 clock  56.25KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  50.00Hz
  1920x1080 (0x206) 74.180MHz +HSync +VSync Interlace
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  33.72KHz
        v: height 1080 start 1084 end 1094 total 1124           clock  60.00Hz
  1920x1080 (0x207) 74.250MHz +HSync +VSync Interlace
        h: width  1920 start 2448 end 2492 total 2640 skew    0 clock  28.12KHz
        v: height 1080 start 1084 end 1094 total 1124           clock  50.04Hz
  1440x900 (0x208) 182.750MHz +HSync -VSync
        h: width  1440 start 1488 end 1520 total 1600 skew    0 clock 114.22KHz
        v: height  900 start  903 end  909 total  953           clock 119.85Hz
  1280x1024 (0x1ed) 135.000MHz +HSync +VSync
        h: width  1280 start 1296 end 1440 total 1688 skew    0 clock  79.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  75.02Hz
  1280x960 (0x209) 177.500MHz -HSync +VSync
        h: width  1280 start 1376 end 1512 total 1744 skew    0 clock 101.78KHz
        v: height  960 start  963 end  967 total 1020           clock  99.78Hz
  1280x720 (0x1f0) 74.250MHz +HSync +VSync
        h: width  1280 start 1390 end 1430 total 1650 skew    0 clock  45.00KHz
        v: height  720 start  725 end  730 total  750           clock  60.00Hz
  1280x720 (0x1f1) 74.180MHz +HSync +VSync
        h: width  1280 start 1390 end 1430 total 1650 skew    0 clock  44.96KHz
        v: height  720 start  725 end  730 total  750           clock  59.94Hz
  1280x720 (0x1f2) 74.250MHz +HSync +VSync
        h: width  1280 start 1720 end 1760 total 1980 skew    0 clock  37.50KHz
        v: height  720 start  725 end  730 total  750           clock  50.00Hz
  1024x768 (0x20a) 115.500MHz +HSync -VSync
        h: width  1024 start 1072 end 1104 total 1184 skew    0 clock  97.55KHz
        v: height  768 start  771 end  775 total  813           clock 119.99Hz
  1024x768 (0x1f4) 78.750MHz +HSync +VSync
        h: width  1024 start 1040 end 1136 total 1312 skew    0 clock  60.02KHz
        v: height  768 start  769 end  772 total  800           clock  75.03Hz
  1024x768 (0x1f6) 65.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz
        v: height  768 start  771 end  777 total  806           clock  60.00Hz
  800x600 (0x20b) 73.250MHz +HSync -VSync
        h: width   800 start  848 end  880 total  960 skew    0 clock  76.30KHz
        v: height  600 start  603 end  607 total  636           clock 119.97Hz
  800x600 (0x20c) 67.250MHz -HSync +VSync
        h: width   800 start  848 end  928 total 1056 skew    0 clock  63.68KHz
        v: height  600 start  603 end  607 total  639           clock  99.66Hz
  800x600 (0x1f7) 49.500MHz +HSync +VSync
        h: width   800 start  816 end  896 total 1056 skew    0 clock  46.88KHz
        v: height  600 start  601 end  604 total  625           clock  75.00Hz
  800x600 (0x1f9) 40.000MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz
        v: height  600 start  601 end  605 total  628           clock  60.32Hz
  720x576 (0x1fb) 27.000MHz -HSync -VSync
        h: width   720 start  732 end  796 total  864 skew    0 clock  31.25KHz
        v: height  576 start  581 end  586 total  625           clock  50.00Hz
  720x480 (0x1fc) 27.000MHz -HSync -VSync
        h: width   720 start  736 end  798 total  858 skew    0 clock  31.47KHz
        v: height  480 start  489 end  495 total  525           clock  59.94Hz
  640x480 (0x20d) 52.500MHz -HSync +VSync
        h: width   640 start  680 end  744 total  848 skew    0 clock  61.91KHz
        v: height  480 start  483 end  487 total  518           clock 119.52Hz
  640x480 (0x20e) 42.500MHz -HSync +VSync
        h: width   640 start  672 end  736 total  832 skew    0 clock  51.08KHz
        v: height  480 start  483 end  487 total  512           clock  99.77Hz
  640x480 (0x1fd) 31.500MHz -HSync -VSync
        h: width   640 start  656 end  720 total  840 skew    0 clock  37.50KHz
        v: height  480 start  481 end  484 total  500           clock  75.00Hz
  640x480 (0x1ff) 25.175MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz
        v: height  480 start  490 end  492 total  525           clock  59.94Hz
  640x480 (0x20f) 25.170MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.46KHz
        v: height  480 start  490 end  492 total  525           clock  59.93Hz
DP-3 disconnected (normal left inverted right x axis y axis)
        Identifier: 0x210
        Timestamp:  56207
        Subpixel:   unknown
        Clones:    
        CRTCs:      0 1 2 3
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: 
        CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0 
        BorderDimensions: 4 
                supported: 4
        Border: 0 0 0 0 
                range: (0, 65535)
        SignalFormat: TMDS 
                supported: TMDS
        ConnectorType: DisplayPort 
        ConnectorNumber: 2 
        _ConnectorLocation: 2 
DP-4 disconnected (normal left inverted right x axis y axis)
        Identifier: 0x211
        Timestamp:  56207
        Subpixel:   unknown
        Clones:    
        CRTCs:      0 1 2 3
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: 
        CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0 
        BorderDimensions: 4 
                supported: 4
        Border: 0 0 0 0 
                range: (0, 65535)
        SignalFormat: DisplayPort 
                supported: DisplayPort
        ConnectorType: DisplayPort 
        ConnectorNumber: 3 
        _ConnectorLocation: 3 
DP-5 disconnected (normal left inverted right x axis y axis)
        Identifier: 0x212
        Timestamp:  56207
        Subpixel:   unknown
        Clones:    
        CRTCs:      0 1 2 3
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: 
        CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0 
        BorderDimensions: 4 
                supported: 4
        Border: 0 0 0 0 
                range: (0, 65535)
        SignalFormat: TMDS 
                supported: TMDS
        ConnectorType: DisplayPort 
        ConnectorNumber: 3 
        _ConnectorLocation: 3 

========================Outputs===================================
Screen:
        maxSize: QSize(16384, 16384)
        minSize: QSize(8, 8)
        currentSize: QSize(3840, 1080)

-----------------------------------------------------

Id:  484
Name:  "DVI-I-0"
Type:  "DVI"
Connected:  false

-----------------------------------------------------

Id:  485
Name:  "DVI-I-1"
Type:  "DVI"
Connected:  false

-----------------------------------------------------

Id:  486
Name:  "HDMI-0"
Type:  "HDMI"
Connected:  true
Enabled:  true
Primary:  false
Rotation:  1
Pos:  QPoint(1920,0)
MMSize:  QSize(521, 293)
Size:  QSize(1920, 1080)
Clones:  None
Mode:  "487"
Preferred Mode:  "487"
Preferred modes:  ("487")
Modes: 
         "487"    ""   QSize(1920, 1080)   60
         "488"    ""   QSize(1920, 1080)   59.9394
         "489"    ""   QSize(1920, 1080)   50
         "490"    ""   QSize(1680, 1050)   59.9543
         "491"    ""   QSize(1600, 900)   60
         "492"    ""   QSize(1440, 900)   59.8874
         "493"    ""   QSize(1280, 1024)   75.0247
         "494"    ""   QSize(1280, 1024)   60.0197
         "495"    ""   QSize(1280, 800)   59.8103
         "496"    ""   QSize(1280, 720)   60
         "497"    ""   QSize(1280, 720)   59.9434
         "498"    ""   QSize(1280, 720)   50
         "499"    ""   QSize(1152, 864)   75
         "500"    ""   QSize(1024, 768)   75.0286
         "501"    ""   QSize(1024, 768)   70.0694
         "502"    ""   QSize(1024, 768)   60.0038
         "503"    ""   QSize(800, 600)   75
         "504"    ""   QSize(800, 600)   72.1876
         "505"    ""   QSize(800, 600)   60.3165
         "506"    ""   QSize(800, 600)   56.25
         "507"    ""   QSize(720, 576)   50
         "508"    ""   QSize(720, 480)   59.9401
         "509"    ""   QSize(640, 480)   75
         "510"    ""   QSize(640, 480)   72.8088
         "511"    ""   QSize(640, 480)   59.9405
EDID Info: 
        Device ID:  "xrandr-S24D390-808596311"
        Name:  "S24D390"
        Vendor:  ""
        Serial:  "808596311"
        EISA ID:  ""
        Hash:  "2691513361731d378ddb22a177c66ddd"
        Width:  52
        Height:  29
        Gamma:  2
        Red:  QQuaternion(scalar:1, vector:(0.646484, 0.335938, 0))
        Green:  QQuaternion(scalar:1, vector:(0.329102, 0.616211, 0))
        Blue:  QQuaternion(scalar:1, vector:(0.146484, 0.0556641, 0))
        White:  QQuaternion(scalar:1, vector:(0.3125, 0.329102, 0))

-----------------------------------------------------

Id:  512
Name:  "DP-0"
Type:  "DisplayPort"
Connected:  false

-----------------------------------------------------

Id:  513
Name:  "DP-1"
Type:  "DisplayPort"
Connected:  false

-----------------------------------------------------

Id:  514
Name:  "DP-2"
Type:  "DisplayPort"
Connected:  true
Enabled:  true
Primary:  true
Rotation:  1
Pos:  QPoint(0,0)
MMSize:  QSize(531, 298)
Size:  QSize(1920, 1080)
Clones:  None
Mode:  "516"
Preferred Mode:  "487"
Preferred modes:  ("487")
Modes: 
         "487"    ""   QSize(1920, 1080)   60
         "488"    ""   QSize(1920, 1080)   59.9394
         "489"    ""   QSize(1920, 1080)   50
         "493"    ""   QSize(1280, 1024)   75.0247
         "496"    ""   QSize(1280, 720)   60
         "497"    ""   QSize(1280, 720)   59.9434
         "498"    ""   QSize(1280, 720)   50
         "500"    ""   QSize(1024, 768)   75.0286
         "502"    ""   QSize(1024, 768)   60.0038
         "503"    ""   QSize(800, 600)   75
         "505"    ""   QSize(800, 600)   60.3165
         "507"    ""   QSize(720, 576)   50
         "508"    ""   QSize(720, 480)   59.9401
         "509"    ""   QSize(640, 480)   75
         "511"    ""   QSize(640, 480)   59.9405
         "515"    ""   QSize(1920, 1080)   144.001
         "516"    ""   QSize(1920, 1080)   119.982
         "517"    ""   QSize(1920, 1080)   99.9304
         "518"    ""   QSize(1920, 1080)   29.9984
         "519"    ""   QSize(1920, 1080)   25.0222
         "520"    ""   QSize(1440, 900)   119.852
         "521"    ""   QSize(1280, 960)   99.7819
         "522"    ""   QSize(1024, 768)   119.989
         "523"    ""   QSize(800, 600)   119.972
         "524"    ""   QSize(800, 600)   99.6615
         "525"    ""   QSize(640, 480)   119.518
         "526"    ""   QSize(640, 480)   99.769
         "527"    ""   QSize(640, 480)   59.9286
EDID Info: 
        Device ID:  "xrandr-BenQ XL2420Z-12F00327SL0"
        Name:  "BenQ XL2420Z"
        Vendor:  ""
        Serial:  "12F00327SL0"
        EISA ID:  ""
        Hash:  "3c21691f9657ed3c1ce46c4df771e708"
        Width:  53
        Height:  30
        Gamma:  2
        Red:  QQuaternion(scalar:1, vector:(0.650391, 0.328125, 0))
        Green:  QQuaternion(scalar:1, vector:(0.331055, 0.62207, 0))
        Blue:  QQuaternion(scalar:1, vector:(0.151367, 0.0527344, 0))
        White:  QQuaternion(scalar:1, vector:(0.3125, 0.329102, 0))

-----------------------------------------------------

Id:  528
Name:  "DP-3"
Type:  "DisplayPort"
Connected:  false

-----------------------------------------------------

Id:  529
Name:  "DP-4"
Type:  "DisplayPort"
Connected:  false

-----------------------------------------------------

Id:  530
Name:  "DP-5"
Type:  "DisplayPort"
Connected:  false

========================Configurations============================
Configs in:  "/home/matt/.local/share/kscreen/"
Number of files:  3 

"cadaa3bdab6d20514fb96878d072f97a"
"" 

"f2fe7e1452f1b9034813e7306e745b25"
"" 

"kscreen.log"
     can't parse file
     "illegal value"

matt@KaFei:~$ qdbus org.kde.KWin /KWin supportInformation
KWin Support Information:
The following information should be used when requesting support on e.g. http://forum.kde.org.
It provides information about the currently running instance, which options are used,
what OpenGL driver and which effects are running.
Please post the information provided underneath this introductory text to a paste bin service
like http://paste.kde.org instead of pasting into support threads.

==========================

Version
=======
KWin version: 5.8.2
Qt Version: 5.7.0
Qt compile version: 5.7.0
XCB compile version: 1.12

Operation Mode: X11 only

Build Options
=============
KWIN_BUILD_DECORATIONS: yes
KWIN_BUILD_TABBOX: yes
KWIN_BUILD_ACTIVITIES: yes
HAVE_INPUT: yes
HAVE_DRM: yes
HAVE_GBM: yes
HAVE_X11_XCB: yes
HAVE_EPOXY_GLX: yes
HAVE_WAYLAND_EGL: yes

X11
===
Vendor: The X.Org Foundation
Vendor Release: 11804000
Protocol Version/Revision: 11/0
SHAPE: yes; Version: 0x11
RANDR: yes; Version: 0x14
DAMAGE: yes; Version: 0x11
Composite: yes; Version: 0x4
RENDER: yes; Version: 0xb
XFIXES: yes; Version: 0x50
SYNC: yes; Version: 0x31
GLX: yes; Version: 0x0

Decoration
==========
Plugin: org.kde.breeze
Theme: 
Blur: 0
onAllDesktopsAvailable: false
alphaChannelSupported: true
closeOnDoubleClickOnMenu: false
decorationButtonsLeft: 0, 2
decorationButtonsRight: 6, 3, 4, 5
borderSize: 0
gridUnit: 10
font: Noto Sans,10,-1,5,50,0,0,0,0,0
smallSpacing: 2
largeSpacing: 10

Options
=======
focusPolicy: 0
nextFocusPrefersMouse: false
clickRaise: true
autoRaise: false
autoRaiseInterval: 0
delayFocusInterval: 0
shadeHover: false
shadeHoverInterval: 250
separateScreenFocus: false
placement: 4
focusPolicyIsReasonable: true
borderSnapZone: 10
windowSnapZone: 10
centerSnapZone: 0
snapOnlyWhenOverlapping: false
rollOverDesktops: true
focusStealingPreventionLevel: 1
legacyFullscreenSupport: false
operationTitlebarDblClick: 5000
operationMaxButtonLeftClick: 5000
operationMaxButtonMiddleClick: 5015
operationMaxButtonRightClick: 5014
commandActiveTitlebar1: 0
commandActiveTitlebar2: 30
commandActiveTitlebar3: 2
commandInactiveTitlebar1: 4
commandInactiveTitlebar2: 30
commandInactiveTitlebar3: 2
commandWindow1: 7
commandWindow2: 8
commandWindow3: 8
commandWindowWheel: 31
commandAll1: 10
commandAll2: 3
commandAll3: 14
keyCmdAllModKey: 16777251
showGeometryTip: false
condensedTitle: false
electricBorderMaximize: true
electricBorderTiling: true
electricBorderCornerRatio: 0.25
borderlessMaximizedWindows: true
killPingTimeout: 5000
hideUtilityWindowsForInactive: true
inactiveTabsSkipTaskbar: false
autogroupSimilarWindows: false
autogroupInForeground: true
compositingMode: 1
useCompositing: true
compositingInitialized: true
hiddenPreviews: 1
glSmoothScale: 2
colorCorrected: false
xrenderSmoothScale: false
maxFpsInterval: 16666666
refreshRate: 0
vBlankTime: 6000000
glStrictBinding: false
glStrictBindingFollowsDriver: true
glCoreProfile: true
glPreferBufferSwap: 0
glPlatformInterface: 1
windowsBlockCompositing: true

Screen Edges
============
desktopSwitching: false
desktopSwitchingMovingClients: false
cursorPushBackDistance: 1x1
timeThreshold: 150
reActivateThreshold: 350
actionTopLeft: 0
actionTop: 0
actionTopRight: 0
actionRight: 0
actionBottomRight: 0
actionBottom: 0
actionBottomLeft: 0
actionLeft: 0

Screens
=======
Multi-Head: no
Active screen follows mouse:  no
Number of Screens: 2

Screen 0:
---------
Name: DP-2
Geometry: 0,0,1920x1080
Refresh Rate: 119.982

Screen 1:
---------
Name: HDMI-0
Geometry: 1920,0,1920x1080
Refresh Rate: 60


Compositing
===========
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 970/PCIe/SSE2
OpenGL version string: 3.1.0 NVIDIA 370.28
OpenGL platform interface: GLX
OpenGL shading language version string: 1.40 NVIDIA via Cg compiler
Driver: NVIDIA
Driver version: 370.28
GPU class: Unknown
OpenGL version: 3.1
GLSL version: 1.40
X server version: 1.18.4
Linux kernel version: 4.7.6
Direct rendering: Requires strict binding: no
GLSL shaders:  yes
Texture NPOT support:  yes
Virtual Machine:  no
OpenGL 2 Shaders are used
Painting blocks for vertical retrace:  no

Loaded Effects:
---------------
zoom
slidingpopups
kwin4_effect_login
slide
kwin4_effect_windowaperture
screenshot
kwin4_effect_translucency
minimizeanimation
coverswitch
kwin4_effect_maximize
kwin4_effect_morphingpopups
kwin4_effect_fade
presentwindows
kwin4_effect_dialogparent
highlightwindow
blur
contrast
startupfeedback
screenedge
kscreen

Currently Active Effects:
-------------------------
blur
contrast

Effect Settings:
----------------
zoom:
zoomFactor: 1.2
mousePointer: 0
mouseTracking: 0
enableFocusTracking: false
followFocus: true
focusDelay: 350
moveFactor: 20
targetZoom: 1

slidingpopups:
fadeInTime: 150
fadeOutTime: 250

kwin4_effect_login:

slide:

kwin4_effect_windowaperture:

screenshot:

kwin4_effect_translucency:

minimizeanimation:

coverswitch:
animationDuration: 200
animateSwitch: true
animateStart: true
animateStop: true
reflection: true
windowTitle: true
zPosition: 900
primaryTabBox: false
secondaryTabBox: false

kwin4_effect_maximize:

kwin4_effect_morphingpopups:

kwin4_effect_fade:

presentwindows:
layoutMode: 0
showCaptions: true
showIcons: true
doNotCloseWindows: false
ignoreMinimized: false
accuracy: 20
fillGaps: true
fadeDuration: 150
showPanel: false
leftButtonWindow: 1
rightButtonWindow: 2
middleButtonWindow: 0
leftButtonDesktop: 2
middleButtonDesktop: 0
rightButtonDesktop: 0

kwin4_effect_dialogparent:

highlightwindow:

blur:
blurRadius: 12
cacheTexture: true

contrast:

startupfeedback:
type: 1

screenedge:

kscreen:
Comment 1 kafei 2016-10-19 00:21:06 UTC
Created attachment 101635 [details]
Desktop layout after reboot
Comment 2 kafei 2016-10-19 00:22:46 UTC
Created attachment 101636 [details]
After switching primary display to HDMI monitor and back to DP monitor
Comment 3 Andrius Štikonas 2016-10-19 12:59:01 UTC
I can confirm this issue. I also waited till 5.8.2 but it wasn't fixed. Wanted to report a bug but looks like it is already reported.
Comment 4 kafei 2016-11-22 21:46:17 UTC
This bug appears fixed on my end in 5.8.4, I rebooted a few times and got my correct monitor configuration every time.
Comment 5 Andrius Štikonas 2016-11-23 00:01:25 UTC
Yeah, I also don't have any problems for quite some time (I was using 5.8.3 with relevant patches backported). I guess let's close this bug.