On 2020-01-04 21:14 +0800, Xi Ruoyao via blfs-dev wrote:
> On 2020-01-02 20:36 +0000, Ken Moffat via blfs-dev wrote:
> > On Fri, Jan 03, 2020 at 12:58:22AM +0800, Xi Ruoyao via blfs-dev wrote:
> > > On 2020-01-02 00:26 +0000, Ken Moffat via blfs-dev wrote:
> > > 
> > > I have a new Core i7-1065G7 laptop.  The legacy libva-intel-driver just
> > > doesn't
> > > work on Gen 11 graphic so I tried the new iHD driver.
> > > 
> > > Gstreamer refuses to use iHD driver with libva (by default it only
> > > utilizes
> > > libva-intel-driver).  I tried to force Gstreamer to use iHD.  It works
> > > with
> > > "gst-play-1.0" but breaks video replay in WebKitGTK (I tried 1080p videos
> > > on
> > > YouTube and Bilibili).  So finally I had to build intel-media-sdk and gst-
> > > msdk
> > > plugin (in gst-plugins-bad) to use the Gen 11 iGPU to accelerate video
> > > replay.
> > > 
> > 
> > Useful to know, as with everything to do with media
> > encoding/decoding the situation seems to be complex.
> > 
> > > My kernels (one from Arch and one built by myself) don't try to load
> > > GuC/HuC
> > > firmwares.  /sys/kernel/debug says my iGPU doesn't need HuC, and GuC is
> > > disabled.
> > > 
> > 
> > OK, thanks for that.  Looking a bit more deeply at what I regard as
> > a very hard to follow set of documentation (like some others, it's
> > probably fine if you already understand all the details) I see that
> > HuC is only needed for Hardware Encoding, Low Power
> > Encoding(VDEnc/Huc) on Skylake and later, but only for limited AVC
> > and jpeg on most existing platforms.
> > https://github.com/intel/media-driver/blob/master/docs/media_features.md#supported-video-processing-cscscaling-format
> 
> Gstreamer msdk plugin is still causing problems in Web browser.
> 
> I'll just use my CPU to decode videos, for now.

Finally I can use libgstmsdk.so compiled from gstreamer-1.17 (not released yet)
code to decode online videos with iGPU.  Unfortunately, Bilibili (and several
other video websites) work but Youtube not.

I think the new driver stack is still too premature.  Arch don't use it for
Gstreamer, and just began to test it for ffmpeg:

https://www.archlinux.org/packages/testing/x86_64/ffmpeg/

Let's wait.
-- 
Xi Ruoyao <xry...@mengyan1223.wang>
School of Aerospace Science and Technology, Xidian University

-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to