Gentoo Archives: gentoo-amd64

From: Vishal <vishal.gnutech@×××××.com>
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] Re:ATi driver
Date: Mon, 21 Aug 2006 05:13:24
Message-Id: 44E98B62.1090908@gmail.com
1 well if its not working there may be few things , like what kernel
2 version you are using , i have the same card and ATI drivers didnt work
3 on 2.6.16-rc2 but when i switched to 2.6.17 it worked without any
4 problem so check it out that first . i am attaching my xorg.conf with
5 this email hope it will help you , if you need more help email me back
6
7 Regards
8
9 Vishal
10
11 http://www.vishal-tech.co.uk/
12
13 ------------------------------------------------------------------------
14
15
16 # $XdotOrg: xc/programs/Xserver/hw/xfree86/xorgconf.cpp,v 1.2 2004/04/23 19:20:02 eich Exp $
17 #
18 # Copyright (c) 1994-1998 by The XFree86 Project, Inc.
19 #
20 # Permission is hereby granted, free of charge, to any person obtaining a
21 # copy of this software and associated documentation files (the "Software"),
22 # to deal in the Software without restriction, including without limitation
23 # the rights to use, copy, modify, merge, publish, distribute, sublicense,
24 # and/or sell copies of the Software, and to permit persons to whom the
25 # Software is furnished to do so, subject to the following conditions:
26 #
27 # The above copyright notice and this permission notice shall be included in
28 # all copies or substantial portions of the Software.
29 #
30 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
31 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
32 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
33 # THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
34 # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
35 # OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
36 # SOFTWARE.
37 #
38 # Except as contained in this notice, the name of the XFree86 Project shall
39 # not be used in advertising or otherwise to promote the sale, use or other
40 # dealings in this Software without prior written authorization from the
41 # XFree86 Project.
42 #
43 # $XConsortium: XF86Conf.cpp /main/22 1996/10/23 11:43:51 kaleb $
44 # **********************************************************************
45 # This is a sample configuration file only, intended to illustrate
46 # what a config file might look like. Refer to the XF86Config(4/5)
47 # man page for details about the format of this file. This man page
48 # is installed as /usr/share/man/man5/xorg.conf.5x
49 # **********************************************************************
50 # The ordering of sections is not important in version 4.0 and later.
51 # **********************************************************************
52 # Files section. This allows default font and rgb paths to be set
53 # **********************************************************************
54 # **********************************************************************
55 # Module section -- this is an optional section which is used to specify
56 # which run-time loadable modules to load when the X server starts up.
57 # **********************************************************************
58 # **********************************************************************
59 # Server flags section. This contains various server-wide Options.
60 # **********************************************************************
61 # **********************************************************************
62 # Input devices
63 # **********************************************************************
64 # **********************************************************************
65 # Core keyboard's InputDevice section
66 # **********************************************************************
67 # **********************************************************************
68 # Core Pointer's InputDevice section
69 # **********************************************************************
70 # Some examples of extended input devices
71 # Section "InputDevice"
72 # Identifier "spaceball"
73 # Driver "magellan"
74 # Option "Device" "/dev/cua0"
75 # EndSection
76 #
77 # Section "InputDevice"
78 # Identifier "spaceball2"
79 # Driver "spaceorb"
80 # Option "Device" "/dev/cua0"
81 # EndSection
82 #
83 # Section "InputDevice"
84 # Identifier "touchscreen0"
85 # Driver "microtouch"
86 # Option "Device" "/dev/ttyS0"
87 # Option "MinX" "1412"
88 # Option "MaxX" "15184"
89 # Option "MinY" "15372"
90 # Option "MaxY" "1230"
91 # Option "ScreenNumber" "0"
92 # Option "ReportingMode" "Scaled"
93 # Option "ButtonNumber" "1"
94 # Option "SendCoreEvents"
95 # EndSection
96 #
97 # Section "InputDevice"
98 # Identifier "touchscreen1"
99 # Driver "elo2300"
100 # Option "Device" "/dev/ttyS0"
101 # Option "MinX" "231"
102 # Option "MaxX" "3868"
103 # Option "MinY" "3858"
104 # Option "MaxY" "272"
105 # Option "ScreenNumber" "0"
106 # Option "ReportingMode" "Scaled"
107 # Option "ButtonThreshold" "17"
108 # Option "ButtonNumber" "1"
109 # Option "SendCoreEvents"
110 # EndSection
111 # **********************************************************************
112 # Monitor section
113 # **********************************************************************
114 # Any number of monitor sections may be present
115 # **********************************************************************
116 # Graphics device section
117 # **********************************************************************
118 # Any number of graphics device sections may be present
119 # **********************************************************************
120 # Screen sections.
121 # **********************************************************************
122 # Any number of screen sections may be present. Each describes
123 # the configuration of a single screen. A single specific screen section
124 # may be specified from the X server command line with the "-screen"
125 # option.
126 # **********************************************************************
127 # ServerLayout sections.
128 # **********************************************************************
129 # Any number of ServerLayout sections may be present. Each describes
130 # the way multiple screens are organised. A specific ServerLayout
131 # section may be specified from the X server command line with the
132 # "-layout" option. In the absence of this, the first section is used.
133 # When now ServerLayout section is present, the first Screen section
134 # is used alone.
135
136 Section "ServerLayout"
137
138 # The Identifier line must be present
139 # Each Screen line specifies a Screen section name, and optionally
140 # the relative position of other screens. The four names after
141 # primary screen name are the screens to the top, bottom, left and right
142 # of the primary screen. In this example, screen 2 is located to the
143 # right of screen 1.
144 # Each InputDevice line specifies an InputDevice section name and
145 # optionally some options to specify the way the device is to be
146 # used. Those options include "CorePointer", "CoreKeyboard" and
147 # "SendCoreEvents". In this example, "Mouse1" is the core pointer,
148 # and "Mouse2" is an extended input device that also generates core
149 # pointer events (i.e., both mice will move the standard pointer).
150 Identifier "Main Layout"
151 Screen 0 "aticonfig-Screen[0]" 0 0
152 InputDevice "Mouse1" "CorePointer"
153 InputDevice "Mouse2" "SendCoreEvents"
154 InputDevice "Keyboard1" "CoreKeyboard"
155 EndSection
156
157 Section "ServerLayout"
158 Identifier "another layout"
159 Screen "Screen 1" 0 0
160 Screen "Screen MGA 1" 0 0
161 InputDevice "Mouse1" "CorePointer"
162 InputDevice "Keyboard1" "CoreKeyboard"
163 EndSection
164
165 Section "ServerLayout"
166 Identifier "simple layout"
167 Screen "Screen 1" 0 0
168 InputDevice "Mouse1" "CorePointer"
169 InputDevice "Keyboard1" "CoreKeyboard"
170 EndSection
171
172 Section "Files"
173
174 # The location of the RGB database. Note, this is the name of the
175 # file minus the extension (like ".txt" or ".db"). There is normally
176 # no need to change the default.
177 # Multiple FontPath entries are allowed (which are concatenated together),
178 # as well as specifying multiple comma-separated entries in one FontPath
179 # command (or a combination of both methods)
180 # For XFS, uncomment this and comment the others
181 # FontPath "unix/:-1"
182 # ModulePath can be used to set a search path for the X server modules.
183 # The default path is shown here.
184 # ModulePath "/usr/lib64/modules"
185 RgbPath "/usr/lib64/X11/rgb"
186 FontPath "/usr/share/fonts/local/"
187 FontPath "/usr/share/fonts/misc/"
188 FontPath "/usr/share/fonts/75dpi/:unscaled"
189 FontPath "/usr/share/fonts/100dpi/:unscaled"
190 FontPath "/usr/share/fonts/Type1/"
191 FontPath "/usr/share/fonts/TTF/"
192 FontPath "/usr/share/fonts/CID/"
193 FontPath "/usr/share/fonts/Speedo/"
194 FontPath "/usr/share/fonts/75dpi/"
195 FontPath "/usr/share/fonts/100dpi/"
196 EndSection
197
198 Section "Module"
199
200 # This loads the DBE extension module.
201 # initialisation of the XFree86-DGA extension within that module.
202 # This loads the Type1 and FreeType font modules
203 Load "dbe"
204 # This loads the miscellaneous extensions module, and disables
205 SubSection "extmod"
206 Option "omit xfree86-dga"
207 EndSubSection
208 Load "type1"
209 Load "freetype"
210 Load "dri"
211 Load "glx"
212 EndSection
213
214 Section "ServerFlags"
215
216 # Uncomment this to cause a core dump at the spot where a signal is
217 # received. This may leave the console in an unusable state, but may
218 # provide a better stack trace in the core dump to aid in debugging
219 # Option "NoTrapSignals"
220 # Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
221 # (where n is 1 through 12). This allows clients to receive these key
222 # events.
223 # Option "DontVTSwitch"
224 # Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
225 # This allows clients to receive this key event.
226 # Option "DontZap"
227 # Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
228 # sequences. This allows clients to receive these key events.
229 # Option "DontZoom"
230 # Uncomment this to disable tuning with the xvidtune client. With
231 # it the client can still run and fetch card and monitor attributes,
232 # but it will not be allowed to change them. If it tries it will
233 # receive a protocol error.
234 # Option "DisableVidModeExtension"
235 # Uncomment this to enable the use of a non-local xvidtune client.
236 # Option "AllowNonLocalXvidtune"
237 # Uncomment this to disable dynamically modifying the input device
238 # (mouse and keyboard) settings.
239 # Option "DisableModInDev"
240 # Uncomment this to enable the use of a non-local client to
241 # change the keyboard or mouse settings (currently only xset).
242 # Option "AllowNonLocalModInDev"
243 # Set the basic blanking screen saver timeout.
244 # Set the DPMS timeouts. These are set here because they are global
245 # rather than screen-specific. These settings alone don't enable DPMS.
246 # It is enabled per-screen (or per-monitor), and even then only when
247 # the driver supports it.
248 # memory and pio ranges. This is done by assuming that PCI ranges
249 # don't overlap. Some broken BIOSes tend to set ranges of inactive
250 # devices wrong. Here one can adjust how aggressive the assumptions
251 # should be. Default is 0.
252 # Option "EstimateSizesAggresively" "0"
253 Option "blank time" "10" # 10 minutes
254 Option "standby time" "20"
255 Option "suspend time" "30"
256 Option "off time" "60"
257 # On some platform the server needs to estimate the sizes of PCI
258 EndSection
259
260 Section "InputDevice"
261
262 # For most OSs the protocol can be omitted (it defaults to "Standard").
263 # When using XQUEUE (only for SVR3 and SVR4, but not Solaris), comment
264 # out the above line, and uncomment the following line.
265 # Option "Protocol" "Xqueue"
266 # Set the keyboard auto repeat parameters. Not all platforms implement
267 # this.
268 # Option "Xleds" "1 2 3"
269 # To disable the XKEYBOARD extension, uncomment XkbDisable.
270 # Option "XkbDisable"
271 # To customise the XKB settings to suit your keyboard, modify the
272 # lines below (which are the defaults). For example, for a European
273 # keyboard, you will probably want to use one of:
274 #
275 # Option "XkbModel" "pc102"
276 # Option "XkbModel" "pc105"
277 #
278 # If you have a Microsoft Natural keyboard, you can use:
279 #
280 # Option "XkbModel" "microsoft"
281 #
282 # If you have a US "windows" keyboard you will want:
283 #
284 # Option "XkbModel" "pc104"
285 #
286 # Then to change the language, change the Layout setting.
287 # For example, a german layout can be obtained with:
288 #
289 # Option "XkbLayout" "de"
290 #
291 # or:
292 #
293 # Option "XkbLayout" "de"
294 # Option "XkbVariant" "nodeadkeys"
295 #
296 # If you'd like to switch the positions of your capslock and
297 # control keys, use:
298 #
299 # Option "XkbOptions" "ctrl:swapcaps"
300 # These are the default XKB settings for xorg
301 #
302 # Option "XkbModel" "pc101"
303 # Option "XkbLayout" "us"
304 # Option "XkbVariant" ""
305 # Option "XkbOptions" ""
306 Identifier "Keyboard1"
307 Driver "keyboard"
308 Option "AutoRepeat" "500 5"
309 # Specifiy which keyboard LEDs can be user-controlled (eg, with xset(1)).
310 EndSection
311
312 Section "InputDevice"
313
314 # Identifier and driver
315 # The mouse protocol and device. The device is normally set to /dev/mouse,
316 # which is usually a symbolic link to the real device.
317 # protocol setting can be used when using a newer PnP mouse:
318 # Option "Protocol" "Auto"
319 # When using mouse connected to a PS/2 port (aka "MousePort"), set the
320 # the protocol as follows. On some platforms some other settings may
321 # be available.
322 # Option "Protocol" "PS/2"
323 # When using XQUEUE (only for SVR3 and SVR4, but not Solaris), use
324 # the following instead of any of the lines above. The Device line
325 # is not required in this case.
326 # Option "Protocol" "Xqueue"
327 # Baudrate and SampleRate are only for some older Logitech mice. In
328 # almost every case these lines should be omitted.
329 # Option "BaudRate" "9600"
330 # Option "SampleRate" "150"
331 # Emulate3Buttons is an option for 2-button mice
332 # Emulate3Timeout is the timeout in milliseconds (default is 50ms)
333 # Option "Emulate3Buttons"
334 # Option "Emulate3Timeout" "50"
335 # ChordMiddle is an option for some 3-button Logitech mice, or any
336 # 3-button mouse where the middle button generates left+right button
337 # events.
338 # Option "ChordMiddle"
339 Identifier "Mouse1"
340 Driver "mouse"
341 Option "Protocol" "PS/2"
342 Option "Device" "/dev/psaux"
343 # On platforms where PnP mouse detection is supported the following
344 EndSection
345
346 Section "InputDevice"
347 Identifier "Mouse2"
348 Driver "mouse"
349 Option "Protocol" "MouseMan"
350 Option "Device" "/dev/mouse2"
351 EndSection
352
353 Section "Monitor"
354
355 # The identifier line must be present.
356 # HorizSync is in kHz unless units are specified.
357 # HorizSync may be a comma separated list of discrete values, or a
358 # comma separated list of ranges of values.
359 # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
360 # USER MANUAL FOR THE CORRECT NUMBERS.
361 # HorizSync 31.5 # typical for a single frequency fixed-sync monitor
362 # HorizSync 30-64 # multisync
363 # HorizSync 31.5, 35.2 # multiple fixed sync frequencies
364 # HorizSync 15-25, 30-50 # multiple ranges of sync frequencies
365 # VertRefresh is in Hz unless units are specified.
366 # VertRefresh may be a comma separated list of discrete values, or a
367 # comma separated list of ranges of values.
368 # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
369 # USER MANUAL FOR THE CORRECT NUMBERS.
370 # VertRefresh 60 # typical for a single frequency fixed-sync monitor
371 # VertRefresh 50-100 # multisync
372 # VertRefresh 60, 65 # multiple fixed sync frequencies
373 # VertRefresh 40-50, 80-100 # multiple ranges of sync frequencies
374 # Modes can be specified in two formats. A compact one-line format, or
375 # a multi-line format.
376 # A generic VGA 640x480 mode (hsync = 31.5kHz, refresh = 60Hz)
377 # These two are equivalent
378 # ModeLine "640x480" 25.175 640 664 760 800 480 491 493 525
379 # These two are equivalent
380 # ModeLine "1024x768i" 45 1024 1048 1208 1264 768 776 784 817 Interlace
381 # Mode "1024x768i"
382 # DotClock 45
383 # HTimings 1024 1048 1208 1264
384 # VTimings 768 776 784 817
385 # Flags "Interlace"
386 # EndMode
387 # If a monitor has DPMS support, that can be indicated here. This will
388 # enable DPMS when the monitor is used with drivers that support it.
389 # Option "dpms"
390 # If a monitor requires that the sync signals be superimposed on the
391 # green signal, the following option will enable this when used with
392 # drivers that support it. Only a relatively small range of hardware
393 # (and drivers) actually support this.
394 # Option "sync on green"
395 Identifier "Generic Monitor"
396 ModeLine "640x480" 25.2 640 664 760 800 480 491 493 525
397 EndSection
398
399 Section "Monitor"
400 Identifier "aticonfig-Monitor[0]"
401 Option "VendorName" "ATI Proprietary Driver"
402 Option "ModelName" "Generic Autodetecting Monitor"
403 Option "DPMS" "true"
404 EndSection
405
406 Section "Device"
407
408 # The Identifier must be present.
409 # The Driver line must be present. When using run-time loadable driver
410 # modules, this line instructs the server to load the specified driver
411 # module. Even when not using loadable driver modules, this line
412 # indicates which driver should interpret the information in this section.
413 # The chipset line is optional in most cases. It can be used to override
414 # the driver's chipset detection, and should not normally be specified.
415 # Chipset "generic"
416 # Various other lines can be specified to override the driver's automatic
417 # detection code. In most cases they are not needed.
418 # VideoRam 256
419 # Clocks 25.2 28.3
420 # The BusID line is used to specify which of possibly multiple devices
421 # this section is intended for. When this line isn't present, a device
422 # section can only match up with the primary video device. For PCI
423 # devices a line like the following could be used. This line should not
424 # normally be included unless there is more than one video device
425 # intalled.
426 # BusID "PCI:0:10:0"
427 # Various option lines can be added here as required. Some options
428 # are more appropriate in Screen sections, Display subsections or even
429 # Monitor sections.
430 # Option "hw cursor" "off"
431 Identifier "Generic VGA"
432 Driver "vga"
433 EndSection
434
435 Section "Device"
436 Identifier "any supported Trident chip"
437 Driver "trident"
438 EndSection
439
440 Section "Device"
441 Identifier "MGA Millennium I"
442 Driver "mga"
443 Option "hw cursor" "off"
444 BusID "PCI:0:10:0"
445 EndSection
446
447 Section "Device"
448 Identifier "MGA G200 AGP"
449 Driver "mga"
450 Option "pci retry"
451 BusID "PCI:1:0:0"
452 EndSection
453
454 Section "Device"
455 Identifier "aticonfig-Device[0]"
456 Driver "fglrx"
457 Option "UseInternalAGPGART" "no"
458 EndSection
459
460 Section "Screen"
461
462 # The Identifier, Device and Monitor lines must be present
463 # The favoured Depth and/or Bpp may be specified here
464 Identifier "Screen 1"
465 Device "Generic VGA"
466 Monitor "Generic Monitor"
467 DefaultDepth 8
468 SubSection "Display"
469 Viewport 0 0
470 Virtual 800 600
471 Depth 8
472 Modes "640x480"
473 EndSubSection
474 SubSection "Display"
475 Depth 4
476 Modes "640x480"
477 EndSubSection
478 SubSection "Display"
479 Depth 1
480 Modes "640x480"
481 EndSubSection
482 EndSection
483
484 Section "Screen"
485
486 # DefaultDepth 24
487 Identifier "Screen MGA1"
488 Device "MGA Millennium I"
489 Monitor "Generic Monitor"
490 DefaultDepth 16
491 Option "no accel"
492 SubSection "Display"
493 Depth 8
494 Visual "StaticColor"
495 Modes "1280x1024"
496 Option "rgb bits" "8"
497 EndSubSection
498 SubSection "Display"
499 Depth 16
500 Modes "1280x1024"
501 EndSubSection
502 SubSection "Display"
503 Depth 24
504 Modes "1280x1024"
505 EndSubSection
506 EndSection
507
508 Section "Screen"
509 Identifier "Screen MGA2"
510 Device "MGA G200 AGP"
511 Monitor "Generic Monitor"
512 DefaultDepth 8
513 SubSection "Display"
514 Depth 8
515 Visual "StaticColor"
516 Modes "1280x1024"
517 Option "rgb bits" "8"
518 EndSubSection
519 EndSection
520
521 Section "Screen"
522 Identifier "aticonfig-Screen[0]"
523 Device "aticonfig-Device[0]"
524 Monitor "aticonfig-Monitor[0]"
525 DefaultDepth 24
526 SubSection "Display"
527 Viewport 0 0
528 Depth 24
529 EndSubSection
530 EndSection
531
532
533 --
534 gentoo-amd64@g.o mailing list