Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Dec 2012 22:56:05 +0100 (CET)
From:      Juergen Lock <nox@jelal.kn-bremen.de>
To:        andy@neu.net
Cc:        multimedia@FreeBSD.org
Subject:   Re: problem with VLC and hardware acceleration
Message-ID:  <201212072156.qB7Lu5Hm047689@triton8.kn-bremen.de>
In-Reply-To: <alpine.BSF.2.00.1212071410100.5499@mail.neu.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <alpine.BSF.2.00.1212071410100.5499@mail.neu.net> you write:
>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.

You can test the clang theory by building for example the libva port
with gcc, i.e. put

	USE_GCC=	any

in it's port Makefile.  And if that doesn't help try building
the libva-vdpau-driver or libvdpau ports with gcc too.

 And don't forget to report what you find of course... :)

 HTH,
	Juergen



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