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