diff --git a/projects/rocdecode/CHANGELOG.md b/projects/rocdecode/CHANGELOG.md index cb9ea5df46..222c5a83c4 100644 --- a/projects/rocdecode/CHANGELOG.md +++ b/projects/rocdecode/CHANGELOG.md @@ -22,6 +22,7 @@ Documentation for rocDecode is available at ### Fixes * Package deps +* RHEL/SLES - Additional required packages `mesa-amdgpu-dri-drivers libdrm-amdgpu` ### Tested configurations @@ -33,6 +34,7 @@ Documentation for rocDecode is available at * amdgpu-core - `1:6.1.60100-1741643` * libva-dev - `2.7.0-2` / `2.14.0-1` * mesa-amdgpu-va-drivers - `1:24.1.0` +* mesa-amdgpu-dri-drivers - `24.1.0.60200` * FFmpeg - `4.2.7` / `4.4.2-0` * rocDecode Setup Script - `V2.0.0` diff --git a/projects/rocdecode/CMakeLists.txt b/projects/rocdecode/CMakeLists.txt index 2dd407bb1d..0c55f763a7 100644 --- a/projects/rocdecode/CMakeLists.txt +++ b/projects/rocdecode/CMakeLists.txt @@ -192,11 +192,11 @@ if(HIP_FOUND AND Libva_FOUND) string(REGEX MATCH "22.04" UBUNTU_22_FOUND ${OS_RELEASE}) string(REGEX MATCH "SLES" SLES_FOUND ${OS_RELEASE}) - # Set the dependent packages - TBD: mesa-amdgpu-va-drivers should bring libdrm-amdgpu, but unavailable on RPM + # Set the dependent packages - TBD: mesa-amdgpu-va-drivers should bring libdrm-amdgpu, and parts of mesa-amdgpu-dri-drivers but unavailable on RPM set(rocDecode_DEBIAN_PACKAGE_LIST "rocm-hip-runtime, libva2, libdrm-amdgpu1, mesa-amdgpu-va-drivers") - set(rocDecode_RPM_PACKAGE_LIST "rocm-hip-runtime, libva, libdrm-amdgpu, mesa-amdgpu-va-drivers") + set(rocDecode_RPM_PACKAGE_LIST "rocm-hip-runtime, libva, libdrm-amdgpu, mesa-amdgpu-va-drivers, mesa-amdgpu-dri-drivers") if(SLES_FOUND) - set(rocDecode_RPM_PACKAGE_LIST "rocm-hip-runtime, libva2, libdrm-amdgpu, mesa-amdgpu-va-drivers") + set(rocDecode_RPM_PACKAGE_LIST "rocm-hip-runtime, libva2, libdrm-amdgpu, mesa-amdgpu-va-drivers, mesa-amdgpu-dri-drivers") endif() # Set the dev dependent packages set(rocDecode_DEBIAN_DEV_PACKAGE_LIST "rocm-hip-runtime-dev, libva-dev, pkg-config, ffmpeg, libavcodec-dev, libavformat-dev, libavutil-dev") diff --git a/projects/rocdecode/README.md b/projects/rocdecode/README.md index c364f895ae..2ccc56d4ee 100644 --- a/projects/rocdecode/README.md +++ b/projects/rocdecode/README.md @@ -61,7 +61,7 @@ access the video decoding features available on your GPU. > sudo apt install libstdc++-12-dev > ``` > -> * Additional RPM Packages required for `RHEL`/`SLES` - `libdrm-amdgpu` +> * Additional RPM Packages required for `RHEL`/`SLES` - `libdrm-amdgpu mesa-amdgpu-dri-drivers` >[!NOTE] @@ -229,5 +229,6 @@ page. * amdgpu-core - `1:6.1.60100-1741643` * libva-dev - `2.7.0-2` / `2.14.0-1` * mesa-amdgpu-va-drivers - `1:24.1.0` +* mesa-amdgpu-dri-drivers - `24.1.0.60200` * FFmpeg - `4.2.7` / `4.4.2-0` * rocDecode Setup Script - `V2.0.0` diff --git a/projects/rocdecode/docs/install/install.rst b/projects/rocdecode/docs/install/install.rst index 90b77ea034..14d4d0b38e 100644 --- a/projects/rocdecode/docs/install/install.rst +++ b/projects/rocdecode/docs/install/install.rst @@ -26,6 +26,8 @@ Tested configurations * mesa-amdgpu-va-drivers: 1:24.1.0 +* mesa-amdgpu-dri-drivers - `24.1.0.60200` + * FFmpeg: 4.2.7/4.4.2-0 * rocDecode Setup Script: V2.0.0 @@ -90,9 +92,11 @@ Prerequisites .. note:: - All package installs are shown with the ``apt`` package manager. Use the appropriate package + * All package installs are shown with the ``apt`` package manager. Use the appropriate package manager for your operating system. + * Additional RPM Packages required for `RHEL`/`SLES` - `libdrm-amdgpu mesa-amdgpu-dri-drivers` + Prerequisites setup script ---------------------------------------------------------------------------------------------------------- diff --git a/projects/rocdecode/rocDecode-setup.py b/projects/rocdecode/rocDecode-setup.py index eee0b38154..2355c2687b 100644 --- a/projects/rocdecode/rocDecode-setup.py +++ b/projects/rocdecode/rocDecode-setup.py @@ -168,6 +168,7 @@ coreRPMPackages = [ 'libva-devel', 'libdrm-amdgpu', 'mesa-amdgpu-va-drivers', + 'mesa-amdgpu-dri-drivers', 'libva-utils' ]