You are not logged in.

#1 2019-03-01 04:39:01

tulipszs
Member
Registered: 2019-03-01
Posts: 2

Xrandr trouble while attempting to use Thinkpad dock

Hi all,

I'm trying to get a decent multimonitor setup using a Thinkpad dock. Info:

Dock: ThinkPad Pro Dock ( 40A10090US ) 
Laptop: Thinkpad x240
Kernel: 4.20.7-arch1-1-ARCH

$ pacman -Q | grep -i xrandr
lib32-libxrandr 1.5.1-2
libxrandr 1.5.1-2
lxrandr 0.3.1-2
xorg-xrandr 1.5.0-2

When attempting to utilize the connected displays I recieve the following error:

$ xrandr --auto
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  21 (RRSetCrtcConfig)
  Serial number of failed request:  46
  Current serial number in output stream:  46

However the monitors are being recognized fine:

$ xrandr 
Screen 0: minimum 8 x 8, current 2560 x 1440, maximum 32767 x 32767
eDP1 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 280mm x 160mm
   1366x768      60.00*+
   1280x720      59.86    60.00    59.74  
   1024x768      60.00  
   1024x576      60.00    59.90    59.82  
   960x540       60.00    59.63    59.82  
   800x600       60.32    56.25  
   864x486       60.00    59.92    59.57  
   640x480       59.94  
   720x405       59.51    60.00    58.99  
   680x384       60.00  
   640x360       59.84    59.32    60.00  
DP1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
DP2-1 disconnected (normal left inverted right x axis y axis)
DP2-2 connected (normal left inverted right x axis y axis)
   3840x2160     30.00  
   2560x1600     59.97  
   2560x1440     59.95  
   1920x1080     60.00    60.00    50.00    59.94  
   1680x1050     59.88  
   1280x1024     75.02    60.02  
   1440x900      59.90  
   1280x960      60.00  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1440x576      50.00  
   1024x768      75.03    70.07    60.00  
   1440x480      60.00    59.94  
   832x624       74.55  
   800x600       72.19    75.00    60.32    56.25  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    72.81    66.67    60.00    59.94  
   720x400       70.08  
DP2-3 connected (normal left inverted right x axis y axis)
   1680x1050     59.95 +
   1280x1024     75.02    60.02  
   1440x900      59.89  
   1280x800      59.81  
   1152x864      75.00  
   1280x720      60.00  
   1024x768      75.03    70.07    60.00  
   832x624       74.55  
   800x600       72.19    75.00    60.32    56.25  
   640x480       75.00    72.81    66.67    59.94  
   720x400       70.08  
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

There is a similar issue here: https://www.reddit.com/r/archlinux/comm … with_dock/

But it differs in the face that I can't get the external displays to work at all (The author was able to extend the displays once every reboot). Any pointers to how I could go about solving this? Thanks to anyone who helps me (and others) out!


Update: Fixed it by following the crtc suggestion:

$ xrandr --output VIRTUAL1 --off --output eDP1 --primary --mode 1366x768 --pos 0x0 --crtc 0 --rotate normal --output DP1 --off --output DP2-1 --off --output DP2-2 --mode 2560x1600 --pos 1366x0 --crtc 1 --rotate normal --output DP2-3 --mode 1680x1050 --pos 3926x0 --crtc 2 --rotate normal --output HDMI2 --off --output HDMI1 --off --output DP2 --off

Last edited by tulipszs (2019-03-01 05:36:10)

Offline

Board footer

Powered by FluxBB