查看: 4114|回复: 0

手把手教你如何设置树莓派的分辨率

[复制链接]
  • TA的每日心情
    郁闷
    2016-6-13 09:49
  • 签到天数: 19 天

    连续签到: 1 天

    [LV.4]偶尔看看III

    发表于 2014-12-4 22:45:07 | 显示全部楼层 |阅读模式
    分享到:
    首先说明一下,树莓派的debian系统中是自动扫描显示器的,很多都不会满屏显示,这样的话就需要手动设置了,但是在进入系统后是没法设置的。
    需要通过配置文件(config.txt)实现,图省事的可以下载我提供的文件!
    方法如下:
    1.选择你显示器支持的分辨率对应文件夹中的“config.txt”文件

    2.将“config.txt”文件拷贝到你那种装了系统的SD卡上根目录中

    3.将SD插入树莓派,正常启动!

    如果发现分辨率不合适,请根据分辨率重新选择config.txt文件,重复步骤1-3
    我测试过1024*768没问题,另外分辨率不光是看显示器,线材和转接头也会有影响,所以大家耐心测试一下,找到合适的分辨率,有啥问题及时反馈!
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    如果你的显示器分辨率不在我提供的文件中,那么就请你花点时间,学习一下修改配置文件:
    我们以1024*768的文件为例:
    1.打开config.txt文件找到以下两行:

    # Set monitor resolution to 1024x768 XGA 60Hz (HDMI_DMT_XGA_60)

    hdmi_mode=16
    2.查找以下列表中你要的分辨率的mode值,修改“hdmi_mode=16”为你要的mode值:
    比如:640x480 60Hz就是修改为“hdmi_mode=4”
    3.保存config.txt,就ok了(简单吧)
    These values are valid if hdmi_group=2 (DMT)
    hdmi_mode=1 640x350 85Hz
    hdmi_mode=2 640x400 85Hz
    hdmi_mode=3 720x400 85Hz
    hdmi_mode=4 640x480 60Hz
    hdmi_mode=5 640x480 72Hz
    hdmi_mode=6 640x480 75Hz
    hdmi_mode=7 640x480 85Hz
    hdmi_mode=8 800x600 56Hz
    hdmi_mode=9 800x600 60Hz
    hdmi_mode=10 800x600 72Hz
    hdmi_mode=11 800x600 75Hz
    hdmi_mode=12 800x600 85Hz
    hdmi_mode=13 800x600 120Hz
    hdmi_mode=14 848x480 60Hz
    hdmi_mode=15 1024x768 43Hz DO NOT USE
    hdmi_mode=16 1024x768 60Hz
    hdmi_mode=17 1024x768 70Hz
    hdmi_mode=18 1024x768 75Hz
    hdmi_mode=19 1024x768 85Hz
    hdmi_mode=20 1024x768 120Hz
    hdmi_mode=21 1152x864 75Hz
    hdmi_mode=22 1280x768 reduced blanking
    hdmi_mode=23 1280x768 60Hz
    hdmi_mode=24 1280x768 75Hz
    hdmi_mode=25 1280x768 85Hz
    hdmi_mode=26 1280x768 120Hz reduced blanking
    hdmi_mode=27 1280x800 reduced blanking
    hdmi_mode=28 1280x800 60Hz
    hdmi_mode=29 1280x800 75Hz
    hdmi_mode=30 1280x800 85Hz
    hdmi_mode=31 1280x800 120Hz reduced blanking
    hdmi_mode=32 1280x960 60Hz
    hdmi_mode=33 1280x960 85Hz
    hdmi_mode=34 1280x960 120Hz reduced blanking
    hdmi_mode=35 1280x1024 60Hz
    hdmi_mode=36 1280x1024 75Hz
    hdmi_mode=37 1280x1024 85Hz
    hdmi_mode=38 1280x1024 120Hz reduced blanking
    hdmi_mode=39 1360x768 60Hz
    hdmi_mode=40 1360x768 120Hz reduced blanking
    hdmi_mode=41 1400x1050 reduced blanking
    hdmi_mode=42 1400x1050 60Hz
    hdmi_mode=43 1400x1050 75Hz
    hdmi_mode=44 1400x1050 85Hz
    hdmi_mode=45 1400x1050 120Hz reduced blanking
    hdmi_mode=46 1440x900 reduced blanking
    hdmi_mode=47 1440x900 60Hz
    hdmi_mode=48 1440x900 75Hz
    hdmi_mode=49 1440x900 85Hz
    hdmi_mode=50 1440x900 120Hz reduced blanking
    hdmi_mode=51 1600x1200 60Hz
    hdmi_mode=52 1600x1200 65Hz
    hdmi_mode=53 1600x1200 70Hz
    hdmi_mode=54 1600x1200 75Hz
    hdmi_mode=55 1600x1200 85Hz
    hdmi_mode=56 1600x1200 120Hz reduced blanking
    hdmi_mode=57 1680x1050 reduced blanking
    hdmi_mode=58 1680x1050 60Hz
    hdmi_mode=59 1680x1050 75Hz
    hdmi_mode=60 1680x1050 85Hz
    hdmi_mode=61 1680x1050 120Hz reduced blanking
    hdmi_mode=62 1792x1344 60Hz
    hdmi_mode=63 1792x1344 75Hz
    hdmi_mode=64 1792x1344 120Hz reduced blanking
    hdmi_mode=65 1856x1392 60Hz
    hdmi_mode=66 1856x1392 75Hz
    hdmi_mode=67 1856x1392 120Hz reduced blanking
    hdmi_mode=68 1920x1200 reduced blanking
    hdmi_mode=69 1920x1200 60Hz
    hdmi_mode=70 1920x1200 75Hz
    hdmi_mode=71 1920x1200 85Hz
    hdmi_mode=72 1920x1200 120Hz reduced blanking
    hdmi_mode=73 1920x1440 60Hz
    hdmi_mode=74 1920x1440 75Hz
    hdmi_mode=75 1920x1440 120Hz reduced blanking
    hdmi_mode=76 2560x1600 reduced blanking
    hdmi_mode=77 2560x1600 60Hz
    hdmi_mode=78 2560x1600 75Hz
    hdmi_mode=79 2560x1600 85Hz
    hdmi_mode=80 2560x1600 120Hz reduced blanking
    hdmi_mode=81 1366x768 60Hz
    hdmi_mode=82 1080p 60Hz
    hdmi_mode=83 1600x900 reduced blanking
    hdmi_mode=84 2048x1152 reduced blanking
    hdmi_mode=85 720p 60Hz
    hdmi_mode=86 1366x768 reduced blanking
    回复

    使用道具 举报

    您需要登录后才可以回帖 注册/登录

    本版积分规则

    关闭

    站长推荐上一条 /4 下一条

    手机版|小黑屋|与非网

    GMT+8, 2024-12-19 02:48 , Processed in 0.117105 second(s), 17 queries , MemCache On.

    ICP经营许可证 苏B2-20140176  苏ICP备14012660号-2   苏州灵动帧格网络科技有限公司 版权所有.

    苏公网安备 32059002001037号

    Powered by Discuz! X3.4

    Copyright © 2001-2024, Tencent Cloud.