Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Dec 2012 14:27:57 -0500 (EST)
From:      AN <andy@neu.net>
To:        multimedia@FreeBSD.org
Subject:   problem with VLC and hardware acceleration
Message-ID:  <alpine.BSF.2.00.1212071410100.5499@mail.neu.net>

next in thread | raw e-mail | index | archive | help
FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r243968: Thu Dec  6 
23:43:48 EST 2012     root@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 
server
# 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/nvidia_drv_video.so
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 
advance.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1212071410100.5499>