Newsgroup: it.comp.os.linux.iniziare
Titolo: Dual monitor

Ciao a tutti.. Ho una matrox G50 dual head...
Avendo recuperato un secondo monitor volevo usarlo come estensione del
primo...
Dopo aver googolato ho provato e riprovato varie configurazioni, ma sono
solo riuscito ad ottenere un funzionamento di due monitor con la stessa
porzione di desktop, non uno l'estensione dell'altra..
Allego conf. di Xfree alla versione 4.3.0.1
Section "Files"
        FontPath        "/usr/lib/X11/fonts/misc"
        FontPath        "/usr/lib/X11/fonts/cyrillic"
        FontPath        "/usr/lib/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/Type1"
        FontPath        "/usr/lib/X11/fonts/CID"
        FontPath        "/usr/lib/X11/fonts/Speedo"
        FontPath        "/usr/lib/X11/fonts/100dpi"
        FontPath        "/usr/lib/X11/fonts/75dpi"
EndSection
Section "Module"
        Load    "GLcore"
        Load    "bitmap"
        Load    "dbe"
        Load    "ddc"
        Load    "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "record"
        Load    "speedo"
        Load    "type1"
        Load    "vbe"
EndSection
Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "keyboard"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xfree86"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "it"
EndSection
Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ImPS/2"
        Option          "Emulate3Buttons"       "true"
        Option          "ZAxisMapping"          "4 5"
EndSection
Section "Device"
        Identifier      "Matrox1"
        Driver          "mga"
        BusID           "PCI:1:0:0"
EndSection
Section "Device"
        Identifier      "Matrox2"
        Driver          "mga"
        BusID           "PCI:1:0:0"
EndSection
Section "Monitor"
        Identifier      "Samsung"
        HorizSync       30-71
        VertRefresh     50-160
EndSection
Section "Monitor"
        Identifier      "Amaga"
        HorizSync       30-56
        VertRefresh     50-130
EndSection
Section "Screen"
        Identifier      "Screen1"
        Device          "Matrox1"
        Monitor         "Samsung"
        DefaultDepth    24
 
	SubSection "Display"
                Depth           24
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
EndSection
Section "Screen"
        Identifier      "Screen2"
        Device          "Matrox2"
        Monitor         "Amaga"
        DefaultDepth    24
	SubSection "Display"
                Depth           24
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
EndSection
Section "ServerLayout"
        Identifier      "Layout"
        Screen          "Screen2"
        Screen          "Screen1" RightOf "Screen2"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
EndSection
Section "ServerFlags"
        Option "Xinerama" "true"
EndSection

 Ciao a tutti.. Ho una matrox G50 dual head...
G450 ovvio...
Ciao

Credo ti manchi nella sezione "Device" a quale screen ti riferisci..
di aggiungo il mio XF86Config, usato con una G450 senza xinerama
Bye,
Raktzo
# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************
Section "Files"
    FontPath "unix/:-1"
EndSection
Section "ServerFlags"
    AllowMouseOpenFail 
EndSection
Section "Module"
    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx" # 3D layer
    Load "dri" # direct rendering
EndSection
Section "DRI"
    Mode 0666
EndSection
Section "InputDevice"
    Identifier "Keyboard1"
    Driver "Keyboard"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "it"
    Option "XkbOptions" ""
EndSection
Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "IMPS/2"
    Option "Device" "/dev/mouse"
    Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
    Identifier "monitor1"
    VendorName "Sony"
    ModelName "Sony GDM-400PS/400PST/19PS"
    HorizSync 30.0-95.0
    VertRefresh 48.0-160.0
 
    ModeLine "1024x480"    65.00 1024 1032 1176 1344   480  488  494  563
-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
EndSection
Section "Monitor"
    Identifier "monitor2"
    VendorName "Generic"
    ModelName "Flat Panel 1024x768"
    HorizSync 31.5-48.5
    VertRefresh 40-70
 
    # Sony Vaio C1(X,XS,VE,VN)?
    # 1024x480 @ 85.6 Hz, 48 kHz hsync
    ModeLine "1024x480"    65.00 1024 1032 1176 1344   480  488  494  563
-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
EndSection
Section "Device"
    Identifier "device1"
    VendorName "Matrox"
    BoardName "Matrox Millennium G450 DualHead"
    Driver "mga"
    VideoRam 32768
    Screen 0
    BusID "PCI:1:0:0"
    Option "DPMS"
EndSection
Section "Device"
    Identifier "device2"
    VendorName "Matrox"
    BoardName "Matrox Millennium G450 DualHead"
    Driver "mga"
    Screen 1
    BusID "PCI:1:0:0"
    Option "DPMS"
EndSection
Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 24
 
    Subsection "Display"
        Depth 8
        Virtual 1280 1024
    EndSubsection
 
    Subsection "Display"
        Depth 15
        Virtual 1280 1024
    EndSubsection
 
    Subsection "Display"
        Depth 16
        Virtual 1280 1024
    EndSubsection
 
    Subsection "Display"
        Depth 24
        Virtual 1280 1024
    EndSubsection
EndSection
Section "Screen"
    Identifier "screen2"
    Device "device2"
    Monitor "monitor2"
    DefaultColorDepth 24
 
    Subsection "Display"
        Depth 8
        Virtual 1024 768
    EndSubsection
 
    Subsection "Display"
        Depth 15
        Virtual 1024 768
    EndSubsection
 
    Subsection "Display"
        Depth 16
        Virtual 1024 768
    EndSubsection
 
    Subsection "Display"
        Depth 24
        Virtual 1024 768
    EndSubsection
EndSection
Section "ServerLayout"
    Identifier "layout1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse1" "CorePointer"
    Screen "screen1"
    Screen "screen2" LeftOf "screen1"
    #Option "Xinerama"
EndSection

 EndSection
 
Bravissimo hai colto il problema.... Manca proprio quello che mi indichi
tu.... Mettendo Screen 0 e Screen 1 nella sezione "Device" tutto
funziona.. Non ho dovuto toccare nient'altro....
Ti ringrazio tantissimo e ciao
Dee