[Libva] G45 h264 decoding

Xiang, Haihao haihao.xiang at intel.com
Thu Oct 6 21:25:22 PDT 2011


Hi, 
 Could you try with the option SwapbuffersWait in your xorg.conf? 

Section "Device"
        Identifier      "Generic Video Card"
        Driver          "intel"
...
        Option "SwapbuffersWait" "off"
...
EndSection

(NOTE: restart your X server after changing xorg.conf).

Thanks
Haihao

> -----Original Message-----
> From: libva-bounces+haihao.xiang=intel.com at lists.freedesktop.org
> [mailto:libva-bounces+haihao.xiang=intel.com at lists.freedesktop.org] On
> Behalf Of Javier Achirica
> Sent: Tuesday, October 04, 2011 5:41 PM
> To: libva at lists.freedesktop.org
> Subject: Re: [Libva] G45 h264 decoding
> 
> Hi,
> 
> Works fine in my Vaio TT, although only with videos up to 720. With
> 1080 videos, cannot cope with the rate. The CPU is fine (around 20%)
> so looks like it's an issue with the driver, as they play fine in
> Windows.
> 
> On Sat, Oct 1, 2011 at 11:15 AM, Xiang, Haihao <haihao.xiang at intel.com>
> wrote:
> > Hi,
> >  There are some fixes for G45 h264 decoding on g45-h264 branch,
> please fetch the fixes from
> > the new intel-driver repository
> (git.freedesktop.org/git/vaapi/intel-driver.git) and give a try.
> >
> > BTW please update your 2D driver (xf86-video-intel) as well and set
> SwapbuffersWait to off in
> > your xorg.conf for better performance.
> >
> > Thanks
> > Haihao
> >
> >> -----Original Message-----
> >> From: libva-bounces+haihao.xiang=intel.com at lists.freedesktop.org
> >> [mailto:libva-bounces+haihao.xiang=intel.com at lists.freedesktop.org]
> On
> >> Behalf Of Andreas Gustafsson
> >> Sent: Wednesday, June 22, 2011 11:11 PM
> >> To: achirica at ttd.net
> >> Cc: libva at lists.freedesktop.org
> >> Subject: Re: [Libva] G45 h264 decoding
> >>
> >> Hi!
> >>
> >> It affects all videos I've tried so far.
> >>
> >> Best regards,
> >> Andreas
> >>
> >> ons 2011-06-22 klockan 12:14 +0200 skrev Javier Achirica:
> >> > >On Tue, 2011-06-21 at 20:11 +0800, Andreas Gustafsson wrote:
> >> > >> Hello!
> >> > >>
> >> > >> I'm hitting a similar problem when trying out the g45-h264 branch.
> >> > >> Running at abysmal speeds and getting kernel errors.
> >> > >>
> >> > >> What concerns me is that when I'm checking the Debian kernel
> source
> >> the
> >> > >> drm/i915 BSD ring patch is already applied.
> >> > >
> >> > >Can you reproduce this issue with any H.264 videos or only with
> some
> >> > >special H.264 videos?
> >> >
> >> > I'm running the 2.6.39 kernel with the drm/i915 BSD ring patch and I
> >> > also have this issue with all videos I've tried.
> >> > _______________________________________________
> >> > Libva mailing list
> >> > Libva at lists.freedesktop.org
> >> > http://lists.freedesktop.org/mailman/listinfo/libva
> >>
> >>
> >> _______________________________________________
> >> Libva mailing list
> >> Libva at lists.freedesktop.org
> >> http://lists.freedesktop.org/mailman/listinfo/libva
> > _______________________________________________
> > Libva mailing list
> > Libva at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/libva
> >
> _______________________________________________
> Libva mailing list
> Libva at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libva


More information about the Libva mailing list