樹莓派有黑邊不能全屏解決方法
在使用樹莓派連線HDMI電腦顯示器的時候,可能會出現如下圖所示的有黑邊的情況。這時候需要調節解析度以適應螢幕。
將樹莓派的tf卡插入電腦,在卡的根目錄下找到配置檔案config.txt,建議用Notepad++等程式碼編輯器開啟後找到如下程式碼:
調節任何引數時,將#號去除即可生效(下面修改的值是預設帶#的,請務必去除#)
# uncomment to force a specific HDMI mode (this will force VGA)
hdmi_group=2 //將顯示模式切換成DMT(顯示器模式)
hdmi_mode=82 //1920x1080 60Hz 1080p 如果顯示器不是1080P。則可以參考注1引數修改
- 1
- 2
- 3
這時候就將顯示設定成1080P的解析度,但是是不帶聲音的,如果你的顯示器支援HDMI聲音輸出或者自帶音響,則將如下程式碼引數去除#號解鎖強制獲取聲音。
# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
hdmi_drive=2 //HDMI模式
- 1
- 2
- 3
更多設定參考官方配置文件:https://www.raspberrypi.org/documentation/configuration/config-txt.md
注1: DMT模式解析度引數
hdmi_mode | resolution | frequency | notes |
---|---|---|---|
1 | 640x350 | 85Hz | |
2 | 640x400 | 85Hz | |
3 | 720x400 | 85Hz | |
4 | 640x480 | 60Hz | |
5 | 640x480 | 72Hz | |
6 | 640x480 | 75Hz | |
7 | 640x480 | 85Hz | |
8 | 800x600 | 56Hz | |
9 | 800x600 | 60Hz | |
10 | 800x600 | 72Hz | |
11 | 800x600 | 75Hz | |
12 | 800x600 | 85Hz | |
13 | 800x600 | 120Hz | |
14 | 848x480 | 60Hz | |
15 | 1024x768 | 43Hz | incompatible with the Raspberry Pi |
16 | 1024x768 | 60Hz | |
17 | 1024x768 | 70Hz | |
18 | 1024x768 | 75Hz | |
19 | 1024x768 | 85Hz | |
20 | 1024x768 | 120Hz | |
21 | 1152x864 | 75Hz | |
22 | 1280x768 | reduced blanking | |
23 | 1280x768 | 60Hz | |
24 | 1280x768 | 75Hz | |
25 | 1280x768 | 85Hz | |
26 | 1280x768 | 120Hz | reduced blanking |
27 | 1280x800 | reduced blanking | |
28 | 1280x800 | 60Hz | |
29 | 1280x800 | 75Hz | |
30 | 1280x800 | 85Hz | |
31 | 1280x800 | 120Hz | reduced blanking |
32 | 1280x960 | 60Hz | |
33 | 1280x960 | 85Hz | |
34 | 1280x960 | 120Hz | reduced blanking |
35 | 1280x1024 | 60Hz | |
36 | 1280x1024 | 75Hz | |
37 | 1280x1024 | 85Hz | |
38 | 1280x1024 | 120Hz | reduced blanking |
39 | 1360x768 | 60Hz | |
40 | 1360x768 | 120Hz | reduced blanking |
41 | 1400x1050 | reduced blanking | |
42 | 1400x1050 | 60Hz | |
43 | 1400x1050 | 75Hz | |
44 | 1400x1050 | 85Hz | |
45 | 1400x1050 | 120Hz | reduced blanking |
46 | 1440x900 | reduced blanking | |
47 | 1440x900 | 60Hz | |
48 | 1440x900 | 75Hz | |
49 | 1440x900 | 85Hz | |
50 | 1440x900 | 120Hz | reduced blanking |
51 | 1600x1200 | 60Hz | |
52 | 1600x1200 | 65Hz | |
53 | 1600x1200 | 70Hz | |
54 | 1600x1200 | 75Hz | |
55 | 1600x1200 | 85Hz | |
56 | 1600x1200 | 120Hz | reduced blanking |
57 | 1680x1050 | reduced blanking | |
58 | 1680x1050 | 60Hz | |
59 | 1680x1050 | 75Hz | |
60 | 1680x1050 | 85Hz | |
61 | 1680x1050 | 120Hz | reduced blanking |
62 | 1792x1344 | 60Hz | |
63 | 1792x1344 | 75Hz | |
64 | 1792x1344 | 120Hz | reduced blanking |
65 | 1856x1392 | 60Hz | |
66 | 1856x1392 | 75Hz | |
67 | 1856x1392 | 120Hz | reduced blanking |
68 | 1920x1200 | reduced blanking | |
69 | 1920x1200 | 60Hz | |
70 | 1920x1200 | 75Hz | |
71 | 1920x1200 | 85Hz | |
72 | 1920x1200 | 120Hz | reduced blanking |
73 | 1920x1440 | 60Hz | |
74 | 1920x1440 | 75Hz | |
75 | 1920x1440 | 120Hz | reduced blanking |
76 | 2560x1600 | reduced blanking | |
77 | 2560x1600 | 60Hz | |
78 | 2560x1600 | 75Hz | |
79 | 2560x1600 | 85Hz | |
80 | 2560x1600 | 120Hz | reduced blanking |
81 | 1366x768 | 60Hz | |
82 | 1920x1080 | 60Hz | 1080p |
83 | 1600x900 | reduced blanking | |
84 | 2048x1152 | reduced blanking | |
85 | 1280x720 | 60Hz | 720p |
86 | 1366x768 | reduced blanking |
相關文章
- thinkpad win10不能全屏有黑邊如何解決_win10桌面不全屏有黑邊處理方法ThinkPadWin10
- w10魔獸爭霸不能全屏怎麼解決_w10魔獸爭霸不能全屏有黑邊處理方法
- cf不能全屏兩邊黑邊如何解決win10Win10
- win10玩cf不能全屏怎麼辦 win10玩cf不能全屏兩邊有黑邊如何調全屏Win10
- win10系統下夢幻西遊全屏時有黑邊的解決方法Win10
- 樹莓派使用入門:如何更新樹莓派樹莓派
- 樹莓派是什麼 樹莓派能做什麼 樹莓派的功能用途樹莓派
- 樹莓派wiringPi庫詳解樹莓派
- 樹莓派四種登陸方法樹莓派
- 樹莓派使用入門:用樹莓派學 Linux樹莓派Linux
- 樹莓派使用樹莓派
- win10遊戲全屏有黑邊怎麼辦_win10遊戲全屏有黑邊怎麼去掉Win10遊戲
- 樹莓派使用入門:慶祝樹莓派的 14 天樹莓派
- 樹莓派使用入門:如何用樹莓派來娛樂樹莓派
- 樹莓派使用入門:如何購買一個樹莓派樹莓派
- 樹莓派CM4(四):樹莓派映象替換核心樹莓派
- 樹莓派筆記樹莓派筆記
- 樹莓派配置watchdog樹莓派
- 樹莓派與FileZilla樹莓派
- 樹莓派使用入門:教孩子們用樹莓派學程式設計的 5 種方法樹莓派程式設計
- 樹莓派入門操作流程詳解樹莓派
- win10cf不能全屏怎麼辦_cf不能全屏win10的解決方法Win10
- 樹莓派使用入門:如何為樹莓派社群做出貢獻樹莓派
- 樹莓派搭建git伺服器 | 樹莓派小無相系列樹莓派Git伺服器
- 「玩轉樹莓派」樹莓派 3B+ 配置無線WiFi樹莓派WiFi
- 樹莓派使用入門:如何啟動一個新的樹莓派樹莓派
- 樹莓派 | 修改樹莓派3熱點的名稱和密碼樹莓派密碼
- 樹莓派安裝nodejs樹莓派NodeJS
- 樹莓派 -入門篇樹莓派
- 樹莓派安裝 vscode樹莓派VSCode
- 樹莓派-進階篇樹莓派
- 樹莓派 4 來襲!樹莓派
- 樹莓派raspiOS換源樹莓派iOS
- 樹莓派桌面體驗樹莓派
- (二)樹莓派配置MySQL樹莓派MySql
- 樹莓派自建 NAS 雲盤之——樹莓派搭建網路儲存盤樹莓派
- win10顯示器四周黑邊怎麼辦_win10顯示器有黑邊無法全屏怎麼解決Win10
- win10系統cf有黑邊怎麼設定全屏 win10玩cf兩邊有黑邊如何調Win10