I'm trying to get hardware acceleration from my S3 Unichrome (VT8378), but the xorg-x11 part doesn't seem to work. I have agp and via_agp in the kernel, but since it doesn't have DRM for unichrome, I tried to get if from to sources: dri.sf.net (via-20050718) and x11-drm, and both ways I got via and drm "modprobed" when starting X. I've got the dri and glx lines uncommented in xorg.conf, and in fact X doesn't complain, but glxinfo gives me: name of display: :0.0 libGL: XF86DRIGetClientDriverName: 4.1.30 unichrome (screen 0) libGL: OpenDriver: trying /usr/lib/modules/dri/unichrome_dri.so libGL error: dlopen /usr/lib/modules/dri/unichrome_dri.so failed (/usr/lib/modules/dri/unichrome_dri.so: undefined symbol: viaTexCombineState) libGL error: unable to find driver: unichrome_dri.so 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_SGIS_multisample 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 Reproducible: Always Steps to Reproduce: 1. Linux 2.6.12-gentoo-r9 with agp and via_agp, but no drm 2. x11-drm 20050502 VIDEOCARDS="via" -OR- dri.sf.net via-20050718-linux.i386.tar.gz 3. xorg-x11 6.8.2-r2 insecure-drivers Actual Results: Didn't get hardware 3D acceleration. Expected Results: glxinfo: "direct rendering: yes" Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.5-20050130, glibc-2.3.4. 20041102-r1, 2.6.12-gentoo-r9 i686) ================================================================= System uname: 2.6.12-gentoo-r9 i686 AMD Sempron(tm) 2400+ Gentoo Base System version 1.6.13 ccache version 2.3 [disabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share /config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/shar e/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks nostrip sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.las.ic.unicamp.br/pub/gentoo/ http://www.las.ic.unicam p.br/pub/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="pt_BR" LC_ALL="pt_BR" LINGUAS="pt_BR" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow X a52 aac acpi alsa arts avi bash-completion berkdb bitmap-fonts bzip2 cdparanoia cdr crypt cups dbus dga divx4linux dvb dvd dvdr dvdread emboss encode exif expat fam ffmpeg flash foomaticdb fortran ftp gdbm geoip gif gpm gtk gtk2 hal iconv imagemagick imlib java javascript jpeg kde kdeenablefinal kdexdeltas libg++ libwww lm_sensors mad maildir mbox md5sum mhash mikmod mime mmap mmx mng mp3 mpeg msn ncurses nls opengl pam pda pdf pdflib perl png posix python qt quicktime readline sasl sdl session sox spell sse ssl svg symlink szip tcpd threads tiff truetype truetype-fonts type1-fonts unicode usb usepackagedmakefiles vcd win32codecs wmf xine xml xml2 xosd xpm xv zlib video_cards_via linguas_pt_BR userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Updated to x11-base/x11-drm-20050807 and still the same issue.
I think I've seen Unichrome support in 2.6.14...not sure how keen you'd be on giving that a try. Other than that, I think many people have nothing but headaches with current Unichrome support. This seems mostly to be an upstream problem...
Yes, linux 2.6.13 supports DRM for Unichrome. It makes x11-drm obsolete. But it didn't fix my problem; I re-read the document from de URL, and realized I'll have to follow the instructions a little more literally. http://gentoo-wiki.org/Unichrome has detailed information on having Unichrome with X.org 6.8.2, but I got borred of step-by-step and decided to try 6.8.99 which is unstable but ships with Unichrome. So, it works for me under new circunstances, should this bug be considered closed?
Ya, I'll close it. Hopefully everyone with Unichrome can wait for the new version to stabilize or follow those instructions. Thanks for the info.