Fix libva requirements for rocdecode (#435)
* Fix libva requirements for rocdecode mesa-amdgpu-va-drivers is built with libva 2.16 (VA-API 1.16), so it provides the entry point "__vaDriverInit_1_16". For rocdecode to use mesa, it also needs to make sure it has a high enough requirement on libva to be compatible with this function. Strictly speaking, it doesn't matter what libva is used as long as it's 2.16 or newer, since libva is backwards compatible. An OR conditions is used to favour distro packages when possible to avoid causing issues with existing libraries built against the distro version. For libva dev packages, we can just use libva-amdgpu-dev/el directly. Signed-off-by: Jeremy Newton <Jeremy.Newton@amd.com> * Update to use libva-amdgpu To reflect the package change, update the README, rocDecode-setup.py, and the CHANEGLOG. Putting the minimum VA-API version in the README isn't required as the user is expected to just install the latest libva-amdgpu to match the mesa VA-API version. --------- Signed-off-by: Jeremy Newton <Jeremy.Newton@amd.com>
Este commit está contenido en:
@@ -172,13 +172,17 @@ commonPackages = [
|
||||
|
||||
# Debian packages
|
||||
coreDebianPackages = [
|
||||
'libva-amdgpu-dev',
|
||||
'rocm-hip-runtime-dev',
|
||||
'libva-dev',
|
||||
]
|
||||
coreDebianU22Packages = [
|
||||
'libstdc++-12-dev'
|
||||
]
|
||||
runtimeDebianPackages = [
|
||||
'libva2-amdgpu',
|
||||
'libva-amdgpu-drm2',
|
||||
'libva-amdgpu-wayland2',
|
||||
'libva-amdgpu-x11-2',
|
||||
'mesa-amdgpu-va-drivers',
|
||||
'vainfo'
|
||||
]
|
||||
@@ -191,16 +195,13 @@ ffmpegDebianPackages = [
|
||||
|
||||
# RPM Packages
|
||||
coreRPMPackages = [
|
||||
'libva-amdgpu-devel'
|
||||
'rocm-hip-runtime-devel',
|
||||
'libva-devel'
|
||||
]
|
||||
|
||||
libvaUtilsNameRPM = "libva-utils"
|
||||
if "Mariner" in os_info_data:
|
||||
libvaUtilsNameRPM = "libva2" #TBD - no utils package available
|
||||
runtimeRPMPackages = [
|
||||
'libva-amdgpu',
|
||||
'libva-utils',
|
||||
'mesa-amdgpu-va-drivers',
|
||||
str(libvaUtilsNameRPM)
|
||||
]
|
||||
|
||||
# update
|
||||
|
||||
Referencia en una nueva incidencia
Block a user