Pagina 1 di 1

Come usare due monitor

Inviato: dom 30 ott 2005, 15:53
da fabiom
Come devo mettere mano all' xorg.conf per poter utilizzare due monitor in contemporanea?
Come scheda video ho una nvidia ?
P.S:Postando qui ho sempre risoltp i miei problemi questo forum è spettacolare grazie a tutti!!!

Inviato: dom 30 ott 2005, 17:33
da badmanners
ciao io per abilitare due monitor, agganciati a due schede video ho fatto cosi:
Con il comando xorgsetup, faccio riconoschere al sistema le schede video.
Con xorgcfg imposto per entrambe le risoluzioni; uscendo mi dira di salvare la configurazione impostasta, in /etc/X11/xorg.conf e /usr/X11R6/lib/X11/xkb/xo-config.keybord.
Ora andando in modalida grafica dovrebbero avviarsi entrambi i monitor, che ripropongono lo stesso desktop sdoppiato.
Per fare in modo di avere un unico desktop di lavoro devo intervenire sul file /etc/X11/xorg.conf.
Nella sezione Section ServerLayout bisogna sostituire nelle sotto-sezioni Identifier, Screen e Option quanto riportato di seguito, lasciando inalterato il contenuto delle altre direttive:

Section ServerLayout

Identifier “Multihead Layout”
Screen “Screen0”
Screen “Screen1” RightOf “Screen0”
Option “Xinerama” “true”

EndSection


Screen 0 rappresenta la prima scheda che viene riconosciuta, in questo caso pone la seconda scheda, virtualmene a destra, cosi da avere il punto di giunzione con il secondo monitor a destra.

Inviato: dom 30 ott 2005, 17:38
da fabiom
badmanners ha scritto:ciao io per abilitare due monitor, agganciati a due schede video ho fatto cosi:
Con il comando xorgsetup, faccio riconoschere al sistema le schede video.
Con xorgcfg imposto per entrambe le risoluzioni; uscendo mi dira di salvare la configurazione impostasta, in /etc/X11/xorg.conf e /usr/X11R6/lib/X11/xkb/xo-config.keybord.
Ora andando in modalida grafica dovrebbero avviarsi entrambi i monitor, che ripropongono lo stesso desktop sdoppiato.
Per fare in modo di avere un unico desktop di lavoro devo intervenire sul file /etc/X11/xorg.conf.
Nella sezione Section ServerLayout bisogna sostituire nelle sotto-sezioni Identifier, Screen e Option quanto riportato di seguito, lasciando inalterato il contenuto delle altre direttive:

Section ServerLayout

Identifier “Multihead Layout”
Screen “Screen0”
Screen “Screen1” RightOf “Screen0”
Option “Xinerama” “true”

EndSection


Screen 0 rappresenta la prima scheda che viene riconosciuta, in questo caso pone la seconda scheda, virtualmene a destra, cosi da avere il punto di giunzione con il secondo monitor a destra.
Grazie adesso ci provo subito!!!!

Inviato: dom 30 ott 2005, 20:11
da touchstyle
Cerca in Google "Xinerama", trovi il mondo.
Questo è il mio xorg.conf (ho due monitor collegati a due diverse schede PCI):

Codice: Seleziona tutto

Section "ServerLayout"
Identifier     "X.org Configured"
Screen      0  "Destra" 0 0
#Screen      1  "Sinistra" 1 1
Screen      1  "Sinistra" LeftOf "Destra"
InputDevice    "Mouse0" "CorePointer"
InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "ServerFlags"
Option "Xinerama" "true"
EndSection

#Section "Extensions"
#    Option "Composite" "Enable"
#    Option "RENDER" "Enable"
#EndSection

Section "Files"
RgbPath      "/usr/X11R6/lib/X11/rgb"
ModulePath   "/usr/X11R6/lib/modules"
    FontPath	"/usr/X11R6/lib/X11/doc/freetype-2.1.9"
    FontPath 	"/usr/X11R6/lib/X11/fonts/local"
    FontPath 	"/usr/X11R6/lib/X11/fonts/misc"
    FontPath 	"/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
    FontPath 	"/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
    FontPath 	"/usr/X11R6/lib/X11/fonts/Type1"
    FontPath 	"/usr/X11R6/lib/X11/fonts/CID"
    FontPath 	"/usr/X11R6/lib/X11/fonts/Speedo"
    FontPath 	"/usr/X11R6/lib/X11/fonts/cyrillic"
    FontPath 	"/usr/local/share/fonts"
    FontPath 	"/usr/X11R6/lib/X11/fonts"
    FontPath 	"/usr/X11R6/lib/X11/fonts/TTF"
    FontPath 	"/usr/share/fonts"
EndSection

Section "Module"
Load  "record"
Load  "extmod"
Load  "dbe"
Load  "DRI"
Load  "glx"
Load  "xtrap"
Load  "freetype"
Load  "type1"
#Load  "freetype"
EndSection

Section "InputDevice"
Identifier  "Keyboard0"
Option      "XkbLayout"     "it"
Driver      "kbd"
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver      "mouse"
Option	    "Protocol" "IMPS/2"
Option	    "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
Option "Resolution" "700"
EndSection

Section "Monitor"
#DisplaySize	  260   200	# mm
Identifier   "Funai"
VendorName   "MAX"
ModelName    "5035"
HorizSync    30.0 - 60.0
VertRefresh  50 - 90.0

Option	    "DPMS"
EndSection

Section "Monitor"
#DisplaySize	  310   230	# mm
Identifier   "Daewoo"
VendorName   "API"
ModelName    "Tco"
#HorizSync    0.0 - 0.0
HorizSync    30.0 - 95.0
VertRefresh  50 - 160.0
Option	    "DPMS"
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option     "SWcursor"           	# [<bool>]
#Option     "HWcursor"           	# [<bool>]
#Option     "PciRetry"           	# [<bool>]
#Option     "SyncOnGreen"        	# [<bool>]
#Option     "NoAccel"            	# [<bool>]
#Option     "ShowCache"          	# [<bool>]
#Option     "Overlay"            	# [<str>]
#Option     "MGASDRAM"           	# [<bool>]
#Option     "ShadowFB"           	# [<bool>]
#Option     "UseFBDev"           	# [<bool>]
#Option     "ColorKey"           	# <i>
#Option     "SetMclk"            	# <freq>
#Option     "OverclockMem"       	# [<bool>]
#Option     "VideoKey"           	# <i>
#Option     "Rotate"             	# [<str>]
#Option     "TexturedVideo"      	# [<bool>]
#Option     "Crtc2Half"          	# [<bool>]
#Option     "Crtc2Ram"           	# <i>
#Option     "Int10"              	# [<bool>]
#Option     "AGPMode"            	# <i>
#Option     "AGPSize"            	# <i>
#Option     "DigitalScreen1"     	# [<bool>]
#Option     "DigitalScreen2"     	# [<bool>]
#Option     "TV"                 	# [<bool>]
#Option     "TVStandard"         	# [<str>]
#Option     "CableType"          	# [<str>]
#Option     "NoHal"              	# [<bool>]
#Option     "SwappedHead"        	# [<bool>]
#Option     "DRI"                	# [<bool>]
#Option     "MergedFB"           	# [<bool>]
#Option     "Monitor2HSync"      	# [<str>]
#Option     "Monitor2VRefresh"   	# [<str>]
#Option     "Monitor2Position"   	# [<str>]
#Option     "MetaModes"          	# [<str>]
Identifier  "Matrox"
Driver      "mga"
VideoRam    4096
VendorName  "Matrox Graphics, Inc."
BoardName   "MGA 1064SG [Mystique]"
BusID       "PCI:0:19:0"
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option     "NoAccel"            	# [<bool>]
#Option     "SWcursor"           	# [<bool>]
#Option     "UsePIO"             	# [<bool>]
#Option     "ShowCache"          	# [<bool>]
#Option     "VideoKey"           	# <i>
#Option     "NoSLI"              	# [<bool>]
#Option     "TexturedVideo"      	# [<bool>]
#Option     "DRI"                	# [<bool>]
Identifier  "3DFX"
Driver      "tdfx"
VideoRam    16384
VendorName  "3Dfx Interactive, Inc."
BoardName   "Voodoo Banshee"
BusID       "PCI:0:10:0"
EndSection

Section "Screen"
Identifier "Sinistra"
Device     "Matrox"
Monitor    "Daewoo"
DefaultDepth 16
SubSection "Display"
Viewport   0 0
Depth     1
Modes "1024x768"
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     4
Modes "1024x768"  
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     8
Modes "1600x1200"  
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     15
Modes "1600x1200"  
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     16
Modes "1600x1200"  
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     24
Modes "1600x1200"  
EndSubSection
EndSection

Section "Screen"
Identifier "Destra"
Device     "3DFX"
Monitor    "Funai"
DefaultDepth 16
SubSection "Display"
Viewport   0 0
Depth     1
Modes "1024x768"
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     4
Modes "1024x768"  
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     8
Modes "1024x768"  
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     15
Modes "1024x768"  
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     16
Modes "1024x768"  
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     24
Modes "1024x768"  
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection
Attenzione che il DRI non dovrebbe funzionare in Xinerama (il condizionale è d'obbligo, visto che usiamo Linux :wink:)

Ciao,
Touch.

Inviato: mar 1 nov 2005, 16:52
da fabiom
Ma per utilizzare due monitor con una sola scheda video?

Inviato: mar 1 nov 2005, 18:03
da absinthe
fabiom ha scritto:Ma per utilizzare due monitor con una sola scheda video?
devi avere l'uscita video ed un cavo adattatore tv-out/monitor e poi leggere le impostazioni del tuo driver per far funzionare sia il monitor che la tv in contemporanea... almeno che tu non abbia due uscite per il monitor...

M.

Inviato: mar 1 nov 2005, 21:41
da fabiom
Problema risolto
Questo è il mio xorg.conf
(Laptop+monitor , con scheda nvidia GeForce Go5600)


Section "Module"

# This loads the DBE extension module.

Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"



EndSection

# **********************************************************************
# Files section. This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"



RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/"



EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

Option "AllowMouseOpenFail"
Option "Xinerama"

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "it"

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/mouse"
Option "Device" "/dev/psaux"
Option "Corepointer"
EndSection

Section "InputDevice"
Identifier "Mouse2"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "SendCoreEvents" "true"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/input/mice"
Option "Name" "AutoDetected"
Option "Emulate3buttons" "no"
EndSection



Section "Monitor"

Identifier "My Monitor 1"
VendorName "Sony"
HorizSync 31.5-79.0
VertRefresh 50-100

EndSection

Section "Monitor"

Identifier "My Monitor 2"
VendorName "Nortek"
HorizSync 30.0-70.0
VertRefresh 50-150

EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************


# Standard VGA Device:

Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"
Driver "vga"
EndSection

# Device configured by xorgconfig:

Section "Device"
Identifier "nVidia"
Driver "nvidia"
Screen 0
#VideoRam 65536
# Insert Clocks lines here if appropriate
EndSection

Section "Device"
Identifier "nVidia"
Driver "nvidia"
Screen 1
#VideoRam 65536
# Insert Clocks lines here if appropriate
EndSection


# **********************************************************************
# Screen sections
# **********************************************************************


Section "Screen"
Identifier "Screen 0"
Device "nVidia"
Monitor "My Monitor 1"
DefaultDepth 24

Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection

Section "Screen"
Identifier "Screen 1"
Device "nVidia"
Monitor "My Monitor 2"
DefaultDepth 24

Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

Section "ServerLayout"

Identifier "Multihead Layout"
Screen 0 "Screen 0" 0 0
Screen 1 "Screen 1" RightOf "Screen0"
InputDevice "Mouse1" "CorePointer"
InputDevice "Mouse2" "SecondCoreEvents"
InputDevice "Keyboard1" "CoreKeyboard"
Option "Xinerama" "on"
Option "Clone" "off"

EndSection