1 |
On Fri, 2006-03-24 at 14:15 -0500, Jeff wrote: |
2 |
> As root: |
3 |
> |
4 |
> X -configure |
5 |
> |
6 |
> This will attempt to detect your X hardware - mouse, keyboard, video, |
7 |
> monitor - and create a new temporary file called xorg.conf.new. You'll |
8 |
> then be able to edit and use this file to test X. You'll need to modify |
9 |
> xorg.conf.new to take advantage of your particular hardware so edit this |
10 |
> file a bit to your liking before you copy it to /etc/X11/ as xorg.conf. |
11 |
> If you're completely lost or don't really understand what I'm talking |
12 |
> about, check out this Gentoo documentation on setting up X: |
13 |
> |
14 |
> http://www.gentoo.org/doc/en/xorg-config.xml |
15 |
> |
16 |
> Here's my xorg.conf as an example (only use for reference since my |
17 |
> settings could possibly fry your hardware). Note, that I was able to get |
18 |
> all this info using the X -configure command, with some additional |
19 |
> nVidia tweaks and settings I found from Gentoo/Google: |
20 |
> |
21 |
> # more /etc/X11/xorg.conf |
22 |
> Section "ServerLayout" |
23 |
> Identifier "X.org Configured" |
24 |
> Screen 0 "Screen0" 0 0 |
25 |
> InputDevice "Mouse0" "CorePointer" |
26 |
> InputDevice "Keyboard0" "CoreKeyboard" |
27 |
> EndSection |
28 |
> |
29 |
> Section "Files" |
30 |
> RgbPath "/usr/lib/X11/rgb" |
31 |
> ModulePath "/usr/lib/modules" |
32 |
> FontPath "/usr/share/fonts/misc/" |
33 |
> FontPath "/usr/share/fonts/TTF/" |
34 |
> FontPath "/usr/share/fonts/Type1/" |
35 |
> FontPath "/usr/share/fonts/CID/" |
36 |
> FontPath "/usr/share/fonts/75dpi/" |
37 |
> FontPath "/usr/share/fonts/100dpi/" |
38 |
> FontPath "/usr/share/fonts/XP/" |
39 |
> FontPath "/usr/share/fonts/corefonts/" |
40 |
> EndSection |
41 |
> |
42 |
> Section "Module" |
43 |
> Load "extmod" |
44 |
> Load "dbe" |
45 |
> Load "record" |
46 |
> Load "xtrap" |
47 |
> Load "glx" |
48 |
> Load "type1" |
49 |
> Load "freetype" |
50 |
> EndSection |
51 |
> |
52 |
> Section "InputDevice" |
53 |
> Identifier "Keyboard0" |
54 |
> Driver "kbd" |
55 |
> EndSection |
56 |
> |
57 |
> Section "InputDevice" |
58 |
> Identifier "Mouse0" |
59 |
> Driver "mouse" |
60 |
> Option "Protocol" "auto" |
61 |
> Option "Device" "/dev/psaux" |
62 |
> Option "ZAxisMApping" "4 5" |
63 |
> EndSection |
64 |
> |
65 |
> Section "Monitor" |
66 |
> Identifier "Monitor0" |
67 |
> # HorizSync 28.0 - 78.0 # Warning: This may fry very old Monitors |
68 |
> HorizSync 28.0 - 96.0 # Warning: This may fry old Monitors |
69 |
> VertRefresh 50.0 - 75.0 # Very conservative. May flicker. |
70 |
> # VertRefresh 50.0 - 62.0 # Extreme conservative. Will flicker. |
71 |
> TFT default. |
72 |
> # Default modes distilled from |
73 |
> # "VESA and Industry Standards and Guide for Computer |
74 |
> Display Monitor |
75 |
> # Timing", version 1.0, revision 0.8, adopted September |
76 |
> 17, 1998. |
77 |
> # $XFree86: xc/programs/Xserver/hw/xfree86/etc/vesamodes,v 1.4 |
78 |
> 1999/11/18 16:52:17 tsi Exp $ |
79 |
> # 640x350 @ 85Hz (VESA) hsync: 37.9kHz |
80 |
> ModeLine "640x350" 31.5 640 672 736 832 350 382 385 |
81 |
> 445 +hsync -vsync |
82 |
> # 640x400 @ 85Hz (VESA) hsync: 37.9kHz |
83 |
> ModeLine "640x400" 31.5 640 672 736 832 400 401 404 |
84 |
> 445 -hsync +vsync |
85 |
> # 640x480 @ 60Hz (Industry standard) hsync: 31.5kHz |
86 |
> ModeLine "640x480" 25.2 640 656 752 800 480 490 492 |
87 |
> 525 -hsync -vsync |
88 |
> # 640x480 @ 72Hz (VESA) hsync: 37.9kHz |
89 |
> ModeLine "640x480" 31.5 640 664 704 832 480 489 491 |
90 |
> 520 -hsync -vsync |
91 |
> # 640x480 @ 75Hz (VESA) hsync: 37.5kHz |
92 |
> ModeLine "640x480" 31.5 640 656 720 840 480 481 484 |
93 |
> 500 -hsync -vsync |
94 |
> # 640x480 @ 85Hz (VESA) hsync: 43.3kHz |
95 |
> ModeLine "640x480" 36.0 640 696 752 832 480 481 484 |
96 |
> 509 -hsync -vsync |
97 |
> # 800x600 @ 56Hz (VESA) hsync: 35.2kHz |
98 |
> ModeLine "800x600" 36.0 800 824 896 1024 600 601 603 |
99 |
> 625 +hsync +vsync |
100 |
> # 800x600 @ 60Hz (VESA) hsync: 37.9kHz |
101 |
> ModeLine "800x600" 40.0 800 840 968 1056 600 601 605 |
102 |
> 628 +hsync +vsync |
103 |
> # 800x600 @ 72Hz (VESA) hsync: 48.1kHz |
104 |
> ModeLine "800x600" 50.0 800 856 976 1040 600 637 643 |
105 |
> 666 +hsync +vsync |
106 |
> # 800x600 @ 75Hz (VESA) hsync: 46.9kHz |
107 |
> ModeLine "800x600" 49.5 800 816 896 1056 600 601 604 |
108 |
> 625 +hsync +vsync |
109 |
> # 800x600 @ 85Hz (VESA) hsync: 53.7kHz |
110 |
> ModeLine "800x600" 56.3 800 832 896 1048 600 601 604 |
111 |
> 631 +hsync +vsync |
112 |
> # 1024x768i @ 43Hz (industry standard) hsync: 35.5kHz |
113 |
> ModeLine "1024x768" 44.9 1024 1032 1208 1264 768 768 776 |
114 |
> 817 +hsync +vsync Interlace |
115 |
> # 1024x768 @ 60Hz (VESA) hsync: 48.4kHz |
116 |
> ModeLine "1024x768" 65.0 1024 1048 1184 1344 768 771 777 |
117 |
> 806 -hsync -vsync |
118 |
> # 1024x768 @ 70Hz (VESA) hsync: 56.5kHz |
119 |
> ModeLine "1024x768" 75.0 1024 1048 1184 1328 768 771 777 |
120 |
> 806 -hsync -vsync |
121 |
> # 1024x768 @ 75Hz (VESA) hsync: 60.0kHz |
122 |
> ModeLine "1024x768" 78.8 1024 1040 1136 1312 768 769 772 |
123 |
> 800 +hsync +vsync |
124 |
> # 1024x768 @ 85Hz (VESA) hsync: 68.7kHz |
125 |
> ModeLine "1024x768" 94.5 1024 1072 1168 1376 768 769 772 |
126 |
> 808 +hsync +vsync |
127 |
> # 1152x864 @ 75Hz (VESA) hsync: 67.5kHz |
128 |
> # Extended modelines with GTF timings |
129 |
> # 640x480 @ 100.00 Hz (GTF) hsync: 50.90 kHz; pclk: 43.16 MHz |
130 |
> ModeLine "640x480" 43.16 640 680 744 848 480 481 484 509 |
131 |
> -HSync +Vsync |
132 |
> # 800x600 @ 100.00 Hz (GTF) hsync: 63.60 kHz; pclk: 68.18 MHz |
133 |
> ModeLine "800x600" 68.18 800 848 936 1072 600 601 604 636 |
134 |
> -HSync +Vsync |
135 |
> # 1024x768 @ 100.00 Hz (GTF) hsync: 81.40 kHz; pclk: 113.31 MHz |
136 |
> ModeLine "1024x768" 113.31 1024 1096 1208 1392 768 769 772 |
137 |
> 814 -HSync +Vsync |
138 |
> Gamma 1.75 |
139 |
> EndSection |
140 |
> |
141 |
> Section "Device" |
142 |
> ### Available Driver options are:- |
143 |
> ### Values: <i>: integer, <f>: float, <bool>: "True"/"False", |
144 |
> ### <string>: "String", <freq>: "<f> Hz/kHz/MHz" |
145 |
> ### [arg]: arg optional |
146 |
> #Option "DigitalVibrance" # <i> |
147 |
> #Option "NoFlip" # [<bool>] |
148 |
> #Option "Dac8Bit" # [<bool>] |
149 |
> Option "NoLogo" "True" # [<bool>] |
150 |
> #Option "UBB" # [<bool>] |
151 |
> #Option "Stereo" # <i> |
152 |
> #Option "SWcursor" # [<bool>] |
153 |
> Option "HWcursor" "True" # [<bool>] |
154 |
> #Option "VideoKey" # <i> |
155 |
> #Option "NvAGP" # <i> |
156 |
> #Option "IgnoreEDID" # [<bool>] |
157 |
> #Option "NoDDC" # [<bool>] |
158 |
> #Option "ConnectedMonitor" # <str> |
159 |
> #Option "ConnectedMonitors" # <str> |
160 |
> #Option "TVStandard" # <str> |
161 |
> #Option "TVOutFormat" # <str> |
162 |
> #Option "RenderAccel" "True" # [<bool>] |
163 |
> Option "CursorShadow" "True" # [<bool>] |
164 |
> #Option "CursorShadowAlpha" # <i> |
165 |
> #Option "CursorShadowXOffset" # <i> |
166 |
> #Option "CursorShadowYOffset" # <i> |
167 |
> #Option "UseEdidFreqs" # [<bool>] |
168 |
> #Option "FlatPanelProperties" # <str> |
169 |
> #Option "TwinView" # [<bool>] |
170 |
> #Option "TwinViewOrientation" # <str> |
171 |
> #Option "SecondMonitorHorizSync" # <str> |
172 |
> #Option "SecondMonitorVertRefresh" # <str> |
173 |
> #Option "MetaModes" # <str> |
174 |
> #Option "UseInt10Module" # [<bool>] |
175 |
> #Option "NoTwinViewXineramaInfo" # [<bool>] |
176 |
> #Option "NoRenderExtension" # [<bool>] |
177 |
> #Option "Overlay" # [<bool>] |
178 |
> #Option "CIOverlay" # [<bool>] |
179 |
> #Option "ForceEmulatedOverlay" # [<bool>] |
180 |
> #Option "TransparentIndex" # <i> |
181 |
> #Option "OverlayDefaultVisual" # [<bool>] |
182 |
> #Option "NvEmulate" # <i> |
183 |
> #Option "NoBandWidthTest" # [<bool>] |
184 |
> #Option "CustomEDID-CRT-0" # <str> |
185 |
> #Option "CustomEDID-CRT-1" # <str> |
186 |
> #Option "CustomEDID-DFP-0" # <str> |
187 |
> #Option "CustomEDID-DFP-1" # <str> |
188 |
> #Option "CustomEDID-TV-0" # <str> |
189 |
> #Option "CustomEDID-TV-1" # <str> |
190 |
> #Option "TVOverScan" # <f> |
191 |
> #Option "IgnoreDisplayDevices" # <str> |
192 |
> #Option "MultisampleCompatibility" # [<bool>] |
193 |
> #Option "RegistryDwords" # <str> |
194 |
> #Option "RegistryBinary" # <str> |
195 |
> #Option "NoPowerConnectorCheck" # [<bool>] |
196 |
> #Option "AllowDFPStereo" # [<bool>] |
197 |
> #Option "XvMCUsesTextures" # [<bool>] |
198 |
> #Option "HorizSync" # <str> |
199 |
> #Option "VertRefresh" # <str> |
200 |
> #Option "AllowGLXWithComposite" "True" # [<bool>] |
201 |
> Identifier "Card0" |
202 |
> Driver "nvidia" |
203 |
> VendorName "nVidia Corporation" |
204 |
> BoardName "Unknown Board" |
205 |
> BusID "PCI:1:0:0" |
206 |
> EndSection |
207 |
> |
208 |
> Section "Screen" |
209 |
> Identifier "Screen0" |
210 |
> Device "Card0" |
211 |
> Monitor "Monitor0" |
212 |
> DefaultDepth 24 |
213 |
> SubSection "Display" |
214 |
> Viewport 0 0 |
215 |
> Depth 24 |
216 |
> Modes "1280x1024" |
217 |
> EndSubSection |
218 |
> EndSection |
219 |
> |
220 |
> |
221 |
> Michael Sullivan wrote: |
222 |
> |
223 |
> > 01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] |
224 |
> > 661/741/760/761 PCI/AGP VGA Display Adapter (prog-if 00 [VGA]) |
225 |
> > Subsystem: Elitegroup Computer Systems Unknown device 1b13 |
226 |
> > Flags: 66MHz, medium devsel, IRQ 10 |
227 |
> > BIST result: 00 |
228 |
> > Memory at d8000000 (32-bit, prefetchable) [size=128M] |
229 |
> > Memory at e1000000 (32-bit, non-prefetchable) [size=128K] |
230 |
> > I/O ports at d000 [size=128] |
231 |
> > Capabilities: [40] Power Management version 2 |
232 |
> > Capabilities: [50] AGP version 3.0 |
233 |
> > |
234 |
> > |
235 |
> > But how can I tell what driver I need from this output? |
236 |
> > |
237 |
|
238 |
I've done the X -configure thing - that's how catherine got her |
239 |
xorg.conf file. I don't know anything about hardware, so I only tweaked |
240 |
the file a little so that catherine would have support for her scroll |
241 |
mouse... |
242 |
|
243 |
-- |
244 |
gentoo-user@g.o mailing list |