Skip to content

Commit

Permalink
Merge pull request #520 from nyanmisaka/fix-opus-avx2-and-dg1-upstream
Browse files Browse the repository at this point in the history
Fix Opus AVX2 auto detection and DG1 upstream support
  • Loading branch information
gnattu authored Dec 26, 2024
2 parents a7d64d5 + a7b8589 commit 1d5a7cb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions builder/scripts.d/50-libopus.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ ffbuild_dockerbuild() {
git-mini-clone "$SCRIPT_REPO" "$SCRIPT_COMMIT" opus
cd opus

# Fix AVX2 auto detction
wget -q -O - https://github.com/xiph/opus/commit/9ec11c1.patch | git apply

./autogen.sh

local myconf=(
Expand Down
4 changes: 3 additions & 1 deletion docker-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -455,8 +455,10 @@ prepare_extra_amd64() {
pushd ${SOURCE_DIR}
git clone -b intel-media-24.4.2 --depth=1 https://github.com/intel/media-driver.git
pushd media-driver
# enable vc1 decode on dg2 (note that mtl+ is not supported)
# Enable VC1 decode on DG2 (note that MTL+ is not supported)
wget -q -O - https://github.com/intel/media-driver/commit/d5dd47b.patch | git apply
# Fix DG1 support in upstream i915 KMD (prod DKMS is not required)
wget -q -O - https://github.com/intel/media-driver/commit/620a0b7.patch | git apply
mkdir build && pushd build
cmake -DCMAKE_INSTALL_PREFIX=${TARGET_DIR} \
-DENABLE_KERNELS=ON \
Expand Down

0 comments on commit 1d5a7cb

Please sign in to comment.