diff --git a/src/offline-installer/README.md b/src/offline-installer/README.md index ffd3a547..afa2828c 100644 --- a/src/offline-installer/README.md +++ b/src/offline-installer/README.md @@ -45,6 +45,10 @@ ROCm versions enabled for each distro. | Suse 15.5 | Yes | No | No | No | Yes | Yes | Yes | Yes | Yes | Yes | | Suse 15.6 | No | No | No | No | No | No | No | No | No | Yes | +## Rocm Usecases Support Notes + +`multimediasdk` is not supported on ROCm 5.7.3 and on 6.2+ + ## Building ### Prerequisites diff --git a/src/offline-installer/UI/src/rocm_menu.c b/src/offline-installer/UI/src/rocm_menu.c index acc6a5ca..7212754a 100644 --- a/src/offline-installer/UI/src/rocm_menu.c +++ b/src/offline-installer/UI/src/rocm_menu.c @@ -833,9 +833,12 @@ bool is_ubuntu_2004(MENU_DATA *pMenuData) return is_distro_id_and_distro_version(pMenuData, "ubuntu", "20.04"); } +// multimedia supported on all rocm versions except 5.7.3 and 6.2+ bool is_mutlimediasdk_enabled(const char *ROCMVersion) { - return strcmp(ROCMVersion, "5.7.3") == 0 ? false : true; + return ( ( strcmp(ROCMVersion, "5.7.3") == 0 ) || + ( strcmp(ROCMVersion, "6.2") == 0 ) || + ( strcmp(ROCMVersion, "6.2.1") == 0 ) ) ? false : true; } bool is_rocm_version_empty(MENU_DATA *pMenuData) diff --git a/src/offline-installer/scripts/el/create-offline.sh b/src/offline-installer/scripts/el/create-offline.sh index 359eeee6..0416ce5e 100755 --- a/src/offline-installer/scripts/el/create-offline.sh +++ b/src/offline-installer/scripts/el/create-offline.sh @@ -263,7 +263,7 @@ setup_installer_public_repos() { $SUDO chmod 644 ./$AMDGPU_INSTALL_NAME - $SUDO dnf download --downloadonly --resolve --downloaddir="./$CREATE_INSTALLER_PACKAGE_DIR" install ./$AMDGPU_INSTALL_NAME + $SUDO dnf download --downloadonly --resolve --downloaddir="./$CREATE_INSTALLER_PACKAGE_DIR" ./$AMDGPU_INSTALL_NAME # Install amdgpu-install for host installer creation $SUDO dnf clean all