Gentoo Archives: gentoo-user

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

Replies