raspberry pi 3 使用 HDMI 時,預設的螢幕解析度太高超級難閱讀,而預設安裝的Gui螢幕設定根本沒辦法改,甚至看了KDE官網使用 Xrandr 設定也都沒有用,之後才發現raspberry pi在開機有自己的設定方式,點這裡。
1. 先將開機設定檔備。
$ sudo cp /boot/config.txt /boot/config.txt.backup
2. 編輯config.txt
$sudo vim /boot/config.txt
找到以下設定,改後存檔。
hdmi_group=1 hdmi_mode=16
註解裡面都寫詳細的值代表什麼意思如下: ## hdmi_group ## Defines the HDMI type ## ## Value Description ## ------------------------------------------------------------------------- ## 0 Use the preferred group reported by the edid (Default) ## 1 CEA ## 2 DMT ##
這個指螢幕的規格,CEA 通常是電視,DMT為電腦螢幕。
來源:http://raspberrypi.stackexchange.com/questions/7332/what-is-the-difference-between-cea-and-dmt
## hdmi_mode ## defines screen resolution in CEA or DMT format ## ## H means 16:9 variant (of a normally 4:3 mode). ## 2x means pixel doubled (i.e. higher clock rate, with each pixel repeated ## twice) ## 4x means pixel quadrupled (i.e. higher clock rate, with each pixel ## repeated four times) ## reduced blanking means fewer bytes are used for blanking within the data ## stream (i.e. lower clock rate, with fewer wasted bytes) ## ## Value hdmi_group=CEA hdmi_group=DMT ## ------------------------------------------------------------------------- ## 1 VGA 640x350 85Hz ## 2 480p 60Hz 640x400 85Hz ## 3 480p 60Hz H 720x400 85Hz ## 4 720p 60Hz 640x480 60Hz ## 5 1080i 60Hz 640x480 72Hz ......
因為我想要720P所以選4,1080p 選16
3.reboot