2015-03-02 81 views
0

無法將分辨率更改爲1920x1080我被卡住了,而且我稍微降低了一點,爲1360x768。Xrandr debian黑色屏幕更改分辨率時

在nvidia-settings中開始,我只有選擇1920×1080,加入後:選項「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" 

但是再次沒有改變,在我偷我侄女的魔杖之前,你有沒有辦法解決?

Attachement:

$ 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 ([email protected]) Wed Apr 3 08:58:25 UTC 2013 

# nvidia-xconfig: X configuration file generated by nvidia-xconfig 
# nvidia-xconfig: version 304.48 ([email protected]) 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 

感謝

+0

這是主題,請參閱[help/on-topic]。嘗試詢問http://unix.stackexchange.com/或[su] – Martin 2015-03-02 14:06:57

+0

好的,謝謝Martin,我張貼在unix.stackexchange上 – Adandev 2015-03-02 14:21:48

回答

0

我覺得的Xorg不工作prope或者沒有安裝在你的系統中,因爲你正在使用專有的nvidia驅動程序。

我剛剛有同樣的問題。如果您有備份,可以使用備份替換/etc/X11/xorg.conf。

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

否則,你可以刪除它的所有內容,它會正常工作。