RaspberryPi更改屏幕分辨率

在RPi上安装了Ubuntu Mate,用VNC远程控制,发现分辨率低的要死....还不能改

借来HDMI显示器接上就正常了......然而总不能一直插着个显示器啊【而且又不是我的显示器

 

试着用xandr和cvr手动添加分辨率.....然而失败

后来Google到了一个大神的解决方案:

//Source:https://www.raspberrypi.org/forums/viewtopic.php?t=8081&p=97803

I'm getting a similar issue now running this with my 3.5 inch screen over the composite connection. 
This was working last night with no problems and all I have done today is modify the fstab file (then backed the changes out) to try and access files on a USB stick.
It's driving me nuts as the pi is stating no displays found when attempting to run Xorg -configure or to run startx. 
Plus, I just managed to force the output to the hdmi in the config.txt so will need to get home to plug it into the tv to fix... :)
K.

 

RPi的显示是由/boot/config.txt控制的。

因为插上HDMI显示器之后是正常的,如果修改这个文件使其强制通过HDMI视频口输出不就OK啦

 

Config.txt 文件定义参考这里:http://elinux.org/RPiconfig#Video

修改如下几处:【注意先去掉原文件中语句前面的#

hdmi_force_hotplug=1
hdmi_group=2   
hdmi_mode=16

 

保存重启即可~

 

你可能感兴趣的:(RaspberryPi更改屏幕分辨率)