Ubuntu 18.04.1 LTS 无法更改分辨率

mep*_*ooo 9 display-resolution

我正在使用 Ubuntu 18.04.1 LTS(2 天前从 16 更新)。分辨率很好,但不小心更改为 1024x768 (4:3),每次我尝试更改为 1920x1080(或任何其他尺寸)时,它都不会被接受并返回到 1024x768 (4:3)。

应用更改? 显示设置

选择分辨率

保持更改弹出

尝试了几次,重新启动了电脑,但没有应用任何更改。请帮忙:)

现有决议:

显示 1920x1080 作为最大可用分辨率的终端屏幕截图

小智 3

检查grub 中是否添加了“nomodeset” 。(就像我的例子)

/etc/default/grub

如果是,请将其删除。

保存文件后运行命令

sudo update-grub
Run Code Online (Sandbox Code Playgroud)

并重新启动系统

  • 你能解释一下“nomodeset”的作用吗? (6认同)

小智 0

首先检查您的监视器代码

echo $DISPLAY

检查您的设备代码

sudo lspci |grep -i vga

我通过配置 xorg 解决了这个问题,解决方案是在中创建配置文件/etc/X11/xorg.conf.d/10-monitor.conf

10-monitor.conf 应包含如下配置:

Section "Monitor"

    Identifier  "Monitor0"`
Run Code Online (Sandbox Code Playgroud)

EndSection

Section "Device"

    Identifier  "Device0"`

    Driver      "radeon" 
Run Code Online (Sandbox Code Playgroud)

EndSection

Section "Screen"

    Identifier "Screen0"  #Collapse Monitor and Device section to Screen section
    Device                 "Device0"
    Monitor                "Monitor0"
    SubSection             "Display"
        Depth              16
        Modes              "1920x1080_60.00" #Choose the resolution
EndSubSection
Run Code Online (Sandbox Code Playgroud)

EndSection

祝你好运