[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Два монитора



В Sun, 14 Nov 2010 04:47:07 +0000
James Brown <jbrownfirst@gmail.com> пишет:

> Alexandr Sagadeev wrote:
> >
> > Правильно так, конечно,
> > 
> > Section "ServerLayout"
> >     Identifier     "Default Layout"
> >     Screen      0  "Screen0" 0 0
> >     Screen      1  "Screen1" RightOf "Screen0"
> >     InputDevice    "Generic Keyboard"
> >     InputDevice    "Configured Mouse"
> > EndSection
> 
> Чо-то не работает это, при рестарте gdm выдает failing иксов (см.
> лог).
> 
> > # ll xorg.dual.conf
> > -rw-r--r--. 1 root root 8931 Июл  6  2009 xorg.dual.conf
> > 
> > 
> > 
> > 
> Это надо чтоли отдельный конфиг создавать? А как на него ссылаться в
> основном xorg.conf?

Не работает, потому что конфиг не полностью приведён. Вот кусок моего
xorg.conf, имеющий отношение к dualscreen'у:

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

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Samsung SyncMaster"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "TV-0"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 7600 GT"
    BusID          "PCI:1:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Videocard1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 7600 GT"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "TwinViewXineramaInfoOrder" "CRT-0"
    Option         "metamodes" "CRT: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Videocard1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "TV: nvidia-auto-select +0+0"
EndSection

Но проще всего, как я уже говорил, запустить nvidia-xconfig и
nvidia-settings.


Reply to: