Gentoo Archives: gentoo-user

From: Daniel Huckstep <voodoo.rage@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Dual screen display, one is offset
Date: Sat, 05 Aug 2006 01:22:06
Message-Id: 44D3F15C.9020307@gmail.com
In Reply to: [gentoo-user] Dual screen display, one is offset by Daniel D Jones
1 Daniel D Jones wrote:
2 > I have two Dell LCD widescreen displays (one's a 2005WFP, the other is a newly
3 > purchased 2007WFP) that I've just configured for dual screen display. I'm
4 > running an ATI videocard and using the fglrx driver. The monitor on the
5 > right is using the DVI interface, while the screen on the left is using the
6 > SVGA interface. I've gotten everything working except for the fact that the
7 > left screen is shifted to the right. That is, there's a large black stripe
8 > down the left side of the display which I cannot move the mouse into, and
9 > there's an equal sized chunk missing off the right side (which is the middle
10 > of the wide screen display). It's like the left half of the display is
11 > shifted about 20% to the right. This was my primary display until I got the
12 > second monitor today, and it did not display the offset problem when it was
13 > configured for a single display. Here's my xorg.conf file:
14 >
15 > Section "ServerLayout"
16 > Identifier "Default Layout"
17 > Screen 0 "aticonfig Screen 0" 0 0
18 > InputDevice "Generic Keyboard"
19 > InputDevice "Configured Mouse"
20 > EndSection
21 >
22 > Section "Files"
23 > FontPath "unix/:7100"
24 > FontPath "/usr/share/fonts/100dpi"
25 > FontPath "/usr/share/fonts/75dpi"
26 > FontPath "/usr/share/fonts/TTF"
27 > FontPath "/usr/share/fonts/Type1"
28 > FontPath "/usr/share/fonts/afms"
29 > FontPath "/usr/share/fonts/artwiz"
30 > FontPath "/usr/share/fonts/corefonts"
31 > FontPath "/usr/share/fonts/cyrillic"
32 > FontPath "/usr/share/fonts/default"
33 > FontPath "/usr/share/fonts/dejavu"
34 > FontPath "/usr/share/fonts/encodings"
35 > FontPath "/usr/share/fonts/fonts.cache-1"
36 > FontPath "/usr/share/fonts/freefont"
37 > FontPath "/usr/share/fonts/local"
38 > FontPath "/usr/share/fonts/misc"
39 > FontPath "/usr/share/fonts/sharefonts"
40 > FontPath "/usr/share/fonts/terminus"
41 > FontPath "/usr/share/fonts/ttf-bitstream-vera"
42 > FontPath "/usr/share/fonts/ukr"
43 > FontPath "/usr/share/fonts/util"
44 > FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
45 > FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
46 > EndSection
47 >
48 > Section "Module"
49 > Load "GLcore"
50 > Load "bitmap"
51 > Load "dbe"
52 > Load "ddc"
53 > Load "dri"
54 > Load "extmod"
55 > Load "freetype"
56 > Load "glx"
57 > Load "int10"
58 > Load "record"
59 > Load "speedo"
60 > Load "type1"
61 > Load "v4l"
62 > Load "vbe"
63 > Load "xtt"
64 > EndSection
65 >
66 > Section "InputDevice"
67 > Identifier "Generic Keyboard"
68 > Driver "kbd"
69 > Option "CoreKeyboard"
70 > Option "XkbModel" "pc104"
71 > Option "XkbLayout" "us"
72 > EndSection
73 >
74 > Section "InputDevice"
75 > Identifier "Configured Mouse"
76 > Driver "mouse"
77 > Option "CorePointer"
78 > Option "Device" "/dev/psaux"
79 > Option "Protocol" "auto"
80 > Option "Emulate3Buttons" "true"
81 > Option "ZAxisMapping" "4 5"
82 > EndSection
83 >
84 > Section "Monitor"
85 > Identifier "aticonfig Monitor 0"
86 > Option "DPMS"
87 > EndSection
88 >
89 > Section "Monitor"
90 > Identifier "aticonfig Monitor 1"
91 > Option "DPMS"
92 > EndSection
93 >
94 > Section "Device"
95 > Identifier "ATI Technologies, Inc. Radeon 9000 Pro (RV250 If)"
96 > Driver "ati"
97 > BusID "PCI:1:0:0"
98 > EndSection
99 >
100 > Section "Device"
101 > Identifier "ATI Graphics Adapter 0"
102 > Driver "fglrx"
103 > Option "(null)"
104 > Option "DesktopSetup" "0x00000201"
105 > Option "UseInternalAGPGART" "on"
106 > BusID "PCI:1:0:0"
107 > EndSection
108 >
109 > Section "Device"
110 > Identifier "ATI Graphics Adapter 1"
111 > Driver "fglrx"
112 > BusID "PCI:1:0:0"
113 > Screen 1
114 > EndSection
115 >
116 > Section "Screen"
117 > Identifier "aticonfig Screen 0"
118 > Device "ATI Graphics Adapter 0"
119 > Monitor "aticonfig Monitor 0"
120 > DefaultDepth 24
121 > SubSection "Display"
122 > Viewport 0 0
123 > Depth 24
124 > Modes "1680x1050" "1280x1024"
125 > EndSubSection
126 > EndSection
127 >
128 > Section "Screen"
129 > Identifier "aticonfig Screen 1"
130 > Device "ATI Graphics Adapter 1"
131 > Monitor "aticonfig Monitor 1"
132 > DefaultDepth 24
133 > SubSection "Display"
134 > Viewport 0 0
135 > Depth 24
136 > Modes "1680x1050" "1280x1024"
137 > EndSubSection
138 > EndSection
139 >
140 > Section "DRI"
141 > Mode 0666
142 > EndSection
143 >
144 >
145 I have a 2005FPW on DVI connector as my left/main monitor and an iiyama
146 17" 4:3 on VGA connector on the right/secondary monitor. i have a 6800
147 Ultra using the nvidia drivers. My display is setup nicely. here is my
148 xorg.conf i am using. you might want to specify a bit more for your
149 monitor, like the refresh, modeline, etc like I did...give it a shot
150
151 Section "ServerLayout"
152 Identifier "Dual"
153 Screen 0 "Screen0"
154 Screen 1 "Screen1" RightOf "Screen0"
155 InputDevice "MX518" "CorePointer"
156 InputDevice "Keyboard0" "CoreKeyboard"
157 EndSection
158
159 Section "Files"
160 FontPath "/usr/share/fonts/misc"
161 FontPath "/usr/share/fonts/75dpi"
162 FontPath "/usr/share/fonts/100dpi"
163 FontPath "/usr/share/fonts/TTF"
164 FontPath "/usr/share/fonts/Type1"
165 FontPath "/usr/share/fonts/corefonts"
166 FontPath "/usr/share/fonts/sharefonts"
167 FontPath "/usr/share/fonts/freefont"
168 EndSection
169
170 Section "Module"
171 Load "extmod"
172 Load "dbe"
173 Load "record"
174 Load "xtrap"
175 Load "glx"
176 Load "freetype"
177 Load "type1"
178 EndSection
179
180 Section "InputDevice"
181 Identifier "Keyboard0"
182 Driver "kbd"
183 EndSection
184
185 Section "InputDevice"
186 Identifier "MX518"
187 Driver "mouse"
188 Option "Protocol" "ExplorerPS/2"
189 Option "Device" "/dev/input/mice"
190 Option "AlwaysCore" "true"
191 Option "Buttons" "7"
192 Option "ZaxisMapping" "4 5"
193 EndSection
194
195 Section "Monitor"
196 Identifier "Dell"
197 VendorName "Dell"
198 ModelName "2005 FPW"
199 Option "DPMS"
200 HorizSync 30-83
201 VertRefresh 60
202 Modeline "1680x1050@60" 154.20 1680 1712 2296 2328 1050 1071 1081 1103
203 EndSection
204
205 Section "Monitor"
206 Identifier "iiyama"
207 VendorName "IVM"
208 ModelName "IIYAMA 17NE1"
209 DisplaySize 337 270
210 HorizSync 30-82
211 Option "DPMS"
212 VertRefresh 50-75
213 EndSection
214
215 #
216 # 6800U for DELL
217 #
218
219 Section "Device"
220 Identifier "6800U - 0"
221 Driver "nvidia"
222 VendorName "nVidia Corporation"
223 BoardName "NV40 [GeForce 6800 Ultra/GeForce 6800 GT]"
224 Option "HWcursor" "True"
225 Option "RenderAccel" "True"
226 Option "CursorShadow" "True"
227 Option "UseDisplayDevice" "DFP"
228 BusID "PCI:2:0:0"
229 Screen 0
230 EndSection
231
232 #
233 # 6800U for IIYAMA
234 #
235
236 Section "Device"
237 Identifier "6800U - 1"
238 Driver "nvidia"
239 VendorName "nVidia Corporation"
240 BoardName "NV40 [GeForce 6800 Ultra/GeForce 6800 GT]"
241 Option "HWcursor" "True"
242 Option "RenderAccel" "True"
243 Option "CursorShadow" "True"
244 Option "UseDisplayDevice" "CRT"
245 BusID "PCI:2:0:0"
246 Screen 1
247 EndSection
248
249 Section "Screen"
250 Identifier "Screen0"
251 Device "6800U - 0"
252 Monitor "Dell"
253 SubSection "Display"
254 Viewport 0 0
255 Depth 1
256 Modes "1680x1050"
257 EndSubSection
258 SubSection "Display"
259 Viewport 0 0
260 Depth 4
261 Modes "1680x1050"
262 EndSubSection
263 SubSection "Display"
264 Viewport 0 0
265 Depth 8
266 Modes "1680x1050"
267 EndSubSection
268 SubSection "Display"
269 Viewport 0 0
270 Depth 15
271 Modes "1680x1050"
272 EndSubSection
273 SubSection "Display"
274 Viewport 0 0
275 Depth 16
276 Modes "1680x1050"
277 EndSubSection
278 SubSection "Display"
279 Viewport 0 0
280 Depth 24
281 Modes "1680x1050"
282 EndSubSection
283 EndSection
284
285 Section "Screen"
286 Identifier "Screen1"
287 Device "6800U - 1"
288 Monitor "iiyama"
289 SubSection "Display"
290 Viewport 0 0
291 Depth 1
292 Modes "1280x1024"
293 EndSubSection
294 SubSection "Display"
295 Viewport 0 0
296 Depth 4
297 Modes "1280x1024"
298 EndSubSection
299 SubSection "Display"
300 Viewport 0 0
301 Depth 8
302 Modes "1280x1024"
303 EndSubSection
304 SubSection "Display"
305 Viewport 0 0
306 Depth 15
307 Modes "1280x1024"
308 EndSubSection
309 SubSection "Display"
310 Viewport 0 0
311 Depth 16
312 Modes "1280x1024"
313 EndSubSection
314 SubSection "Display"
315 Viewport 0 0
316 Depth 24
317 Modes "1280x1024"
318 EndSubSection
319 EndSection
320
321 Section "ServerFlags"
322 Option "Xinerama" "true"
323 EndSection
324
325
326
327 --
328 Daniel
329 --
330 gentoo-user@g.o mailing list