Gentoo Archives: gentoo-amd64

From: "Hemmann
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Xorg with nvidia driver problems
Date: Fri, 28 Oct 2005 02:56:25
Message-Id: 200510280454.01775.volker.armin.hemmann@tu-clausthal.de
In Reply to: [gentoo-amd64] Xorg with nvidia driver problems by sean
1 On Friday 28 October 2005 03:12, sean wrote:
2 > I followed the instructions to get the nvidia driver working on my
3 > system here, but obviously since I am writing, it is giving me problems.
4 > Information below, and thanks in advance for the help.
5 > Sean
6
7 read the README!
8
9 you obviously did not read it!
10
11 >
12 > Section "Module"
13 > Load "extmod"
14 > Load "dri"
15 remove dri - it is in the readme, so remove it.
16
17 > Load "dbe"
18 > Load "record"
19 > Load "xtrap"
20
21 are you sure you need xtrap and record? If not you can safely remove them.
22
23 > Load "glx"
24 > Load "type1"
25 > Load "freetype"
26 > EndSection
27
28 you could also load 'ddc' which will make modelines superflous.
29
30
31 >
32 > Section "Device"
33 > ### Available Driver options are:-
34 > ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
35 > ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
36 > ### [arg]: arg optional
37 > #Option "SWcursor" # [<bool>]
38 > #Option "HWcursor" # [<bool>]
39 > #Option "NoAccel" # [<bool>]
40 > #Option "ShadowFB" # [<bool>]
41 > #Option "UseFBDev" # [<bool>]
42 > #Option "Rotate" # [<str>]
43 > #Option "VideoKey" # <i>
44 > #Option "FlatPanel" # [<bool>]
45 > #Option "FPDither" # [<bool>]
46 > #Option "CrtcNumber" # <i>
47 > #Option "FPScale" # [<bool>]
48 > #Option "FPTweak" # <i>
49 > Identifier "Card 0"
50 > # Driver "nvidia"
51 > Driver "nv"
52 remove the 'nv' that is plainly wrong - and also explained in the README,
53 several Desktop and nvidia guides, howtos and wikis. Which you all did not
54 read.
55
56 > VendorName "nVidia Corporation"
57 > BoardName "Unknown Board"
58 > BusID "PCI:5:0:0"
59 this is not needed, remove&retry - it may hurt you
60
61 > VideoRam 256000
62 this is absolutly not needed.
63
64 > Option "NvAGP" "1" # use nvidias agp - 1 , agpgart -2,
65
66 > agpgart,nvagp -3
67
68 I really hope, that this newline came from the mail-application we are using.
69
70
71 After you made the changes.
72 /etc/init.d/xdm zap
73 rmmod nvidia
74 /etc/init.d/xdm start
75 does it complain?
76 if yes:
77 /etc/init.d/xdm zap
78 modprobe nvidia
79 /etc/init.d/xdm start
80 add nvidia to autoload.
81
82 oh, and here is my very working xorg.conf:
83 cat /etc/X11/xorg.conf
84 #
85 Section "Module"
86
87 # This loads the DBE extension module.
88
89 Load "dbe" # Double buffer extension
90 Load "extmod"
91 Load "type1"
92 Load "speedo"
93 Load "freetype"
94 # Load "xtt"
95 Load "glx"
96 Load "v4l"
97 Load "ddc"
98
99 EndSection
100
101 Section "Extensions"
102 Option "Composite" "Enable"
103 EndSection
104
105
106
107 # **********************************************************************
108 # Files section. This allows default font and rgb paths to be set
109 # **********************************************************************
110
111 Section "Files"
112
113 RgbPath "/usr/lib/X11/rgb"
114
115 FontPath "/usr/share/fonts/misc/"
116 FontPath "/usr/share/fonts/TTF/"
117 FontPath "/usr/share/fonts/Type1/"
118 FontPath "/usr/share/fonts/75dpi/"
119 FontPath "/usr/share/fonts/100dpi/"
120 FontPath "/usr/share/fonts/local/"
121 # FontPath "/usr/share/fonts/Speedo/"
122 FontPath "/usr/share/fonts/TrueType/"
123 FontPath "/usr/share/fonts/freefont/"
124
125 ModulePath "/usr/lib/modules"
126
127 EndSection
128
129 # **********************************************************************
130 # Server flags section.
131 # **********************************************************************
132
133 Section "ServerFlags"
134
135
136 EndSection
137
138 # **********************************************************************
139 # Input devices
140 # **********************************************************************
141
142 # **********************************************************************
143 # Core keyboard's InputDevice section
144 # **********************************************************************
145
146 Section "InputDevice"
147
148 Identifier "Keyboard1"
149 Driver "kbd"
150
151 Option "AutoRepeat" "500 30"
152 Option "XkbRules" "xorg"
153 Option "XkbModel" "pc102"
154 Option "XkbLayout" "de"
155
156 EndSection
157
158
159 # **********************************************************************
160 # Core Pointer's InputDevice section
161 # **********************************************************************
162
163 Section "InputDevice"
164
165 # Identifier and driver
166
167 Identifier "Mouse1"
168 Driver "mouse"
169 Option "Protocol" "IMPS/2"
170 Option "Device" "/dev/input/mice"
171 Option "ZAxisMapping" "4 5"
172
173 EndSection
174
175 # **********************************************************************
176 # Monitor section
177 # **********************************************************************
178
179 # Any number of monitor sections may be present
180
181 Section "Monitor"
182
183 Identifier "ibm"
184
185 HorizSync 31.5-96
186 VertRefresh 50-85
187 Option "dpms"
188 EndSection
189
190
191 # **********************************************************************
192 # Graphics device section
193 # **********************************************************************
194
195
196 Section "Device"
197 Identifier "5200"
198 Driver "nvidia"
199 #VideoRam 131072
200 # Insert Clocks lines here if appropriate
201
202 Option "RenderAccel" "true"
203 Option "AllowGLXWithComposite" "true"
204 Option "backingstore" "true"
205 # Option "XaaNoOffscreenPixmaps" "true"
206
207 EndSection
208
209
210 # **********************************************************************
211 # Screen sections
212 # **********************************************************************
213
214 # Any number of screen sections may be present. Each describes
215 # the configuration of a single screen. A single specific screen section
216 # may be specified from the X server command line with the "-screen"
217 # option.
218 Section "Screen"
219 Identifier "Screen 1"
220 Device "5200"
221 Monitor "ibm"
222 DefaultDepth 24
223
224 Subsection "Display"
225 Depth 8
226 Modes "1280x960" "1024x768" "800x600" "640x480"
227 ViewPort 0 0
228 EndSubsection
229 Subsection "Display"
230 Depth 16
231 Modes "1280x960" "1024x768" "800x600" "640x480"
232 ViewPort 0 0
233 EndSubsection
234 Subsection "Display"
235 Depth 24
236 Modes "1280x960" "1024x768" "800x600" "640x480" "640x400"
237 ViewPort 0 0
238 EndSubsection
239 EndSection
240
241
242 Section "ServerLayout"
243
244 # The Identifier line must be present
245 Identifier "Simple Layout"
246
247 Screen "Screen 1"
248 InputDevice "Mouse1" "CorePointer"
249 InputDevice "Keyboard1" "CoreKeyboard"
250
251 EndSection
252 --
253 gentoo-amd64@g.o mailing list

Replies

Subject Author
Re: [gentoo-amd64] Xorg with nvidia driver problems sean <rsh.lists@×××××××.net>
Re: [gentoo-amd64] Xorg with nvidia driver problems sean <rsh.lists@×××××××.net>