From owner-freebsd-multimedia@FreeBSD.ORG Fri Sep 28 17:35:09 2012 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 044431065703; Fri, 28 Sep 2012 17:35:09 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 9922C8FC14; Fri, 28 Sep 2012 17:35:08 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 521B91E00718; Fri, 28 Sep 2012 19:35:07 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.4) with ESMTP id q8SHWGg5044509; Fri, 28 Sep 2012 19:32:16 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id q8SHWGAs044508; Fri, 28 Sep 2012 19:32:16 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Fri, 28 Sep 2012 19:32:16 +0200 To: Derrick Edwards Message-ID: <20120928173216.GA44127@triton8.kn-bremen.de> References: <201209252359.44863.dantavious313@gmail.com> <201209261839.35551.dantavious313@gmail.com> <20120927183716.GA6608@triton8.kn-bremen.de> <201209271806.40743.dantavious313@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201209271806.40743.dantavious313@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: x11@freebsd.org, Juergen Lock , multimedia@freebsd.org Subject: Intel kms xvideo/vaapi? (was: Re: VLC problems) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Sep 2012 17:35:09 -0000 On Thu, Sep 27, 2012 at 06:06:40PM -0400, Derrick Edwards wrote: > On Thursday, September 27, 2012 02:37:16 PM you wrote: > > On Wed, Sep 26, 2012 at 06:39:35PM -0400, Derrick Edwards wrote: > > > On Wednesday, September 26, 2012 04:21:00 PM you wrote: > > > > On Wed, Sep 26, 2012 at 04:12:27PM -0400, Derrick Edwards wrote: > > > > > On Wednesday, September 26, 2012 03:19:42 PM Juergen Lock wrote: > > > > > > On Tue, Sep 25, 2012 at 11:59:44PM -0400, Derrick Edwards wrote: > > > > > > > HI, > > > > > > > > > > > > Hi! > > > > > > > > > > > > > I am having problems with vlc. Once executed it displays the gui > > > > > > > however, when attempting to select file and play movie, it does > > > > > > > not play. I provided some output that I found interesting. Let > > > > > > > me know if you need anymore output. > > > > > > > > > > > > > > V/r > > > > > > > Derrick > > > > > > > > > > > > > > > > > > > > > VLC media player 2.0.3 Twoflower (revision 2.0.2-93-g77aa89e) > > > > > > > [0x80249ea58] skins2 interface: skin: eDark Vlc author: aaron a > > > > > > > [0x80249ea58] skins2 interface: skin: Unnamed Theme author: > > > > > > > OFursov [0x80249ea58] skins2 interface: new theme successfully > > > > > > > loaded (/usr/local/share/vlc/skins2/148046-4colors.vlt) > > > > > > > [mpeg4 @ 0x812486b20] Invalid and inefficient vfw-avi packed B > > > > > > > frames detected [0x81ec333d8] xcb_xv vout display error: no > > > > > > > available XVideo adaptor > > > > > > > > > > > > Hm what video hardware and Xorg driver are you using there? Does > > > > > > xvinfo show anything? > > > > > > > > > > > > You could try selecting X11 video output in Tools -> Prefs -> > > > > > > Video > > > > > > > > > > > > -> Output, or if that doesn't work try selecting SDL there (Simple > > > > > > DirectMedia video output) It's also possible you have too little > > > > > > > > > > > > sysv shared memory, try these sysctls settings: > > > > > > kern.ipc.shmmax=67108864 > > > > > > kern.ipc.shmall=32768 > > > > > > > > > > > > HTH, > > > > > > > > > > > > Juergen > > > > > > > > > > > > > writev(0xe,0x7fffff9faf20,0x6,0x18ad0,0x50,0x0) = 48 (0x30) > > > > > > > read(14,0x80c8152c0,8) ERR#35 'Resource > > > > > > > temporarily unavailable' > > > > > > > > > > [...] > > > > > > > > > > Juergen, > > > > > > > > > > Thanks for your assistance. Selecting X11 video output in Tools -> > > > > > Prefs -> Video > -> Output, did the trick. Just for FYI, I am using: > > > > > > > > > > Intel(R) Sandybridge/Ivybridge Graphics Chipset Accelerated VGA BIOS > > > > > xorg-server-1.10.6_1,1 X.Org X server and related programs > > > > > > > > > > kern.ipc.shmmax: 536870912 > > > > > kern.ipc.shmall: 131072 > > > > > > > > Ah I guess then you're using the vesa driver? Or are you actually > > > > using the Intel KMS patches (now committed to 9.1 or head branches), > > > > tho hat would be strange if those didn't support Xvideo... > > > > > > > > Juergen > > > > > > > Juergen, > > > > > > You are correct, I am using the Intel KMS patches on current. VLC 1* > > > worked perfectly without any changes to video output settings. > > > > Can you install x11/xvinfo and check output of it? I wonder if the > > intel kms patches are really missing xvideo support... > > > > And if it does find something could you test xvideo using other players > > like mplayer -vo xv ...? > > > > Thanx, :) > > Juergen > > The output of xvinfo is : > > X-Video Extension version 2.2 > screen #0 > no adaptors present > mplayer -vo x11/gl driver options were the only options that provided output. > The gl option provided video but it slagged greatly making it unusable. Is > xvideo prefered to x11? Let me know if you need additional testing. Well ok, that explains why vlc had problems using xvideo. (xvideo is preferred if available as it reduces cpu load playing video, there also is vaapi that offloads video decoding to the gpu too but the userland libs needed for that aren't in ports and I wonder if intel kms kernel support for it is missing too if xvideo support is already missing... I've Cc'd -x11, maybe someone there knows.) Thanx, Juergen (who doesn't have intel video hw here only maintains a few multimedia ports and updated vlc)