public inbox for gentoo-user-de@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user-de] 3D mit xorg.conf konfigurieren fuer eine VIA Technologies, Inc. S3 Unichrome Pro VGA Adapter (rev 01)
@ 2006-03-22 15:15 Alvin T. P. Brodbeck
  2006-03-22 21:03 ` Jan Girlich
  0 siblings, 1 reply; 5+ messages in thread
From: Alvin T. P. Brodbeck @ 2006-03-22 15:15 UTC (permalink / raw
  To: gentoo-user-de

Hallo zusammen

Ich habe folgende Situation:

Ich arbeite mit gentoo 2005.1, amd64, Kernel 2.6.15r7, xorg 6.8.2-r6 und
moechte meine Graphikkarte
"VIA Technologies, Inc. S3 Unichrome Pro VGA Adapter (rev 01)" korrekt
Konfigurieren so das ich 3D unterstuetzung habe und scheitere u.a bei
der xorg.conf Datei.

Im Kernel ist:
Device Drives
    ---> Graphic Support
                ---> Vesa VGA Graphic Support
                               ---> vesafb
als * makiert.

    ---> Character Deiveces
                ---> Direct Rendering Manager
                ---> Via unichrome video cards
als * makiert.



Zu meinem Laptop:
Es ist ein AMD Turion64 MT-30 mit 1.6GHz und 1MB L2 Cache, 1GB Memory,
K8M800 Chipset, und einer VIA Technologies, Inc. S3 Unichrome Pro VGA
Adapter (rev 01) mit 64MB Ram. Meine lspci steht weiter unten in diesem
E-Mail bei Konfig_1:.

Ich habe verschiedene xorg.conf konfigurationen getestet, und auch die
xorg.conf der aktuellen
gentoo 2006.0 LiveCD kopiert und angewendet, leider ohne den
gewuenschten 3D erfolg.

Ich kann mit der Graphischen Oberglaeche soweit gut arbeiten, und
glxgears gibt mir bei
vollen 1024x768 immerhin noch 30fps, aber das reicht noch lange nicht um
z.B. ein GL Bildschirmschoner zu betreiben, auser frame per frame im
sekunden tackt.

glxinfo gibt folgendes aus, weiter unten bei Konfig_2:

Die aktuelle xorg.conf ist unter Konfig_3:

Ich habe in der xorg.conf experementiert u.a. mit:
Section "Device"
    Identifier "Card0"
    Driver     "via"
    VendorName "VIA"
    BoardName	 "Unichrome (KM400)"
    Option     "DisableIRQ"
    Option     "EnableAGPDMA"
    VideoRam   65536

Auch habe ich eine sehr interessante konfig gesehen. Jemand hatte
offenbar es so zum laufen gebracht:

Section "Device"
    Identifier  "Card0"
    Driver      "i810"
    VendorName  "Intel Corp."
    BoardName   "82852/855GM Integrated Graphics Device"
    BusID       "PCI:1:0:0"
    VideoRam    65536
EndSection

sowie mit der Konfig mit "Driver "vesafb""

scheiterte mit dem gleichen ergebnis im /var/log/kdm""
Fantal server error:
no screens found



Ich habe auch das Openchrome Projekt mir angesehen, und wollte laut
anleitung:
1. Build driver
   svn co http://svn.openchrome.org/svn/trunk/unichrome
   cd unichrome
   xmkmf  /path/to/xorg/sources/xc 
   make
   make install
2. Build libxvmc
   svn co http://svn.openchrome.org/svn/trunk/libxvmc
   cd libxvmc
   xmkmf /path/to/xorg/sources/xc 
   make
   make install

ich scheiterte daran, das ich kein ../xorg/source/xc verzeichnis habe,
und auch wenn
ich das maskierte packet von xorg-server runterholen moechte mit

ACCEPT_KEYWORDS="~amd64" emerge x11-base/xorg-server

bricht der ab mit:
-------------------------------------------------------------------------------
Calculating dependencies   
!!! All ebuilds that could satisfy "x11-base/xorg-server" have been
masked.
!!! One of the following masked packages is required to complete your
request:
- x11-base/xorg-server-1.0.2 (masked by: package.mask)
# Donnie Berkholz <spyderous@gentoo.org> (07 Aug 2005)
# Modularized X, upstream release candidates


For more information, see MASKED PACKAGES section in the emerge man page
or 
refer to the Gentoo Handbook.
-------------------------------------------------------------------------------



Nunja, ich benutzte gentoo noch nicht lange, und habe noch keine grossen
erfahrungen
mit xorg und besonders nicht mit 64bit systemen, ich waehre froh, wenn
ich hilfsreiche tips
bekommen koennte, um so eine zur einer loesung kommen wuerde.

Vielen lieben dank im voraus

Alvin








Konfig_1:
"lspci"
-------------------------------------------------------------------------------
00:00.0 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
00:00.7 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge
[K8T800/K8T890 South]
00:09.0 Network controller: Intel Corporation PRO/Wireless 2915ABG
MiniPCI Adapter (rev 05)
00:0a.0 CardBus bridge: ENE Technology Inc CB1410 Cardbus Controller
(rev 01)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 80)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 80)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 80)
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc.
VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:11.5 Multimedia audio controller: VIA Technologies, Inc.
VT8233/A/8235/8237 AC97 Audio Controller (rev 50)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II]
(rev 74)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
Miscellaneous Control
01:00.0 VGA compatible controller: VIA Technologies, Inc. S3 Unichrome
Pro VGA Adapter (rev 01)
-------------------------------------------------------------------------------



Konfig_2:
"glxinfo"
-------------------------------------------------------------------------------
name of display: :0.0
display: :0  screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating, 
    GLX_EXT_import_context, GLX_OML_swap_method,
GLX_SGI_make_current_read, 
    GLX_SGIS_multisample, GLX_SGIX_fbconfig
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample,
GLX_EXT_import_context, 
    GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_MESA_allocate_memory, 
    GLX_MESA_swap_control, GLX_MESA_swap_frame_usage,
GLX_OML_swap_method, 
    GLX_OML_sync_control, GLX_SGI_make_current_read,
GLX_SGI_swap_control, 
    GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig, 
    GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group
GLX extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample,
GLX_EXT_import_context, 
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_OML_swap_method, 
    GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_fbconfig
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.2.1)
OpenGL extensions:
    GL_ARB_depth_texture, GL_ARB_imaging, GL_ARB_multitexture, 
    GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shadow, 
    GL_ARB_shadow_ambient, GL_ARB_texture_border_clamp, 
    GL_ARB_texture_cube_map, GL_ARB_texture_env_add, 
    GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar, 
    GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat, 
    GL_ARB_transpose_matrix, GL_ARB_window_pos, GL_EXT_abgr,
GL_EXT_bgra, 
    GL_EXT_blend_color, GL_EXT_blend_func_separate,
GL_EXT_blend_logic_op, 
    GL_EXT_blend_minmax, GL_EXT_blend_subtract,
GL_EXT_clip_volume_hint, 
    GL_EXT_copy_texture, GL_EXT_draw_range_elements, GL_EXT_fog_coord, 
    GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels,
GL_EXT_point_parameters, 
    GL_EXT_polygon_offset, GL_EXT_rescale_normal,
GL_EXT_secondary_color, 
    GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, 
    GL_EXT_stencil_two_side, GL_EXT_stencil_wrap, GL_EXT_subtexture, 
    GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp, 
    GL_EXT_texture_env_add, GL_EXT_texture_env_combine, 
    GL_EXT_texture_env_dot3, GL_EXT_texture_lod_bias,
GL_EXT_texture_object, 
    GL_EXT_texture_rectangle, GL_EXT_vertex_array,
GL_APPLE_packed_pixels, 
    GL_ATI_texture_env_combine3, GL_ATI_texture_mirror_once, 
    GL_ATIX_texture_env_combine3, GL_IBM_texture_mirrored_repeat, 
    GL_INGR_blend_func_separate, GL_MESA_pack_invert,
GL_MESA_ycbcr_texture, 
    GL_NV_blend_square, GL_NV_point_sprite, GL_NV_texgen_reflection, 
    GL_NV_texture_rectangle, GL_SGIS_generate_mipmap, 
    GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp, 
    GL_SGIS_texture_lod, GL_SGIX_depth_texture, GL_SGIX_shadow, 
    GL_SGIX_shadow_ambient, GL_SUN_multi_draw_arrays
glu version: 1.3
glu extensions:
    GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x22 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0  0 0 None
0x23 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  0 0 None
0x24 24 tc  0 32  0 r  y  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None
0x25 24 tc  0 32  0 r  .  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None
-------------------------------------------------------------------------------




Konfig_3:
"aktuelle xorg.conf von der gentoo 2006.0 LiveCD"
-------------------------------------------------------------------------------
Section "ServerLayout"
	Identifier	"X.Org Configured"
	Screen	0	"Screen0" 0 0
	InputDevice	"Keyboard0" "CoreKeyboard"
# PS/2 Mouse not detected
# Serial Mouse not detected
	InputDevice	"USB Mouse" "AlwaysCore"
	InputDevice	"Synaptics" "AlwaysCore"
EndSection

Section "ServerFlags"
	Option	"AllowMouseOpenFail" "true"
	
EndSection

Section "Files"
	FontPath	"/usr/share/fonts/util"
	FontPath	"/usr/share/fonts/encodings"
	FontPath	"/usr/share/fonts/misc"
	FontPath	"/usr/share/fonts/local"
	FontPath	"/usr/share/fonts/terminus"
	FontPath	"/usr/share/fonts/corefonts"
	FontPath	"/usr/local/share/fonts"
	FontPath	"/usr/share/fonts"
	FontPath	"/usr/share/fonts/default"
	FontPath	"/usr/share/fonts/TTF"
	FontPath	"/usr/share/fonts/arphicfonts"
	FontPath	"/usr/share/fonts/jisx0213"
	FontPath	"/usr/share/fonts/shinonome"
	FontPath	"/usr/share/fonts/baekmuk-fonts"
	FontPath	"/usr/share/fonts/kacst-fonts"
	FontPath	"/usr/share/fonts/sgi-fonts"
	FontPath	"/usr/share/fonts/unfonts"
	FontPath	"/usr/share/fonts/default/ghostscript"
	FontPath	"/usr/share/fonts/xfonts-cronyx-100dpi:unscaled"
	FontPath	"/usr/share/fonts/xfonts-cronyx-75dpi:unscaled"
	FontPath	"/usr/share/fonts/xfonts-cronyx-misc:unscaled"
	FontPath	"/usr/share/fonts/xfonts-cronyx-100dpi"
	FontPath	"/usr/share/fonts/xfonts-cronyx-75dpi"
	FontPath	"/usr/share/fonts/xfonts-cronyx-misc"
	FontPath	"/usr/share/fonts/xfonts-cronyx-cp1251-100dpi:unscaled"
	FontPath	"/usr/share/fonts/xfonts-cronyx-cp1251-75dpi:unscaled"
	FontPath	"/usr/share/fonts/xfonts-cronyx-cp1251-misc:unscaled"
	FontPath	"/usr/share/fonts/xfonts-cronyx-cp1251-100dpi"
	FontPath	"/usr/share/fonts/xfonts-cronyx-cp1251-75dpi"
	FontPath	"/usr/share/fonts/xfonts-cronyx-cp1251-misc"
	FontPath	"/usr/share/fonts/xfonts-cronyx-isocyr-100dpi:unscaled"
	FontPath	"/usr/share/fonts/xfonts-cronyx-isocyr-75dpi:unscaled"
	FontPath	"/usr/share/fonts/xfonts-cronyx-isocyr-misc:unscaled"
	FontPath	"/usr/share/fonts/xfonts-cronyx-isocyr-100dpi"
	FontPath	"/usr/share/fonts/xfonts-cronyx-isocyr-75dpi"
	FontPath	"/usr/share/fonts/xfonts-cronyx-isocyr-misc"
	FontPath	"/usr/share/fonts/xfonts-cronyx-koi8r-100dpi:unscaled"
	FontPath	"/usr/share/fonts/xfonts-cronyx-koi8r-75dpi:unscaled"
	FontPath	"/usr/share/fonts/xfonts-cronyx-koi8r-misc:unscaled"
	FontPath	"/usr/share/fonts/xfonts-cronyx-koi8r-100dpi"
	FontPath	"/usr/share/fonts/xfonts-cronyx-koi8r-75dpi"
	FontPath	"/usr/share/fonts/xfonts-cronyx-koi8r-misc"
	FontPath	"/usr/share/fonts/xfonts-cronyx-koi8u-100dpi:unscaled"
	FontPath	"/usr/share/fonts/xfonts-cronyx-koi8u-75dpi:unscaled"
	FontPath	"/usr/share/fonts/xfonts-cronyx-koi8u-misc:unscaled"
	FontPath	"/usr/share/fonts/xfonts-cronyx-koi8u-100dpi"
	FontPath	"/usr/share/fonts/xfonts-cronyx-koi8u-75dpi"
	FontPath	"/usr/share/fonts/xfonts-cronyx-koi8u-misc"
EndSection

Section "Module"
	Load	"ddc"
	Load	"vbe"
	Load	"GLcore"
	Load	"dbe"
	Load	"dri"
	Load	"extmod"
	Load	"glx"
	Load	"bitmap"
	Load	"speedo"
	Load	"type1"
	Load	"freetype"
	Load	"record"
EndSection

Section "InputDevice"
	Identifier	"Keyboard0"
	Driver	"kbd"
	Option	"CoreKeyboard"
	Option	"XkbRules" "xorg"
	Option	"XkbModel" "pc105"
	Option	"XkbOptions" "grp:toggle,grp_led:scroll"
	Option	"XkbVariant" ",winkeys"
EndSection

Section "InputDevice"
	Identifier	"Serial Mouse"
	Driver	"mouse"
	Option	"Protocol" "Microsoft"
	Option	"Device" "/dev/ttyS0"
	Option	"Emulate3Buttons" "true"
	Option	"Emulate3Timeout" "70"
	Option	"SendCoreEvents"  "true"
EndSection

Section "InputDevice"
	Identifier	"PS/2 Mouse"
	Driver	"mouse"
	Option	"Protocol" "IMPS/2"
	Option	"Device" "/dev/misc/psaux"
	Option	"Emulate3Buttons" "true"
	Option	"Emulate3Timeout" "70"
	Option	"SendCoreEvents"  "true"
	Option	"ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
	Identifier	"USB Mouse"
	Driver	"mouse"
	Option	"Device" "/dev/input/mice"
	Option	"SendCoreEvents" "true"
	Option	"Protocol" "IMPS/2"
	Option	"ZAxisMapping" "4 5"
	Option	"Buttons" "5"
EndSection

Section "InputDevice"
	Identifier	"Synaptics"
	Driver	"synaptics"
	Option	"Protocol" "event"
	Option	"Device" "/dev/input/event1"
	Option	"LeftEdge" "1900"
	Option	"RightEdge" "5400"
	Option	"TopEdge" "1900"
	Option	"BottomEdge" "4000"
	Option	"FingerLow" "25"
	Option	"FingerHigh" "30"
	Option	"MaxTapTime" "180"
	Option	"MaxTapMove" "220"
	Option	"VertScrollDelta" "100"
	Option	"MinSpeed" "0.02"
	Option	"MaxSpeed" "0.10"
	Option	"AccelFactor" "0.0010"
	Option	"SHMConfig" "on"
EndSection

# Auto-generated by mkxf86config

Section "Monitor"
	Identifier   "Monitor0"
	HorizSync    28.0 - 96.0
	VertRefresh  50.0 - 75.0
EndSection

Section "Device"
	### Available Driver options are:-
	# sw_cursor is needed for some ati and radeon cards
	#Option     "sw_cursor"
	#Option     "hw_cursor"
	#Option     "NoAccel"
	#Option     "ShowCache"
	#Option     "ShadowFB"
	#Option     "UseFBDev"
	#Option     "Rotate"
	Identifier  "Card0"
	# The following line is auto-generated by x11-misc/mkxf86config
	Driver      "vesa"
	VendorName  "All"
	BoardName   "All"
	VideoRam    65535
#	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier	"Screen0"
	Device	"Card0"
	Monitor	"Monitor0"
	DefaultColorDepth 24
	SubSection "Display"
		Depth	1
		Modes "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth	4
		Modes "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth	8
		Modes "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth	15
		Modes "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth	16
		Modes "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth	24
		Modes "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth	32
		Modes "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "DRI"
	Mode 0666
EndSection
-------------------------------------------------------------------------------

-end-

-- 
gentoo-user-de@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-03-23  9:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-22 15:15 [gentoo-user-de] 3D mit xorg.conf konfigurieren fuer eine VIA Technologies, Inc. S3 Unichrome Pro VGA Adapter (rev 01) Alvin T. P. Brodbeck
2006-03-22 21:03 ` Jan Girlich
2006-03-22 22:34   ` Alvin T. P. Brodbeck
2006-03-23  8:54   ` Dirk Göttel
2006-03-23  9:41     ` Matthias Nimscholz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox