Strona 1 z 1

Konfiguracja xorg na dwa nie zależne monitory

: 06 lis 2010, 23:26
autor: yaroo
Szukałem na forum rozwiązania, znalazłem sporo wokół tematu ale nie udało mi się znaleźć rozwiązania.
System: Ubuntu 10.04
Grafika: Nvidia
Sterownik: wersja 173

Cel: Chciałbym mieć dwa niezależne pulpity obok siebie. każdy powinien mieć swój panel, okna maksymalizować się mają tylko na jednym (aktualnie aktywnym). Drugi powinien być pod prawej stronie pierwszego.

Nie mam pojęcia jak to zrobić: przeprowadziłem masę testów i nic.

Udało mi się dość do takiej sytuacji w pliku xorg.conf Przy takich ustawieniach nie włącza się w ogóle Ubuntu, ale to chyba dobry kierunek. Sam nie wiem.

Mój plik:

Kod: Zaznacz cały

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 "Device"
    Identifier     "DeviceP"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8600M GT"
    Screen          1
EndSection

Section "Device"
    Identifier     "DeviceE"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8600M GT"
    Screen          0
EndSection



Section "Monitor"
    Identifier     "MonitorP"
    VendorName     "Unknown"
    HorizSync       30.0 - 75.0
    VertRefresh     60.0
    Option         "DPMS"
    Device	   "DeviceP"
EndSection

Section "Monitor"
    Identifier     "MonitorE"
    VendorName     "Unknown"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
    Device	   "DeviceE"
EndSection



Section "Screen"
    Identifier     "ScreenP"
    Device         "DeviceP"
    Monitor        "MonitorP"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "TwinViewXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "DFP: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "ScreenE"
    Device         "DeviceE"
    Monitor        "MonitorE"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "CRT: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "ServerFlags"
    Option         "Xinerama" "1"
EndSection

Section "ServerLayout"
    Identifier     "LayoutDefault"
    Screen         "ScreenP"
    Screen         "ScreenE" RightOf "ScreenP"    
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Odp: Konfiguracja xorg na dwa nie zależne monitory

: 07 lis 2010, 05:56
autor: slon666
Wrzucam mój działający... 2 niezależne ekrany z tym że drugi to TV-OUT
Poszperaj, pokombiuj i na pewno się uda ;)

Kod: Zaznacz cały

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 260.19.06  (buildd@palmer)  Mon Oct  4 16:01:38 UTC 2010

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
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"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "QDS"
    HorizSync       30.0 - 75.0
    VertRefresh     60.0
    Option         "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: builtin, VertRefresh source: builtin
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "TV-0"
    HorizSync       28.0 - 55.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

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

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce Go 7600"
    BusID          "PCI:1:0:0"
    Screen          1
    Option         "TVOutFormat" "SVideo"
    Option         "TVStandard"     "PAL-G"
    Option         "ConnectedMonitor"  "Monitor[1]"
EndSection

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

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "TV: 720x480 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Odp: Konfiguracja xorg na dwa nie zależne monitory

: 07 lis 2010, 13:08
autor: yaroo
Dzięki, to jest dokładnie to czego szukałem:

Wystarczało wyrzucić kilka opcji by szło na standardowe wyjście a nie na TV i śmiga.

Może się komuś przyda, mój plik teraz tak wygląda:

Kod: Zaznacz cały

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 260.19.06  (buildd@palmer)  Mon Oct  4 16:01:38 UTC 2010

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
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"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "QDS"
    HorizSync       30.0 - 75.0
    VertRefresh     60.0
    Option         "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: builtin, VertRefresh source: builtin
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "TV-0"
    HorizSync       28.0 - 55.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

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

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

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

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "TV: 720x480 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection