0

无法将 wheezy 的分辨率更改为 1920x1080 我被卡住了,我会稍微降低为 1360x768。

在 nvidia-settings 开始时,我只能选择 1920x1080,然后添加:选项“ModeValidation”“AllowNonEdidModes”在我的 xorg.conf 中列出了所有分辨率,但当我想更改时出现黑屏...

当我改变时,xrandr 也有同样的问题:

xrandr --output LVDS-0 --mode 1360x768 --rate 60 ==> black screen

我测试了很多解决方案,但没有任何反应,现在我认为问题出在 edid 和 kms 上;我从 nvidia-settings 获得了文件 edid.bin 并尝试添加我的 grub 默认值。

GRUB_CMDLINE_LINUX_DEFAULT="quiet drm_kms_helper.edid_firmware=edid/edid.bin"

OR 

GRUB_CMDLINE_LINUX_DEFAULT="quiet nomodeset nouveau.modeset=0"

但是还是没有改变,在我偷走我侄女的魔杖之前你有办法吗?

附件:

$ xrandr

Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 16384 x 16384
VGA-0 disconnected (normal left inverted right x axis y axis)
LVDS-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 382mm x 215mm
   1920x1080      60.0*+   59.9     40.0  
   1680x1050      59.9  
   1440x900       59.9  
   1400x1050      60.0  
   1360x768       60.0     59.8  
   1280x1024      60.0  
   1280x960       60.0  
   1152x864       60.0  
   1024x768       60.0  
   ...
DP-0 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)

$ 猫 /etc/X11/xorg.conf

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 304.88  (pbuilder@cake)  Wed Apr  3 08:58:25 UTC 2013

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 304.48  (pbuilder@cake)  Wed Sep 12 10:54:51 UTC 2012

    Section "ServerLayout"
        Identifier     "Default Layout"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Configured Mouse"
        Option         "Xinerama" "0"
    EndSection

    Section "InputDevice"

        # generated from default
        Identifier     "Keyboard0"
        Driver         "keyboard"
    EndSection

    Section "InputDevice"
        Identifier     "Configured Mouse"
        Driver         "mouse"
        Option         "Name" "Razer Razer Diamondback 3G"
        Option         "CorePointer"
        Option         "Device" "/dev/input/mice"
        Option         "Protocol" "ExplorerPS/2"
        Option         "Buttons" "9"
        Option         "Resolution" "1800"
        Option         "ZAxisMapping" "4 5"
    EndSection

    Section "Monitor"
        Identifier     "Monitor0"
        VendorName     "Unknown"
        ModelName      "Chi Mei Optoelectronics corp."
        HorizSync       44.0 - 67.0
        VertRefresh     40.0 - 60.0
        Option         "DPMS"
    EndSection

    Section "Device"
        Identifier     "Video Card"
        Driver         "nvidia"
    EndSection

    Section "Device"
        Identifier     "Device0"
        Driver         "nvidia"
        VendorName     "NVIDIA Corporation"
        BoardName      "GeForce GTX 670M"
        Option         "NoLogo" "on"
        Option         "ModeValidation" "AllowNonEdidModes"
    EndSection

    Section "Screen"
        Identifier     "Default Screen"
        Device         "Video Card"
        Monitor        "Monitor0"
        Option         "NoLogo" "1"
        Option         "RenderAccel" "1"
        SubSection     "Display"
            Modes      "nvidia-auto-select"
        EndSubSection
    EndSection

    Section "Screen"
        Identifier     "Screen0"
        Device         "Device0"
        Monitor        "Monitor0"
        DefaultDepth    24
        Option         "Stereo" "0"
        Option         "nvidiaXineramaInfoOrder" "DFP-0"
        Option         "metamodes" "nvidia-auto-select +0+0"
        SubSection     "Display"
            Depth       24
        EndSubSection
    EndSection

谢谢

4

1 回答 1

1

我认为Xorg无法正常工作或未安装在您的系统中,因为您使用的是专有的 nvidia 驱动程序。

我只是有同样的问题。如果你有一个备份,你可以用一个备份替换 /etc/X11/xorg.conf。

sudo cp /etc/X11/xorg.conf.bck /etc/X11/xorg.conf

否则,您可以删除其所有内容,它会正常工作。

于 2017-10-14T13:28:40.073 回答