Open in CoCalc
1
# File: XF86Config-4
2
# File generated by fglrxconfig (C) ATI Research, a substitute for xf86config.
3
4
# Note by ATI: the below copyright notice is there for servicing possibly
5
# pending third party rights on the file format and the instance of this file.
6
#
7
# Copyright (c) 1999 by The XFree86 Project, Inc.
8
#
9
# Permission is hereby granted, free of charge, to any person obtaining a
10
# copy of this software and associated documentation files (the "Software"),
11
# to deal in the Software without restriction, including without limitation
12
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
13
# and/or sell copies of the Software, and to permit persons to whom the
14
# Software is furnished to do so, subject to the following conditions:
15
#
16
# The above copyright notice and this permission notice shall be included in
17
# all copies or substantial portions of the Software.
18
#
19
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
22
# THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
23
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
24
# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
25
# SOFTWARE.
26
#
27
# Except as contained in this notice, the name of the XFree86 Project shall
28
# not be used in advertising or otherwise to promote the sale, use or other
29
# dealings in this Software without prior written authorization from the
30
# XFree86 Project.
31
#
32
33
# **********************************************************************
34
# Refer to the XF86Config(4/5) man page for details about the format of
35
# this file.
36
# **********************************************************************
37
38
# **********************************************************************
39
# DRI Section
40
# **********************************************************************
41
Section "dri"
42
# Access to OpenGL ICD is allowed for all users:
43
Mode 0666
44
# Access to OpenGL ICD is restricted to a specific user group:
45
# Group 100 # users
46
# Mode 0660
47
EndSection
48
49
# **********************************************************************
50
# Module section -- this section is used to specify
51
# which dynamically loadable modules to load.
52
# **********************************************************************
53
#
54
Section "Module"
55
56
# This loads the DBE extension module.
57
58
Load "dbe" # Double buffer extension
59
60
# This loads the miscellaneous extensions module, and disables
61
# initialisation of the XFree86-DGA extension within that module.
62
# SubSection "extmod"
63
# Option "omit xfree86-dga"
64
# EndSubSection
65
Load "extmod"
66
67
# This loads the Type1 and FreeType font modules
68
Load "type1"
69
Load "freetype"
70
71
# This loads the GLX module
72
73
Load "glx" # libglx.a
74
# Load "dri" # libdri.a
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
# If you don't have a floating point coprocessor and emacs, Mosaic or other
95
# programs take long to start up, try moving the Type1 and Speedo directory
96
# to the end of this list (or comment them out).
97
#
98
99
# FontPath "/usr/X11R6/lib/X11/fonts/local/"
100
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
101
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
102
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
103
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
104
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
105
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
106
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
107
108
# The module search path. The default path is shown here.
109
110
# ModulePath "/usr/X11R6/lib/modules"
111
112
EndSection
113
114
# **********************************************************************
115
# Server flags section.
116
# **********************************************************************
117
118
Section "ServerFlags"
119
120
# Uncomment this to cause a core dump at the spot where a signal is
121
# received. This may leave the console in an unusable state, but may
122
# provide a better stack trace in the core dump to aid in debugging
123
124
# Option "NoTrapSignals"
125
126
# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
127
# This allows clients to receive this key event.
128
129
# Option "DontZap"
130
131
# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
132
# sequences. This allows clients to receive these key events.
133
134
# Option "Dont Zoom"
135
136
# Uncomment this to disable tuning with the xvidtune client. With
137
# it the client can still run and fetch card and monitor attributes,
138
# but it will not be allowed to change them. If it tries it will
139
# receive a protocol error.
140
141
# Option "DisableVidModeExtension"
142
143
# Uncomment this to enable the use of a non-local xvidtune client.
144
145
# Option "AllowNonLocalXvidtune"
146
147
# Uncomment this to disable dynamically modifying the input device
148
# (mouse and keyboard) settings.
149
150
# Option "DisableModInDev"
151
152
# Uncomment this to enable the use of a non-local client to
153
# change the keyboard or mouse settings (currently only xset).
154
155
# Option "AllowNonLocalModInDev"
156
157
EndSection
158
159
# **********************************************************************
160
# Input devices
161
# **********************************************************************
162
163
# **********************************************************************
164
# Core keyboard's InputDevice section
165
# **********************************************************************
166
167
Section "InputDevice"
168
169
Identifier "Keyboard1"
170
Driver "Keyboard"
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" "pc102"
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 XFree86
204
# Option "XkbRules" "xfree86"
205
# Option "XkbModel" "pc101"
206
# Option "XkbLayout" "us"
207
# Option "XkbVariant" ""
208
# Option "XkbOptions" ""
209
210
# Option "XkbDisable"
211
212
Option "XkbRules" "xfree86"
213
Option "XkbModel" "pc101"
214
Option "XkbLayout" "us"
215
216
EndSection
217
218
219
# **********************************************************************
220
# Core Pointer's InputDevice section
221
# **********************************************************************
222
223
Section "InputDevice"
224
225
# Identifier and driver
226
227
Identifier "Mouse1"
228
Driver "mouse"
229
Option "Protocol" "ImPS/2"
230
Option "ZAxisMapping" "4 5"
231
Option "Device" "/dev/input/mice"
232
233
# When using XQUEUE, comment out the above two lines, and uncomment
234
# the following line.
235
236
# Option "Protocol" "Xqueue"
237
238
# Baudrate and SampleRate are only for some Logitech mice. In
239
# almost every case these lines should be omitted.
240
241
# Option "BaudRate" "9600"
242
# Option "SampleRate" "150"
243
244
# Emulate3Buttons is an option for 2-button Microsoft mice
245
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)
246
247
# Option "Emulate3Buttons"
248
# Option "Emulate3Timeout" "50"
249
250
# ChordMiddle is an option for some 3-button Logitech mice
251
252
# Option "ChordMiddle"
253
254
EndSection
255
256
257
# **********************************************************************
258
# Other input device sections
259
# this is optional and is required only if you
260
# are using extended input devices. This is for example only. Refer
261
# to the XF86Config man page for a description of the options.
262
# **********************************************************************
263
#
264
# Section "InputDevice"
265
# Identifier "Mouse2"
266
# Driver "mouse"
267
# Option "Protocol" "MouseMan"
268
# Option "Device" "/dev/mouse2"
269
# EndSection
270
#
271
# Section "InputDevice"
272
# Identifier "spaceball"
273
# Driver "magellan"
274
# Option "Device" "/dev/cua0"
275
# EndSection
276
#
277
# Section "InputDevice"
278
# Identifier "spaceball2"
279
# Driver "spaceorb"
280
# Option "Device" "/dev/cua0"
281
# EndSection
282
#
283
# Section "InputDevice"
284
# Identifier "touchscreen0"
285
# Driver "microtouch"
286
# Option "Device" "/dev/ttyS0"
287
# Option "MinX" "1412"
288
# Option "MaxX" "15184"
289
# Option "MinY" "15372"
290
# Option "MaxY" "1230"
291
# Option "ScreenNumber" "0"
292
# Option "ReportingMode" "Scaled"
293
# Option "ButtonNumber" "1"
294
# Option "SendCoreEvents"
295
# EndSection
296
#
297
# Section "InputDevice"
298
# Identifier "touchscreen1"
299
# Driver "elo2300"
300
# Option "Device" "/dev/ttyS0"
301
# Option "MinX" "231"
302
# Option "MaxX" "3868"
303
# Option "MinY" "3858"
304
# Option "MaxY" "272"
305
# Option "ScreenNumber" "0"
306
# Option "ReportingMode" "Scaled"
307
# Option "ButtonThreshold" "17"
308
# Option "ButtonNumber" "1"
309
# Option "SendCoreEvents"
310
# EndSection
311
312
# **********************************************************************
313
# Monitor section
314
# **********************************************************************
315
316
# Any number of monitor sections may be present
317
318
Section "Monitor"
319
Identifier "Monitor0"
320
HorizSync 31.5 - 60.0
321
VertRefresh 60 - 85
322
Option "DPMS"
323
EndSection
324
325
Section "Monitor"
326
Identifier "External Monitor"
327
HorizSync 30-60
328
VertRefresh 43-90
329
Option "DPMS"
330
EndSection
331
332
333
# **********************************************************************
334
# Graphics device section
335
# **********************************************************************
336
337
# Any number of graphics device sections may be present
338
339
# Standard VGA Device:
340
341
Section "Device"
342
Identifier "Standard VGA"
343
VendorName "Unknown"
344
BoardName "Unknown"
345
346
# The chipset line is optional in most cases. It can be used to override
347
# the driver's chipset detection, and should not normally be specified.
348
349
# Chipset "generic"
350
351
# The Driver line must be present. When using run-time loadable driver
352
# modules, this line instructs the server to load the specified driver
353
# module. Even when not using loadable driver modules, this line
354
# indicates which driver should interpret the information in this section.
355
356
Driver "vga"
357
# The BusID line is used to specify which of possibly multiple devices
358
# this section is intended for. When this line isn't present, a device
359
# section can only match up with the primary video device. For PCI
360
# devices a line like the following could be used. This line should not
361
# normally be included unless there is more than one video device
362
# installed.
363
364
# BusID "PCI:0:10:0"
365
366
# VideoRam 256
367
368
# Clocks 25.2 28.3
369
370
EndSection
371
372
# === ATI device section ===
373
374
Section "Device"
375
Identifier "ATI Graphics Adapter"
376
Driver "fglrx"
377
# ### generic DRI settings ###
378
379
# === disable PnP Monitor ===
380
Option "NoDDC"
381
382
# === disable/enable XAA/DRI ===
383
Option "no_accel" "no"
384
Option "no_dri" "no"
385
# === misc DRI settings ===
386
Option "mtrr" "off" # disable DRI mtrr mapper, driver has its own code for mtrr
387
# ### FireGL DDX driver module specific settings ###
388
# === Screen Management ===
389
390
Option "DesktopSetup" "0x00000100"
391
Option "MonitorLayout" "AUTO, AUTO"
392
Option "IgnoreEDID" "off"
393
Option "HSync2" "unspecified"
394
Option "VRefresh2" "unspecified"
395
#Option "HSync2" "30-50"
396
#Option "VRefresh2" "43-60"
397
Option "ScreenOverlap" "0"
398
399
# === TV-out Management ===
400
Option "NoTV" "yes"
401
Option "TVStandard" "NTSC-M"
402
Option "TVHSizeAdj" "0"
403
Option "TVVSizeAdj" "0"
404
Option "TVHPosAdj" "0"
405
Option "TVVPosAdj" "0"
406
Option "TVHStartAdj" "0"
407
Option "TVColorAdj" "0"
408
Option "GammaCorrectionI" "0x00000000"
409
Option "GammaCorrectionII" "0x00000000"
410
# === OpenGL specific profiles/settings ===
411
Option "Capabilities" "0x00000000"
412
# === Video Overlay for the Xv extension ===
413
Option "VideoOverlay" "on"
414
# === OpenGL Overlay ===
415
# Note: When OpenGL Overlay is enabled, Video Overlay
416
# will be disabled automatically
417
Option "OpenGLOverlay" "off"
418
# === Center Mode (Laptops only) ===
419
Option "CenterMode" "off"
420
# === Pseudo Color Visuals (8-bit visuals) ===
421
Option "PseudoColorVisuals" "off"
422
# === QBS Management ===
423
Option "Stereo" "off"
424
Option "StereoSyncEnable" "1"
425
# === FSAA Management ===
426
Option "FSAAEnable" "no"
427
Option "FSAAScale" "1"
428
Option "FSAADisableGamma" "no"
429
Option "FSAACustomizeMSPos" "no"
430
Option "FSAAMSPosX0" "0.000000"
431
Option "FSAAMSPosY0" "0.000000"
432
Option "FSAAMSPosX1" "0.000000"
433
Option "FSAAMSPosY1" "0.000000"
434
Option "FSAAMSPosX2" "0.000000"
435
Option "FSAAMSPosY2" "0.000000"
436
Option "FSAAMSPosX3" "0.000000"
437
Option "FSAAMSPosY3" "0.000000"
438
Option "FSAAMSPosX4" "0.000000"
439
Option "FSAAMSPosY4" "0.000000"
440
Option "FSAAMSPosX5" "0.000000"
441
Option "FSAAMSPosY5" "0.000000"
442
# === Misc Options ===
443
Option "UseFastTLS" "2"
444
Option "BlockSignalsOnLock" "on"
445
Option "UseInternalAGPGART" "yes"
446
Option "ForceGenericCPU" "no"
447
BusID "PCI:1:0:0" # vendor=1002, device=4e54
448
Screen 0
449
EndSection
450
451
# **********************************************************************
452
# Screen sections
453
# **********************************************************************
454
455
# Any number of screen sections may be present. Each describes
456
# the configuration of a single screen. A single specific screen section
457
# may be specified from the X server command line with the "-screen"
458
# option.
459
Section "Screen"
460
Identifier "LCD"
461
Device "ATI Graphics Adapter"
462
Monitor "Monitor0"
463
DefaultDepth 24
464
#Option "backingstore"
465
466
Subsection "Display"
467
Depth 24
468
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
469
ViewPort 0 0 # initial origin if mode is smaller than desktop
470
EndSubsection
471
EndSection
472
473
Section "Screen"
474
Identifier "VGA"
475
Device "ATI Graphics Adapter"
476
Monitor "External Monitor"
477
DefaultDepth 24
478
Subsection "Display"
479
Depth 24
480
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
481
ViewPort 0 0
482
EndSubsection
483
EndSection
484
485
486
# **********************************************************************
487
# ServerLayout sections.
488
# **********************************************************************
489
490
# Any number of ServerLayout sections may be present. Each describes
491
# the way multiple screens are organised. A specific ServerLayout
492
# section may be specified from the X server command line with the
493
# "-layout" option. In the absence of this, the first section is used.
494
# When now ServerLayout section is present, the first Screen section
495
# is used alone.
496
497
Section "ServerLayout"
498
499
# The Identifier line must be present
500
Identifier "Server Layout"
501
502
# Each Screen line specifies a Screen section name, and optionally
503
# the relative position of other screens. The four names after
504
# primary screen name are the screens to the top, bottom, left and right
505
# of the primary screen.
506
507
Screen "LCD"
508
Screen "VGA"
509
510
# Each InputDevice line specifies an InputDevice section name and
511
# optionally some options to specify the way the device is to be
512
# used. Those options include "CorePointer", "CoreKeyboard" and
513
# "SendCoreEvents".
514
515
InputDevice "Mouse1" "CorePointer"
516
InputDevice "Keyboard1" "CoreKeyboard"
517
518
#Option "Xinerama" "true"
519
520
521
EndSection
522
523
### EOF ###
524