Gentoo Archives: gentoo-user-de

From: Werner Jansen <jansenw@××××××.edu>
To: gentoo-user-de@l.g.o
Subject: [gentoo-user-de] Primäres Display für TwinView
Date: Sat, 20 Aug 2005 16:12:09
Message-Id: 20050820193314.0bffcb90@tinydancer.phaoust.de
1 Hallo alle!
2
3 Mit hilfe des Readme-Files im nvidia-kernel Paket hab ich es in
4 kürzester Zeit geschafft, beide zum Rennen zu bringen mit TwinView.
5
6 Was mich jetzt aber nervt, ist die Tatsache, daß ich es noch nicht
7 geschafft habe, das Primäre Display auf den richtigen Monitor zu
8 bekommen. Mir ist klar, daß ich mit "RightOf" usw. die Dinger anordnen
9 kann ... aber ich will, daß er den, der am DVI hängt als "Primary"
10 nimmt. D.h. dort den GDM darstellt und so Zeugs.
11
12 Grafikkarte ist ne NVIDIA 5900FX.
13
14 Hier noch meine xorg.conf:
15
16 # File generated by xorgconfig.
17
18 #
19 # Copyright 2004 The X.Org Foundation
20 #
21 # Permission is hereby granted, free of charge, to any person
22 obtaining a # copy of this software and associated documentation files
23 (the "Software"), # to deal in the Software without restriction,
24 including without limitation # the rights to use, copy, modify, merge,
25 publish, distribute, sublicense, # and/or sell copies of the Software,
26 and to permit persons to whom the # Software is furnished to do so,
27 subject to the following conditions: #
28 # The above copyright notice and this permission notice shall be
29 included in # all copies or substantial portions of the Software.
30 #
31 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
32 EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
33 MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND
34 NONINFRINGEMENT. IN NO EVENT SHALL # The X.Org Foundation BE LIABLE
35 FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, # WHETHER IN AN ACTION OF
36 CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF # OR IN CONNECTION
37 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE.
38 #
39 # Except as contained in this notice, the name of The X.Org Foundation
40 shall # not be used in advertising or otherwise to promote the sale,
41 use or other # dealings in this Software without prior written
42 authorization from # The X.Org Foundation.
43 #
44
45 #
46 **********************************************************************
47 # Refer to the xorg.conf(5x) man page for details about the format of
48 # this file.
49 #
50 **********************************************************************
51
52 #
53 **********************************************************************
54 # Module section -- this section is used to specify # which
55 dynamically loadable modules to load. #
56 **********************************************************************
57 # Section "Module"
58
59 # This loads the DBE extension module.
60
61 Load "dbe" # Double buffer extension
62
63 # This loads the miscellaneous extensions module, and disables
64 # initialisation of the XFree86-DGA extension within that module.
65 SubSection "extmod"
66 Option "omit xfree86-dga" # don't initialise the DGA
67 extension EndSubSection
68
69 # This loads the font modules
70 Load "type1"
71 # Load "speedo"
72 Load "freetype"
73 # Load "xtt"
74
75 # This loads the GLX module
76 Load "glx"
77 # This loads the DRI module
78 # Load "dri"
79
80 EndSection
81
82 #
83 **********************************************************************
84 # Files section. This allows default font and rgb paths to be set #
85 **********************************************************************
86
87 Section "Files"
88
89 # The location of the RGB database. Note, this is the name of the
90 # file minus the extension (like ".txt" or ".db"). There is normally
91 # no need to change the default.
92
93 RgbPath "/usr/X11R6/lib/X11/rgb"
94
95 # Multiple FontPath entries are allowed (which are concatenated
96 together), # as well as specifying multiple comma-separated entries in
97 one FontPath # command (or a combination of both methods)
98 #
99 #
100
101 FontPath "/usr/share/fonts/misc/"
102 FontPath "/usr/share/fonts/TTF/"
103 FontPath "/usr/share/fonts/Type1/"
104 # FontPath "/usr/share/fonts/CID/"
105 FontPath "/usr/share/fonts/75dpi/"
106 FontPath "/usr/share/fonts/75dpi/:unscaled"
107 FontPath "/usr/share/fonts/100dpi/"
108 FontPath "/usr/share/fonts/100dpi/:unscaled"
109 FontPath "/usr/share/fonts/local/"
110 # FontPath "/usr/share/fonts/Speedo/"
111 # FontPath "/usr/share/fonts/TrueType/"
112 # FontPath "/usr/share/fonts/freefont/"
113
114 # The module search path. The default path is shown here.
115
116 # ModulePath "/usr/X11R6/lib/modules"
117
118 EndSection
119
120 #
121 **********************************************************************
122 # Server flags section. #
123 **********************************************************************
124
125 Section "ServerFlags"
126
127 # Uncomment this to cause a core dump at the spot where a signal is
128 # received. This may leave the console in an unusable state, but may
129 # provide a better stack trace in the core dump to aid in debugging
130
131 # Option "NoTrapSignals"
132
133 # Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
134 # (where n is 1 through 12). This allows clients to receive these key
135 # events.
136
137 # Option "DontVTSwitch"
138
139 # Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
140 # This allows clients to receive this key event.
141
142 # Option "DontZap"
143
144 # Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode
145 switching # sequences. This allows clients to receive these key
146 events.
147
148 # Option "Dont Zoom"
149
150 # Uncomment this to disable tuning with the xvidtune client. With
151 # it the client can still run and fetch card and monitor attributes,
152 # but it will not be allowed to change them. If it tries it will
153 # receive a protocol error.
154
155 # Option "DisableVidModeExtension"
156
157 # Uncomment this to enable the use of a non-local xvidtune client.
158
159 # Option "AllowNonLocalXvidtune"
160
161 # Uncomment this to disable dynamically modifying the input device
162 # (mouse and keyboard) settings.
163
164 # Option "DisableModInDev"
165
166 # Uncomment this to enable the use of a non-local client to
167 # change the keyboard or mouse settings (currently only xset).
168
169 # Option "AllowNonLocalModInDev"
170
171 EndSection
172
173 #
174 **********************************************************************
175 # Input devices #
176 **********************************************************************
177
178 #
179 **********************************************************************
180 # Core keyboard's InputDevice section #
181 **********************************************************************
182
183 Section "InputDevice"
184
185 Identifier "LogitechCordlessDesktop"
186 Driver "kbd"
187
188 # For most OSs the protocol can be omitted (it defaults to
189 "Standard"). # When using XQUEUE (only for SVR3 and SVR4, but not
190 Solaris), # uncomment the following line.
191
192 # Option "Protocol" "Xqueue"
193
194 Option "AutoRepeat" "500 30"
195
196 # Specify which keyboard LEDs can be user-controlled (eg, with
197 xset(1)) # Option "Xleds" "1 2 3"
198
199 # Option "LeftAlt" "Meta"
200 # Option "RightAlt" "ModeShift"
201
202 # To customise the XKB settings to suit your keyboard, modify the
203 # lines below (which are the defaults). For example, for a non-U.S.
204 # keyboard, you will probably want to use:
205 # Option "XkbModel" "pc102"
206 # If you have a US Microsoft Natural keyboard, you can use:
207 # Option "XkbModel" "microsoft"
208 #
209 # Then to change the language, change the Layout setting.
210 # For example, a german layout can be obtained with:
211 # Option "XkbLayout" "de"
212 # or:
213 # Option "XkbLayout" "de"
214 # Option "XkbVariant" "nodeadkeys"
215 #
216 # If you'd like to switch the positions of your capslock and
217 # control keys, use:
218 # Option "XkbOptions" "ctrl:swapcaps"
219
220 # These are the default XKB settings for Xorg
221 # Option "XkbRules" "xorg"
222 # Option "XkbModel" "pc101"
223 # Option "XkbLayout" "us"
224 # Option "XkbVariant" ""
225 # Option "XkbOptions" ""
226
227 # Option "XkbDisable"
228
229 Option "XkbRules" "xorg"
230 Option "XkbModel" "logicdo"
231 Option "XkbLayout" "de"
232 Option "XkbVariant" "nodeadkeys"
233
234 EndSection
235
236
237 #
238 **********************************************************************
239 # Core Pointer's InputDevice section #
240 **********************************************************************
241
242 Section "InputDevice"
243
244 # Identifier and driver
245
246 Identifier "LogitechMX500"
247 Driver "mouse"
248 Option "Protocol" "IMPS/2"
249 Option "Device" "/dev/mouse"
250 Option "ZAxisMapping" "4 5"
251
252 # Mouse-speed setting for PS/2 mouse.
253
254 # Option "Resolution" "256"
255
256 # When using XQUEUE, comment out the above two lines, and uncomment
257 # the following line.
258
259 # Option "Protocol" "Xqueue"
260
261 # Baudrate and SampleRate are only for some Logitech mice. In
262 # almost every case these lines should be omitted.
263
264 # Option "BaudRate" "9600"
265 # Option "SampleRate" "150"
266
267 # Emulate3Buttons is an option for 2-button Microsoft mice
268 # Emulate3Timeout is the timeout in milliseconds (default is 50ms)
269
270 # Option "Emulate3Buttons"
271 # Option "Emulate3Timeout" "50"
272
273 # ChordMiddle is an option for some 3-button Logitech mice
274
275 # Option "ChordMiddle"
276
277 EndSection
278
279
280 #
281 **********************************************************************
282 # Other input device sections # this is optional and is required only
283 if you # are using extended input devices. This is for example only.
284 Refer # to the xorg.conf man page for a description of the options.
285 #
286 **********************************************************************
287 # # Section "InputDevice"
288 # Identifier "Mouse2"
289 # Driver "mouse"
290 # Option "Protocol" "MouseMan"
291 # Option "Device" "/dev/mouse2"
292 # EndSection
293 #
294 # Section "InputDevice"
295 # Identifier "spaceball"
296 # Driver "magellan"
297 # Option "Device" "/dev/cua0"
298 # EndSection
299 #
300 # Section "InputDevice"
301 # Identifier "spaceball2"
302 # Driver "spaceorb"
303 # Option "Device" "/dev/cua0"
304 # EndSection
305 #
306 # Section "InputDevice"
307 # Identifier "touchscreen0"
308 # Driver "microtouch"
309 # Option "Device" "/dev/ttyS0"
310 # Option "MinX" "1412"
311 # Option "MaxX" "15184"
312 # Option "MinY" "15372"
313 # Option "MaxY" "1230"
314 # Option "ScreenNumber" "0"
315 # Option "ReportingMode" "Scaled"
316 # Option "ButtonNumber" "1"
317 # Option "SendCoreEvents"
318 # EndSection
319 #
320 # Section "InputDevice"
321 # Identifier "touchscreen1"
322 # Driver "elo2300"
323 # Option "Device" "/dev/ttyS0"
324 # Option "MinX" "231"
325 # Option "MaxX" "3868"
326 # Option "MinY" "3858"
327 # Option "MaxY" "272"
328 # Option "ScreenNumber" "0"
329 # Option "ReportingMode" "Scaled"
330 # Option "ButtonThreshold" "17"
331 # Option "ButtonNumber" "1"
332 # Option "SendCoreEvents"
333 # EndSection
334
335 #
336 **********************************************************************
337 # Monitor section #
338 **********************************************************************
339
340 # Any number of monitor sections may be present
341
342 Section "Monitor"
343
344 Identifier "Iiyama Vision Master 400"
345
346 # HorizSync is in kHz unless units are specified.
347 # HorizSync may be a comma separated list of discrete values, or a
348 # comma separated list of ranges of values.
349 # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
350 # USER MANUAL FOR THE CORRECT NUMBERS.
351
352 HorizSync 31.5-95.0
353
354 # HorizSync 30-64 # multisync
355 # HorizSync 31.5, 35.2 # multiple fixed sync frequencies
356 # HorizSync 15-25, 30-50 # multiple ranges of sync frequencies
357
358 # VertRefresh is in Hz unless units are specified.
359 # VertRefresh may be a comma separated list of discrete values, or a
360 # comma separated list of ranges of values.
361 # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
362 # USER MANUAL FOR THE CORRECT NUMBERS.
363
364 VertRefresh 60
365
366 EndSection
367
368
369 #
370 **********************************************************************
371 # Graphics device section #
372 **********************************************************************
373
374 # Any number of graphics device sections may be present
375
376 # Standard VGA Device:
377
378 Section "Device"
379 Identifier "Standard VGA"
380 VendorName "Unknown"
381 BoardName "Unknown"
382
383 # The chipset line is optional in most cases. It can be used to
384 override # the driver's chipset detection, and should not normally be
385 specified.
386
387 # Chipset "generic"
388
389 # The Driver line must be present. When using run-time loadable
390 driver # modules, this line instructs the server to load the specified
391 driver # module. Even when not using loadable driver modules, this
392 line # indicates which driver should interpret the information in this
393 section.
394
395 Driver "vga"
396 # The BusID line is used to specify which of possibly multiple devices
397 # this section is intended for. When this line isn't present, a
398 device # section can only match up with the primary video device. For
399 PCI # devices a line like the following could be used. This line
400 should not # normally be included unless there is more than one video
401 device # intalled.
402
403 # BusID "PCI:0:10:0"
404
405 # VideoRam 256
406
407 # Clocks 25.2 28.3
408
409 EndSection
410
411 # Device configured by xorgconfig:
412
413 Section "Device"
414 Identifier "GeForce 5900XT"
415 Driver "nvidia"
416 #VideoRam 131072
417 # Insert Clocks lines here if appropriate
418 Option "NoLogo" "true"
419 #### Option "ConnectedMonitor" "DFP, DFP"
420 Option "TwinView" "on"
421 Option "TwinViewOrientation" "RightOf"
422 Option "SecondMonitorHoizSync" "75-90"
423 Option "SecondMonitorVertRefresh" "60"
424 Option "MetaModes" "1280x1024,1280x1024"
425 EndSection
426
427
428 #
429 **********************************************************************
430 # Screen sections #
431 **********************************************************************
432
433 # Any number of screen sections may be present. Each describes
434 # the configuration of a single screen. A single specific screen
435 section # may be specified from the X server command line with the
436 "-screen" # option.
437 Section "Screen"
438 Identifier "Screen 1"
439 Device "GeForce 5900XT"
440 Monitor "Iiyama Vision Master 400"
441 DefaultDepth 24
442
443 Subsection "Display"
444 Depth 8
445 Modes "1280x1024"
446 ViewPort 0 0
447 EndSubsection
448 Subsection "Display"
449 Depth 16
450 Modes "1280x1024"
451 ViewPort 0 0
452 EndSubsection
453 Subsection "Display"
454 Depth 24
455 Modes "1280x1024"
456 ViewPort 0 0
457 EndSubsection
458 EndSection
459
460 #
461 **********************************************************************
462 # ServerLayout sections. #
463 **********************************************************************
464
465 # Any number of ServerLayout sections may be present. Each describes
466 # the way multiple screens are organised. A specific ServerLayout
467 # section may be specified from the X server command line with the
468 # "-layout" option. In the absence of this, the first section is
469 used. # When now ServerLayout section is present, the first Screen
470 section # is used alone.
471
472 Section "ServerLayout"
473
474 # The Identifier line must be present
475 Identifier "Simple Layout"
476
477 # Each Screen line specifies a Screen section name, and optionally
478 # the relative position of other screens. The four names after
479 # primary screen name are the screens to the top, bottom, left and
480 right # of the primary screen. In this example, screen 2 is located
481 to the # right of screen 1.
482
483 Screen "Screen 1"
484
485 # Each InputDevice line specifies an InputDevice section name and
486 # optionally some options to specify the way the device is to be
487 # used. Those options include "CorePointer", "CoreKeyboard" and
488 # "SendCoreEvents".
489
490 InputDevice "LogitechMX500" "CorePointer"
491 InputDevice "LogitechCordlessDesktop" "CoreKeyboard"
492
493 EndSection
494
495 # Section "DRI"
496 # Mode 0666
497 # EndSection
498
499
500
501 Vielen Dank für Hilfe :)
502
503 CU
504 Werner
505
506 --
507 gentoo-user-de@g.o mailing list

Replies

Subject Author
Re: [gentoo-user-de] Primäres Display für TwinView Martin Brauns <majabrauns@×××.de>
[gentoo-user-de] emerge gelöscht nach "emerge -Davu system" Florian Wallburg <florian.wallburg@×××.de>