可用的最大分辨率是 1024x768,而我应该是 1280x1024

Zol*_* O. 4 resolution intel-graphics 11.10

我可以选择的最大分辨率是 1024x768。我该怎么做才能拥有 1280x1024(显示器的最大分辨率)选项?

我的配置:

  • 一台西门子品牌电脑
  • Ubuntu 11.10 Oneiric Ocelot
  • 通过模拟 (D-Sub) 连接的三星 SyncMater 913n TFT 显示器
  • 显卡报告为(lspci):

    00:02.0 VGA compatible controller [0300]: Intel Corporation 82865G Integrated 
            Graphics Controller [8086:2572] (rev 02)
    
    Run Code Online (Sandbox Code Playgroud)

    lshw

    *-display
        description: VGA compatible controller
        product: 82865G Integrated Graphics Controller vendor: Intel Corporation
        physical id: 2
        bus info: pci@0000:00:02.0
        version: 02
        width: 32 bits
        clock: 33MHz
        capabilities: pm vga_controller bus_master cap_list rom
        configuration: driver=i915 latency=0
        resources: irq:16 memory:f0000000-f7ffffff memory:e0000000-e007ffff ioport:1000(size=8)
    
    Run Code Online (Sandbox Code Playgroud)

ger*_*ijk 5

您似乎遇到了硬件错误的特定组合。它已经被报告为LP Bug #783165,我认为这是由显示器的 EDID 中的一些奇怪的东西引起的,它使i915驱动程序感到困惑。确保您在该错误报告中将自己标记为受影响,如果您愿意,请订阅更新,并随时在错误报告中发布可行的解决方法。这对于遇到相同问题并点击错误报告而不是此处的问答的任何其他人可能很有用。

解决方法

这种解决方法我发现在chrisnewland.com

使用xrandr命令获取检测到的模式

chriswhocodes@debian:~$ xrandr  Screen 0: minimum 320 x 200, current
1024 x 768, maximum 4096 x 4096  VGA-0 connected 1024x768+0+0 (normal
left inverted right x axis y axis) 0mm x 0mm    1360x768       59.8   
1024x768       60.0*    800x600        60.3     56.2      848x480     
60.0      640x480        59.9     59.9   
Run Code Online (Sandbox Code Playgroud)

请注意屏幕的名称,这里是 VGA-0,但您的可能有所不同

使用cvt命令获取Modeline所需分辨率的字符串 (1280x1024)

chriswhocodes@debian:~$ cvt 1280 1024 
# 1280x1024 59.89 Hz (CVT 1.31M4) hsync: 63.67 kHz; pclk: 109.00 MHz  Modeline "1280x1024_60.00"  109.00  1280 1368 1496 1712  1024 1027
1034 1063 -hsync +vsync 
Run Code Online (Sandbox Code Playgroud)

现在将 Modeline 之后的所有内容复制到 xrandr --newmode 命令中

chriswhocodes@debian:~$ xrandr --newmode "1280x1024_60.00"  109.00 
1280 1368 1496 1712  1024 1027 1034 1063 -hsync +vsync 
Run Code Online (Sandbox Code Playgroud)

现在将模式添加到您的屏幕

chriswhocodes@debian:~$ xrandr --addmode VGA-0 1280x1024_60.00 
Run Code Online (Sandbox Code Playgroud)

现在更改为新分辨率

chriswhocodes@debian:~$ xrandr --output VGA-0 --mode 1280x1024_60.00 
Run Code Online (Sandbox Code Playgroud)

您现在应该以 1280x1024 运行,但您需要下一步使其永久化

从这里发布的解决方法似乎已过时。请参阅有关如何使其永久化的答案