This article help to add new resolution using xrandr in X11. We start from confirming the supported video mode in the display device.
Using xrandr to add custom video mode (screen resolution)
Please follow below steps to add the custom video mode
1. Check current display name and available video mode
Enter below command in terminal ..
|
|
from above, we get:
- display output name: “DISP3 BG”
- current video mode: “S:1280x720p-50”
- maximum resolution: 8192 x 8192
And it is also easy to see that current resolution is 1280 x 720
The result might vary depends on your display device (We are using AOC I2470Sw - 24” HDMI monitor).
2. Create custom video mode
Use gtf to create the video mode line
|
|
Add new mode using xrandr
|
|
Add this custom video mode to the output (display output name in step 1) and test
|
|
3. Keep the configuration
Too keep the configuration, we could add teh “Modeline” into xorg.conf
sudo nano /etc/X11/xorg.conf
You could change nano to your familiar editor (ex: vi, vim or GUI-editor gedit, geany)
Try to find Section "Monitor"
and insert below line into Monitor Section.
Modeline "800x480_60.00" 29.58 800 816 896 992 480 481 484 497 -HSync +Vsync
for example:
|
|
Reboot or restart X-server to take effect.