Gentoo Archives: gentoo-user

From: GerhardosG <gerhard.goessl@×××××××.org>
To: gentoo-user@l.g.o
Subject: [gentoo-user] X11 start breaks
Date: Tue, 15 Dec 2009 12:02:03
Message-Id: 4B277318.2040908@allgaeu.org
1 Hi , everyone
2
3 tux / # lsmod
4 Module Size Used by
5 test_nx 1824 0
6 psmouse 37980 0
7 nvidia 9574140 0
8
9
10
11
12
13 Here is my xorg.conf
14
15
16 # $XdotOrg$
17 #
18 # Copyright (c) 1994-1998 by The XFree86 Project, Inc.
19 # $XConsortium: XF86Conf.cpp /main/22 1996/10/23 11:43:51 kaleb $
20
21 # **********************************************************************
22 # Files section. This allows default font and rgb paths to be set
23 # **********************************************************************
24
25 Section "Files"
26
27 # Multiple FontPath entries are allowed (which are concatenated together),
28 # as well as specifying multiple comma-separated entries in one FontPath
29 # command (or a combination of both methods)
30
31 FontPath "/usr/share/fonts/local"
32 FontPath "/usr/share/fonts/misc"
33 FontPath "/usr/share/fonts/Type1"
34 FontPath "/usr/share/fonts/TTF"
35 FontPath "/usr/share/fonts/75dpi"
36 FontPath "/usr/share/fonts/100dpi"
37
38 # ModulePath can be used to set a search path for the X server modules.
39 # The default path is shown here.
40
41 # ModulePath "/usr/lib/xorg/modules"
42
43 EndSection
44
45 # **********************************************************************
46 # Module section -- this is an optional section which is used to specify
47 # which run-time loadable modules to load when the X server starts up.
48 # **********************************************************************
49
50 Section "Module"
51
52 # This loads the DBE extension module.
53
54 Load "dbe"
55 Load "glx"
56
57 # This loads the miscellaneous extensions module, and disables
58 # initialisation of the XFree86-DGA extension within that module.
59
60 SubSection "extmod"
61 Option "omit xfree86-dga"
62 EndSubSection
63
64 # This loads the Type1 and FreeType font modules
65
66 Load "type1"
67 Load "freetype"
68
69 EndSection
70
71
72 # **********************************************************************
73 # Server flags section. This contains various server-wide Options.
74 # **********************************************************************
75
76 Section "ServerFlags"
77
78 # Uncomment this to cause a core dump at the spot where a signal is
79 # received. This may leave the console in an unusable state, but may
80 # provide a better stack trace in the core dump to aid in debugging
81
82 # Option "NoTrapSignals"
83
84 # Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
85 # (where n is 1 through 12). This allows clients to receive these key
86 # events.
87
88 # Option "DontVTSwitch"
89
90 # Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
91 # This allows clients to receive this key event.
92
93 # Option "DontZap"
94
95 # Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
96 # sequences. This allows clients to receive these key events.
97
98 # Option "DontZoom"
99
100 # Uncomment this to disable tuning with the xvidtune client. With
101 # it the client can still run and fetch card and monitor attributes,
102 # but it will not be allowed to change them. If it tries it will
103 # receive a protocol error.
104
105 # Option "DisableVidModeExtension"
106
107 # Uncomment this to enable the use of a non-local xvidtune client.
108
109 # Option "AllowNonLocalXvidtune"
110
111 # Uncomment this to disable dynamically modifying the input device
112 # (mouse and keyboard) settings.
113
114 # Option "DisableModInDev"
115
116 # Uncomment this to enable the use of a non-local client to
117 # change the keyboard or mouse settings (currently only xset).
118
119 # Option "AllowNonLocalModInDev"
120
121 # Set the basic blanking screen saver timeout.
122
123 Option "blank time" "10" # 10 minutes
124
125 # Set the DPMS timeouts. These are set here because they are global
126 # rather than screen-specific. These settings alone don't enable DPMS.
127 # It is enabled per-screen (or per-monitor), and even then only when
128 # the driver supports it.
129
130 Option "standby time" "20"
131 Option "suspend time" "30"
132 Option "off time" "60"
133
134 # On some platform the server needs to estimate the sizes of PCI
135 # memory and pio ranges. This is done by assuming that PCI ranges
136 # don't overlap. Some broken BIOSes tend to set ranges of inactive
137 # devices wrong. Here one can adjust how aggressive the assumptions
138 # should be. Default is 0.
139
140 # Option "EstimateSizesAggresively" "0"
141
142 EndSection
143
144 # **********************************************************************
145 # Input devices
146 # **********************************************************************
147
148 # **********************************************************************
149 # Core keyboard's InputDevice section
150 # **********************************************************************
151
152 Section "InputDevice"
153
154 Identifier "Keyboard1"
155 Driver "kbd"
156
157 # Set the keyboard auto repeat parameters. Not all platforms implement
158 # this.
159
160 Option "AutoRepeat" "500 5"
161
162
163 # To disable the XKEYBOARD extension, uncomment XkbDisable.
164
165 Option "XkbDisable"
166
167 # To customise the XKB settings to suit your keyboard, modify the
168 # lines below (which are the defaults). For example, for a European
169 # keyboard, you will probably want to use one of:
170 #
171 # Option "XkbModel" "pc102"
172 Option "XkbModel" "pc105"
173 #
174 # If you have a Microsoft Natural keyboard, you can use:
175 #
176 # Option "XkbModel" "microsoft"
177 #
178 # If you have a US "windows" keyboard you will want:
179 #
180 # Option "XkbModel" "pc104"
181 #
182 # Then to change the language, change the Layout setting.
183 # For example, a german layout can be obtained with:
184 #
185 Option "XkbLayout" "de"
186 #
187 # or:
188 #
189 # Option "XkbLayout" "de"
190 # Option "XkbVariant" "nodeadkeys"
191 #
192 # If you'd like to switch the positions of your capslock and
193 # control keys, use:
194 #
195 # Option "XkbOptions" "ctrl:swapcaps"
196
197
198 # These are the default XKB settings for xorg
199 #
200 Option "XkbRules" "xorg"
201 Option "XkbModel" "pc101"
202 Option "XkbLayout" "de"
203 # Option "XkbVariant" ""
204 # Option "XkbOptions" ""
205
206 EndSection
207
208
209 # **********************************************************************
210 # Core Pointer's InputDevice section
211 # **********************************************************************
212
213 Section "InputDevice"
214
215 # Identifier and driver
216
217 Identifier "Mouse1"
218 Driver "mouse"
219
220 # The mouse protocol and device. The device is normally set to /dev/mouse,
221 # which is usually a symbolic link to the real device.
222
223 Option "Protocol" "Microsoft"
224 Option "Device" "/dev/input/mice"
225
226 # On platforms where PnP mouse detection is supported the following
227 # protocol setting can be used when using a newer PnP mouse:
228
229 # Option "Protocol" "Auto"
230
231 # When using mouse connected to a PS/2 port (aka "MousePort"), set the
232 # the protocol as follows. On some platforms some other settings may
233 # be available.
234
235 Option "Protocol" "PS/2"
236
237 # Baudrate and SampleRate are only for some older Logitech mice. In
238 # almost every case these lines should be omitted.
239
240 # Option "BaudRate" "9600"
241 # Option "SampleRate" "150"
242
243 # Emulate3Buttons is an option for 2-button mice
244 # Emulate3Timeout is the timeout in milliseconds (default is 50ms)
245
246 # Option "Emulate3Buttons"
247 # Option "Emulate3Timeout" "50"
248
249 # ChordMiddle is an option for some 3-button Logitech mice, or any
250 # 3-button mouse where the middle button generates left+right button
251 # events.
252
253 # Option "ChordMiddle"
254
255 EndSection
256
257
258 # **********************************************************************
259 # Monitor section
260 # **********************************************************************
261
262 # Any number of monitor sections may be present
263
264 Section "Monitor"
265
266 # The identifier line must be present.
267
268 Identifier "Generic Monitor"
269
270 # HorizSync is in kHz unless units are specified.
271 # HorizSync may be a comma separated list of discrete values, or a
272 # comma separated list of ranges of values.
273 # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
274 # USER MANUAL FOR THE CORRECT NUMBERS.
275
276 # HorizSync 31.5 # typical for a single frequency fixed-sync monitor
277 # HorizSync 30-64 # multisync
278 # HorizSync 31.5, 35.2 # multiple fixed sync frequencies
279 # HorizSync 15-25, 30-50 # multiple ranges of sync frequencies
280
281 # VertRefresh is in Hz unless units are specified.
282 # VertRefresh may be a comma separated list of discrete values, or a
283 # comma separated list of ranges of values.
284 # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
285 # USER MANUAL FOR THE CORRECT NUMBERS.
286
287 # VertRefresh 60 # typical for a single frequency fixed-sync
288 monitor
289
290 # VertRefresh 50-100 # multisync
291 # VertRefresh 60, 65 # multiple fixed sync frequencies
292 # VertRefresh 40-50, 80-100 # multiple ranges of sync frequencies
293
294 # Modes can be specified in two formats. A compact one-line format, or
295 # a multi-line format.
296
297 # A generic VGA 640x480 mode (hsync = 31.5kHz, refresh = 60Hz)
298 # These two are equivalent
299
300 # ModeLine "640x480" 25.175 640 664 760 800 480 491 493 525
301
302 Mode "640x480"
303 DotClock 25.175
304 HTimings 640 664 760 800
305 VTimings 480 491 493 525
306 EndMode
307
308 # These two are equivalent
309
310 # ModeLine "1024x768i" 45 1024 1048 1208 1264 768 776 784 817 Interlace
311
312 # Mode "1024x768i"
313 # DotClock 45
314 # HTimings 1024 1048 1208 1264
315 # VTimings 768 776 784 817
316 # Flags "Interlace"
317 # EndMode
318
319 # If a monitor has DPMS support, that can be indicated here. This will
320 # enable DPMS when the monitor is used with drivers that support it.
321
322 # Option "dpms"
323
324 # If a monitor requires that the sync signals be superimposed on the
325 # green signal, the following option will enable this when used with
326 # drivers that support it. Only a relatively small range of hardware
327 # (and drivers) actually support this.
328 # Option "sync on green"
329
330 EndSection
331
332 # **********************************************************************
333 # Graphics device section
334 # **********************************************************************
335
336 # Any number of graphics device sections may be present
337
338 Section "Device"
339
340 # The Identifier must be present.
341
342 Identifier "nVidia GeForce"
343 Driver "nVidia"
344
345 # Chipset "generic"
346
347 VideoRam 262144
348
349 # Clocks 25.2 28.3
350 # BusID "PCI:0:10:0"
351 # Option "hw cursor" "off"
352
353 EndSection
354
355
356 # **********************************************************************
357 # Screen sections.
358 # **********************************************************************
359
360 # Any number of screen sections may be present. Each describes
361 # the configuration of a single screen. A single specific screen section
362 # may be specified from the X server command line with the "-screen"
363 # option.
364
365 Section "Screen"
366
367 # The Identifier, Device and Monitor lines must be present
368
369 Identifier "Default Screen"
370 Device "GeForce 7600 GT"
371 Monitor "Generic Monitor"
372
373 # The favoured Depth and/or Bpp may be specified here
374
375 DefaultDepth 24
376
377 SubSection "Display"
378 Depth 24
379 Modes "1440x900"
380 ViewPort 0 0
381 Virtual 800 600
382 EndSubsection
383
384
385 EndSection
386
387
388
389 # **********************************************************************
390 # ServerLayout sections.
391 # **********************************************************************
392
393 # Any number of ServerLayout sections may be present. Each describes
394 # the way multiple screens are organised. A specific ServerLayout
395 # section may be specified from the X server command line with the
396 # "-layout" option. In the absence of this, the first section is used.
397 # When now ServerLayout section is present, the first Screen section
398 # is used alone.
399
400 Section "ServerLayout"
401
402 # The Identifier line must be present
403
404 Identifier "Main Layout"
405
406 Screen "Default Screen"
407
408 InputDevice "Mouse1" "CorePointer"
409
410 InputDevice "Keyboard1" "CoreKeyboard"
411
412 EndSection
413
414
415
416 tux ~
417 #

Replies

Subject Author
Re: [gentoo-user] X11 start breaks Ates <attila.boczko@×××××.com>