When I tried to create a new mode in Xorg (via xrandr --newmode
), I get the following error:Failed to get size of gamma for output default
The solution turned out to be simple: I just had to install firmware-linux-nonfree
So, here is the complete resolution change process:
cvt <width> <height> <refresh rate>
,output may be something like this:# 1920x1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz Modeline "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
xrandr --addmode <OUTPUT> 1920x1080_60.00
,OUTPUT
can be extractedfrom xrandr
output etc - To apply new mode that you created execute
xrandr --output <OUTPUT> --mode 1920x1080_60.00
After that, the screen resolution will change to the one you specified.