Intel kms xvideo/vaapi? (was: Re: VLC problems)

Juergen Lock nox at jelal.kn-bremen.de
Fri Sep 28 17:35:09 UTC 2012


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)


More information about the freebsd-x11 mailing list