debian X Xconf 解析 xrandr badmatch

debian X Xconf 解析 xrandr badmatch

最近我最小化安装了debian squeeze(amd64),当我配置我的分辨率时,出现了意想不到的错误,我做了很多搜索,但找不到解决方法。

  1. 安装桌面环境:apt-get update,apt-get install xorg-core xserver-xorg-core gnome-core gdm3
  2. 安装图形网格apt-get install build-essential nvidia-kernel-common linux-headers-$(uname -r)./NVIDIA-Linux-x86_64-304.64.run

上面的步骤似乎一切都在正确的方式。

  1. 设置分辨率:cvt 1440 900, xrandr --newmode xxx,xrandr --addmode VGA-0 xxx

然后我得到了这个错误:

X 失败请求的错误:BadMatch(无效参数属性) 失败请求的主要操作码:153 (RANDR)。失败请求的次要操作码:18 (RRAddOutputMode)。失败请求的序列号:29。输出流中的当前序列号:30。

我不知道你需要什么信息,只列出一些

显卡:nvidia gt630。

显示器:phlips 190cw(1440x900,在 Windows 上运行良好)

xrandr输出

Screen 0: minimum 8 x 8, current 1280 x 1024, maximum 16384 x 16384
DVI-I-0 disconnected (normal left inverted right x axis y axis)
VGA-0 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 338mm x 270mm
   1280x1024      60.0*+   75.0  
   1024x768       75.0     70.1     60.0  
   800x600        75.0     72.2     60.3     56.2  
   640x480        75.0     72.8     59.9  
DVI-I-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
  1440x900_60.00 (0x29f)  106.5MHz
        h: width  1440 start 1528 end 1672 total 1904 skew    0 clock   55.9KHz
        v: height  900 start  903 end  909 total  934           clock   59.9Hz

lshw -c video输出

*-display               
   description: VGA compatible controller
   product: nVidia Corporation
   vendor: nVidia Corporation
   physical id: 0
   bus info: pci@0000:05:00.0
   version: a1
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
   configuration: driver=nvidia latency=0
   resources: irq:16 memory:f6000000-f6ffffff memory:e0000000-efffffff(prefetchable) memory:f0000000-f1ffffff(prefetchable) ioport:d000(size=128) memory:f7000000-f707ffff(prefetchable)

xorg.conf

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       30.0 - 83.0
    VertRefresh     55.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

更新:

我尝试获取 edid: apt-get install read-edid,sudo get-edid | parse-edid

但得到这个错误:

get-edid: get-edid version 2.0.0

    Performing real mode VBE call
    Interrupt 0x10 ax=0x4f00 bx=0x0 cx=0x0
    Function supported
    Call successful

    VBE version 300
    VBE string at 0x11100 "NVIDIA"

VBE/DDC service about to be called
    Report DDC capabilities

    Performing real mode VBE call
    Interrupt 0x10 ax=0x4f15 bx=0x0 cx=0x0
    Function supported
    Call successful

    Monitor and video card combination does not support DDC1 transfers
    Monitor and video card combination does not support DDC2 transfers
    0 seconds per 128 byte EDID block transfer
    Screen is not blanked during DDC transfer

Reading next EDID block

VBE/DDC service about to be called
    Read EDID

    Performing real mode VBE call
    Interrupt 0x10 ax=0x4f15 bx=0x1 cx=0x0
    Function supported
    Call failed

The EDID data should not be trusted as the VBE call failed
Error: output block unchanged

更新

我试图通过使用强制分辨率为1440x900 nvidia-settings,重新启动后,分辨率更改为1440X1024(nvidia-settings在xorg.conf中添加了一行Option "metamodes" "1440x1024 +0+0")。屏幕变得可水平滚动,如下所示:

在此输入图像描述

我还尝试提取edid.bin(通过使用 nvidia-settings)并将Option "CustomEDID" "DFP-1:/etc/X11/edid.bin"at添加Section "Device"到 xorg.conf。感谢这个精彩的帖子Fixing Ugly DVI/HDMI Displays due to EDID bugs on nVidia drivers,但不幸的是它也不起作用。

任何帮助是极大的赞赏。谢谢

相关内容