1 |
On Friday 14 July 2006 14:30, Korthrun wrote: |
2 |
> Heyyas, |
3 |
> |
4 |
> I'm running: |
5 |
> Xorg 7.0-r1 |
6 |
> nvidia-kernel 1.0.8762 |
7 |
> nvidia-glx 1.0.8762 |
8 |
> |
9 |
> I've followed the guide at |
10 |
> http://www.gentoo.org/doc/en/nvidia-guide.xml with the following |
11 |
> exceptions. I'm using a kernel.org kernel not a portage kernel, and I |
12 |
> didn't make the "changes" regarding framebuffers because I don't |
13 |
> intend to use one.That whole bit is disabled in my kernel. |
14 |
> |
15 |
> X starts up fine and looks great, I get decent FPS from glxgears. |
16 |
> While following the above guide I get to this point "Code Listing |
17 |
> 2.19: Checking the direct rendering status" and end up with this: |
18 |
> |
19 |
> glxinfo | grep direct |
20 |
> Xlib: extension "XFree86-DRI" missing on display ":0.0". |
21 |
> direct rendering: No |
22 |
|
23 |
did you make eselect opengl set nvidia? |
24 |
Did you ever use the nvidia-installer? |
25 |
If yes to the second question, stale files from it, can ruin everything. |
26 |
|
27 |
# |
28 |
Section "Module" |
29 |
|
30 |
# This loads the DBE extension module. |
31 |
|
32 |
Load "dbe" # Double buffer extension |
33 |
Load "extmod" |
34 |
Load "type1" |
35 |
Load "speedo" |
36 |
Load "freetype" |
37 |
# Load "xtt" |
38 |
Load "glx" |
39 |
Load "v4l" |
40 |
Load "ddc" |
41 |
Load "i2c |
42 |
|
43 |
EndSection |
44 |
|
45 |
Section "Extensions" |
46 |
Option "Composite" "Enable" |
47 |
EndSection |
48 |
|
49 |
|
50 |
|
51 |
# ********************************************************************** |
52 |
# Files section. This allows default font and rgb paths to be set |
53 |
# ********************************************************************** |
54 |
|
55 |
Section "Files" |
56 |
|
57 |
|
58 |
FontPath "/usr/share/fonts/misc/" |
59 |
FontPath "/usr/share/fonts/TTF/" |
60 |
FontPath "/usr/share/fonts/Type1/" |
61 |
FontPath "/usr/share/fonts/75dpi/" |
62 |
FontPath "/usr/share/fonts/100dpi/" |
63 |
FontPath "/usr/share/fonts/local/" |
64 |
# FontPath "/usr/share/fonts/Speedo/" |
65 |
FontPath "/usr/share/fonts/TrueType/" |
66 |
FontPath "/usr/share/fonts/freefont/" |
67 |
FontPath "/usr/share/fonts/sharefonts/" |
68 |
FontPath "/usr/share/fonts/corefonts/" |
69 |
|
70 |
EndSection |
71 |
|
72 |
# ********************************************************************** |
73 |
# Server flags section. |
74 |
# ********************************************************************** |
75 |
|
76 |
Section "ServerFlags" |
77 |
|
78 |
|
79 |
EndSection |
80 |
|
81 |
# ********************************************************************** |
82 |
# Input devices |
83 |
# ********************************************************************** |
84 |
|
85 |
# ********************************************************************** |
86 |
# Core keyboard's InputDevice section |
87 |
# ********************************************************************** |
88 |
|
89 |
Section "InputDevice" |
90 |
|
91 |
Identifier "Keyboard1" |
92 |
Driver "kbd" |
93 |
|
94 |
Option "AutoRepeat" "500 30" |
95 |
Option "XkbRules" "xorg" |
96 |
Option "XkbModel" "pc102" |
97 |
Option "XkbLayout" "de" |
98 |
|
99 |
EndSection |
100 |
|
101 |
|
102 |
# ********************************************************************** |
103 |
# Core Pointer's InputDevice section |
104 |
# ********************************************************************** |
105 |
|
106 |
Section "InputDevice" |
107 |
|
108 |
# Identifier and driver |
109 |
|
110 |
Identifier "Mouse1" |
111 |
# Driver "mouse" |
112 |
# Option "Protocol" "IMPS/2" |
113 |
# Option "Protocol" "ExplorerPS/2" |
114 |
# Option "InputFashion" "Mouse" |
115 |
# Option "Buttons" "7" |
116 |
# Option "ButtonNumber" "7" |
117 |
# Option "ZAxisMapping" "6 7" |
118 |
# Option "Emulate3Buttons" "false" |
119 |
# Option "Device" "/dev/input/mice" |
120 |
# Option "ZAxisMapping" "4 5" |
121 |
# Identifier "Configured Mouse" |
122 |
Driver "mouse" |
123 |
Option "CorePointer" |
124 |
Option "Device" "/dev/input/mice" |
125 |
Option "Protocol" "ExplorerPS/2" |
126 |
Option "Buttons" "8" |
127 |
Option "ZAxisMapping" "4 5 6 7" |
128 |
Option "Emulate3Buttons" "false" |
129 |
Option "Resolution" "800" |
130 |
EndSection |
131 |
|
132 |
# ********************************************************************** |
133 |
# Monitor section |
134 |
# ********************************************************************** |
135 |
|
136 |
# Any number of monitor sections may be present |
137 |
|
138 |
Section "Monitor" |
139 |
|
140 |
Identifier "ibm" |
141 |
|
142 |
HorizSync 31.5-96 |
143 |
VertRefresh 50-85 |
144 |
Option "dpms" |
145 |
EndSection |
146 |
|
147 |
|
148 |
# ********************************************************************** |
149 |
# Graphics device section |
150 |
# ********************************************************************** |
151 |
|
152 |
|
153 |
Section "Device" |
154 |
Identifier "6600" |
155 |
Driver "nvidia" |
156 |
#VideoRam 131072 |
157 |
# Insert Clocks lines here if appropriate |
158 |
|
159 |
Option "RenderAccel" "true" |
160 |
Option "AllowGLXWithComposite" "true" |
161 |
Option "backingstore" "true" |
162 |
# Option "XaaNoOffscreenPixmaps" "true" |
163 |
Option "ADDARGBGLXVisuals" "true" |
164 |
EndSection |
165 |
|
166 |
|
167 |
# ********************************************************************** |
168 |
# Screen sections |
169 |
# ********************************************************************** |
170 |
|
171 |
# Any number of screen sections may be present. Each describes |
172 |
# the configuration of a single screen. A single specific screen section |
173 |
# may be specified from the X server command line with the "-screen" |
174 |
# option. |
175 |
Section "Screen" |
176 |
Identifier "Screen 1" |
177 |
Device "6600" |
178 |
Monitor "ibm" |
179 |
DefaultDepth 24 |
180 |
|
181 |
Subsection "Display" |
182 |
Depth 8 |
183 |
Modes "1280x960" "1024x768" "800x600" "640x480" |
184 |
ViewPort 0 0 |
185 |
EndSubsection |
186 |
Subsection "Display" |
187 |
Depth 16 |
188 |
Modes "1280x960" "1024x768" "800x600" "640x480" |
189 |
ViewPort 0 0 |
190 |
EndSubsection |
191 |
Subsection "Display" |
192 |
Depth 24 |
193 |
Modes "1280x960" "1024x768" "800x600" "640x480" "640x400" |
194 |
ViewPort 0 0 |
195 |
EndSubsection |
196 |
EndSection |
197 |
|
198 |
|
199 |
Section "ServerLayout" |
200 |
|
201 |
# The Identifier line must be present |
202 |
Identifier "Simple Layout" |
203 |
|
204 |
Screen "Screen 1" |
205 |
InputDevice "Mouse1" "CorePointer" |
206 |
InputDevice "Keyboard1" "CoreKeyboard" |
207 |
|
208 |
EndSection |
209 |
|
210 |
|
211 |
works perfect. |
212 |
-- |
213 |
gentoo-user@g.o mailing list |