LINUX.ORG.RU

Проблема с подключением мониторов через xrandr

 , ,


0

1

Ноутбук dell latitude e7470 с арчем под xmonad, в комплекте док станция и 2 монитора. Ситуация следующая:
1. Комп в док станции, включаю
2. Старую иксы и делаю xrandr. Все мониторы начинают работать.

$ xrandr --listmonitors
Monitors: 3
 0: +*DP1-2 1920/527x1080/296+1080+280  DP1-2
 1: +eDP1 1920/309x1080/174+3000+280  eDP1
 2: +DP1-1 1080/527x1920/296+0+0  DP1-1

lspci -k 
00:02.0 VGA compatible controller: Intel Corporation Skylake Integrated Graphics (rev 07)
	Subsystem: Dell Device 06dc
	Kernel driver in use: i915
	Kernel modules: i915


Далее вытаскиваю комп из док станции и через некоторое время кладу обратно. При этом мониторы видны в xrandr:
]$ xrandr 
Screen 0: minimum 8 x 8, current 4920 x 1920, maximum 32767 x 32767
eDP1 connected 1920x1080+3000+280 (normal left inverted right x axis y axis) 309mm x 174mm
   1920x1080     60.02*+  47.99  
   1400x1050     59.98  
   1600x900      60.00  
   1280x1024     60.02  
   1280x960      60.00  
   1368x768      60.00  
   1280x720      60.00  
   1024x768      60.00  
   1024x576      60.00  
   960x540       60.00  
   800x600       60.32    56.25  
   864x486       60.00  
   640x480       59.94  
   720x405       60.00  
   640x360       60.00  
DP1 disconnected (normal left inverted right x axis y axis)
DP1-1 connected (normal left inverted right x axis y axis)
   1920x1080     60.00 +  50.00    59.94  
   1600x1200     60.00  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.08    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    60.00    59.94  
   720x400       70.08  
DP1-2 connected primary (normal left inverted right x axis y axis)
   1920x1080     60.00 +  50.00    59.94  
   1600x1200     60.00  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.08    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    60.00    59.94  
   720x400       70.08  
DP1-3 disconnected (normal left inverted right x axis y axis)
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)

А вот listmonitors все равно показывает один монитор.
$ xrandr --listmonitors
Monitors: 1
 0: +eDP1 1920/309x1080/174+3000+280  eDP1

Сам xrandr скрипт падает, следовательно подключенные к доке мониторы так и остаются черными.
xrandr \
    --output DP1-1 --mode 1920x1080 --pos 0x0 --rotate left \
    --output DP1-2 --primary --mode 1920x1080 --pos 1080x280 \
    --output eDP1 --mode 1920x1080 --pos 3000x280
xrandr: Configure crtc 1 failed

После этого в логах
[106536.576] (II) intel(0): switch to mode 1920x1080@60.0 on DP1-1, DP1-2 using pipe 1, position (0, 0), rotation left, reflection none00:02.0 VGA compatible controller: Intel Corporation Skylake Integrated Graphics (rev 07)
	Subsystem: Dell Device 06dc
	Kernel driver in use: i915
	Kernel modules: i915

[106536.582] (EE) intel(0): failed to set mode: Invalid argument [22]
[106536.857] (II) intel(0): switch to mode 1920x1080@60.0 on eDP1 using pipe 0, position (3000, 280), rotation normal, reflection none
[106798.605] (II) intel(0): switch to mode 1920x1080@60.0 on DP1-1, DP1-2 using pipe 1, position (0, 0), rotation left, reflection none
[106798.606] (EE) intel(0): failed to set mode: Invalid argument [22]
[106798.897] (II) intel(0): switch to mode 1920x1080@60.0 on eDP1 using pipe 0, position (3000, 280), rotation normal, reflection none

При этом в логах мониторы корректно отключаются и подключаются.
ЧЯДНТ, и почему после перезапуска иксов все работает?


Ответ на: комментарий от arson

Мне же нужно указывать их расположение и прочее.

actics
() автор топика
21 ноября 2017 г.

Купил док-станцию для e7470, столкнулся с той же проблемой. Удалось ли Вам найти решение?

Harliff ★★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.