Skip to content

Commit

Permalink
Updated Intel Media Driver to version 23.3.5, Intel Media SDK to vers…
Browse files Browse the repository at this point in the history
…ion 23.2.2 and OneVPL GPU runtime to version 23.3.4.
  • Loading branch information
jlesage committed Nov 10, 2023
1 parent fb56fb9 commit 08477ba
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ ARG HANDBRAKE_VERSION=1.6.1
ARG LIBVA_VERSION=2.20.0
ARG INTEL_VAAPI_DRIVER_VERSION=2.4.1
ARG GMMLIB_VERSION=22.3.12
ARG INTEL_MEDIA_DRIVER_VERSION=23.2.4
ARG INTEL_MEDIA_SDK_VERSION=22.5.4
ARG INTEL_ONEVPL_GPU_RUNTIME_VERSION=23.2.4
ARG INTEL_MEDIA_DRIVER_VERSION=23.3.5
ARG INTEL_MEDIA_SDK_VERSION=23.2.2
ARG INTEL_ONEVPL_GPU_RUNTIME_VERSION=23.3.4

# Define software download URLs.
ARG HANDBRAKE_URL=https://github.com/HandBrake/HandBrake/releases/download/${HANDBRAKE_VERSION}/HandBrake-${HANDBRAKE_VERSION}-source.tar.bz2
Expand Down
3 changes: 3 additions & 0 deletions src/handbrake/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,9 @@ if [ "$(xx-info arch)" = "amd64" ]; then
fi

if [ "$(xx-info arch)" = "amd64" ]; then
log "Patching Intel Media Driver..."
patch -d /tmp/intel-media-driver -p1 < "$SCRIPT_DIR"/intel-media-driver-compile-fix.patch

log "Configuring Intel Media driver..."
(
mkdir /tmp/intel-media-driver/build && \
Expand Down
20 changes: 20 additions & 0 deletions src/handbrake/intel-media-driver-compile-fix.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
--- a/media_driver/cmake/linux/media_compile_flags_linux.cmake 2023-11-10 16:00:32.182289902 -0500
+++ b/media_driver/cmake/linux/media_compile_flags_linux.cmake 2023-11-10 16:01:23.034436228 -0500
@@ -51,8 +51,6 @@
-ffunction-sections
-Wl,--gc-sections

- # Enable c++14 features
- -std=c++14
# -m32 or -m64
-m${ARCH}

@@ -110,6 +108,8 @@
-fexceptions
-fpermissive
-fcheck-new
+ # Enable c++14 features
+ -std=c++14
)

if(NOT ${PLATFORM} STREQUAL "android")

0 comments on commit 08477ba

Please sign in to comment.