命令
修改SD卡boot分区的config.txt文件
$sudo vim /boot/config.txt
在打开的文件末尾加入如下代码:
hdmi_drive=2hdmi_group=2hdmi_mode=42
:wq保存 退出
更多内容请移步我的个人博客:http://www.wujiayi.vip
值
根据显示器分辨率不同,请查找需要修改的值。
hdmi_mode resolution frequency notes
1 640×350 85Hz
2 640×400 85Hz
3 720×400 85Hz
4 640×480 60Hz
5 640×480 72Hz
6 640×480 75Hz
7 640×480 85Hz
8 800×600 56Hz
9 800×600 60Hz
10 800×600 72Hz
11 800×600 75Hz
12 800×600 85Hz
13 800×600 120Hz
14 848×480 60Hz
15 1024×768 43Hz
16 1024×768 60Hz
17 1024×768 70Hz
18 1024×768 75Hz
19 1024×768 85Hz
20 1024×768 120Hz
21 1152×864 75Hz
22 1280×768 reduced blanking
23 1280×768 60Hz
24 1280×768 75Hz
25 1280×768 85Hz
26 1280×768 120Hz reduced blanking
27 1280×800 reduced blanking
28 1280×800 60Hz
29 1280×800 75Hz
30 1280×800 85Hz
31 1280×800 120Hz reduced blanking
32 1280×960 60Hz
33 1280×960 85Hz
34 1280×960 120Hz reduced blanking
35 1280×1024 60Hz
36 1280×1024 75Hz
37 1280×1024 85Hz
38 1280×1024 120Hz reduced blanking
39 1360×768 60Hz
40 1360×768 120Hz reduced blanking
41 1400×1050 reduced blanking
42 1400×1050 60Hz
43 1400×1050 75Hz
44 1400×1050 85Hz
45 1400×1050 120Hz reduced blanking
46 1440×900 reduced blanking
47 1440×900 60Hz
48 1440×900 75Hz
49 1440×900 85Hz
50 1440×900 120Hz reduced blanking
51 1600×1200 60Hz
52 1600×1200 65Hz
53 1600×1200 70Hz
54 1600×1200 75Hz
55 1600×1200 85Hz
56 1600×1200 120Hz reduced blanking
57 1680×1050 reduced blanking
58 1680×1050 60Hz
59 1680×1050 75Hz
60 1680×1050 85Hz
61 1680×1050 120Hz reduced blanking
62 1792×1344 60Hz
63 1792×1344 75Hz
64 1792×1344 120Hz reduced blanking
65 1856×1392 60Hz
66 1856×1392 75Hz
67 1856×1392 120Hz reduced blanking
68 1920×1200 reduced blanking
69 1920×1200 60Hz
70 1920×1200 75Hz
71 1920×1200 85Hz
72 1920×1200 120Hz reduced blanking
73 1920×1440 60Hz
74 1920×1440 75Hz
75 1920×1440 120Hz reduced blanking
76 2560×1600 reduced blanking
77 2560×1600 60Hz
78 2560×1600 75Hz
79 2560×1600 85Hz
80 2560×1600 120Hz reduced blanking
81 1366×768 60Hz
82 1920×1080 60Hz 1080p
83 1600×900 reduced blanking
84 2048×1152 reduced blanking
85 1280×720 60Hz 720p
86 1366×768 reduced blanking