Xconfig Xrandr不良匹配


16

最近,我最小化安装了操作系统,但是在设置显示器分辨率时遇到了意外错误。这似乎是一个非常老的问题,但是这次还有其他问题(我认为)。

  1. 安装桌面环境:apt-get updateapt-get install xorg-core xserver-xorg-core gnome-core gdm3
  2. 安装图形grivers apt-get install build-essential nvidia-kernel-common linux-headers-$(uname -r)./NVIDIA-Linux-x86_64-304.64.run 以上步骤似乎一切都以正确的方式进行。

  3. 到设定的分辨率:cvt 1440 900xrandr --newmode xxxxrandr --addmode VGA-0 xxx

然后我得到那个错误:

X Error of failed request:  BadMatch (invalid parameter attributes)
Major opcode of failed request:  153 (RANDR).
Minor opcode of failed request:  18 (RRAddOutputMode).
Serial number of failed request:  29.
Current serial number in output stream:  30

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

显卡型号:nvidia gt630。

图形卡的内存大小:512M ddr5。

显示器:phlips 190cw(1440x900,在Windows上效果很好)。这是我在Windows中的设置(我尚未安装监视器驱动程序,Windows只是将其识别为190g6

在此处输入图片说明


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

我TRID要获取EDID: apt-get install read-edidsudo 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"Section "Device"到xorg.conf的。感谢出色的帖子Fixing Ugly DVI/HDMI Displays due to EDID bugs on nVidia drivers,但不幸的是,它也不起作用。


更新: var/log/Xorg.0.log

X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.0.0-1-amd64 x86_64 Debian
Current Operating System: Linux xx 2.6.32-5-amd64 #1 SMP Sun Sep 23 10:07:46 UTC 2012 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32-5-amd64 root=UUID=df3ea9ad-faaf-4918-a213-5a673080e935 ro quiet
Build Date: 29 October 2011  06:58:14PM
xorg-server 2:1.7.7-14 (Julien Cristau <jcristau@debian.org>) 
Current version of pixman: 0.16.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Jan  8 23:09:08 2013
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(==) ServerLayout "Layout0"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Device0"
(**) |-->Input Device "Keyboard0"
(**) |-->Input Device "Mouse0"
(**) Option "Xinerama" "0"
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
Entry deleted from font path.
(WW) `fonts.dir' not found (or not valid) in "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType".
Entry deleted from font path.
(Run 'mkfontdir' on "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType").
(==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins
(==) ModulePath set to "/usr/lib/xorg/modules"
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
(WW) Disabling Keyboard0
(WW) Disabling Mouse0
(II) Loader magic: 0x7c8a40
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 6.0
X.Org XInput driver : 7.0
X.Org Server Extension : 2.0
(++) using VT number 7

(--) PCI:*(0:5:0:0) 10de:0f00:0000:0000 nVidia Corporation rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000d000/128, BIOS @ 0x????????/524288
(II) Open ACPI successful (/var/run/acpid.socket)
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension SELinux
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.0
Module class: X.Org Server Extension
(II) NVIDIA GLX Module  304.64  Tue Oct 30 11:18:32 PDT 2012
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/lib/xorg/modules/extensions/librecord.so
(II) Module record: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.13.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.1.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "nvidia"
(II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.0
Module class: X.Org Video Driver
(II) NVIDIA dlloader X Driver  304.64  Tue Oct 30 10:59:51 PDT 2012
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(II) Primary Device is: PCI 05@00:00:0
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/xorg/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "wfb"
(II) LoadModule: "wfb"
(II) Loading /usr/lib/xorg/modules/libwfb.so
(II) Module wfb: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Module "ramdac" already built-in
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(0): Option "CustomEDID" "DFP-0:/home/teifi/edid.bin"
(**) Jan 08 23:09:09 NVIDIA(0): Enabling 2D acceleration
(II) Jan 08 23:09:10 NVIDIA(GPU-0): Display (Philips 190G6 (CRT-1)) does not support NVIDIA 3D
(II) Jan 08 23:09:10 NVIDIA(GPU-0):     Vision stereo.
(II) Jan 08 23:09:10 NVIDIA(0): NVIDIA GPU GeForce GT 630 (GF108) at PCI:5:0:0 (GPU-0)
(--) Jan 08 23:09:10 NVIDIA(0): Memory: 1048576 kBytes
(--) Jan 08 23:09:10 NVIDIA(0): VideoBIOS: 70.08.aa.00.00
(II) Jan 08 23:09:10 NVIDIA(0): Detected PCI Express Link width: 16X
(--) Jan 08 23:09:10 NVIDIA(0): Interlaced video modes are supported on this GPU
(--) Jan 08 23:09:10 NVIDIA(0): Valid display device(s) on GeForce GT 630 at PCI:5:0:0
(--) Jan 08 23:09:10 NVIDIA(0):     CRT-0
(--) Jan 08 23:09:10 NVIDIA(0):     Philips 190G6 (CRT-1) (connected)
(--) Jan 08 23:09:10 NVIDIA(0):     DFP-0
(--) Jan 08 23:09:10 NVIDIA(0):     DFP-1
(--) Jan 08 23:09:10 NVIDIA(0): CRT-0: 400.0 MHz maximum pixel clock
(--) Jan 08 23:09:10 NVIDIA(0): Philips 190G6 (CRT-1): 480.0 MHz maximum pixel clock
(--) Jan 08 23:09:10 NVIDIA(0): DFP-0: 330.0 MHz maximum pixel clock
(--) Jan 08 23:09:10 NVIDIA(0): DFP-0: Internal Single Link TMDS
(--) Jan 08 23:09:10 NVIDIA(0): DFP-1: 165.0 MHz maximum pixel clock
(--) Jan 08 23:09:10 NVIDIA(0): DFP-1: Internal Single Link TMDS
(**) Jan 08 23:09:10 NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
(**) Jan 08 23:09:10 NVIDIA(0):     device Philips 190G6 (CRT-1) (Using EDID frequencies has
(**) Jan 08 23:09:10 NVIDIA(0):     been enabled on all display devices.)
(WW) Jan 08 23:09:10 NVIDIA(0): No valid modes for "CRT-1:1440x900"; removing.
(WW) Jan 08 23:09:10 NVIDIA(0): No valid modes for "CRT-1:1280x800"; removing.
(II) Jan 08 23:09:10 NVIDIA(0): Validated MetaModes:
(II) Jan 08 23:09:10 NVIDIA(0):     "CRT-1:1024x768"
(II) Jan 08 23:09:10 NVIDIA(0):     "CRT-1:800x600"
(II) Jan 08 23:09:10 NVIDIA(0): Virtual screen size determined to be 1024 x 768
(--) Jan 08 23:09:10 NVIDIA(0): DPI set to (68, 65); computed from "UseEdidDpi" X config
(--) Jan 08 23:09:10 NVIDIA(0):     option
(--) Depth 24 pixmap format is 32 bpp
(II) Jan 08 23:09:10 NVIDIA: Using 3072.00 MB of virtual memory for indirect memory
(II) Jan 08 23:09:10 NVIDIA:     access.
(II) Jan 08 23:09:10 NVIDIA(0): Setting mode "CRT-1:1024x768"
(II) Loading extension NV-GLX
(==) NVIDIA(0): Disabling shared memory pixmaps
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(==) NVIDIA(0): DPMS enabled
(II) Loading extension NV-CONTROL
(II) Loading extension XINERAMA
(WW) NVIDIA(0): Option "TwinView" is not used
(--) RandR disabled
(II) Initializing built-in extension Generic Event Extension
(II) Initializing built-in extension SHAPE
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension BIG-REQUESTS
(II) Initializing built-in extension SYNC
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-MISC
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
SELinux: Disabled on system, not enabling in X server
(II) Initializing extension GLX
(II) config/udev: Adding input device Power Button (/dev/input/event4)
(**) Power Button: Applying InputClass "evdev keyboard catchall"
(II) LoadModule: "evdev"
(II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
compiled for 1.7.6.901, module version = 2.3.2
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 7.0
(**) Power Button: always reports core events
(**) Power Button: Device: "/dev/input/event4"
(II) Power Button: Found keys
(II) Power Button: Configuring as keyboard
(II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc105"
(**) Option "xkb_layout" "us"
(II) config/udev: Adding input device Power Button (/dev/input/event3)
(**) Power Button: Applying InputClass "evdev keyboard catchall"
(**) Power Button: always reports core events
(**) Power Button: Device: "/dev/input/event3"
(II) Power Button: Found keys
(II) Power Button: Configuring as keyboard
(II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc105"
(**) Option "xkb_layout" "us"
(II) config/udev: Adding input device USB Optical Mouse (/dev/input/event2)
(**) USB Optical Mouse: Applying InputClass "evdev pointer catchall"
(**) USB Optical Mouse: always reports core events
(**) USB Optical Mouse: Device: "/dev/input/event2"
(II) USB Optical Mouse: Found 3 mouse buttons
(II) USB Optical Mouse: Found scroll wheel(s)
(II) USB Optical Mouse: Found relative axes
(II) USB Optical Mouse: Found x and y relative axes
(II) USB Optical Mouse: Configuring as mouse
(**) USB Optical Mouse: YAxisMapping: buttons 4 and 5
(**) USB Optical Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "USB Optical Mouse" (type: MOUSE)
(II) USB Optical Mouse: initialized for relative axes.
(II) config/udev: Adding input device USB Optical Mouse (/dev/input/mouse1)
(II) No input driver/identifier specified (ignoring)
(II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event1)
(**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
(**) AT Translated Set 2 keyboard: always reports core events
(**) AT Translated Set 2 keyboard: Device: "/dev/input/event1"
(II) AT Translated Set 2 keyboard: Found keys
(II) AT Translated Set 2 keyboard: Configuring as keyboard
(II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc105"
(**) Option "xkb_layout" "us"
(II) config/udev: Adding input device PC Speaker (/dev/input/event5)
(II) No input driver/identifier specified (ignoring)
(II) config/udev: Adding input device Macintosh mouse button emulation (/dev/input/event0)
(**) Macintosh mouse button emulation: Applying InputClass "evdev pointer catchall"
(**) Macintosh mouse button emulation: always reports core events
(**) Macintosh mouse button emulation: Device: "/dev/input/event0"
(II) Macintosh mouse button emulation: Found 3 mouse buttons
(II) Macintosh mouse button emulation: Found relative axes
(II) Macintosh mouse button emulation: Found x and y relative axes
(II) Macintosh mouse button emulation: Configuring as mouse
(**) Macintosh mouse button emulation: YAxisMapping: buttons 4 and 5
(**) Macintosh mouse button emulation: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "Macintosh mouse button emulation" (type: MOUSE)
(II) Macintosh mouse button emulation: initialized for relative axes.
(II) config/udev: Adding input device Macintosh mouse button emulation (/dev/input/mouse0)
(II) No input driver/identifier specified (ignoring)
(II) Jan 08 23:09:12 NVIDIA(GPU-0): Display (Philips 190G6 (CRT-1)) does not support NVIDIA 3D
(II) Jan 08 23:09:12 NVIDIA(GPU-0):     Vision stereo.
(**) Jan 08 23:09:12 NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
(**) Jan 08 23:09:12 NVIDIA(0):     device Philips 190G6 (CRT-1) (Using EDID frequencies has
(**) Jan 08 23:09:12 NVIDIA(0):     been enabled on all display devices.)
(II) Jan 08 23:09:12 NVIDIA(GPU-0): Display (Philips 190G6 (CRT-1)) does not support NVIDIA 3D
(II) Jan 08 23:09:12 NVIDIA(GPU-0):     Vision stereo.
(**) Jan 08 23:09:12 NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
(**) Jan 08 23:09:12 NVIDIA(0):     device Philips 190G6 (CRT-1) (Using EDID frequencies has
(**) Jan 08 23:09:12 NVIDIA(0):     been enabled on all display devices.)
(II) Jan 08 23:09:12 NVIDIA(GPU-0): Display (Philips 190G6 (CRT-1)) does not support NVIDIA 3D
(II) Jan 08 23:09:12 NVIDIA(GPU-0):     Vision stereo.
(**) Jan 08 23:09:12 NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
(**) Jan 08 23:09:12 NVIDIA(0):     device Philips 190G6 (CRT-1) (Using EDID frequencies has
(**) Jan 08 23:09:12 NVIDIA(0):     been enabled on all display devices.)
(II) Jan 08 23:09:59 NVIDIA(GPU-0): Display (Philips 190G6 (CRT-1)) does not support NVIDIA 3D
(II) Jan 08 23:09:59 NVIDIA(GPU-0):     Vision stereo.
(**) Jan 08 23:09:59 NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
(**) Jan 08 23:09:59 NVIDIA(0):     device Philips 190G6 (CRT-1) (Using EDID frequencies has
(**) Jan 08 23:09:59 NVIDIA(0):     been enabled on all display devices.)
(II) Jan 08 23:10:00 NVIDIA(GPU-0): Display (Philips 190G6 (CRT-1)) does not support NVIDIA 3D
(II) Jan 08 23:10:00 NVIDIA(GPU-0):     Vision stereo.
(**) Jan 08 23:10:00 NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
(**) Jan 08 23:10:00 NVIDIA(0):     device Philips 190G6 (CRT-1) (Using EDID frequencies has
(**) Jan 08 23:10:00 NVIDIA(0):     been enabled on all display devices.)
(II) Jan 08 23:10:00 NVIDIA(GPU-0): Display (Philips 190G6 (CRT-1)) does not support NVIDIA 3D
(II) Jan 08 23:10:00 NVIDIA(GPU-0):     Vision stereo.
(**) Jan 08 23:10:00 NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
(**) Jan 08 23:10:00 NVIDIA(0):     device Philips 190G6 (CRT-1) (Using EDID frequencies has
(**) Jan 08 23:10:00 NVIDIA(0):     been enabled on all display devices.)
(II) Jan 08 23:10:00 NVIDIA(0): Setting mode "VGA-0: nvidia-auto-select @1280x1024 +0+0"
(II) Jan 08 23:10:01 NVIDIA(GPU-0): Display (Philips 190G6 (CRT-1)) does not support NVIDIA 3D
(II) Jan 08 23:10:01 NVIDIA(GPU-0):     Vision stereo.
(**) Jan 08 23:10:01 NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
(**) Jan 08 23:10:01 NVIDIA(0):     device Philips 190G6 (CRT-1) (Using EDID frequencies has
(**) Jan 08 23:10:01 NVIDIA(0):     been enabled on all display devices.)

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


1
我不敢相信am可以在Windows中将分辨率强制为1440X900,但是linux不能。对不起,英语不好。
Teifi

(1)您的视频卡型号是什么,它有多少内存?(2)在Windows中执行1440x900时,您使用的是24位彩色还是16位?
John Siu

@John Siu 回复晚了非常抱歉。更新了问题。(1)它是具有512M ddr5内存的gt630。(2)在windos中使用32位彩色。
Teifi

发布您的/var/log/Xorg.0.log,因为它很长,请使用pastebin.com。
John Siu

@John Siu无法打开pastebin.com,所以我更新了问题。
Teifi

Answers:


11

我遇到了“ BadMatch”问题:

 X Error of failed request:  BadMatch (invalid parameter attributes)
   Major opcode of failed request:  140 (RANDR)
   Minor opcode of failed request:  18 (RRAddOutputMode)
   Serial number of failed request:  27
   Current serial number in output stream:  28

并通过xorg.conf手动编辑解决了。在此监视器部分中添加或更正此行:

HorizSync  30-82
VertRefresh  56-76

保存,重新启动并确认。分辨率还可以。我以为那是问题所在,因为我使用了D-sub转DVI适配器。显示器有一个D-Sub连接器,而卡是DVI。问题只存在于开源nVidia驱动程序上。Nouveau还可以。


这对我有用(VGA over DVI-I转换器),但是当将显示器设置为1680x1050(使用x服务器强制分辨率)时,它将屏幕向右移动了约300px。我通过将刷新率重新设置为60hz来解决此问题(我认为x服务器在更改分辨率时会自动设置为75hz)。
爱德华

1
如何解决OP报告的错误?对于我的情况,我需要使用他的过程并使“ --addmode”行不出错。
JosephK

1
这对我没有影响,更改HorizSync和VertRefesh之后仍然发生错误。
garrettlynch,

你救了我的一天!我一直在网上搜索和寻找解决方案,直到应用您的解决方案为止!我什至想过要恢复到窗户。上帝祝福你!:)
尼克,

2

方法1-清除xorg.conf

尝试删除/etc/X11/xorg.conf,重新启动x窗口,然后尝试再次使用nvidia-settings设置分辨率。通常,自动检测可与DVI电缆完美配合。但是我无法在线找到显示器规格,因此不确定它是否具有DVI接口。

方法2-xorg.org模式行

尝试在“ 屏幕”部分添加“ 模式”

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
        Modes    "1440x900" "1280x800" "1024x768" "800x600"
    EndSubSection
EndSection

额外

更新X Window和Nvidia驱动程序

您的版本

X Window version

X.Org X Server 1.7.7
Release Date: 2010-05-04

(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 6.0
X.Org XInput driver : 7.0
X.Org Server Extension : 2.0

Ubuntu 12.04

X.Org X Server 1.11.3
Release Date: 2011-12-16

[ 79635.469] (II) Module ABI versions:
[ 79635.469]     X.Org ANSI C Emulation: 0.4
[ 79635.469]     X.Org Video Driver: 11.0
[ 79635.469]     X.Org XInput driver : 16.0
[ 79635.469]     X.Org Server Extension : 6.0

目前的Nvidia驱动程序在这里

xorg.conf监视部分(

Section "Monitor"
    Identifier "monitor0"
    VendorName "Plug'n Play"
    ModelName "Philips 190CW"
    HorizSync 30-83
    VertRefresh 55-75

    # Monitor preferred modeline (59.9 Hz vsync, 55.9 kHz hsync, ratio 16/10, 91 dpi)
    ModeLine "1440x900" 106.5 1440 1520 1672 1904 900 903 909 934 +hsync -vsync

    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630

    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616

    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1440x900_120"  229.75  1440 1552 1712 1984  900 901 904 965  -HSync +Vsync

    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1440x900_100"  187.55  1440 1544 1704 1968  900 901 904 953  -HSync +Vsync

    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1440x900_85"  156.79  1440 1536 1696 1952  900 901 904 945  -HSync +Vsync

    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1440x900_75"  136.49  1440 1536 1688 1936  900 901 904 940  -HSync +Vsync

    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1440x900_60"  106.47  1440 1520 1672 1904  900 901 904 932  -HSync +Vsync

    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1440x900_50"  87.41  1440 1512 1664 1888  900 901 904 926  -HSync +Vsync

    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_120"  181.21  1280 1376 1520 1760  800 801 804 858  -HSync +Vsync

    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_100"  147.89  1280 1376 1512 1744  800 801 804 848  -HSync +Vsync

    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_85"  123.38  1280 1368 1504 1728  800 801 804 840  -HSync +Vsync

    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_75"  107.21  1280 1360 1496 1712  800 801 804 835  -HSync +Vsync

    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_60"  83.46  1280 1344 1480 1680  800 801 804 828  -HSync +Vsync

    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_50"  68.56  1280 1336 1472 1664  800 801 804 824  -HSync +Vsync
EndSection

我刚刚进行了测试,但是方法1和2对我不起作用...坏消息是该显示器也没有DVI电缆..请问,还有其他方法可以配置分辨率吗?我ing着头发,感到沮丧……
Teifi

我会尝试的,不是现在,而是下班后。希望它对我来说很好,如果是这样,那么赏金就是您的:)
Teifi

您有一个新的内核3.x但又有一个旧的X11软件包,这有点奇怪。也许您可以考虑apt-get update; apt-get dist-upgrade刷新所有软件包。
John Siu 2013年

2
我卖掉了显示器,买了一台新显示器,并获得了正确的分辨率……
Teifi

1
o ... k ...很好的解决方案,大声笑

0

我已经在我的Xorg.conf文件中添加了选项“ ModeValidation”“ NoDFPNativeResolutionCheck,NoVirtualSizeCheck,NoMaxPClkCheck,NoHorizSyncCheck,NoVertRefreshCheck,NoWidthAlignmentCheck”。

对我来说很好。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.