博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
自定义树莓派的显示分辨率
阅读量:5174 次
发布时间:2019-06-13

本文共 5373 字,大约阅读时间需要 17 分钟。

树莓派一般可以自动检测目标设备的分辨率。

但对于部分设备,尤其是HDMI-VGA转换器,分辨率可能会明显不对(过大或过小)。
这时就需要给树莓派指定一个分辨率。

更改树莓派前面那个FAT32分区里的config.txt,修改或加入以下项目:

hdmi_group=****hdmi_mode=****hdmi_ignore_edid=0xa5000080hdmi_group和hdmi_mode的值对应想要调整的分辨率。见文后。

另外一项“hdmi_ignore_edid”,是命令树莓派不检测HDMI设备的任何信息,只按照我们指定的分辨率输出。

如果不加,树莓派可能仍会“自作聪明”的检测HDMI设备的分辨率,结果造成我们设置的分辨率无效。

注意,如果您使用HDMI-VGA转换器出现以下故障:

分辨率不对 —— 请参考下文。
黑屏 —— 请参考:HDMI-VGA转换器黑屏的排障方案。
断续黑屏、系统不稳定 —— 可能是无源的转换器功耗过大,造成树莓派的电源故障。请使用有单独电源输入的HDMI-VGA转换器。

CEA分辨率

以下是CEA规定的电视规格分辨率。这些分辨率的hdmi_group=1。

hdmi_mode=1    VGAhdmi_mode=2    480p  60Hzhdmi_mode=3    480p  60Hz  Hhdmi_mode=4    720p  60Hzhdmi_mode=5    1080i 60Hzhdmi_mode=6    480i  60Hzhdmi_mode=7    480i  60Hz  Hhdmi_mode=8    240p  60Hzhdmi_mode=9    240p  60Hz  Hhdmi_mode=10   480i  60Hz  4xhdmi_mode=11   480i  60Hz  4x Hhdmi_mode=12   240p  60Hz  4xhdmi_mode=13   240p  60Hz  4x Hhdmi_mode=14   480p  60Hz  2xhdmi_mode=15   480p  60Hz  2x Hhdmi_mode=16   1080p 60Hzhdmi_mode=17   576p  50Hzhdmi_mode=18   576p  50Hz  Hhdmi_mode=19   720p  50Hzhdmi_mode=20   1080i 50Hzhdmi_mode=21   576i  50Hzhdmi_mode=22   576i  50Hz  Hhdmi_mode=23   288p  50Hzhdmi_mode=24   288p  50Hz  Hhdmi_mode=25   576i  50Hz  4xhdmi_mode=26   576i  50Hz  4x Hhdmi_mode=27   288p  50Hz  4xhdmi_mode=28   288p  50Hz  4x Hhdmi_mode=29   576p  50Hz  2xhdmi_mode=30   576p  50Hz  2x Hhdmi_mode=31   1080p 50Hzhdmi_mode=32   1080p 24Hzhdmi_mode=33   1080p 25Hzhdmi_mode=34   1080p 30Hzhdmi_mode=35   480p  60Hz  4xhdmi_mode=36   480p  60Hz  4xHhdmi_mode=37   576p  50Hz  4xhdmi_mode=38   576p  50Hz  4x Hhdmi_mode=39   1080i 50Hz  reduced blankinghdmi_mode=40   1080i 100Hzhdmi_mode=41   720p  100Hzhdmi_mode=42   576p  100Hzhdmi_mode=43   576p  100Hz Hhdmi_mode=44   576i  100Hzhdmi_mode=45   576i  100Hz Hhdmi_mode=46   1080i 120Hzhdmi_mode=47   720p  120Hzhdmi_mode=48   480p  120Hzhdmi_mode=49   480p  120Hz Hhdmi_mode=50   480i  120Hzhdmi_mode=51   480i  120Hz Hhdmi_mode=52   576p  200Hzhdmi_mode=53   576p  200Hz Hhdmi_mode=54   576i  200Hzhdmi_mode=55   576i  200Hz Hhdmi_mode=56   480p  240Hzhdmi_mode=57   480p  240Hz Hhdmi_mode=58   480i  240Hzhdmi_mode=59   480i  240Hz HH 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)

DMT分辨率

以下是计算机显示器使用的分辨率。这些分辨率的hdmi_group=2。

hdmi_mode=1    640x350   85Hzhdmi_mode=2    640x400   85Hzhdmi_mode=3    720x400   85Hzhdmi_mode=4    640x480   60Hzhdmi_mode=5    640x480   72Hzhdmi_mode=6    640x480   75Hzhdmi_mode=7    640x480   85Hzhdmi_mode=8    800x600   56Hzhdmi_mode=9    800x600   60Hzhdmi_mode=10   800x600   72Hzhdmi_mode=11   800x600   75Hzhdmi_mode=12   800x600   85Hzhdmi_mode=13   800x600   120Hzhdmi_mode=14   848x480   60Hzhdmi_mode=15   1024x768  43Hz  DO NOT USEhdmi_mode=16   1024x768  60Hzhdmi_mode=17   1024x768  70Hzhdmi_mode=18   1024x768  75Hzhdmi_mode=19   1024x768  85Hzhdmi_mode=20   1024x768  120Hzhdmi_mode=21   1152x864  75Hzhdmi_mode=22   1280x768        reduced blankinghdmi_mode=23   1280x768  60Hzhdmi_mode=24   1280x768  75Hzhdmi_mode=25   1280x768  85Hzhdmi_mode=26   1280x768  120Hz reduced blankinghdmi_mode=27   1280x800        reduced blankinghdmi_mode=28   1280x800  60Hzhdmi_mode=29   1280x800  75Hzhdmi_mode=30   1280x800  85Hzhdmi_mode=31   1280x800  120Hz reduced blankinghdmi_mode=32   1280x960  60Hzhdmi_mode=33   1280x960  85Hzhdmi_mode=34   1280x960  120Hz reduced blankinghdmi_mode=35   1280x1024 60Hzhdmi_mode=36   1280x1024 75Hzhdmi_mode=37   1280x1024 85Hzhdmi_mode=38   1280x1024 120Hz reduced blankinghdmi_mode=39   1360x768  60Hzhdmi_mode=40   1360x768  120Hz reduced blankinghdmi_mode=41   1400x1050       reduced blankinghdmi_mode=42   1400x1050 60Hzhdmi_mode=43   1400x1050 75Hzhdmi_mode=44   1400x1050 85Hzhdmi_mode=45   1400x1050 120Hz reduced blankinghdmi_mode=46   1440x900        reduced blankinghdmi_mode=47   1440x900  60Hzhdmi_mode=48   1440x900  75Hzhdmi_mode=49   1440x900  85Hzhdmi_mode=50   1440x900  120Hz reduced blankinghdmi_mode=51   1600x1200 60Hzhdmi_mode=52   1600x1200 65Hzhdmi_mode=53   1600x1200 70Hzhdmi_mode=54   1600x1200 75Hzhdmi_mode=55   1600x1200 85Hzhdmi_mode=56   1600x1200 120Hz reduced blankinghdmi_mode=57   1680x1050       reduced blankinghdmi_mode=58   1680x1050 60Hzhdmi_mode=59   1680x1050 75Hzhdmi_mode=60   1680x1050 85Hzhdmi_mode=61   1680x1050 120Hz reduced blankinghdmi_mode=62   1792x1344 60Hzhdmi_mode=63   1792x1344 75Hzhdmi_mode=64   1792x1344 120Hz reduced blankinghdmi_mode=65   1856x1392 60Hzhdmi_mode=66   1856x1392 75Hzhdmi_mode=67   1856x1392 120Hz reduced blankinghdmi_mode=68   1920x1200       reduced blankinghdmi_mode=69   1920x1200 60Hzhdmi_mode=70   1920x1200 75Hzhdmi_mode=71   1920x1200 85Hzhdmi_mode=72   1920x1200 120Hz reduced blankinghdmi_mode=73   1920x1440 60Hzhdmi_mode=74   1920x1440 75Hzhdmi_mode=75   1920x1440 120Hz reduced blankinghdmi_mode=76   2560x1600       reduced blankinghdmi_mode=77   2560x1600 60Hzhdmi_mode=78   2560x1600 75Hzhdmi_mode=79   2560x1600 85Hzhdmi_mode=80   2560x1600 120Hz reduced blankinghdmi_mode=81   1366x768  60Hzhdmi_mode=82   1080p     60Hzhdmi_mode=83   1600x900        reduced blankinghdmi_mode=84   2048x1152       reduced blankinghdmi_mode=85   720p      60Hzhdmi_mode=86   1366x768        reduced blanking

 

转载于:https://www.cnblogs.com/superelement/p/9199179.html

你可能感兴趣的文章
Java报表工具
查看>>
adb常用命令
查看>>
git diff 命令
查看>>
JavaScript中三个等号和两个等号的区别(“===”与“==”的区别)
查看>>
可怜的梅西
查看>>
linux下mysql5.5.11编译安装
查看>>
Machine Learning Week 3-advanced-optimization
查看>>
LeetCode 134.加油站
查看>>
设计模式中类的关系之关联关系(Association)
查看>>
ssm异步上传图片
查看>>
用jenkins编译WPF程序并传输到服务器
查看>>
浅析购物车的实现
查看>>
SHCTF-2017:crackme
查看>>
进阶のJAVA8
查看>>
Maven+IDEA+testNG测试框架学习(一)
查看>>
利用jQuery-UI和jsPlumb实现拖拽连接模型
查看>>
php 二维数组去重
查看>>
用html5实现音频播放器
查看>>
在python中独立运行orm
查看>>
HttpRunnerManager使用说明
查看>>