Changes between Version 15 and Version 16 of Hardware/QuickSync


Ignore:
Timestamp:
Oct 11, 2021, 3:25:48 AM (5 years ago)
Author:
softworkz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Hardware/QuickSync

    v15 v16  
    4444  This is a mostly-free [#i965 (but see below)] driver for the libva / VAAPI instructure.  Most Linux distributions package it.
    4545VAAPI with iHD driver
    46   The back-end of libmfx on Linux uses a modified libva and VAAPI driver; this can also be used directly by the user.
     46  The newer VAAPI driver variant from Intel which is also used by libmfx on Linux. There's a completely free distribution and one that includes closed-source kernels.
    4747
    4848
     
    6161||  iHD driver    ||  gen8+                   || [https://github.com/intel/media-driver] ||
    6262
    63 === VAAPI VS libmfx ===
    64 
    65 VAAPI / i965
    66 * Packaged as standard in most Linux distributions.
    67 * Runs on all usable hardware, including older and cheaper devices.
    68 * Wider codec support.
    69 * Common API for applications which may also use AMD / Nvidia hardware with Mesa.
    70 * Interopable with standard APIs (EGL/OpenGL, OpenCL).
    71 
    72 libmfx / iHD
     63=== i965  vs. iHD Driver vs. libmfx ===
     64
     65i965 Driver
     66* Supports VAAPI
     67* i965 is packaged as standard in most Linux distributions.
     68* Runs on older and cheaper devices.
     69* Common API for applications which may also use AMD hardware with Mesa.
     70* Interoperable with standard APIs (EGL/OpenGL, OpenCL).
     71
     72iHD Driver
     73* Supports VAAPI and libmfx (MSDK)
     74* Interoperable with OpenCL and Intel OpenCL extensions
     75
     76iHD + libmfx (MSDK)
    7377* May give better encode quality in some cases (such as look_ahead).
    74 * May give higher encode throughput in some cases (such as MFE, particularly on Iris graphics).
     78* Provides higher encode throughput in many cases
     79* Wider codec support (e.g. HEVC and AV1)
    7580* Common API for applications which may also run on Windows.
    76 * Interoperable with Intel OpenCL implementation.
    77 
    78 The iHD libva driver also provides similar VAAPI functionality as the opensource i965 driver. But; HEVC encoding is for evaluation purposes only and will limit the encode to a mere 1000 frames.
    79 
    80 Ref: https://gist.github.com/SeanMollet/0eed16e80630ab67532890a9d42132af
     81
    8182
    8283== Windows ==
     
    113114}}}
    114115
    115 === Install with MediaServerStudio ===
    116 Note that the kernel patches and modified system libraries are all required.  It is recommended not to install this on any machine also used for other purposes, as it does not use normal distribution mechanisms and may break / be broken by other packages unexpectedly.
    117 
    118 Build machine:
    119 * Build and install the packaged dispatcher: <https://github.com/lu-zero/mfx_dispatch>.  (It is also possible to extract the necessary files from the Media SDK installation as described in the install manual - this is not recommended, just use the package instead.)
    120 
    121 Target machine:
    122 * Ensure the target machine has a supported CPU.  Current versions only support gen8/gen9 graphics on expensive CPUs ("Xeon"/"Core i" branding).  The same graphics cores on cheaper CPUs ("Pentium"/"Celeron"/"Atom" branding) are explicitly disabled, presumably for commercial reasons.
    123 * Get a clean version of the supported kernel version (currently 4.4: <https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.4.tar.xz>) and apply the supplied patches.  Build and install.
    124 * Build and install the supplied libva and libdrm trees.
    125 * Run the Media SDK install script to install the proprietary components.
    126 * Reboot.
    127116
    128117=== Build FFmpeg with MSDK ===