Temos espaços de trabalho flexíveis no trabalho, todos os locais de trabalho são os mesmos, mas uma tela pode ter DVI à esquerda, em vez da direita, etc., por isso preciso alterar as saídas, mas os tamanhos e as veiculações da tela são sempre mesmo.
Meu problema é que tenho uma grande tela de 2560x1600 no meio e uma tela de 1920x1200 em cada lado dessa tela grande.
Todos os dias quando venho para o trabalho, normalmente escrevo
xrandr --output "VGA-1-1" --mode 1920x1200 --output DP-2 --mode 2560x1600 --left-of VGA-1-1 --output DP-3 --mode 1920x1200 --left-of DP-2
Mas, por algum motivo, se eu mudar para outro espaço de trabalho, a tela grande pode ser DP-3, então eu uso apenas xrandr
para encontrar as saídas corretas.
Agora o problema é que, muitas vezes, a NVIDIA decide substituir minhas configurações, porque normalmente eu tenho uma tela em cada janela, por isso não acho que é apenas uma tela grande, mas sim 3 telas. Mas a nvidia faz uma tela virtual grande com todas as 3 telas, então a esquerda e o meio funcionam bem, mas quando eu movo meu mouse do meio para a direita, a tela inteira rola, como se você tivesse uma tela virtual grande o meio ...
Alguma idéia de como posso consertar isso? Saídas são:
$ xrandr
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 connected primary 1920x1200+0+0 (normal left inverted right x axis y axis) 519mm x 324mm panning 3840x1200+0+0
1920x1200 59.95*+ 59.88
1920x1080 59.94
1680x1050 59.95
1440x900 59.89
1400x1050 59.98
1280x1024 60.02
1280x960 60.00
1280x800 59.81
1280x720 60.00 59.94
1024x768 60.00
800x600 60.32 56.25
720x480 59.94
640x480 59.94
LVDS-1-1 connected
640x480 59.94
320x240 60.05
VGA-1-1 connected 1920x1200+1920+0 519mm x 324mm
1920x1200 59.95*+
1920x1080 60.00
1680x1050 59.95
1400x1050 59.98
1280x1024 60.02
1440x900 59.89
1280x960 60.00
1280x800 59.81
1280x720 60.00
1024x768 60.00
800x600 60.32 56.25
640x480 60.00
640x480 (0x45) 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
1920x1200 (0x47) 154.000MHz +HSync -VSync
h: width 1920 start 1968 end 2000 total 2080 skew 0 clock 74.04KHz
v: height 1200 start 1203 end 1209 total 1235 clock 59.95Hz
1680x1050 (0x49) 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
1400x1050 (0x4a) 121.750MHz -HSync +VSync
h: width 1400 start 1488 end 1632 total 1864 skew 0 clock 65.32KHz
v: height 1050 start 1053 end 1057 total 1089 clock 59.98Hz
1280x1024 (0x4b) 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
1440x900 (0x4c) 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
1280x960 (0x4d) 108.000MHz +HSync +VSync
h: width 1280 start 1376 end 1488 total 1800 skew 0 clock 60.00KHz
v: height 960 start 961 end 964 total 1000 clock 60.00Hz
1280x800 (0x4e) 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 (0x4f) 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
1024x768 (0x50) 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 (0x51) 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 (0x52) 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
Como você pode ver, algumas dessas panorâmicas são insanas, isso não acontece todas as vezes, e não há maneiras de corrigir isso. As reinicializações também não ajudam.
$ xrandr|head -1
Screen 0: minimum 8 x 8, current 3840 x 1200, maximum 16384 x 16384
Isso acontece se eu ligar a tela grande:
$ xrandr
Screen 0: minimum 8 x 8, current 6400 x 1600, maximum 16384 x 16384
LVDS-0 disconnected (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-2 connected primary 2560x1600+1920+0 (normal left inverted right x axis y axis) 641mm x 400mm
2560x1600 59.97*+
1920x1200 59.88
1680x1050 59.95
1600x1200 60.00
1440x900 59.89
1400x1050 59.98
1360x765 59.85
1280x1024 75.02 60.02
1280x800 59.81
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32 56.25
640x480 75.00 72.81 59.94
DP-3 connected 1920x1200+2667+0 (normal left inverted right x axis y axis) 519mm x 324mm panning 6400x1200+0+0 tracking 6400x1600+0+0 border 0/0/0/0
1920x1200 59.95*+ 59.88
1920x1080 59.94
1680x1050 59.95
1440x900 59.89
1400x1050 59.98
1280x1024 60.02
1280x960 60.00
1280x800 59.81
1280x720 60.00 59.94
1024x768 60.00
800x600 60.32 56.25
720x480 59.94
640x480 59.94
LVDS-1-1 connected
640x480 59.94
320x240 60.05
VGA-1-1 connected 1920x1200+4480+0 519mm x 324mm
1920x1200 59.95*+
1920x1080 60.00
1680x1050 59.95
1400x1050 59.98
1280x1024 60.02
1440x900 59.89
1280x960 60.00
1280x800 59.81
1280x720 60.00
1024x768 60.00
800x600 60.32 56.25
640x480 60.00
640x480 (0x45) 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
1920x1200 (0x47) 154.000MHz +HSync -VSync
h: width 1920 start 1968 end 2000 total 2080 skew 0 clock 74.04KHz
v: height 1200 start 1203 end 1209 total 1235 clock 59.95Hz
1680x1050 (0x49) 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
1400x1050 (0x4a) 121.750MHz -HSync +VSync
h: width 1400 start 1488 end 1632 total 1864 skew 0 clock 65.32KHz
v: height 1050 start 1053 end 1057 total 1089 clock 59.98Hz
1280x1024 (0x4b) 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
1440x900 (0x4c) 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
1280x960 (0x4d) 108.000MHz +HSync +VSync
h: width 1280 start 1376 end 1488 total 1800 skew 0 clock 60.00KHz
v: height 960 start 961 end 964 total 1000 clock 60.00Hz
1280x800 (0x4e) 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 (0x4f) 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
1024x768 (0x50) 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 (0x51) 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 (0x52) 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
E se eu mudar para o meu espaço de trabalho normal, onde todas as três telas estão funcionando, será assim:
$ xrandr
Screen 0: minimum 8 x 8, current 6400 x 1600, maximum 16384 x 16384
LVDS-0 disconnected (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 connected 1920x1200+4480+0 (normal left inverted right x axis y axis) 519mm x 324mm
1920x1200 59.95*+
1680x1050 59.95
1440x900 59.89
1400x1050 59.98
1280x1024 60.02
1280x960 60.00
1280x800 59.81
1280x720 60.00
1024x768 60.00
800x600 60.32 56.25
720x480 59.94
640x480 59.94
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-2 connected primary 2560x1600+1920+0 (normal left inverted right x axis y axis) 641mm x 400mm
2560x1600 59.97*+
1920x1200 59.88
1680x1050 59.95
1600x1200 60.00
1440x900 59.89
1400x1050 59.98
1360x765 59.85
1280x1024 75.02 60.02
1280x800 59.81
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32 56.25
640x480 75.00 72.81 59.94
DP-3 disconnected (normal left inverted right x axis y axis)
LVDS-1-1 connected
640x480 59.94
320x240 60.05
VGA-1-1 connected 1920x1200+0+0 519mm x 324mm
1920x1200 59.95*+
1920x1080 60.00
1680x1050 59.95
1400x1050 59.98
1280x1024 60.02
1440x900 59.89
1280x960 60.00
1280x800 59.81
1280x720 60.00
1024x768 60.00
800x600 60.32 56.25
640x480 60.00
640x480 (0x45) 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
1920x1200 (0x47) 154.000MHz +HSync -VSync
h: width 1920 start 1968 end 2000 total 2080 skew 0 clock 74.04KHz
v: height 1200 start 1203 end 1209 total 1235 clock 59.95Hz
1680x1050 (0x49) 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
1400x1050 (0x4a) 121.750MHz -HSync +VSync
h: width 1400 start 1488 end 1632 total 1864 skew 0 clock 65.32KHz
v: height 1050 start 1053 end 1057 total 1089 clock 59.98Hz
1280x1024 (0x4b) 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
1440x900 (0x4c) 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
1280x960 (0x4d) 108.000MHz +HSync +VSync
h: width 1280 start 1376 end 1488 total 1800 skew 0 clock 60.00KHz
v: height 960 start 961 end 964 total 1000 clock 60.00Hz
1280x800 (0x4e) 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 (0x4f) 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
1024x768 (0x50) 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 (0x51) 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 (0x52) 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