Граф коммитов

32 Коммитов

Автор SHA1 Сообщение Дата
Kiriti Gowda 380779e0a8 Packaging - HIP Updates (#658) 2025-10-02 14:24:12 -07:00
Jeremy Newton d179c02e36 Packaging - Drop libva-amdgpu for RHEL 9+, Ubuntu 24, and SLES (#656)
* Drop libva-amdgpu for newer distros

Due to bugs in mixing old and new libva installed, having both
libva-amdgpu packages just causes bugs due to edge cases. It's easier
to just use the inbox packages for RHEL9+, SLE, and UB24.04.

RHEL 8 and UB22.04 still needs libva-amdgpu since libva is too old.

I also noticed that SLE should be pulling in libva-drm2 as a runtime
requirement, since rocdecode only uses the DRM interface.

SWDEV-555510
SWDEV-557842

Signed-off-by: Jeremy Newton <Jeremy.Newton@amd.com>

* rocDecode-setup.py - Fix

```
rocDecode-setup.py", line 246
    else
        ^
SyntaxError: expected ':'

```

* rocDecode-setup.py - Fix

```
rocDecode-setup.py", line 246
    else
        ^
SyntaxError: expected ':'

```

* rocDecode-setup.py - fix

```
E: Unable to locate package rocm-hip-runtime-devlibstdc++-12-dev
E: Couldn't find any package by regex 'rocm-hip-runtime-devlibstdc++-12-dev'

```

---------

Signed-off-by: Jeremy Newton <Jeremy.Newton@amd.com>
Co-authored-by: Kiriti Gowda <kiriti.nageshgowda@amd.com>
2025-09-29 15:52:51 -07:00
Daniel Su da2491a04c Setup - Install ffmpeg-devel on RHEL 9 (#500) 2025-01-28 09:03:23 -05:00
Aryan Salmanpour 3624040ce7 Update Copyright year to 2025 (#486)
* Update Copyright year to 2025

* update year to 2025
2025-01-05 16:25:39 -05:00
Kiriti Gowda 913b6728f0 CMakeLists - Updates and cleanup (#483)
* CMakeLists - Updates and cleanup

* CTest - CXX Compiler Updates

* Package - Remove FFMPEG exe deps

* CMakeLists - Updates and cleanup

* CTest - CXX Compiler Updates

* Package - Remove FFMPEG exe deps

* FFMPEG - Updates
2025-01-02 09:42:31 -05:00
Kiriti Gowda 6339767b4c SLES - Updates (#454)
* SLES - Updates

* Updates

* Cleanup

* Update CHANGELOG.md

Co-authored-by: spolifroni-amd <Sandra.Polifroni@amd.com>

* CXX Compiler - Use AMD Clang++

* Docs - Updates

* ROCm Version - Upgraded to 6.3.0

* Readme - cleanup

* Readme - minor updates

* Readme - Fix note

---------

Co-authored-by: spolifroni-amd <Sandra.Polifroni@amd.com>
2024-11-15 15:35:53 -05:00
Icarus Sparry (work) 40dd67b19a Setup - Fix status return (#444)
The code is full of ERROR_CHECK(os.system("some shell commands")).

Unfortunately the return value from os.system is a 16 bit value with the return code in the upper 8 bits and a number of flags related to the traps in the lower 8 bits. The existing code passes this 16 bit value to the os.exit call, which just uses the bottom 8 bits. Unless the child process is killed by a signal these 8 bits will be zero, which is taken as "success", rather than passing on the exit status of the child process.

So even something as simple as 
    ERROR_CHECK(os.system("false"))
will report a status of 256 in the print statement but will call sys.exit() with a value of 0 in the lower 8 bits.

This change folds the top and bottom halves of the 16 bit value into an 8 bit value. This will be non-zero, so a shell script running rocDecode-setup.py will know something has failed an ERROR_CHECK, rather than the current situation where it thinks things are correct.
2024-11-05 14:10:06 -08:00
Aryan Salmanpour e463cbd0f2 Find the minimum supported libva version 1.16 when building rocdecode (#437)
* Find the minimum supported libva version 1.16 when building rocdecode

* Update the changelog

* Update the Error message if libva-amdgpu-dev/libva-amdgpu-devel not found

* Add missing comma
2024-10-23 13:54:23 -04:00
Jeremy Newton 859103755a 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>
2024-10-22 11:41:00 -04:00
Kiriti Gowda 64078a58cb Package - dependencies updated (#416)
* Package - dependencies updated

* Changelog - new format added

* Setup - OS specific updates

* CMakeList - Cleanup

* Version Updates Fix
2024-10-07 16:20:10 -04:00
Kiriti Gowda 1ac853e441 CTest Updates - Fix duplicates (#408)
* Test - Fix CTest

* CMakeLists - Clang Set

* Ctest - support

* Readme - Fix and updates

* Readme - minor fix

* Readme - MS template

* Install - Minor instructiion fix

* Clang - Added as default CXX compiler

* Update CHANGELOG.md

Remove unreleased
2024-08-14 17:28:52 -04:00
Kiriti Gowda cf0f7cc3e9 Setup - mariner build support (#369)
* Setup - Mariner Updates

* Setup - Remove package manager check

* Setup - Remove INXI

* Setup - Runtime

* Setup - Mariner Updates
2024-06-13 17:10:56 -04:00
Kiriti Gowda 460a49a728 CMakeLists & Setup - Updates (#363)
* CMakeLists - Remove OBSOLETES

* Setup - Updates

* Setup - Cleanup
2024-06-06 13:24:15 -04:00
Kiriti Gowda 2df3c13454 RHEL - Deps Fix (#334) 2024-05-02 15:47:26 -04:00
Kiriti Gowda 2e4b7e55ea Setup - Fix U22 (#331)
* Setup - Fix U22

* Print - Traceback
2024-05-02 08:44:00 -04:00
Kiriti Gowda 68d8b629d1 Packaging Updates - RPM package changes (#328)
* RPM Deps - Updates

* SLES - Handle Package name diff
2024-05-01 14:35:49 -04:00
Kiriti Gowda 82e89ca95e Setup - Cleanup (#317)
* Setup - Cleanup

* RPM - LibVA Name

* Fix - SLES install

* Fix

* FIX
2024-04-18 08:33:29 -04:00
Kiriti Gowda 3b1d6932af LibVA Updates - Support Public Version (#315)
* LibVA public - enable

* Support for RPM based OS

* Readme Updates

* Setup - Updates

* Setup - CentOS 7 unsupported

* Jenkins - Check Direct deps
2024-04-16 15:53:15 -04:00
Kiriti Gowda d6d9c9ed1a Setup - Updates (#305) 2024-04-01 15:53:36 -07:00
Kiriti Gowda ad7f228774 Setup - updates & Fixes (#301)
* Setup - Updates

* Setup - Develop Install Default OFF

* Developer - Default OFF
2024-03-28 00:23:53 -04:00
Kiriti Gowda 2bde7e44f1 LibDRM - Updates & Fixes (#286)
* LibDRM - Updates

* LibDRM - Updates & fixes
2024-03-12 15:35:44 -04:00
Kiriti Gowda 5fdedf2351 Package Dependencies - Updates (#281)
* Package Dependencies - Updates

* Remove - --no-32
2024-03-07 17:17:09 -05:00
Kiriti Gowda e961e300fb Setup - freedesktop_os_release not available on all versions (#274)
Co-authored-by: Aryan Salmanpour <aryan.salmanpour@amd.com>
2024-03-05 08:39:41 -05:00
Kiriti Gowda a46f98b044 Lib VA/DRM - Fix & Updates (#266)
* lib VA/DRM - Fix & Updates

* Setup - Add lib drm dev

* Setup - Updates
2024-02-28 12:29:50 -05:00
jeffqjiangNew 04fe74f390 * rocDecode: Updated Copyright message for 2024. (#160) 2024-01-09 20:47:16 -05:00
Kiriti Gowda fd27e268f0 ROCm 6.1.0+ - updates (#153)
* Package updates

* RHEL Updates

* Find LibDRM - Fix for rocm failure to install

* Fix dependencies

* Deps Updates

* Jenkins - Add make test to test phase

* Jenkins - Install amdgpu-dkms on CI

* Jenkins - Fix test

* Test - Release build

* Readme - Updates
2024-01-09 13:43:34 -05:00
Aryan Salmanpour 5beedfdd55 update the the rocDecode-setup script - add libstdc++12, and remove unused libavsws-dev (#105) 2023-11-30 10:08:38 -05:00
Kiriti Gowda 90e6d30383 Package - updates (#81)
* Package - updates

* Package - Info
2023-11-23 08:57:45 -05:00
Aryan Salmanpour 071b37b3bd Code clean up - remove unused headers from demuxer, unused ffmpeg dependencies, and redundent info from videodecode sample (#71) 2023-11-17 12:46:27 -05:00
Kiriti Gowda 2af10a5d80 Dynamic Link Libraries - updates (#23)
* DRM - deps updates

* Link Libraries - Updates & cleanup

* LibDRM - Find in SLES fix

* Make Test - Fix Failures
2023-10-25 18:56:36 -04:00
Kiriti Gowda aa72eb1996 Package & Tests - ROCm Release Updates (#11)
* rocDecode Updates

* Doxygen - Fix

* CMakeLists - Fix

* Jenkins - Files

* Samples - Fix

* CTest - Fix

* Changelog - Added

* Fix - Review comments
2023-10-12 17:08:12 -04:00
Aryan 1ba367988d Add initial cmake support for building the rocdecode library 2023-07-26 17:47:47 -04:00