Ubuntu 20.04 . 屏幕在 tty/控制台模式下超出显示器范围

Ubuntu 20.04 . 屏幕在 tty/控制台模式下超出显示器范围

升级到 20.04 后,默认分辨率 1920x1080 使屏幕窗口超出了我的显示器,我可以在图形模式下切换到较低的分辨率(1680x1050 对我来说很好),但无法弄清楚如何在 tty(或控制台)模式以及恢复控制台中更改分辨率或屏幕尺寸。我尝试在 /etc/default/grub 中使用

GRUB_GFXMODE=1280x1024

行,但即使分辨率较低,控制台窗口在水平和垂直方向上也超出了显示器的范围。连接到另一个较小的显示器时,我没有观察到该问题。尝试通过 sudo dpkg-reconfigure console-setup 更改字体,也无法解决问题。还有什么建议我应该研究什么吗?

它是一款有点老旧的台式机,但仍然能够很好地完成其任务。视频汽车是英特尔的。通过 HDMI 连接到显示器

lshw 命令的图形输出

sudo lshw -c video
  *-display                 
       description: VGA compatible controller
       product: Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 09
       width: 64 bits
       clock: 33MHz
       capabilities: msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:33 memory:f7800000-f7bfffff memory:e0000000-efffffff ioport:f000(size=64) memory:c0000-dffff

图形的 hwinfo 命令输出

sudo hwinfo --framebuffer
02: None 00.0: 11001 VESA Framebuffer                           
  [Created at bios.459]
  Unique ID: rdCR.QgFYtsmQZBC
  Hardware Class: framebuffer
  Model: "Intel(R) Sandybridge/Ivybridge Graphics Controller"
  Vendor: "Intel Corporation"
  Device: "Intel(R) Sandybridge/Ivybridge Graphics Controller"
  SubVendor: "Intel(R) Sandybridge/Ivybridge Graphics Chipset Accelerated VGA BIOS"
  SubDevice: 
  Revision: "Hardware Version 0.0"
  Memory Size: 255 MB + 960 kB
  Memory Range: 0x00000000-0x0ffeffff (rw)
  Mode 0x033c: 1920x1440 (+1920), 8 bits
  Mode 0x034d: 1920x1440 (+3840), 16 bits
  Mode 0x035c: 1920x1440 (+7680), 24 bits
  Mode 0x033a: 1600x1200 (+1600), 8 bits
  Mode 0x034b: 1600x1200 (+3200), 16 bits
  Mode 0x035a: 1600x1200 (+6400), 24 bits
  Mode 0x0307: 1280x1024 (+1280), 8 bits
  Mode 0x031a: 1280x1024 (+2560), 16 bits
  Mode 0x031b: 1280x1024 (+5120), 24 bits
  Mode 0x0305: 1024x768 (+1024), 8 bits
  Mode 0x0317: 1024x768 (+2048), 16 bits
  Mode 0x0318: 1024x768 (+4096), 24 bits
  Mode 0x0312: 640x480 (+2560), 24 bits
  Mode 0x0314: 800x600 (+1600), 16 bits
  Mode 0x0315: 800x600 (+3200), 24 bits
  Mode 0x0301: 640x480 (+640), 8 bits
  Mode 0x0303: 800x600 (+832), 8 bits
  Mode 0x0311: 640x480 (+1280), 16 bits
  Mode 0x037d: 0x0 (+0), 8 bits
  Mode 0x037e: 0x0 (+0), 16 bits
  Mode 0x037f: 0x0 (+0), 24 bits
  Config Status: cfg=new, avail=yes, need=no, active=unknown

相关内容