console=both
disp_mode=1080p60
2) The disp_mode variable supports setting values as shown in the following table
disp_mode supported value
3) Modify the value of the disp_mode variable to the resolution you want to output,
and then restart the OS, HDMI will display the set resolution
3.12. How to modify the width and height of Framebuffer?
1) There are two variables fb0_width and fb0_height in the /boot/orangepiEnv.txt of
the Linux OS, which can be used to set the width and height of the Framebuffer. The
Linux OS defaults to fb0_width=1280, fb0_height=720
root@orangepi:~# cat /boot/orangepiEnv.txt
verbosity=1
console=both
disp_mode=720p60
fb0_width=1280
fb0_height=720
2) The reference values corresponding to different resolutions of fb0_width and
fb0_height are as follows
3) Under the same HDMI resolution, the display of different fb0_width and
fb0_height is as follows
a. HDMI resolution is 1080p60, fb0_width and fb0_height are 1920x1080