From owner-freebsd-multimedia@FreeBSD.ORG Fri Dec 7 19:28:06 2012 Return-Path: Delivered-To: multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 48093A07 for ; Fri, 7 Dec 2012 19:28:06 +0000 (UTC) (envelope-from andy@neu.net) Received: from mail.neu.net (neu.net [199.48.129.194]) by mx1.freebsd.org (Postfix) with ESMTP id F1BEE8FC15 for ; Fri, 7 Dec 2012 19:28:04 +0000 (UTC) Received: from neu.net (neu.net [199.48.129.194]) by mail.neu.net (8.14.5/8.14.5) with ESMTP id qB7JRw9w008659 for ; Fri, 7 Dec 2012 14:27:58 -0500 (EST) (envelope-from andy@neu.net) Date: Fri, 7 Dec 2012 14:27:57 -0500 (EST) From: AN To: multimedia@FreeBSD.org Subject: problem with VLC and hardware acceleration Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Virus-Scanned: clamav-milter 0.97.6 at my.mail.server X-Virus-Status: Clean X-Spam-Status: No, score=0.0 required=4.5 tests=RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.neu.net X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Dec 2012 19:28:06 -0000 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.