Gentoo Archives: gentoo-user

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