Penguin
Blame: i915-xorg.conf
EditPageHistoryDiffInfoLikePages
Annotated edit history of i915-xorg.conf version 4, including all changes. View license author blame.
Rev Author # Line
1 JohnMcPherson 1 This includes Xinerama dual head support, so that you can use both the [LCD] and an external monitor in [XOrg].
2 This worked for me, on my Presario M2000 laptop running Ubuntu 5.04 (Hoary). See the PresarioNotes page for other hints.
3 JohnMcPherson 3
4 This also worked on an HP Pavilion DV4000(see PavilionNotes).
1 JohnMcPherson 5
6 <tt>/etc/X11/xorg.conf</tt>:
7
8 <verbatim>
9 # default font stuff that Ubuntu added
10 Section "Files"
11 FontPath "unix/:7100" # local font server
12 # if the local font server has problems, we can fall back on these
13 FontPath "/usr/lib/X11/fonts/misc"
14 FontPath "/usr/lib/X11/fonts/cyrillic"
15 FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
16 FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
17 FontPath "/usr/lib/X11/fonts/Type1"
18 FontPath "/usr/lib/X11/fonts/CID"
19 FontPath "/usr/lib/X11/fonts/100dpi"
20 FontPath "/usr/lib/X11/fonts/75dpi"
21 # paths to defoma fonts
22 FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
23 FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
24 EndSection
25
26 # default modules that Ubuntu added
27 Section "Module"
28 Load "bitmap"
29 Load "dbe"
30 Load "ddc"
31 Load "dri"
32 Load "extmod"
33 Load "freetype"
34 Load "glx"
35 Load "int10"
36 Load "record"
37 Load "type1"
38 Load "vbe"
3 JohnMcPherson 39 # custom, for HP Pavilion
40 Load "synaptics" # synaptics driver for the touchpad
1 JohnMcPherson 41 EndSection
42
43 Section "InputDevice"
44 Identifier "Generic Keyboard"
45 Driver "keyboard"
46 Option "CoreKeyboard"
47 Option "XkbRules" "xorg"
48 Option "XkbModel" "pc104"
49 Option "XkbLayout" "us"
50 EndSection
51
52 Section "InputDevice"
53 Identifier "Configured Mouse"
54 Driver "mouse"
55 Option "CorePointer"
56 Option "Device" "/dev/input/mice"
57 Option "Protocol" "ImPS/2"
58 Option "Emulate3Buttons" "true"
59 Option "ZAxisMapping" "4 5"
60 EndSection
61
62 Section "InputDevice"
63 Identifier "Synaptics Touchpad"
64 Driver "synaptics"
65 # see /usr/share/doc/xorg-driver-synaptics/README.gz for options
66 Option "SendCoreEvents" "true"
67 Option "Device" "/dev/psaux"
68 Option "Protocol" "auto-dev"
69 Option "HorizScrollDelta" "0"
70 # don't do anything for 1-finger taps
71 # this didn't work for me so I disable this device instead
72 Option "TapButton1" "0" # 0 = no action
73 Option "MaxTapMove" "0" # disables 1-finger tap
74 EndSection
75
76 Section "Device"
77 Identifier "Intel-LCD"
78 Driver "i810"
79 #Driver "vesa"
80 BusID "PCI:0:2:0"
81 Option "VBERestore" "true"
82 VideoRam 16384
3 JohnMcPherson 83 # MonitorLayout "pipeA, pipeB".
84 # use fn+F4 to toggle between the 2 pipes when you have
85 # an external device attached
1 JohnMcPherson 86 # LFP = local flat panel...
3 JohnMcPherson 87 # CRT+TV means that fn+F4 will switch to using the external
88 # monitor and/or svideo-out if attached
89 Option "MonitorLayout" "CRT+TV,LFP"
1 JohnMcPherson 90 Screen 0
91 EndSection
92
93 Section "Device"
94 Identifier "Intel-external"
95 Driver "i810"
96 #Driver "vesa"
97 BusID "PCI:0:2:0"
98 VideoRam 16384
99 Option "Display" "CRT"
3 JohnMcPherson 100 Option "MonitorLayout" "CRT+TV,LFP" # put crt on pipe A
1 JohnMcPherson 101 Screen 1
102 EndSection
103
104
105 Section "Monitor"
106 Identifier "LCD"
107 Option "DPMS"
108 HorizSync 30.0-71.0
109 VertRefresh 50-160
110 EndSection
111
112
113 Section "Monitor"
114 Identifier "Philips 107S"
115 VendorName "Philips"
116 ModelName "107S"
117 Option "DPMS"
118 HorizSync 30.0-70.0
119 VertRefresh 50-160
120 EndSection
121
122 Section "Screen"
123 Identifier "Local LCD"
124 Device "Intel-LCD"
125 Monitor "LCD"
3 JohnMcPherson 126 DefaultDepth 24
1 JohnMcPherson 127 SubSection "Display"
3 JohnMcPherson 128 Depth 24
129 # use "1400x1050" or "1280x800" for a widescreen
130 Modes "1400x1050" "1280x800" "1280x1024" "1024x768" "800x600"
2 JohnMcPherson 131 # use standard resolutions for non-widescreens
3 JohnMcPherson 132 #Modes "1280x1024" "1024x768" "800x600"
1 JohnMcPherson 133 EndSubSection
134 EndSection
135
136 Section "Screen"
137 Identifier "External Monitor"
138 Device "Intel-external"
139 Monitor "Philips 107S"
3 JohnMcPherson 140 DefaultDepth 24
1 JohnMcPherson 141 SubSection "Display"
3 JohnMcPherson 142 Depth 24
143 Modes "1280x1024" "1024x768" "800x600"
1 JohnMcPherson 144 EndSubSection
145 EndSection
146
147 Section "ServerLayout"
148 Identifier "Dual Head (Xinerama) Layout"
149 Screen 0 "Local LCD" 0 0
3 JohnMcPherson 150 # comment out the following line to stop using two monitors,
151 # and comment out the Xinerama option below
1 JohnMcPherson 152 Screen 1 "External Monitor" LeftOf "Local LCD"
153 InputDevice "Generic Keyboard"
154 InputDevice "Configured Mouse"
155 EndSection
3 JohnMcPherson 156
1 JohnMcPherson 157 Section "ServerFlags"
3 JohnMcPherson 158 # comment out this line to stop using xinerama (dual head)
1 JohnMcPherson 159 Option "Xinerama" "true"
160 EndSection
161
162 # note that enabling xinerama disables Direct Rendering...
163 Section "DRI"
164 Mode 0666
165 EndSection
166
4 BernettLee 167
168
169 </verbatim>
170
171 The following works on a Dell 630m (i915) running Ubuntu 6.06. Only the relevant sections are provided. The rest are unchanged.
172
173 <verbatim>
174
175 Section "Device"
176 Identifier "915-LCD"
177 Driver "i810"
178 BusID "PCI:0:2:0"
179 Option "MonitorLayout" "CRT,LFP"
180 Screen 0
181 EndSection
182
183 Section "Device"
184 Identifier "915-External"
185 Driver "i810"
186 BusID "PCI:0:2:0"
187 Option "MonitorLayout" "CRT,LFP"
188 Screen 1
189 EndSection
190
191 Section "Monitor"
192 Identifier "LCD"
193 Option "DPMS"
194 EndSection
195
196 Section "Monitor"
197 Identifier "External"
198 Option "DPMS"
199 EndSection
200
201 Section "Screen"
202 Identifier "LCD Screen"
203 Device "915-LCD"
204 Monitor "LCD"
205 DefaultDepth 24
206 SubSection "Display"
207 Depth 24
208 Modes "1280x800"
209 EndSubSection
210 EndSection
211
212 Section "Screen"
213 Identifier "External Screen"
214 Device "915-External"
215 Monitor "External"
216 DefaultDepth 24
217 SubSection "Display"
218 Depth 24
219 Modes "1280x1024"
220 EndSubSection
221 EndSection
222
223 Section "ServerLayout"
224 Identifier "Default Layout"
225 Screen "LCD Screen"
226 Screen "External Screen" RightOf "LCD Screen"
227 InputDevice "Generic Keyboard"
228 InputDevice "Configured Mouse"
229 InputDevice "stylus" "SendCoreEvents"
230 InputDevice "cursor" "SendCoreEvents"
231 InputDevice "eraser" "SendCoreEvents"
232 InputDevice "Synaptics Touchpad"
233 EndSection
234
235 Section "ServerFlags"
236 Option "Xinerama" "true"
237 EndSection
1 JohnMcPherson 238
239
240 </verbatim>