Configurare xorg.conf per dual-head o clone con schede Intel 945GM
Questa guida ha la scopo di aiutare chi possiede un pc con grafica integrata intel 945GM nella configurazione dello xorg.conf al fine di ottenere o l’uso della funzione clone (stesso desktop due schermi) con un monitor/proiettore esterno o quello della funzione dual-head per visualizzare due desktop differenti su due differenti schermi/proiettore.
Da sottolineare che per alcune cause, sembra limiti dei driver Linux, la seconda modalità di visualizzazione permette di impostare una sola risoluzione per entrambe gli schermi è importante quindi l’adozione di uno schermo non principale di tipo compatibile a quello primario per non ritrovarsi con una immagine troppo degradata per essere utilizzabile o con frequenze di refresh fastidiose.
Modalità clone
nella modalità clone il vostro xorg deve essere configurato come segue:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 | # /etc/X11/xorg.conf (xorg X Window System server configuration file) # # This file was generated by dexconf, the Debian X Configuration tool, using # values from the debconf database. # # Edit this file with caution, and see the /etc/X11/xorg.conf manual page. # (Type “man /etc/X11/xorg.conf” at the shell prompt.) # # This file is automatically updated on xserver-xorg package upgrades *only* # if it has not been modified since the last upgrade of the xserver-xorg # package. # # If you have edited this file but would like it to be automatically updated # again, run the following command: # sudo dpkg-reconfigure -phigh xserver-xorg Section “Files” FontPath “/usr/share/X11/fonts/misc” FontPath “/usr/share/X11/fonts/cyrillic” FontPath “/usr/share/X11/fonts/100dpi/:unscaled” FontPath “/usr/share/X11/fonts/75dpi/:unscaled” FontPath “/usr/share/X11/fonts/Type1″ FontPath “/usr/share/X11/fonts/100dpi” FontPath “/usr/share/X11/fonts/75dpi” # path to defoma fonts FontPath “/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType” EndSection Section “Module” Load “i2c” Load “bitmap” Load “ddc” Load “extmod” Load “freetype” Load “int10″ Load “vbe” Load “glx” Load “dri” EndSection Section “InputDevice” Identifier “Generic Keyboard” Driver “kbd” Option “CoreKeyboard” Option “XkbRules” “xorg” 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 “ZAxisMapping” “4 5″ Option “Emulate3Buttons” “true” EndSection Section “InputDevice” Driver “wacom” Identifier “stylus” Option “Device” “/dev/input/wacom” Option “Type” “stylus” Option “ForceDevice” “ISDV4″ # Tablet PC ONLY EndSection Section “InputDevice” Driver “wacom” Identifier “eraser” Option “Device” “/dev/input/wacom” Option “Type” “eraser” Option “ForceDevice” “ISDV4″ # Tablet PC ONLY EndSection Section “InputDevice” Driver “wacom” Identifier “cursor” Option “Device” “/dev/input/wacom” Option “Type” “cursor” Option “ForceDevice” “ISDV4″ # Tablet PC ONLY EndSection Section “Device” Identifier “Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller” Boardname “Intel 945″ Busid “PCI:0:2:0″ Driver “i810″ Option “DevicePresence” “On” Screen 0 Vendorname “Intel” Option “MonitorLayout” “CRT, CRT+LFP” Option “Clone” “on” EndSection Section “Monitor” Identifier “Monitor Generico” Option “DPMS” HorizSync 28-64 VertRefresh 43-60 EndSection Section “Monitor” Identifier “CRT” ModelName “External Device” Option “DPMS” HorizSync 28-51 VertRefresh 43-60 EndSection Section “Screen” Identifier “Default Screen” Device “Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller” Monitor “Monitor Generico” DefaultDepth 24 SubSection “Display” Depth 1 Modes “1280×800″ EndSubSection SubSection “Display” Depth 4 Modes “1280×800″ EndSubSection SubSection “Display” Depth 8 Modes “1280×800″ EndSubSection SubSection “Display” Depth 15 Modes “1280×800″ EndSubSection SubSection “Display” Depth 16 Modes “1280×800″ EndSubSection SubSection “Display” Depth 24 Modes “1280×800″ EndSubSection EndSection Section “Screen” Identifier “CRT-Screen” Device “Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller” Monitor “CRT” DefaultDepth 24 SubSection “Display” Depth 16 Modes “1024×768″ EndSubSection SubSection “Display” Depth 24 Modes “1024×768″ EndSubSection EndSection Section “ServerLayout” Identifier “Multihead” Screen 0 “Default Screen” 0 0 Screen 0 “CRT-Screen” 0 0 # option “Xinerama” “on” # option “AIGLX” “true” InputDevice “Generic Keyboard” InputDevice “Configured Mouse” InputDevice “stylus” “SendCoreEvents” InputDevice “cursor” “SendCoreEvents” InputDevice “eraser” “SendCoreEvents” EndSection Section “DRI” Mode 0666 EndSection |
La configurazione è già pronta per la scheda Intel sopra citata, è comunque una linea guida di come deve essere impostato uno xorg per ottenere lo stesso effetto su schede di tipo diverso.
Lo stesso discorso vale anche per la configurazione che segue.
Modalità Dual-head
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 | # /etc/X11/xorg.conf (xorg X Window System server configuration file) # # This file was generated by dexconf, the Debian X Configuration tool, using # values from the debconf database. # # Edit this file with caution, and see the xorg.conf(5) manual page. # (Type “man xorg.conf” at the shell prompt.) # # This file is automatically updated on xserver-xorg package upgrades *only* # if it has not been modified since the last upgrade of the xserver-xorg # package. # # If you have edited this file but would like it to be automatically updated # again, run the following command: # sudo dpkg-reconfigure -phigh xserver-xorg Section “Files” FontPath “/usr/share/fonts/X11/misc” FontPath “/usr/share/fonts/X11/cyrillic” FontPath “/usr/share/fonts/X11/100dpi/:unscaled” FontPath “/usr/share/fonts/X11/75dpi/:unscaled” FontPath “/usr/share/fonts/X11/Type1″ FontPath “/usr/share/fonts/X11/100dpi” FontPath “/usr/share/fonts/X11/75dpi” # path to defoma fonts FontPath “/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType” EndSection Section “Module” Load “i2c” Load “bitmap” Load “ddc” Load “dri” Load “extmod” Load “freetype” Load “glx” Load “int10″ Load “vbe” EndSection Section “InputDevice” Identifier “Generic Keyboard” Driver “kbd” Option “CoreKeyboard” Option “XkbRules” “xorg” 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 “ZAxisMapping” “4 5″ Option “Emulate3Buttons” “true” EndSection Section “InputDevice” Driver “wacom” Identifier “stylus” Option “Device” “/dev/input/wacom” Option “Type” “stylus” Option “ForceDevice” “ISDV4″ # Tablet PC ONLY EndSection Section “InputDevice” Driver “wacom” Identifier “eraser” Option “Device” “/dev/input/wacom” Option “Type” “eraser” Option “ForceDevice” “ISDV4″ # Tablet PC ONLY EndSection Section “InputDevice” Driver “wacom” Identifier “cursor” Option “Device” “/dev/input/wacom” Option “Type” “cursor” Option “ForceDevice” “ISDV4″ # Tablet PC ONLY EndSection Section “Device” Identifier “Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller” Driver “i810″ BusID “PCI:0:2:0″ Screen 0 Option “DevicePresence” “true” Option “MonitorLayout” “CRT, DFP+LFP” EndSection Section “Device” Identifier “Card1″ Driver “i810″ BusID “PCI:0:2:1″ Screen 1 Option “DevicePresence” “true” Option “MonitorLayout” “CRT, DFP+LFP” EndSection Section “Monitor” Identifier “Monitor Generico” Option “DPMS” HorizSync 28-64 VertRefresh 43-60 EndSection Section “Monitor” Identifier “Proiettore” Option “DPMS” HorizSync 28-64 VertRefresh 43-60 EndSection Section “Screen” Identifier “Default Screen” Device “Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller” Monitor “Monitor Generico” DefaultDepth 24 SubSection “Display” Depth 1 Modes “1280×800″ EndSubSection SubSection “Display” Depth 4 Modes “1280×800″ EndSubSection SubSection “Display” Depth 8 Modes “1280×800″ EndSubSection SubSection “Display” Depth 15 Modes “1280×800″ EndSubSection SubSection “Display” Depth 16 Modes “1280×800″ EndSubSection SubSection “Display” Depth 24 Modes “1280×800″ EndSubSection EndSection Section “Screen” Identifier “Screen1″ Device “Card1″ Monitor “Proiettore” DefaultDepth 24 SubSection “Display” Depth 24 Modes “800×600″ EndSubSection EndSection Section “ServerLayout” Identifier “Default Layout” Screen “Screen1″ LeftOf “Default Screen” Screen “Default Screen” InputDevice “Generic Keyboard” InputDevice “Configured Mouse” InputDevice “stylus” “SendCoreEvents” InputDevice “cursor” “SendCoreEvents” InputDevice “eraser” “SendCoreEvents” Option “clone” “true” EndSection Section “DRI” Mode 0666 EndSection |
NOTA: è importante fare sempre una copia di backup del file xorg.conf nella sua configurazione originale prima di apportare qualsiasi modifica in modo da poter ripristinare il server grafico se le configurazioni sopra riportare non dovessero funzionare.
Ciao a tutti.




















