Gentoo Archives: gentoo-user-de

From: "Alvin T. P. Brodbeck" <souichi@×××.net>
To: gentoo-user-de@l.g.o
Subject: [gentoo-user-de] 3D mit xorg.conf konfigurieren fuer eine VIA Technologies, Inc. S3 Unichrome Pro VGA Adapter (rev 01)
Date: Wed, 22 Mar 2006 15:19:47
Message-Id: 1143040554.7480.2.camel@localhost
1 Hallo zusammen
2
3 Ich habe folgende Situation:
4
5 Ich arbeite mit gentoo 2005.1, amd64, Kernel 2.6.15r7, xorg 6.8.2-r6 und
6 moechte meine Graphikkarte
7 "VIA Technologies, Inc. S3 Unichrome Pro VGA Adapter (rev 01)" korrekt
8 Konfigurieren so das ich 3D unterstuetzung habe und scheitere u.a bei
9 der xorg.conf Datei.
10
11 Im Kernel ist:
12 Device Drives
13 ---> Graphic Support
14 ---> Vesa VGA Graphic Support
15 ---> vesafb
16 als * makiert.
17
18 ---> Character Deiveces
19 ---> Direct Rendering Manager
20 ---> Via unichrome video cards
21 als * makiert.
22
23
24
25 Zu meinem Laptop:
26 Es ist ein AMD Turion64 MT-30 mit 1.6GHz und 1MB L2 Cache, 1GB Memory,
27 K8M800 Chipset, und einer VIA Technologies, Inc. S3 Unichrome Pro VGA
28 Adapter (rev 01) mit 64MB Ram. Meine lspci steht weiter unten in diesem
29 E-Mail bei Konfig_1:.
30
31 Ich habe verschiedene xorg.conf konfigurationen getestet, und auch die
32 xorg.conf der aktuellen
33 gentoo 2006.0 LiveCD kopiert und angewendet, leider ohne den
34 gewuenschten 3D erfolg.
35
36 Ich kann mit der Graphischen Oberglaeche soweit gut arbeiten, und
37 glxgears gibt mir bei
38 vollen 1024x768 immerhin noch 30fps, aber das reicht noch lange nicht um
39 z.B. ein GL Bildschirmschoner zu betreiben, auser frame per frame im
40 sekunden tackt.
41
42 glxinfo gibt folgendes aus, weiter unten bei Konfig_2:
43
44 Die aktuelle xorg.conf ist unter Konfig_3:
45
46 Ich habe in der xorg.conf experementiert u.a. mit:
47 Section "Device"
48 Identifier "Card0"
49 Driver "via"
50 VendorName "VIA"
51 BoardName "Unichrome (KM400)"
52 Option "DisableIRQ"
53 Option "EnableAGPDMA"
54 VideoRam 65536
55
56 Auch habe ich eine sehr interessante konfig gesehen. Jemand hatte
57 offenbar es so zum laufen gebracht:
58
59 Section "Device"
60 Identifier "Card0"
61 Driver "i810"
62 VendorName "Intel Corp."
63 BoardName "82852/855GM Integrated Graphics Device"
64 BusID "PCI:1:0:0"
65 VideoRam 65536
66 EndSection
67
68 sowie mit der Konfig mit "Driver "vesafb""
69
70 scheiterte mit dem gleichen ergebnis im /var/log/kdm""
71 Fantal server error:
72 no screens found
73
74
75
76 Ich habe auch das Openchrome Projekt mir angesehen, und wollte laut
77 anleitung:
78 1. Build driver
79 svn co http://svn.openchrome.org/svn/trunk/unichrome
80 cd unichrome
81 xmkmf /path/to/xorg/sources/xc
82 make
83 make install
84 2. Build libxvmc
85 svn co http://svn.openchrome.org/svn/trunk/libxvmc
86 cd libxvmc
87 xmkmf /path/to/xorg/sources/xc
88 make
89 make install
90
91 ich scheiterte daran, das ich kein ../xorg/source/xc verzeichnis habe,
92 und auch wenn
93 ich das maskierte packet von xorg-server runterholen moechte mit
94
95 ACCEPT_KEYWORDS="~amd64" emerge x11-base/xorg-server
96
97 bricht der ab mit:
98 -------------------------------------------------------------------------------
99 Calculating dependencies
100 !!! All ebuilds that could satisfy "x11-base/xorg-server" have been
101 masked.
102 !!! One of the following masked packages is required to complete your
103 request:
104 - x11-base/xorg-server-1.0.2 (masked by: package.mask)
105 # Donnie Berkholz <spyderous@g.o> (07 Aug 2005)
106 # Modularized X, upstream release candidates
107
108
109 For more information, see MASKED PACKAGES section in the emerge man page
110 or
111 refer to the Gentoo Handbook.
112 -------------------------------------------------------------------------------
113
114
115
116 Nunja, ich benutzte gentoo noch nicht lange, und habe noch keine grossen
117 erfahrungen
118 mit xorg und besonders nicht mit 64bit systemen, ich waehre froh, wenn
119 ich hilfsreiche tips
120 bekommen koennte, um so eine zur einer loesung kommen wuerde.
121
122 Vielen lieben dank im voraus
123
124 Alvin
125
126
127
128
129
130
131
132
133 Konfig_1:
134 "lspci"
135 -------------------------------------------------------------------------------
136 00:00.0 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
137 00:00.1 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
138 00:00.2 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
139 00:00.3 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
140 00:00.4 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
141 00:00.7 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
142 00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge
143 [K8T800/K8T890 South]
144 00:09.0 Network controller: Intel Corporation PRO/Wireless 2915ABG
145 MiniPCI Adapter (rev 05)
146 00:0a.0 CardBus bridge: ENE Technology Inc CB1410 Cardbus Controller
147 (rev 01)
148 00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
149 Controller (rev 80)
150 00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
151 Controller (rev 80)
152 00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
153 Controller (rev 80)
154 00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
155 00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
156 00:11.1 IDE interface: VIA Technologies, Inc.
157 VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
158 00:11.5 Multimedia audio controller: VIA Technologies, Inc.
159 VT8233/A/8235/8237 AC97 Audio Controller (rev 50)
160 00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II]
161 (rev 74)
162 00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
163 HyperTransport Technology Configuration
164 00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
165 Address Map
166 00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
167 DRAM Controller
168 00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
169 Miscellaneous Control
170 01:00.0 VGA compatible controller: VIA Technologies, Inc. S3 Unichrome
171 Pro VGA Adapter (rev 01)
172 -------------------------------------------------------------------------------
173
174
175
176 Konfig_2:
177 "glxinfo"
178 -------------------------------------------------------------------------------
179 name of display: :0.0
180 display: :0 screen: 0
181 direct rendering: No
182 server glx vendor string: SGI
183 server glx version string: 1.2
184 server glx extensions:
185 GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
186 GLX_EXT_import_context, GLX_OML_swap_method,
187 GLX_SGI_make_current_read,
188 GLX_SGIS_multisample, GLX_SGIX_fbconfig
189 client glx vendor string: SGI
190 client glx version string: 1.4
191 client glx extensions:
192 GLX_ARB_get_proc_address, GLX_ARB_multisample,
193 GLX_EXT_import_context,
194 GLX_EXT_visual_info, GLX_EXT_visual_rating,
195 GLX_MESA_allocate_memory,
196 GLX_MESA_swap_control, GLX_MESA_swap_frame_usage,
197 GLX_OML_swap_method,
198 GLX_OML_sync_control, GLX_SGI_make_current_read,
199 GLX_SGI_swap_control,
200 GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
201 GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group
202 GLX extensions:
203 GLX_ARB_get_proc_address, GLX_ARB_multisample,
204 GLX_EXT_import_context,
205 GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_OML_swap_method,
206 GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_fbconfig
207 OpenGL vendor string: Mesa project: www.mesa3d.org
208 OpenGL renderer string: Mesa GLX Indirect
209 OpenGL version string: 1.2 (1.5 Mesa 6.2.1)
210 OpenGL extensions:
211 GL_ARB_depth_texture, GL_ARB_imaging, GL_ARB_multitexture,
212 GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shadow,
213 GL_ARB_shadow_ambient, GL_ARB_texture_border_clamp,
214 GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
215 GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
216 GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
217 GL_ARB_transpose_matrix, GL_ARB_window_pos, GL_EXT_abgr,
218 GL_EXT_bgra,
219 GL_EXT_blend_color, GL_EXT_blend_func_separate,
220 GL_EXT_blend_logic_op,
221 GL_EXT_blend_minmax, GL_EXT_blend_subtract,
222 GL_EXT_clip_volume_hint,
223 GL_EXT_copy_texture, GL_EXT_draw_range_elements, GL_EXT_fog_coord,
224 GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels,
225 GL_EXT_point_parameters,
226 GL_EXT_polygon_offset, GL_EXT_rescale_normal,
227 GL_EXT_secondary_color,
228 GL_EXT_separate_specular_color, GL_EXT_shadow_funcs,
229 GL_EXT_stencil_two_side, GL_EXT_stencil_wrap, GL_EXT_subtexture,
230 GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp,
231 GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
232 GL_EXT_texture_env_dot3, GL_EXT_texture_lod_bias,
233 GL_EXT_texture_object,
234 GL_EXT_texture_rectangle, GL_EXT_vertex_array,
235 GL_APPLE_packed_pixels,
236 GL_ATI_texture_env_combine3, GL_ATI_texture_mirror_once,
237 GL_ATIX_texture_env_combine3, GL_IBM_texture_mirrored_repeat,
238 GL_INGR_blend_func_separate, GL_MESA_pack_invert,
239 GL_MESA_ycbcr_texture,
240 GL_NV_blend_square, GL_NV_point_sprite, GL_NV_texgen_reflection,
241 GL_NV_texture_rectangle, GL_SGIS_generate_mipmap,
242 GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp,
243 GL_SGIS_texture_lod, GL_SGIX_depth_texture, GL_SGIX_shadow,
244 GL_SGIX_shadow_ambient, GL_SUN_multi_draw_arrays
245 glu version: 1.3
246 glu extensions:
247 GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess
248
249 visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
250 id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
251 ----------------------------------------------------------------------
252 0x22 24 tc 0 24 0 r y . 8 8 8 0 0 16 0 0 0 0 0 0 0 None
253 0x23 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 0 0 0 None
254 0x24 24 tc 0 32 0 r y . 8 8 8 8 0 16 8 16 16 16 16 0 0 None
255 0x25 24 tc 0 32 0 r . . 8 8 8 8 0 16 8 16 16 16 16 0 0 None
256 -------------------------------------------------------------------------------
257
258
259
260
261 Konfig_3:
262 "aktuelle xorg.conf von der gentoo 2006.0 LiveCD"
263 -------------------------------------------------------------------------------
264 Section "ServerLayout"
265 Identifier "X.Org Configured"
266 Screen 0 "Screen0" 0 0
267 InputDevice "Keyboard0" "CoreKeyboard"
268 # PS/2 Mouse not detected
269 # Serial Mouse not detected
270 InputDevice "USB Mouse" "AlwaysCore"
271 InputDevice "Synaptics" "AlwaysCore"
272 EndSection
273
274 Section "ServerFlags"
275 Option "AllowMouseOpenFail" "true"
276
277 EndSection
278
279 Section "Files"
280 FontPath "/usr/share/fonts/util"
281 FontPath "/usr/share/fonts/encodings"
282 FontPath "/usr/share/fonts/misc"
283 FontPath "/usr/share/fonts/local"
284 FontPath "/usr/share/fonts/terminus"
285 FontPath "/usr/share/fonts/corefonts"
286 FontPath "/usr/local/share/fonts"
287 FontPath "/usr/share/fonts"
288 FontPath "/usr/share/fonts/default"
289 FontPath "/usr/share/fonts/TTF"
290 FontPath "/usr/share/fonts/arphicfonts"
291 FontPath "/usr/share/fonts/jisx0213"
292 FontPath "/usr/share/fonts/shinonome"
293 FontPath "/usr/share/fonts/baekmuk-fonts"
294 FontPath "/usr/share/fonts/kacst-fonts"
295 FontPath "/usr/share/fonts/sgi-fonts"
296 FontPath "/usr/share/fonts/unfonts"
297 FontPath "/usr/share/fonts/default/ghostscript"
298 FontPath "/usr/share/fonts/xfonts-cronyx-100dpi:unscaled"
299 FontPath "/usr/share/fonts/xfonts-cronyx-75dpi:unscaled"
300 FontPath "/usr/share/fonts/xfonts-cronyx-misc:unscaled"
301 FontPath "/usr/share/fonts/xfonts-cronyx-100dpi"
302 FontPath "/usr/share/fonts/xfonts-cronyx-75dpi"
303 FontPath "/usr/share/fonts/xfonts-cronyx-misc"
304 FontPath "/usr/share/fonts/xfonts-cronyx-cp1251-100dpi:unscaled"
305 FontPath "/usr/share/fonts/xfonts-cronyx-cp1251-75dpi:unscaled"
306 FontPath "/usr/share/fonts/xfonts-cronyx-cp1251-misc:unscaled"
307 FontPath "/usr/share/fonts/xfonts-cronyx-cp1251-100dpi"
308 FontPath "/usr/share/fonts/xfonts-cronyx-cp1251-75dpi"
309 FontPath "/usr/share/fonts/xfonts-cronyx-cp1251-misc"
310 FontPath "/usr/share/fonts/xfonts-cronyx-isocyr-100dpi:unscaled"
311 FontPath "/usr/share/fonts/xfonts-cronyx-isocyr-75dpi:unscaled"
312 FontPath "/usr/share/fonts/xfonts-cronyx-isocyr-misc:unscaled"
313 FontPath "/usr/share/fonts/xfonts-cronyx-isocyr-100dpi"
314 FontPath "/usr/share/fonts/xfonts-cronyx-isocyr-75dpi"
315 FontPath "/usr/share/fonts/xfonts-cronyx-isocyr-misc"
316 FontPath "/usr/share/fonts/xfonts-cronyx-koi8r-100dpi:unscaled"
317 FontPath "/usr/share/fonts/xfonts-cronyx-koi8r-75dpi:unscaled"
318 FontPath "/usr/share/fonts/xfonts-cronyx-koi8r-misc:unscaled"
319 FontPath "/usr/share/fonts/xfonts-cronyx-koi8r-100dpi"
320 FontPath "/usr/share/fonts/xfonts-cronyx-koi8r-75dpi"
321 FontPath "/usr/share/fonts/xfonts-cronyx-koi8r-misc"
322 FontPath "/usr/share/fonts/xfonts-cronyx-koi8u-100dpi:unscaled"
323 FontPath "/usr/share/fonts/xfonts-cronyx-koi8u-75dpi:unscaled"
324 FontPath "/usr/share/fonts/xfonts-cronyx-koi8u-misc:unscaled"
325 FontPath "/usr/share/fonts/xfonts-cronyx-koi8u-100dpi"
326 FontPath "/usr/share/fonts/xfonts-cronyx-koi8u-75dpi"
327 FontPath "/usr/share/fonts/xfonts-cronyx-koi8u-misc"
328 EndSection
329
330 Section "Module"
331 Load "ddc"
332 Load "vbe"
333 Load "GLcore"
334 Load "dbe"
335 Load "dri"
336 Load "extmod"
337 Load "glx"
338 Load "bitmap"
339 Load "speedo"
340 Load "type1"
341 Load "freetype"
342 Load "record"
343 EndSection
344
345 Section "InputDevice"
346 Identifier "Keyboard0"
347 Driver "kbd"
348 Option "CoreKeyboard"
349 Option "XkbRules" "xorg"
350 Option "XkbModel" "pc105"
351 Option "XkbOptions" "grp:toggle,grp_led:scroll"
352 Option "XkbVariant" ",winkeys"
353 EndSection
354
355 Section "InputDevice"
356 Identifier "Serial Mouse"
357 Driver "mouse"
358 Option "Protocol" "Microsoft"
359 Option "Device" "/dev/ttyS0"
360 Option "Emulate3Buttons" "true"
361 Option "Emulate3Timeout" "70"
362 Option "SendCoreEvents" "true"
363 EndSection
364
365 Section "InputDevice"
366 Identifier "PS/2 Mouse"
367 Driver "mouse"
368 Option "Protocol" "IMPS/2"
369 Option "Device" "/dev/misc/psaux"
370 Option "Emulate3Buttons" "true"
371 Option "Emulate3Timeout" "70"
372 Option "SendCoreEvents" "true"
373 Option "ZAxisMapping" "4 5"
374 EndSection
375
376 Section "InputDevice"
377 Identifier "USB Mouse"
378 Driver "mouse"
379 Option "Device" "/dev/input/mice"
380 Option "SendCoreEvents" "true"
381 Option "Protocol" "IMPS/2"
382 Option "ZAxisMapping" "4 5"
383 Option "Buttons" "5"
384 EndSection
385
386 Section "InputDevice"
387 Identifier "Synaptics"
388 Driver "synaptics"
389 Option "Protocol" "event"
390 Option "Device" "/dev/input/event1"
391 Option "LeftEdge" "1900"
392 Option "RightEdge" "5400"
393 Option "TopEdge" "1900"
394 Option "BottomEdge" "4000"
395 Option "FingerLow" "25"
396 Option "FingerHigh" "30"
397 Option "MaxTapTime" "180"
398 Option "MaxTapMove" "220"
399 Option "VertScrollDelta" "100"
400 Option "MinSpeed" "0.02"
401 Option "MaxSpeed" "0.10"
402 Option "AccelFactor" "0.0010"
403 Option "SHMConfig" "on"
404 EndSection
405
406 # Auto-generated by mkxf86config
407
408 Section "Monitor"
409 Identifier "Monitor0"
410 HorizSync 28.0 - 96.0
411 VertRefresh 50.0 - 75.0
412 EndSection
413
414 Section "Device"
415 ### Available Driver options are:-
416 # sw_cursor is needed for some ati and radeon cards
417 #Option "sw_cursor"
418 #Option "hw_cursor"
419 #Option "NoAccel"
420 #Option "ShowCache"
421 #Option "ShadowFB"
422 #Option "UseFBDev"
423 #Option "Rotate"
424 Identifier "Card0"
425 # The following line is auto-generated by x11-misc/mkxf86config
426 Driver "vesa"
427 VendorName "All"
428 BoardName "All"
429 VideoRam 65535
430 # BusID "PCI:1:0:0"
431 EndSection
432
433 Section "Screen"
434 Identifier "Screen0"
435 Device "Card0"
436 Monitor "Monitor0"
437 DefaultColorDepth 24
438 SubSection "Display"
439 Depth 1
440 Modes "1024x768" "800x600" "640x480"
441 EndSubSection
442 SubSection "Display"
443 Depth 4
444 Modes "1024x768" "800x600" "640x480"
445 EndSubSection
446 SubSection "Display"
447 Depth 8
448 Modes "1024x768" "800x600" "640x480"
449 EndSubSection
450 SubSection "Display"
451 Depth 15
452 Modes "1024x768" "800x600" "640x480"
453 EndSubSection
454 SubSection "Display"
455 Depth 16
456 Modes "1024x768" "800x600" "640x480"
457 EndSubSection
458 SubSection "Display"
459 Depth 24
460 Modes "1024x768" "800x600" "640x480"
461 EndSubSection
462 SubSection "Display"
463 Depth 32
464 Modes "1024x768" "800x600" "640x480"
465 EndSubSection
466 EndSection
467
468 Section "DRI"
469 Mode 0666
470 EndSection
471 -------------------------------------------------------------------------------
472
473 -end-
474
475 --
476 gentoo-user-de@g.o mailing list

Replies