坑点
按理说只要更改
hdmi_group=2 —>1:CEA 2:DMT
hdmi_mode=4 —>从模式列表中选取一种显示模式
就可以切换显示分辨率了,可是怎么改都没啥用。貌似不起任何作用!
当hdmi_safe设置为1时,hdmi_group默认为1,hdmi_mode为1,后面你怎么改hdmi_group和hdmi_mode都不起作用了!!!
当disable_overscan=1时,overscan_top、overscan_botom、overscan_left、overscan_right几个参数不起作用!
## hdmi_safe
## Use "safe mode" settings to try to boot with maximum hdmi compatibility.
##
## Value Description
## -------------------------------------------------------------------------
## 0 Disabled (Default)
## 1 Enabled (this does: hdmi_force_hotplug=1, config_hdmi_boost=4,
## hdmi_group=1, hdmi_mode=1,
## disable_overscan=0)
##
#hdmi_safe=1
最终文件
pi@raspberrypi:/boot$ vi config.txt
#hdmi_edid_file=1
# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1
# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
disable_overscan=1
# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=-30
#overscan_right=-30
#overscan_top=-30
#overscan_bottom=-30
# uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720
# uncomment if hdmi display is not detected and composite is being output
hdmi_force_hotplug=1
# uncomment to force a specific HDMI mode (this will force VGA)
hdmi_group=2
hdmi_mode=32
# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
hdmi_drive=2
# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
config_hdmi_boost=4
# uncomment for composite PAL
#sdtv_mode=2
#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800