树莓派3-HDMI转VGA转换器黑屏解决方法

2021-12-196786
AI 快速预览详细 收起
本文提供了解决树莓派3通过HDMI转VGA连接显示器时出现黑屏问题的方法。首先,需要设置config.txt文件,修改hdmi_group和hdmi_mode选项以强制VGA模式。具体步骤包括备份config.txt文件,然后添加或修改相关配置项。设置完成后,重新启动树莓派3即可恢复正常显示。此方法解决了HDMI转VGA连接时的黑屏问题,节省了用户自行排查的时间成本。
黑屏说明
  • 显示器只有VGA接口,要将树莓派连接到显示器上,必须使用HDMI装VGA转换器
  • 在实际使用中,发现用HDMI转VGA方式连接显示器,显示器会出现黑屏的现象


配置准备
  • 树莓派3开发板
  • 安装Raspbian系统
  • VGA显示器
  • HDMI-VGA转换器


配置步骤
1. 设置config.txt, 参考设置config.txt, 建议修改前先做备份。
2. 复制或修改为如下的选项
  1. disable_overscan=1
  2. hdmi_force_hotplug=1
  3. #uncomment to force a specific HDMI mode (this will force VGA)
  4. hdmi_group=2
  5. hdmi_mode=35
  6. hdmi_ignore_edid=0xa5000080
  7. # uncomment to force a HDMI mode rather than DVI. This can make audio work in
  8. # DMT (computer monitor) modes
  9. hdmi_drive=2
  10. # uncomment to increase signal to HDMI, if you have interference, blanking, or
  11. # no display
  12. config_hdmi_boost=4
  13. # uncomment for composite PAL
  14. #sdtv_mode=2
  15. # Uncomment some or all of these to enable the optional hardware interfaces
  16. dtparam=i2c_arm=on
  17. #dtparam=i2s=on
  18. dtparam=spi=on
  19. # Uncomment this to enable the lirc-rpi module
  20. dtoverlay=lirc-rpi
  21. # Enable audio (loads snd_bcm2835)
  22. dtparam=audio=on
  23. enable_uart=1
  24. dtoverlay=w1-gpio
复制代码

3. 如何设置hdmi_group和hdmi_mode,参考设置分辨率
4. 设置完成,重新启动即可正常显示。

创作许可协议

本项目采用 None(不开放任何权利,保留所有权利) 进行许可。

评论(1)
Kiwi2021
Kiwi2021
在实际使用中,发现用HDMI转VGA方式连接显示器,显示器会出现黑屏的现象
[极速赛车]https://1686990.com/view/jisusaiche/pk10kai.html
- 没有更多了 -