我知道这个问题被问了至少两次,但我下载了64位版本的Ubuntu到我的Raspberry Pi 4。我看了几本教程,但是我找不到任何改变我的屏幕分辨率的方法。它决定将我的决议设定为1824x984 (9:5),我不知道如何解决这个问题。AskUbuntu的聪明人能帮我吗?我有Ubuntu网站的官方版本。我使用lsb_release -a来查找我的版本,它说我使用的是Ubuntu18.04.4LTS。我曾经用过xrandr,但结果很奇怪:
ubuntu@ubuntu:~$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1824 x 984, current 1824 x 984, maximum 1824 x 984
default connected primary 1824x984+0+0 0mm x 0mm
1824x984 0.00*
ubuntu@ubuntu:~$ xrandr --output default --mode 1920x1080
xrandr: cannot find mode 1920x1080我写什么作为显示器?我以前从未使用过Ubuntu,我将非常感谢您的帮助。我甚至不知道如何更改文件/boot/firmware/usrconfig.txt
发布于 2020-05-08 17:00:41
我有这个问题,我就是这样解决的。打开终端窗口并键入
nano /boot/firmware/usercfg.txt (注意,您需要使用sudo运行它,或者使用任何文本编辑器)。然后,可以添加设置来设置显示分辨率。我的看起来是这样的:
# Place "config.txt" changes (dtparam, dtoverlay, disable_overscan, etc.) in
# this file. Please refer to the README file for a description of the variouszn
# configuration files on the boot partition.
[HDMI:0]
hdmi_group=2
hdmi_mode=82
hdmi_drive=2
[HDMI:1]
hdmi_group=2
hdmi_mode=82
hdmi_drive=2注意两个组HDMI:0/1,这是因为RiP4有两个hdmi输出,它们可以单独配置。同时也看到hdmi_group=2指的是电脑显示器,1将用于电视屏幕。hdmi_mode=82是指我的分辨率为1080 p60 is。若要查找与分辨率和比率相对应的模式编号的完整列表,请访问以下位置:
https://www.raspberrypi.org/documentation/configuration/config-txt/video.md
请参阅hdmi_mode部分。
一旦进行了这些更改,就可以重新启动。
发布于 2020-11-28 16:00:42
您可以使用:
% xrandr -q 若要列出要从中选择的可用模式,请执行以下操作。
https://askubuntu.com/questions/1215775
复制相似问题