34 Commit

Autore SHA1 Messaggio Data
Aryan Salmanpour 352a433781 Update Copyright year (#694)
[ROCm/rocdecode commit: b0bab07940]
2026-01-26 15:37:50 -08:00
Jeremy Newton 7f6938c7d1 Drop libva-amdgpu use for RHEL8 (#660)
After further inspection, it looks like libva is new enough for decode
support, so we've dropped the requirement on the mesa end. Some encode
features are missing on < 2.16, but as per our current RHEL8 support
policy, these features are no longer supported.

Ubuntu 22.04 is still supported to have a full encode feature set, so we
can't drop the libva requirement quite yet.

SWDEV-548213

Signed-off-by: Jeremy Newton <Jeremy.Newton@amd.com>
Co-authored-by: Kiriti Gowda <kiritigowda@gmail.com>

[ROCm/rocdecode commit: a721963b3c]
2025-10-21 10:19:51 -07:00
Kiriti Gowda bc5f4d7a3e Packaging - HIP Updates (#658)
[ROCm/rocdecode commit: 380779e0a8]
2025-10-02 14:24:12 -07:00
Jeremy Newton 5c905c4b65 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>

[ROCm/rocdecode commit: d179c02e36]
2025-09-29 15:52:51 -07:00
Daniel Su c5bd77fec9 Setup - Install ffmpeg-devel on RHEL 9 (#500)
[ROCm/rocdecode commit: da2491a04c]
2025-01-28 09:03:23 -05:00
Aryan Salmanpour c597fb2a4c Update Copyright year to 2025 (#486)
* Update Copyright year to 2025

* update year to 2025

[ROCm/rocdecode commit: 3624040ce7]
2025-01-05 16:25:39 -05:00
Kiriti Gowda 9b64f18bc0 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

[ROCm/rocdecode commit: 913b6728f0]
2025-01-02 09:42:31 -05:00
Kiriti Gowda c8ff82a943 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>

[ROCm/rocdecode commit: 6339767b4c]
2024-11-15 15:35:53 -05:00
Icarus Sparry (work) d9c58d6986 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.

[ROCm/rocdecode commit: 40dd67b19a]
2024-11-05 14:10:06 -08:00
Aryan Salmanpour 8b4e416360 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

[ROCm/rocdecode commit: e463cbd0f2]
2024-10-23 13:54:23 -04:00
Jeremy Newton 4867830142 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>

[ROCm/rocdecode commit: 859103755a]
2024-10-22 11:41:00 -04:00
Kiriti Gowda 07bd8d6082 Package - dependencies updated (#416)
* Package - dependencies updated

* Changelog - new format added

* Setup - OS specific updates

* CMakeList - Cleanup

* Version Updates Fix

[ROCm/rocdecode commit: 64078a58cb]
2024-10-07 16:20:10 -04:00
Kiriti Gowda 56eab1f21c 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

[ROCm/rocdecode commit: 1ac853e441]
2024-08-14 17:28:52 -04:00
Kiriti Gowda b10bf9df81 Setup - mariner build support (#369)
* Setup - Mariner Updates

* Setup - Remove package manager check

* Setup - Remove INXI

* Setup - Runtime

* Setup - Mariner Updates

[ROCm/rocdecode commit: cf0f7cc3e9]
2024-06-13 17:10:56 -04:00
Kiriti Gowda a10f3ed86c CMakeLists & Setup - Updates (#363)
* CMakeLists - Remove OBSOLETES

* Setup - Updates

* Setup - Cleanup

[ROCm/rocdecode commit: 460a49a728]
2024-06-06 13:24:15 -04:00
Kiriti Gowda 1fe8ea0a98 RHEL - Deps Fix (#334)
[ROCm/rocdecode commit: 2df3c13454]
2024-05-02 15:47:26 -04:00
Kiriti Gowda d749e70d78 Setup - Fix U22 (#331)
* Setup - Fix U22

* Print - Traceback

[ROCm/rocdecode commit: 2e4b7e55ea]
2024-05-02 08:44:00 -04:00
Kiriti Gowda 69ac148c4d Packaging Updates - RPM package changes (#328)
* RPM Deps - Updates

* SLES - Handle Package name diff

[ROCm/rocdecode commit: 68d8b629d1]
2024-05-01 14:35:49 -04:00
Kiriti Gowda ceabff5a3d Setup - Cleanup (#317)
* Setup - Cleanup

* RPM - LibVA Name

* Fix - SLES install

* Fix

* FIX

[ROCm/rocdecode commit: 82e89ca95e]
2024-04-18 08:33:29 -04:00
Kiriti Gowda 2fb85345c7 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

[ROCm/rocdecode commit: 3b1d6932af]
2024-04-16 15:53:15 -04:00
Kiriti Gowda ed48cecfe0 Setup - Updates (#305)
[ROCm/rocdecode commit: d6d9c9ed1a]
2024-04-01 15:53:36 -07:00
Kiriti Gowda 80c54d2210 Setup - updates & Fixes (#301)
* Setup - Updates

* Setup - Develop Install Default OFF

* Developer - Default OFF

[ROCm/rocdecode commit: ad7f228774]
2024-03-28 00:23:53 -04:00
Kiriti Gowda 7853d45511 LibDRM - Updates & Fixes (#286)
* LibDRM - Updates

* LibDRM - Updates & fixes

[ROCm/rocdecode commit: 2bde7e44f1]
2024-03-12 15:35:44 -04:00
Kiriti Gowda 30b97d5ea0 Package Dependencies - Updates (#281)
* Package Dependencies - Updates

* Remove - --no-32

[ROCm/rocdecode commit: 5fdedf2351]
2024-03-07 17:17:09 -05:00
Kiriti Gowda b98622cb15 Setup - freedesktop_os_release not available on all versions (#274)
Co-authored-by: Aryan Salmanpour <aryan.salmanpour@amd.com>

[ROCm/rocdecode commit: e961e300fb]
2024-03-05 08:39:41 -05:00
Kiriti Gowda 48d508680d Lib VA/DRM - Fix & Updates (#266)
* lib VA/DRM - Fix & Updates

* Setup - Add lib drm dev

* Setup - Updates

[ROCm/rocdecode commit: a46f98b044]
2024-02-28 12:29:50 -05:00
jeffqjiangNew 4c9a35a6a8 * rocDecode: Updated Copyright message for 2024. (#160)
[ROCm/rocdecode commit: 04fe74f390]
2024-01-09 20:47:16 -05:00
Kiriti Gowda 4fdbe3a007 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

[ROCm/rocdecode commit: fd27e268f0]
2024-01-09 13:43:34 -05:00
Aryan Salmanpour 50f96385dd update the the rocDecode-setup script - add libstdc++12, and remove unused libavsws-dev (#105)
[ROCm/rocdecode commit: 5beedfdd55]
2023-11-30 10:08:38 -05:00
Kiriti Gowda 7f11bd390e Package - updates (#81)
* Package - updates

* Package - Info

[ROCm/rocdecode commit: 90e6d30383]
2023-11-23 08:57:45 -05:00
Aryan Salmanpour 4bfd23aa13 Code clean up - remove unused headers from demuxer, unused ffmpeg dependencies, and redundent info from videodecode sample (#71)
[ROCm/rocdecode commit: 071b37b3bd]
2023-11-17 12:46:27 -05:00
Kiriti Gowda 34f1cc3b8f Dynamic Link Libraries - updates (#23)
* DRM - deps updates

* Link Libraries - Updates & cleanup

* LibDRM - Find in SLES fix

* Make Test - Fix Failures

[ROCm/rocdecode commit: 2af10a5d80]
2023-10-25 18:56:36 -04:00
Kiriti Gowda d999d85964 Package & Tests - ROCm Release Updates (#11)
* rocDecode Updates

* Doxygen - Fix

* CMakeLists - Fix

* Jenkins - Files

* Samples - Fix

* CTest - Fix

* Changelog - Added

* Fix - Review comments

[ROCm/rocdecode commit: aa72eb1996]
2023-10-12 17:08:12 -04:00
Aryan 5b112f2c5c Add initial cmake support for building the rocdecode library
[ROCm/rocdecode commit: 1ba367988d]
2023-07-26 17:47:47 -04:00