czwartek, 29 sierpnia 2019

Niewykryte rozdzielczości monitora

Aby dodać (wymusić) rozdzielczość w ustawieniach [źródło], należy dowiedzieć się które wyjście nas interesuje:
xrandr
U mnie to wygląda tak:
san@lati:~$ xrandrScreen 0: minimum 8 x 8, current 3120 x 1050, maximum 32767 x 32767eDP1 connected (normal left inverted right x axis y axis)   1920x1080     60.02 +  59.93     1680x1050     59.88     1600x1024     60.17     1400x1050     59.98     1600x900      60.00    59.95    59.82     1280x1024     60.02     1440x900      59.89     1400x900      59.96    59.88     1280x960      60.00     1368x768      60.00    59.88    59.85     1360x768      59.80    59.96     1280x800      59.81    59.91     1152x864      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     640x360       59.84    59.32    60.00  DP1 disconnected (normal left inverted right x axis y axis)DP1-1 connected 1440x900+1680+0 (normal left inverted right x axis y axis) 410mm x 260mm   1440x900      59.89*+  74.98     1280x1024     75.02    60.02     1152x864      75.00     1024x768      75.03    70.07    66.01    60.00     832x624       74.55     800x600       72.19    75.00    60.32    56.25     640x480       75.00    72.81    66.67    67.06    59.94     720x400       70.08  DP1-2 disconnected (normal left inverted right x axis y axis)DP1-3 connected primary 1680x1050+0+0 (normal left inverted right x axis y axis) 0mm x 0mm   640x480       63.07 +  59.94     1024x768      60.00     800x600       60.32     1680x1050_60.00  59.95* 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)
Więc wiem, że chodzi o wyjście DP1-3 (ostatnia rozdzielczość to ta dodana). Teraz trzeba wygenerować wpis:
cvt 1680 1050 
Oczywiście liczby to rozdzielczość jaka nas interesuje. I to co po modeline dodać jako tryb do xrandr:
sudo xrandr --newmode "1680x1050_60.00"  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync

I ustawić tryb jako dostępny dla naszego wyjścia:
sudo xrandr --addmode DP1-3 "1680x1050_60.00"

Brak komentarzy:

Prześlij komentarz