I undrstand this is still pretty new/experimental, I got most everthing working except for this and one other thing. With that in mind so far thumbs up over all. When I try to emerge xf86-video-via 0.1.31 it fails I'm using xf86-video-vesa for now. Reproducible: Always Steps to Reproduce: 1.emerge -v xf86-video-via 2. 3. Actual Results: I get the following error: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DIN_MODULE -DXFree86Module -I/usr/include/xorg -I/usr/include/drm -I/usr/include/X11/dri -O3 -pipe -march=athlon-mp -mmmx -m3dnow -msse -fomit-frame-pointer -funroll-loops -fthread-jumps -MT via_accel.lo -MD -MP -MF .deps/via_accel.Tpo -c via_accel.c -fPIC -DPIC -o .libs/via_accel.o In file included from via_priv.h:5, from via_driver.h:56, from via_accel.c:41: /usr/include/drm/via_drm.h:35:27: via_drmclient.h: No such file or directory In file included from via_priv.h:5, from via_driver.h:56, from via_accel.c:41: /usr/include/drm/via_drm.h:109: error: syntax error before "uint32_t" /usr/include/drm/via_drm.h:109: warning: no semicolon at end of struct or union /usr/include/drm/via_drm.h:110: warning: data definition has no type or storage class /usr/include/drm/via_drm.h:111: warning: data definition has no type or storage class there is a ton more after this but all pretty much the samething for the same reason. via_drmclient.h doesn't exist out there. the file /usr/include/drm/via_drm.h belongs to x11-libs/libdrm-1.0.3 Expected Results: ooohs and aaaahs becuase it just works ;-) # emerge --info Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-r1, 2.6.12-gentoo-r4 i686) ================================================================= System uname: 2.6.12-gentoo-r4 i686 mobile AMD Athlon(tm) XP-M (LV) 2200+ Gentoo Base System version 1.6.13 ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.12 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.6 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=" -O3 -pipe -march=athlon-mp -mmmx -m3dnow -msse -fomit-frame-pointer -funroll-loops -fthread-jumps " CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS=" -O3 -pipe -march=athlon-mp -mmmx -m3dnow -msse -fomit-frame-pointer -funroll-loops -fthread-jumps " DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy ccache distlocks fixpackages sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo ftp://ftp.ndlug.nd.edu/pub/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X a52 aac aalib acpi aim alsa apache2 apm arts audiofile avi bash-completion berkdb bitmap-fonts bonobo bzlib cddb cdparanoia cdr cid cle266 crypt cscope cups curl curlwrappers dedicated dga dio directfb divx4linux doc dri dvd dvdread edl eds emboss encode escreen esd ethereal evo exif fam fame fbcon ffmpeg flac flash foomaticdb fortran ftp gb gd gdbm ggi gif gimpprint glep gnome gnutls gpm graphviz gstreamer gtk gtk2 gtkhtml guile hal hbci icq imagemagick imlib innodb insecure-drivers irmc jabber jack java javascript jikes joystick jpeg kde kerberos ladcca lcms libcaca libedit libg++ libgda libwww live lzo mad matroska mcal mikmod mime ming mjpeg mmap mmx mmxext mng motif mozdevelop moznoirc moznomail mozsvg mozxmlterm mp3 mpeg msn mysql nas ncurses network nls nocd odbc offensive ofx ogg oggvorbis openal opengl opie oscar oss pam pcmcia pda pdflib perl php plotutils png portaudio ppds python qt quicktime readline real rtc ruby samba sdl shared sharedmem simplexml slang slp sndfile snmp soap sockets speedo speex spell sse ssl svg svga sysfs szip tcltk tcpd tetex tga theora threads tiff tokenizer toolbar truetype truetype-fonts type1 type1-fonts unicode usb v4l v4l2 videos vidix vorbis win32codecs winbind wmf wxwindows xanim xface xforms xine xinerama xml xml2 xmlrpc xmms xosd xpm xprint xrandr xsl xv xvid xvmc yahoo yaz zlib zvbi video_cards_via userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
I found this while poking around xorg's wikki http://wiki.x.org/wiki/X11R7and69TODO the last item on this "to do" list for the 7.0 release says "lib/drivers: add XvMC client side libraries for via and i810" Maybe thats why the via_drmclient.h header is missing? Kind of a bummer if thats the hold up, because I don't think my via chip the KM400 even supports in hardware hardware XvMC decoding.
No, the missing file was probably just a mistake when making the modular tree. The file is there now, I just need to make a new snapshot. Sorry for the wait.
The driver is not in a buildable state upstream. Unfortunately the best you can do is stick with your current driver. I plan to check on this once in awhile to see when it's fixed. I'll mark this as upstream since we can't do anything right now. I'm sure they're very aware of the issue. Thanks for your help testing.