EasyManua.ls Logo

Orange Pi Zero2 - Modify Framebuffer Width and Height

Orange Pi Zero2
88 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
32
console=both
disp_mode=1080p60
2) The disp_mode variable supports setting values as shown in the following table
disp_mode supported value
HDMI Resolution
HDMI refresh rate
480i
720x480
60
576i
720x480
50
480p
720x480
60
576p
720x576
60
720p50
1280x720
50
720p60
1280x720
60
1080i50
1920x1080
50
1080i60
1920x1080
60
1080p24
1920x1080
24
1080p50
1920x1080
50
1080p60
1920x1080
60
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
HDMI resolution
fb0_width
fb0_height
480p
720
480
576p
720
576
720p
1280
720
1080p
1920
1080
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

Table of Contents

Related product manuals