HowtoSetupExternalMonitorForIntel915

Differences between revisions 4 and 5
Revision 4 as of 2006-04-14 08:34:12
Size: 6841
Editor: 85
Comment:
Revision 5 as of 2006-04-14 08:46:24
Size: 7980
Editor: 85
Comment:
Deletions are marked like this. Additions are marked like this.
Line 22: Line 22:
Section "Module"
 Load "bitmap"
 Load "ddc"
 Load "dri"
 Load "extmod"
 Load "freetype"
 Load "glx"
 Load "int10"
 Load "type1"
 Load "vbe"
EndSection

Section "InputDevice"
 Identifier "Generic Keyboard"
 Driver "kbd"
 Option "CoreKeyboard"
 Option "XkbRules" "xorg"
 Option "XkbModel" "pc104"
 Option "XkbLayout" "us"
EndSection

Section "InputDevice"
 Identifier "Configured Mouse"
 Driver "mouse"
 Option "CorePointer"
 Option "Device" "/dev/input/mice"
 Option "Protocol" "ExplorerPS/2"
 Option "ZAxisMapping" "4 5"
 Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
 Identifier "Synaptics Touchpad"
 Driver "synaptics"
 Option "SendCoreEvents" "true"
 Option "Device" "/dev/psaux"
 Option "Protocol" "auto-dev"
 Option "HorizScrollDelta" "0"
EndSection

Section "Device"
 Identifier "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller"
 Driver "i810"
 BusID "PCI:0:2:0"
EndSection

Section "Device"
 Identifier "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller for LCD of Separate"
 Driver "i810"
 BusID "PCI:0:2:0"
 Option "MonitorLayout" "CRT,LFP"
 Screen 0
EndSection

Section "Device"
 Identifier "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller for CRT of Separate"
 Driver "i810"
 BusID "PCI:0:2:0"
 Screen 1
EndSection

Section "Device"
 Identifier "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller for Clone"
 Driver "i810"
 BusID "PCI:0:2:0"
 Option "Clone" "true"
 Option "CloneRefresh" "85"
 Option "MonitorLayout" "CRT,LFP"
EndSection

Section "Monitor"

 Identifier "Generic Monitor"
 Option "DPMS"
 HorizSync 28-64
 VertRefresh 43-60
EndSection

Section "Monitor"

 Identifier "External Monitor"
 Option "DPMS"
 HorizSync 30-90
 VertRefresh 50-160
EndSection

Section "Screen"

 Identifier "Default Screen"
 Device "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller"
 Monitor "Generic Monitor"
 DefaultDepth 24
 SubSection "Display"
  Depth 1
  Modes "1280x800"
 EndSubSection
 SubSection "Display"
  Depth 4
  Modes "1280x800"
 EndSubSection
 SubSection "Display"
  Depth 8
  Modes "1280x800"
 EndSubSection
 SubSection "Display"
  Depth 15
  Modes "1280x800"
 EndSubSection
 SubSection "Display"
  Depth 16
  Modes "1280x800"
 EndSubSection
 SubSection "Display"
  Depth 24
  Modes "1280x800"
 EndSubSection
EndSection

Section "Screen"

 Identifier "LCD Screen Of Separate"
 Device "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller for LCD of Separate"
 Monitor "Generic Monitor"
 DefaultDepth 24
 SubSection "Display"
  Depth 24
  Modes "1280x800"
 EndSubSection
EndSection

Section "Screen"

 Identifier "CRT Screen Of Separate"
 Device "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller for CRT of Separate"
 Monitor "External Monitor"
 DefaultDepth 24
 SubSection "Display"
  Depth 24
  Modes "1024x768"
 EndSubSection
EndSection

Section "Screen"

 Identifier "LCD Screen Of Clone"
 Device "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller for Clone"
 Monitor "Generic Monitor"
 DefaultDepth 24
 SubSection "Display"
  Depth 24
  Modes "1024x768"
 EndSubSection
EndSection

Section "Screen"

 Identifier "CRT Screen Of Clone"
 Device "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller for Clone"
 Monitor "External Monitor"
 DefaultDepth 24
 SubSection "Display"
  Depth 24
  Modes "1024x768"
 EndSubSection
EndSection

Section "ServerLayout"
 Identifier "DefaultLayout"
 Screen "Default Screen"

 InputDevice "Generic Keyboard"
 InputDevice "Configured Mouse"
 InputDevice "Synaptics Touchpad"
EndSection

Section "ServerLayout"
 Identifier "SeparateHeads"
 Screen 0 "LCD Screen Of Separate" 0 0
 Screen 1 "CRT Screen Of Separate" RightOf "LCD Screen Of Separate"
 InputDevice "Generic Keyboard"
 InputDevice "Configured Mouse"
 InputDevice "Synaptics Touchpad"
EndSection

Section "ServerLayout"
 Identifier "CloneHeads"
 Screen "LCD Screen Of Clone"
 Screen "CRT Screen Of Clone"
 InputDevice "Generic Keyboard"
 InputDevice "Configured Mouse"
 InputDevice "Synaptics Touchpad"
EndSection

Section "DRI"
 Mode 0666
EndSection

After editing xorg.conf, it turns off gdm.conf. by default, there is one section named [server-Standard] in /etc/gdm/gdm.conf witch must be changed to:

[server-Standard]
name=Standard server
command=/usr/bin/X -br -audit 0 -layout DefaultLayout
flexible=true

After doing that, you should add some other server sections:

[server-Separate]
name=Separate Heads
command=/usr/bin/X -br -audit 0 -layout SeparateHeads
flexible=true

[server-Clone]
name=Clone Heads
command=/usr/bin/X -br -audit 0 -layout CloneHeads
flexible=true

Ok, that's it. You must restart your computer and for changing mode, in gnoem-terminal, type: gdmflexiserver and see what's happen!

Have fun,
Habib Seifzadeh : habibseifzadeh@yahoo.com
Section "Module"[[BR]]
 Load "bitmap"[[BR]]
 Load "ddc"[[BR]]
 Load "dri"[[BR]]
 Load "extmod"[[BR]]
 Load "freetype"[[BR]]
 Load "glx"[[BR]]
 Load "int10"[[BR]]
 Load "type1"[[BR]]
 Load "vbe"[[BR]]
EndSection[[BR]]

Section "InputDevice"[[BR]]
 Identifier "Generic Keyboard"[[BR]]
 Driver "kbd"[[BR]]
 Option "CoreKeyboard"[[BR]]
 Option "XkbRules" "xorg"[[BR]]
 Option "XkbModel" "pc104"[[BR]]
 Option "XkbLayout" "us"[[BR]]
EndSection[[BR]]

Section "InputDevice"[[BR]]
 Identifier "Configured Mouse"[[BR]]
 Driver "mouse"[[BR]]
 Option "CorePointer"[[BR]]
 Option "Device" "/dev/input/mice"[[BR]]
 Option "Protocol" "ExplorerPS/2"[[BR]]
 Option "ZAxisMapping" "4 5"[[BR]]
 Option "Emulate3Buttons" "true"[[BR]]
EndSection[[BR]]

Section "InputDevice"[[BR]]
 Identifier "Synaptics Touchpad"[[BR]]
 Driver "synaptics"[[BR]]
 Option "SendCoreEvents" "true"[[BR]]
 Option "Device" "/dev/psaux"[[BR]]
 Option "Protocol" "auto-dev"[[BR]]
 Option "HorizScrollDelta" "0"[[BR]]
EndSection[[BR]]

Section "Device"[[BR]]
 Identifier "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller"[[BR]]
 Driver "i810"[[BR]]
 BusID "PCI:0:2:0"[[BR]]
EndSection[[BR]]

Section "Device"[[BR]]
 Identifier "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller for LCD of Separate"[[BR]]
 Driver "i810"[[BR]]
 BusID "PCI:0:2:0"[[BR]]
 Option "MonitorLayout" "CRT,LFP"[[BR]]
 Screen 0[[BR]]
EndSection[[BR]]

Section "Device"[[BR]]
 Identifier "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller for CRT of Separate"[[BR]]
 Driver "i810"[[BR]]
 BusID "PCI:0:2:0"[[BR]]
 Screen 1[[BR]]
EndSection[[BR]]

Section "Device"[[BR]]
 Identifier "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller for Clone"[[BR]]
 Driver "i810"[[BR]]
 BusID "PCI:0:2:0"[[BR]]
 Option "Clone" "true"[[BR]]
 Option "CloneRefresh" "85"[[BR]]
 Option "MonitorLayout" "CRT,LFP"[[BR]]
EndSection[[BR]]

Section "Monitor"[[BR]]

 Identifier "Generic Monitor"[[BR]]
 Option "DPMS"[[BR]]
 HorizSync 28-64[[BR]]
 VertRefresh 43-60[[BR]]
EndSection[[BR]]

Section "Monitor"[[BR]]

 Identifier "External Monitor"[[BR]]
 Option "DPMS"[[BR]]
 HorizSync 30-90[[BR]]
 VertRefresh 50-160[[BR]]
EndSection[[BR]]

Section "Screen"[[BR]]

 Identifier "Default Screen"[[BR]]
 Device "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller"[[BR]]
 Monitor "Generic Monitor"[[BR]]
 DefaultDepth 24[[BR]]
 SubSection "Display"[[BR]]
  Depth 1[[BR]]
  Modes "1280x800"[[BR]]
 EndSubSection[[BR]]
 SubSection "Display"[[BR]]
  Depth 4[[BR]]
  Modes "1280x800"[[BR]]
 EndSubSection[[BR]]
 SubSection "Display"[[BR]]
  Depth 8[[BR]]
  Modes "1280x800"[[BR]]
 EndSubSection[[BR]]
 SubSection "Display"[[BR]]
  Depth 15[[BR]]
  Modes "1280x800"[[BR]]
 EndSubSection[[BR]]
 SubSection "Display"[[BR]]
  Depth 16[[BR]]
  Modes "1280x800"[[BR]]
 EndSubSection[[BR]]
 SubSection "Display"[[BR]]
  Depth 24[[BR]]
  Modes "1280x800"[[BR]]
 EndSubSection[[BR]]
EndSection[[BR]]

Section "Screen"[[BR]]

 Identifier "LCD Screen Of Separate"[[BR]]
 Device "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller for LCD of Separate"[[BR]]
 Monitor "Generic Monitor"[[BR]]
 DefaultDepth 24[[BR]]
 SubSection "Display"[[BR]]
  Depth 24[[BR]]
  Modes "1280x800"[[BR]]
 EndSubSection[[BR]]
EndSection[[BR]]

Section "Screen"[[BR]]

 Identifier "CRT Screen Of Separate"[[BR]]
 Device "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller for CRT of Separate"[[BR]]
 Monitor "External Monitor"[[BR]]
 DefaultDepth 24[[BR]]
 SubSection "Display"[[BR]]
  Depth 24[[BR]]
  Modes "1024x768"[[BR]]
 EndSubSection[[BR]]
EndSection[[BR]]

Section "Screen"[[BR]]

 Identifier "LCD Screen Of Clone"[[BR]]
 Device "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller for Clone"[[BR]]
 Monitor "Generic Monitor"[[BR]]
 DefaultDepth 24[[BR]]
 SubSection "Display"[[BR]]
  Depth 24[[BR]]
  Modes "1024x768"[[BR]]
 EndSubSection[[BR]]
EndSection[[BR]]

Section "Screen"[[BR]]

 Identifier "CRT Screen Of Clone"[[BR]]
 Device "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller for Clone"[[BR]]
 Monitor "External Monitor"[[BR]]
 DefaultDepth 24[[BR]]
 SubSection "Display"[[BR]]
  Depth 24[[BR]]
  Modes "1024x768"[[BR]]
 EndSubSection[[BR]]
EndSection[[BR]]

Section "ServerLayout"[[BR]]
 Identifier "DefaultLayout"[[BR]]
 Screen "Default Screen"[[BR]]

 InputDevice "Generic Keyboard"[[BR]]
 InputDevice "Configured Mouse"[[BR]]
 InputDevice "Synaptics Touchpad"[[BR]]
EndSection[[BR]]

Section "ServerLayout"[[BR]]
 Identifier "SeparateHeads"[[BR]]
 Screen 0 "LCD Screen Of Separate" 0 0[[BR]]
 Screen 1 "CRT Screen Of Separate" RightOf "LCD Screen Of Separate"[[BR]]
 InputDevice "Generic Keyboard"[[BR]]
 InputDevice "Configured Mouse"[[BR]]
 InputDevice "Synaptics Touchpad"[[BR]]
EndSection[[BR]]

Section "ServerLayout"[[BR]]
 Identifier "CloneHeads"[[BR]]
 Screen "LCD Screen Of Clone"[[BR]]
 Screen "CRT Screen Of Clone"[[BR]]
 InputDevice "Generic Keyboard"[[BR]]
 InputDevice "Configured Mouse"[[BR]]
 InputDevice "Synaptics Touchpad"[[BR]]
EndSection[[BR]]

Section "DRI"[[BR]]
 Mode 0666[[BR]]
EndSection[[BR]]

After editing xorg.conf, it turns off gdm.conf. by default, there is one section named [server-Standard] in /etc/gdm/gdm.conf witch must be changed to:[[BR]]

[server-Standard][[BR]]
name=Standard server[[BR]]
command=/usr/bin/X -br -audit 0 -layout DefaultLayout [[BR]]
flexible=true[[BR]]

After doing that, you should add some other server sections:[[BR]]

[server-Separate][[BR]]
name=Separate Heads[[BR]]
command=/usr/bin/X -br -audit 0 -layout SeparateHeads[[BR]]
flexible=true[[BR]]

[server-Clone][[BR]]
name=Clone Heads[[BR]]
command=/usr/bin/X -br -audit 0 -layout CloneHeads[[BR]]
flexible=true[[BR]]

Ok, that's it. You must restart your computer and for changing mode, in gnoem-terminal, type: gdmflexiserver and see what's happen![[BR]]

Have fun,[[BR]]
Habib Seifzadeh : habibseifzadeh@yahoo.com[[BR]]
Line 235: Line 235:
CategoryLaptop CategoryLaptop CategoryHardware

Hi all,BR I would like to describe how you can make your external monitor to work in Ubuntu Dapper Drake, if you have an intel 915 graphic card (witch mostly used in laptops). My desiered Resolution is 1280x800 with 60Hz for my LCD of laptop and 1024x768 with 85Hz for my CRT external monitor.BR There are two solutions for working with external monitors:BR 1. The external monitor become exactly mirror of LCD (I use "Clone Heads" for this)BR 2. The external monitor has another screen so that we can switch between screen of LCD and screen of external monitor(I use "Separate Heads" for this)BR It will be great, If there is a choice for the user to select witch solution he wants in run time. Fortunately, having multiple "ServerLayout" section in xorg.conf file and defining multiple "server" in gdm.conf file provides this flexibility.BR The only trick is if you want to stay in 85Hz in Clone mode, you should downgrade resolution of LCD to 1024x768. The reason is: for refresh rates upper than 60Hz, the resolutions of two heads must be the same.BR With respect to the discussion above, the /etc/X11/xorg.conf shoule looks like this:BR

Section "Files"BR

EndSectionBR

Section "Module"BR

  • Load "bitmap"BR Load "ddc"BR Load "dri"BR Load "extmod"BR Load "freetype"BR Load "glx"BR Load "int10"BR Load "type1"BR Load "vbe"BR

EndSectionBR

Section "InputDevice"BR

EndSectionBR

Section "InputDevice"BR

  • Identifier "Configured Mouse"BR Driver "mouse"BR Option "CorePointer"BR Option "Device" "/dev/input/mice"BR Option "Protocol" "ExplorerPS/2"BR Option "ZAxisMapping" "4 5"BR Option "Emulate3Buttons" "true"BR

EndSectionBR

Section "InputDevice"BR

EndSectionBR

Section "Device"BR

  • Identifier "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller"BR Driver "i810"BR BusID "PCI:0:2:0"BR

EndSectionBR

Section "Device"BR

  • Identifier "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller for LCD of Separate"BR Driver "i810"BR BusID "PCI:0:2:0"BR Option "MonitorLayout" "CRT,LFP"BR Screen 0BR

EndSectionBR

Section "Device"BR

  • Identifier "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller for CRT of Separate"BR Driver "i810"BR BusID "PCI:0:2:0"BR Screen 1BR

EndSectionBR

Section "Device"BR

  • Identifier "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller for Clone"BR Driver "i810"BR BusID "PCI:0:2:0"BR Option "Clone" "true"BR Option "CloneRefresh" "85"BR Option "MonitorLayout" "CRT,LFP"BR

EndSectionBR

Section "Monitor"BR

EndSectionBR

Section "Monitor"BR

EndSectionBR

Section "Screen"BR

EndSectionBR

Section "Screen"BR

EndSectionBR

Section "Screen"BR

  • Identifier "CRT Screen Of Separate"BR Device "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller for CRT of Separate"BR Monitor "External Monitor"BR DefaultDepth 24BR SubSection "Display"BR

    • Depth 24BR Modes "1024x768"BR

    EndSubSectionBR

EndSectionBR

Section "Screen"BR

EndSectionBR

Section "Screen"BR

EndSectionBR

Section "ServerLayout"BR

EndSectionBR

Section "ServerLayout"BR

EndSectionBR

Section "ServerLayout"BR

EndSectionBR

Section "DRI"BR

  • Mode 0666BR

EndSectionBR

After editing xorg.conf, it turns off gdm.conf. by default, there is one section named [server-Standard] in /etc/gdm/gdm.conf witch must be changed to:BR

[server-Standard]BR name=Standard serverBR command=/usr/bin/X -br -audit 0 -layout DefaultLayout BR flexible=trueBR

After doing that, you should add some other server sections:BR

[server-Separate]BR name=Separate HeadsBR command=/usr/bin/X -br -audit 0 -layout SeparateHeadsBR flexible=trueBR

[server-Clone]BR name=Clone HeadsBR command=/usr/bin/X -br -audit 0 -layout CloneHeadsBR flexible=trueBR

Ok, that's it. You must restart your computer and for changing mode, in gnoem-terminal, type: gdmflexiserver and see what's happen!BR

Have fun,BR Habib Seifzadeh : habibseifzadeh@yahoo.comBR


CategoryLaptop CategoryHardware

HowtoSetupExternalMonitorForIntel915 (last edited 2008-08-06 17:00:34 by localhost)