You are not logged in.

#1 2017-10-14 19:26:24

SJrX
Member
Registered: 2017-08-13
Posts: 2

Sporadic Multiple Monitor Weirdness When Docking Laptop

I have a Lenovo T470p with an Nvidia 940MX video card. I also have a docking station with two BENQ GW2765 monitors connected. I am also using Plasma 5 (or KDE or whatever).

My monitor setup is like the following

+----------------------++----------------------+
|                      ||                      |
|        BENQ          ||         BENQ         |
|     2560x1440        ||       2560x1440      |
|                      ||                      |
|                      ||                      |
+----------------------++----------------------+
             +---------------------+
             |      Built In       |
             |     1920x1080       |
             |                     |
             +---------------------+

For a total size of 5120x2520 [output of xrandr] :

Screen 0: minimum 8 x 8, current 5120 x 2520, maximum 16384 x 16384

My problem is the following. Randomly, maybe around 25% of the time I dock the laptop when the screens get reoriented I get a black dead spot on the upper right monitor, the monitor is displaying at the right resolution however,
the Screen 0 size in xrandr stays smaller
Screen 0: minimum 8 x 8, current 3520 x 2520, maximum 16384 x 16384

So it looks like this:

+----------------------++----------------------+
|                      ||       ###############|
|                      ||       ###############|
|                      ||       ###############|
|                      ||       ###############|
|                      ||       ###############|
+----------------------++----------------------+
             +---------------------+
             |                     |
             |                     |
             |                     |
             +---------------------+

Furthermore forcing it with a command:

UPPER_LEFT="DP-1-3-1"
UPPER_RIGHT="DP-1-3-2"
LAPTOP="eDP-1-1"

sleep 1

xrandr --output "$UPPER_LEFT" --primary --mode "2560x1440" --output "$UPPER_RIGHT" --mode "2560x1440" --pos "2560x0" --output "$LAPTOP" --mode "1920x1080" --pos "1600x1440"

Gives:

X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  7 (RRSetScreenSize)
  Serial number of failed request:  48
  Current serial number in output stream:  49

I have further noticed that if I overlay the screens on top of eachother (or at least such that I'm only displaying 3520 pixels the upper monitor will dipslay everything.

If I simply restart X, it is normal but very annoying. The only other thing I have noticed is that normally there are times when I can't reset the dpi with xrandr --dpi 96. I normally like to force it to be 96, but occasionally I get a similar error.

Even more annoying when making this post I tried to get the xrandr --dpi 96 error, however when I ran that, it fixed the above issue, that is the black area went away (although my lower monitor got disabled). When I reran the xrandr command shown above, all monitors worked again.


===== lspci ======

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 05)                                                                                                                                                                                                                                       
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) (rev 05)                                                                                                                                                                                                                                  
00:01.2 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x4) (rev 05)                                                                                                                                                                                                                                   
00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04)                                                                                                                                                                                                                                                                               
00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31)                                                                                                                                                                                                                                                              
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-H Thermal subsystem (rev 31)                                                                                                                                                                                                                                                      
00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31)                                                                                                                                                                                                                                                               
00:16.3 Serial controller: Intel Corporation Sunrise Point-H KT Redirection (rev 31)                                                                                                                                                                                                                                                                    
00:17.0 SATA controller: Intel Corporation Sunrise Point-H SATA Controller [AHCI mode] (rev 31)                                                                                                                                                                                                                                                         
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #1 (rev f1)                                                                                                                                                                                                                                                                 
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #5 (rev f1)                                                                                                                                                                                                                                                                 
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31)                                                                                                                                                                                                                                                                           
00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31)                                                                                                                                                                                                                                                                               
00:1f.3 Audio device: Intel Corporation CM238 HD Audio Controller (rev 31)                                                                                                                                                                                                                                                                              
00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31)                                                                                                                                                                                                                                                                                         
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (5) I219-LM (rev 31)
02:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940MX] (rev a2)
03:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)
04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader (rev 01)

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


==== healthy xrandr ====

Screen 0: minimum 8 x 8, current 5120 x 2520, maximum 16384 x 16384
eDP-1-1 connected 1920x1080+1600+1440 (normal left inverted right x axis y axis) 309mm x 173mm
   1920x1080     60.03*+  48.03  
   1400x1050     59.98  
   1280x1024     60.02  
   1280x960      60.00  
   1024x768      60.04    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   800x600       60.00    60.32    56.25  
   700x525       59.98  
   640x512       60.02  
   640x480       60.00    59.94  
   512x384       60.00  
   400x300       60.32    56.34  
   320x240       60.05  
DP-1-1 disconnected (normal left inverted right x axis y axis)
HDMI-1-1 disconnected (normal left inverted right x axis y axis)
DP-1-2 disconnected (normal left inverted right x axis y axis)
HDMI-1-2 disconnected (normal left inverted right x axis y axis)
DP-1-3 disconnected (normal left inverted right x axis y axis)
HDMI-1-3 disconnected (normal left inverted right x axis y axis)
DP-1-3-1 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 597mm x 336mm
   2560x1440     59.95*+
   1920x1080     60.00    60.00    50.00    59.94  
   1680x1050     59.88  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1280x800      59.91  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    60.00  
   832x624       74.55  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    60.00    59.94  
   720x400       70.08  
DP-1-3-2 connected 2560x1440+2560+0 (normal left inverted right x axis y axis) 597mm x 336mm
   2560x1440     59.95*+
   1920x1080     60.00    60.00    50.00    59.94  
   1680x1050     59.88  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1280x800      59.91  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    60.00  
   832x624       74.55  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    60.00    59.94  
   720x400       70.08  
DP-1-3-3 disconnected (normal left inverted right x axis y axis)

======


====== xrandr when broken ======

Screen 0: minimum 8 x 8, current 3520 x 2520, maximum 16384 x 16384
eDP-1-1 connected 1920x1080+1600+1440 (normal left inverted right x axis y axis) 309mm x 173mm
   1920x1080     60.03*+  48.03  
   1400x1050     59.98  
   1280x1024     60.02  
   1280x960      60.00  
   1024x768      60.04    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   800x600       60.00    60.32    56.25  
   700x525       59.98  
   640x512       60.02  
   640x480       60.00    59.94  
   512x384       60.00  
   400x300       60.32    56.34  
   320x240       60.05  
DP-1-1 disconnected (normal left inverted right x axis y axis)
HDMI-1-1 disconnected (normal left inverted right x axis y axis)
DP-1-2 disconnected (normal left inverted right x axis y axis)
HDMI-1-2 disconnected (normal left inverted right x axis y axis)
DP-1-3 disconnected (normal left inverted right x axis y axis)
HDMI-1-3 disconnected (normal left inverted right x axis y axis)
DP-1-3-1 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 597mm x 336mm
   2560x1440     59.95*+
   1920x1080     60.00    60.00    50.00    59.94  
   1680x1050     59.88  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1280x800      59.91  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    60.00  
   832x624       74.55  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    60.00    59.94  
   720x400       70.08  
DP-1-3-2 connected 2560x1440+2560+0 (normal left inverted right x axis y axis) 597mm x 336mm
   2560x1440     59.95*+
   1920x1080     60.00    60.00    50.00    59.94  
   1680x1050     59.88  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1280x800      59.91  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    60.00  
   832x624       74.55  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    60.00    59.94  
   720x400       70.08

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

Last edited by SJrX (2017-10-14 20:01:37)

Offline

#2 2017-10-14 19:32:12

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Sporadic Multiple Monitor Weirdness When Docking Laptop

Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Co … s_and_code


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB