problem with VLC and hardware acceleration

AN andy at
Fri Dec 7 19:28:06 UTC 2012

FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r243968: Thu Dec  6 
23:43:48 EST 2012     root at FBSD10:/usr/obj/usr/src/sys/MYKERNEL  amd64

Having a problem getting hardware acceleration running on current.  I have 
the following installed:
# pkg info |grep vlc
vlc-2.0.4,3                    Qt4 based multimedia player and streaming 
# pkg info |grep libva
libva-1.1.0_2                  VAAPI wrapper and dummy driver
  pkg info |grep libvdpa
libvdpau-0.5_1                 VDPAU wrapper and tracing library
# pkg info |grep ffm
ffmpeg-0.7.13_6,1              Realtime audio/video encoder/converter and 
streaming server
ffmpeg1-1.0.1                  Realtime audio/video encoder/converter and 
streaming server
gstreamer-ffmpeg-0.10.13       GStreamer plug-in for manipulating MPEG 
video streams

I built and rebuilt all ports with libva and libvdpau acceleration 
enabled.  I was able to see support compiled into the ports, but something 
is still broken.  I just built this system from scratch using clang, maybe 
one of the ports still needs to use GCC?  On my previous system with the 
same hardware I was able to get this working when the base system and 
ports were compiled with GCC4.2,  so it leads me to believe it has 
something to do with compiling ports with clang.

Here is info from vainfo:
# vainfo
libva info: VA-API version 0.33.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/local/lib/va/
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit

Not sure what to try now, any help would be appreciated.  Thanks in 

More information about the freebsd-multimedia mailing list