Code Monkey home page Code Monkey logo

rocdecode's Introduction

MIT licensed

rocDecode is a high-performance video decode SDK for AMD GPUs. Using the rocDecode API, you can access the video decoding features available on your GPU.

Supported codecs

  • H.265 (HEVC) - 8 bit, and 10 bit
  • H.264 (AVC) - 8 bit
  • AV1 - 8 bit, and 10 bit

Prerequisites

Important

gfx908 or higher GPU required

  • Install ROCm 6.1.0 or later with amdgpu-install: Required usecase - rocm

Important

sudo amdgpu-install --usecase=rocm

  • Video Acceleration API Version 1.5.0 or later - Libva is an implementation for VA-API
    sudo apt install libva-dev

Note

RPM Packages for RHEL/SLES - libva-devel

  • AMD VA Drivers

    sudo apt install mesa-amdgpu-va-drivers
  • CMake Version 3.5 or later

    sudo apt install cmake
  • Clang Version 5.0.1 or later

    sudo apt install clang
  • pkg-config

    sudo apt install pkg-config
  • FFmpeg runtime and headers - for tests and samples

    sudo apt install ffmpeg libavcodec-dev libavformat-dev libavutil-dev

Important

  • On Ubuntu 22.04 - Additional package required: libstdc++-12-dev
sudo apt install libstdc++-12-dev
  • On RHEL/SLES - Additional packages required: libdrm-amdgpu and mesa-amdgpu-dri-drivers
sudo yum install libdrm-amdgpu mesa-amdgpu-dri-drivers

Note

  • All package installs are shown with the apt package manager. Use the appropriate package manager for your operating system.
  • To install rocDecode with minimum requirements, follow the quick-start instructions

Prerequisites setup script

For your convenience, we provide the setup script, rocDecode-setup.py, which installs all required dependencies. Run this script only once.

python3 rocDecode-setup.py  --rocm_path [ ROCm Installation Path  - optional (default:/opt/rocm)]
                            --runtime   [ Setup runtime requirements - optional (default:ON) [options:ON/OFF]]
                            --developer [ Setup Developer Options - optional (default:OFF) [options:ON/OFF]]

Installation instructions

The installation process uses the following steps:

Package install

To install rocDecode runtime, development, and test packages, run the line of code for your operating system.

  • Runtime package - rocdecode only provides the rocdecode library librocdecode.so
  • Development package - rocdecode-dev/rocdecode-devel provides the library, header files, and samples
  • Test package - rocdecode-test provides CTest to verify installation

Ubuntu

sudo apt install rocdecode rocdecode-dev rocdecode-test

RHEL

sudo yum install rocdecode rocdecode-devel rocdecode-test

SLES

sudo zypper install rocdecode rocdecode-devel rocdecode-test

Note

Package install auto installs all dependencies.

Important

RHEL/SLES package install requires manual FFMPEG dev install

Source install

To build rocDecode from source and install, run:

git clone https://github.com/ROCm/rocDecode.git
cd rocDecode
python3 rocDecode-setup.py
mkdir build && cd build
cmake ../
make -j8
sudo make install

Run tests

make test

Important

make test requires FFMPEG dev install

Note

To run tests with verbose option, use make test ARGS="-VV".

Make package

sudo make package

Verify installation

The installer copies:

  • Libraries into /opt/rocm/lib
  • Header files into /opt/rocm/include/rocdecode
  • Samples folder into /opt/rocm/share/rocdecode
  • Documents folder into /opt/rocm/share/doc/rocdecode

Using sample application

To verify your installation using a sample application, run:

mkdir rocdecode-sample && cd rocdecode-sample
cmake /opt/rocm/share/rocdecode/samples/videoDecode/
make -j8
./videodecode -i /opt/rocm/share/rocdecode/video/AMD_driving_virtual_20-H265.mp4

Using test package

To verify your installation using the rocdecode-test package, run:

mkdir rocdecode-test && cd rocdecode-test
cmake /opt/rocm/share/rocdecode/test/
ctest -VV

Samples

You can access samples to decode your videos in our GitHub repository. Refer to the individual folders to build and run the samples.

FFmpeg is required for sample applications and make test. To install FFmpeg, refer to the instructions listed for your operating system:

  • Ubuntu:

    sudo apt install ffmpeg libavcodec-dev libavformat-dev libavutil-dev
  • RHEL/SLES:

    Install ffmpeg development packages manually or use rocDecode-setup.py script

Docker

You can find rocDecode Docker containers in our GitHub repository.

Documentation

Run the following code to build our documentation locally.

cd docs
pip3 install -r sphinx/requirements.txt
python3 -m sphinx -T -E -b html -d _build/doctrees -D language=en . _build/html

For more information on documentation builds, refer to the Building documentation page.

Tested configurations

  • Linux
    • Ubuntu - 20.04 / 22.04
    • RHEL - 8 / 9
    • SLES - 15 SP5
  • ROCm:
    • rocm-core - 6.2.0.60200-66
    • amdgpu-core - 1:6.2.60200-2009582
  • libva-dev - 2.7.0-2 / 2.14.0-1
  • mesa-amdgpu-va-drivers - 1:24.2.0.60200-2009582
  • mesa-amdgpu-dri-drivers - 24.1.0.60200
  • FFmpeg - 4.2.7 / 4.4.2-0
  • rocDecode Setup Script - V2.2.0

rocdecode's People

Contributors

jeffqjiangnew avatar aryansalmanpour avatar kiritigowda avatar lakshmikumar23 avatar rrawther avatar paveltc avatar samjwu avatar dependabot[bot] avatar eidenyoshida avatar amd-jmacaran avatar lisadelaney avatar dgaliffiamd avatar hliuca avatar rmalavally avatar yhuiyh avatar raramakr avatar

Stargazers

Yinglai Yang avatar 不知火 Shiranui avatar Nate avatar Delmar Wichnieski avatar  avatar Nyanmisaka avatar Xuanteng Huang avatar  avatar Umio Yasuno avatar  avatar

Watchers

Peng avatar Jun Liu avatar Aakash Sudhanwa avatar Gajendra D Ambi avatar Yanyao Wang avatar  avatar  avatar  avatar Joe McCall avatar  avatar  avatar  avatar  avatar

rocdecode's Issues

[Issue]: videoDecodeFork failure

Problem Description

2: Running test command: "/home/kiriti/rocdecode-tests/videoDecodeFork/videodecodefork" "-i" "/opt/rocm/share/rocdecode/video/AMD_driving_virtual_20-H265.mp4"
2: Test command failed: /home/kiriti/rocdecode-tests/videoDecodeFork/videodecodefork
2: info: stream 0 using GPU device 0 - AMD Radeon Graphics[gfx1101] on PCI bus 63:00.0
2: info: decoding started for thread 0 ,please wait!
2: info: stream 1 using GPU device 0 - AMD Radeon Graphics[gfx1101] on PCI bus 63:00.0
2: info: decoding started for thread 1 ,please wait!
2: info: stream 2 using GPU device 0 - AMD Radeon Graphics[gfx1101] on PCI bus 63:00.0
2: info: decoding started for thread 2 ,please wait!
2: info: stream 3 using GPU device 0 - AMD Radeon Graphics[gfx1101] on PCI bus 63:00.0
2: info: decoding started for thread 3 ,please wait!
2: radeonsi: can't create border_color_buffer
2: radeonsi: Failed to create a context.
2: radeonsi: can't create border_color_buffer
2: radeonsi: Failed to create a context.
2: radeonsi: can't create border_color_buffer
2: radeonsi: Failed to create a context.
2: libva error: /opt/amdgpu/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so init failed
2: Input Video Information
2: 	Codec        : H.265/HEVC
2: 	Frame rate   : 30000/1001 = 29.97 fps
2: 	Sequence     : Progressive
2: 	Coded size   : [2048, 1024]
2: 	Display area : [0, 0, 2048, 1024]
2: 	Chroma       : YUV 420
2: 	Bit depth    : 8
2: Video Decoding Params:
2: 	Num Surfaces : 7
2: 	Crop         : [0, 0, 0, 0]
2: 	Resize       : 2048x1024
2: 
2: VAAPI failure: vaInitialize(va_display_, &major_version, &minor_version) failed with 'status: resource allocation failed' at /home/kiriti/rocdecode/src/rocdecode/vaapi/vaapi_videodecoder.cpp:116
2: [ERR]  {InitializeDecoder}  ERROR: Failed to initilize the VAAPI!-3
2: [ERR]  {InitializeDecoder}  ERROR: Failed to initilize the VAAPI Video decoder! with rocDecStatus# -3
2: [ERR]  {rocDecParseVideoData}   { HandleVideoSequence } rocDecCreateDecoder(&roc_decoder_, &videoDecodeCreateInfo) returned err ROCDEC_RUNTIME_ERROR at /opt/rocm/share/rocdecode/utils/rocvideodecode/roc_video_dec.cpp:421
2: amdgpu: amdgpu_cs_query_fence_status failed.
2: amdgpu: amdgpu_cs_query_fence_status failed.
2: Input Video Information
2: 	Codec        : H.265/HEVC
2: 	Frame rate   : 30000/1001 = 29.97 fps
2: 	Sequence     : Progressive
2: 	Coded size   : [2048, 1024]
2: 	Display area : [0, 0, 2048, 1024]
2: 	Chroma       : YUV 420
2: 	Bit depth    : 8
2: Video Decoding Params:
2: 	Num Surfaces : 7
2: 	Crop         : [0, 0, 0, 0]
2: 	Resize       : 2048x1024
2: 
2: Input Video Information
2: 	Codec        : H.265/HEVC
2: 	Frame rate   : 30000/1001 = 29.97 fps
2: 	Sequence     : Progressive
2: 	Coded size   : [2048, 1024]
2: 	Display area : [0, 0, 2048, 1024]
2: 	Chroma       : YUV 420
2: 	Bit depth    : 8
2: Video Decoding Params:
2: 	Num Surfaces : 7
2: 	Crop         : [0, 0, 0, 0]
2: 	Resize       : 2048x1024
2: 
2: Input Video Information
2: 	Codec        : H.265/HEVC
2: 	Frame rate   : 30000/1001 = 29.97 fps
2: 	Sequence     : Progressive
2: 	Coded size   : [2048, 1024]
2: 	Display area : [0, 0, 2048, 1024]
2: 	Chroma       : YUV 420
2: 	Bit depth    : 8
2: Video Decoding Params:
2: 	Num Surfaces : 7
2: 	Crop         : [0, 0, 0, 0]
2: 	Resize       : 2048x1024
2: 
2: Input Video Information
2: 	Codec        : H.265/HEVC
2: 	Frame rate   : 30000/1001 = 29.97 fps
2: 	Sequence     : Progressive
2: 	Coded size   : [2048, 1024]
2: 	Display area : [0, 0, 2048, 1024]
2: 	Chroma       : YUV 420
2: 	Bit depth    : 8
2: Video Decoding Params:
2: 	Num Surfaces : 7
2: 	Crop         : [0, 0, 0, 0]
2: 	Resize       : 2048x1024
2: 
2: child with 0 exited with status 0
2: child with 79774 exited with status 0
2: child with 79787 exited with status 0
2: child with 79801 exited with status 0
2: info: Total Frames Decoded: 2404
2: info: avg decoding time per frame (ms): 25.9709
2: info: avg FPS: 38.5047
2: 
2: *** Exception executing: Segmentation fault
2/5 Test #2: video_decodeFork-H265 ............***Failed   86.49 sec

Operating System

ALL

CPU

ALL

GPU

AMD Radeon Pro W6800

ROCm Version

ROCm 6.0.0

ROCm Component

No response

Steps to Reproduce

No response

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support

No response

Additional Information

No response

[Issue]: Sample - VideoDecodeRGB

Problem Description

 Run Build Command(s):/usr/bin/make -f Makefile && [ 25%] Building CXX object CMakeFiles/videodecodergb.dir/videodecrgb.cpp.o
4: [ 50%] Building CXX object CMakeFiles/videodecodergb.dir/opt/rocm-6.1.0-1546/share/rocdecode/utils/rocvideodecode/roc_video_dec.cpp.o
4: [ 75%] Building CXX object CMakeFiles/videodecodergb.dir/opt/rocm-6.1.0-1546/share/rocdecode/utils/colorspace_kernels.cpp.o
4: [100%] Linking CXX executable videodecodergb
4: ld.lld: error: undefined symbol: pthread_create
4: >>> referenced by videodecrgb.cpp
4: >>>               CMakeFiles/videodecodergb.dir/videodecrgb.cpp.o:(main)
4: clang++: error: linker command failed with exit code 1 (use -v to see invocation)
4: make[2]: *** [CMakeFiles/videodecodergb.dir/build.make:135: videodecodergb] Error 1
4: make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/videodecodergb.dir/all] Error 2
4: make: *** [Makefile:91: all] Error 2

Operating System

ALL

CPU

ALL

GPU

AMD Instinct MI300A

ROCm Version

ROCm 6.0.0

ROCm Component

No response

Steps to Reproduce

No response

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support

No response

Additional Information

No response

[Issue]: [RHEL/SLES] RPM Package Dependency Issues - libdrm-amdgpu & mesa-amdgpu-dri-drivers

Problem Description

rocDecode core dependencies listed below. rocdecode package requires libva-dev (VA-API Library), HIP, and mesa-amdgpu-va-drivers ( AMD VA drivers to decode on GPU). This works well on Ubuntu; but on RHEL and SLES we need additional packages libdrm-amdgpu & mesa-amdgpu-dri-drivers as the dependencies is broken.

objdump -x /opt/rocm/lib/librocdecode.so | grep NEEDED
  NEEDED               libva.so.2
  NEEDED               libva-drm.so.2
  NEEDED               libamdhip64.so.6
  NEEDED               libstdc++.so.6
  NEEDED               libm.so.6
  NEEDED               libgcc_s.so.1
  NEEDED               libc.so.6

Additional note

libdrm/libdrm2 is default on RHEL/Ubuntu

In Ubuntu libdrm2 links to libdrm-amdgpu1, hence no explicit install is required. In RHEL/SLES the libdrm-amdgpu is not linked to any libs (va-drivers/libdrm) hence we need to explicitly install libdrm.

set(rocDecode_RPM_PACKAGE_LIST "rocm-hip-runtime, libva, libdrm-amdgpu, mesa-amdgpu-va-drivers")

Ubuntu

libdrm2 is directly linked to libdrm amdgpu

sudo apt autoremove libdrm2       
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  amd-smi-lib amdgpu-core comgr freeglut3 freeglut3-dev gdb hip-dev hip-doc hip-runtime-amd hip-samples hipcc hipify-clang hsa-amd-aqlprofile hsa-rocr
  hsa-rocr-dev hsakmt-roct-dev libc6-dbg libdebuginfod-common libdebuginfod1 libdrm-amdgpu-amdgpu1 libdrm-amdgpu-common libdrm-amdgpu-dev libdrm-amdgpu-radeon1
  libdrm-amdgpu1 libdrm-common libdrm-dev libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2 libdrm2-amdgpu libegl-dev libegl-mesa0 libegl1
  libfile-copy-recursive-perl libgbm1 libgl-dev libgl1 libgl1-mesa-dev libgl1-mesa-dri libglapi-mesa libgles-dev libgles1 libgles2 libglew-dev libglew2.2
  libglu1-mesa libglu1-mesa-dev libglvnd-core-dev libglvnd-dev libglvnd0 libglx-dev libglx-mesa0 libglx0 libipt2 libllvm15 libncurses5 libopengl-dev libopengl0
  libsensors-config libsensors5 libset-scalar-perl libsource-highlight-common libsource-highlight4v5 libtinfo5 libva-dev libva-drm2 libva-glx2 libva-wayland2
  libva-x11-2 libva2 libwayland-bin libwayland-client0 libwayland-cursor0 libwayland-dev libwayland-egl1 libwayland-server0 libx11-xcb1 libxcb-dri2-0
  libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-sync1 libxcb-xfixes0 libxshmfence1 libxt-dev libxxf86vm1 mesa-common-dev openmp-extras-dev
  openmp-extras-runtime pciutils python3-argcomplete rocm-cmake rocm-dbgapi rocm-debug-agent rocm-dev rocm-device-libs rocm-gdb rocm-opencl rocm-opencl-dev
  rocm-opencl-icd-loader rocm-smi-lib rocm-utils rocminfo rocprofiler rocprofiler-dev rocprofiler-plugins rocprofiler-register roctracer roctracer-dev valgrind
0 upgraded, 0 newly installed, 112 to remove and 88 not upgraded.
After this operation, 1012 MB disk space will be freed.
Do you want to continue? [Y/n] 

RHEL

sudo yum autoremove libdrm
Updating Subscription Management repositories.
Unable to read consumer identity
Subscription Manager is operating in container mode.

This system is not registered with an entitlement server. You can use subscription-manager to register.

Dependencies resolved.
==================================================================================================================================================================
 Package                                              Architecture      Version                                         Repository                           Size
==================================================================================================================================================================
Removing:
 libdrm                                               x86_64            2.4.111-1.el9                                   @RHEL-partners-appstream            393 k
Removing dependent packages:
 freeglut-devel                                       x86_64            3.2.1-9.el9                                     @RHEL-partners-appstream            125 k
 glew-devel                                           x86_64            2.2.0-2.el9                                     @epel                               1.8 M
 libdrm-devel                                         x86_64            2.4.111-1.el9                                   @RHEL-partners-appstream            610 k
 libva-devel                                          x86_64            2.11.0-5.el9                                    @RHEL-partners-appstream            572 k
 mesa-libGL-devel                                     x86_64            22.1.5-2.el9                                    @RHEL-partners-appstream             78 k
 mesa-libGLU                                          x86_64            9.0.1-6.el9                                     @RHEL-partners-appstream            345 k
 qemu-kvm                                             x86_64            17:7.0.0-13.el9                                 @RHEL-partners-appstream              0  
 rocm-dev                                             x86_64            6.2.0.60200-crdnnh.13897.el9                    @rocm                                12  
 xdg-desktop-portal-gtk                               x86_64            1.12.0-3.el9                                    @RHEL-partners-appstream            478 k
Removing unused dependencies:
 ModemManager-glib                                    x86_64            1.18.2-3.el9                                    @RHEL-partners-baseos               1.3 M
 amd-smi-lib                                          x86_64            24.5.1.60200-crdnnh.13897.el9                   @rocm                               4.0 M
 avahi-glib                                           x86_64            0.8-12.el9                                      @RHEL-partners-appstream             20 k
 bluez-libs                                           x86_64            5.64-2.el9                                      @RHEL-partners-baseos               215 k
 bubblewrap                                           x86_64            0.4.1-6.el9                                     @RHEL-partners-baseos               102 k
 comgr                                                x86_64            2.7.0.60200-crdnnh.13897.el9                    @rocm                               164 M
 daxctl-libs                                          x86_64            71.1-7.el9                                      @RHEL-partners-baseos                85 k
 device-mapper-multipath-libs                         x86_64            0.8.7-12.el9                                    @RHEL-partners-baseos               876 k
 edk2-ovmf                                            noarch            20220526git16779ede2d36-3.el9                   @RHEL-partners-appstream             16 M
 fdk-aac-free                                         x86_64            2.0.0-8.el9                                     @RHEL-partners-appstream            588 k
 flatpak                                              x86_64            1.12.7-2.el9                                    @RHEL-partners-appstream            7.7 M
 flatpak-session-helper                               x86_64            1.12.7-2.el9                                    @RHEL-partners-appstream            211 k
 freeglut                                             x86_64            3.2.1-9.el9                                     @RHEL-partners-appstream            668 k
 fuse                                                 x86_64            2.9.9-15.el9                                    @RHEL-partners-baseos               215 k
 fuse-common                                          x86_64            3.10.2-5.el9                                    @RHEL-partners-baseos                38  
 fuse-libs                                            x86_64            2.9.9-15.el9                                    @RHEL-partners-baseos               306 k
 geoclue2                                             x86_64            2.5.7-5.el9                                     @RHEL-partners-appstream            346 k
 gl-manpages                                          noarch            1.1-24.20190306.el9                             @RHEL-partners-appstream            936 k
 hip-devel                                            x86_64            6.2.40632.60200-crdnnh.13897.el9                @rocm                               2.0 M
 hip-doc                                              x86_64            6.2.40632.60200-crdnnh.13897.el9                @rocm                               215 k
 hip-runtime-amd                                      x86_64            6.2.40632.60200-crdnnh.13897.el9                @rocm                                23 M
 hip-samples                                          x86_64            6.2.40632.60200-crdnnh.13897.el9                @rocm                               423 k
 hipcc                                                x86_64            1.1.1.60200-crdnnh.13897.el9                    @rocm                               754 k
 hipify-clang                                         x86_64            18.0.0.60200-crdnnh.13897.el9                   @rocm                                77 M
 hsa-amd-aqlprofile                                   x86_64            1.0.0.60200.60200-crdnnh.13897.el9              @rocm                               1.2 M
 hsa-rocr                                             x86_64            1.13.0.60200-crdnnh.13897.el9                   @rocm                               3.1 M
 hsa-rocr-devel                                       x86_64            1.13.0.60200-crdnnh.13897.el9                   @rocm                               554 k
 hsakmt-roct-devel                                    x86_64            20240424.0.20.60200-crdnnh.13897.el9            @rocm                               383 k
 ipxe-roms-qemu                                       noarch            20200823-9.git4bd064de.el9                      @RHEL-partners-appstream            1.4 M
 libGLEW                                              x86_64            2.2.0-2.el9                                     @epel                               744 k
 libXxf86vm                                           x86_64            1.1.4-18.el9                                    @RHEL-partners-appstream             26 k
 libaio                                               x86_64            0.3.111-13.el9                                  @RHEL-partners-baseos                58 k
 libappstream-glib                                    x86_64            0.7.18-4.el9                                    @RHEL-partners-appstream            1.4 M
 libfdt                                               x86_64            1.6.0-7.el9                                     @RHEL-partners-appstream             58 k
 libglvnd                                             x86_64            1:1.3.4-1.el9                                   @RHEL-partners-appstream            778 k
 libglvnd-core-devel                                  x86_64            1:1.3.4-1.el9                                   @RHEL-partners-appstream             40 k
 libglvnd-devel                                       x86_64            1:1.3.4-1.el9                                   @RHEL-partners-appstream            2.1 M
 libglvnd-egl                                         x86_64            1:1.3.4-1.el9                                   @RHEL-partners-appstream             69 k
 libglvnd-gles                                        x86_64            1:1.3.4-1.el9                                   @RHEL-partners-appstream            119 k
 libglvnd-glx                                         x86_64            1:1.3.4-1.el9                                   @RHEL-partners-appstream            678 k
 libglvnd-opengl                                      x86_64            1:1.3.4-1.el9                                   @RHEL-partners-appstream            173 k
 libldac                                              x86_64            2.0.2.3-10.el9                                  @RHEL-partners-appstream             79 k
 libnotify                                            x86_64            0.7.9-8.el9                                     @RHEL-partners-appstream             99 k
 libpmem                                              x86_64            1.10.1-2.el9                                    @RHEL-partners-appstream            398 k
 librados2                                            x86_64            2:16.2.4-5.el9                                  @RHEL-partners-appstream             12 M
 librbd1                                              x86_64            2:16.2.4-5.el9                                  @RHEL-partners-appstream             10 M
 libsbc                                               x86_64            1.4-9.el9                                       @RHEL-partners-appstream             81 k
 libslirp                                             x86_64            4.4.0-7.el9                                     @RHEL-partners-appstream            133 k
 libva                                                x86_64            2.11.0-5.el9                                    @RHEL-partners-appstream            294 k
 libwayland-server                                    x86_64            1.19.0-4.el9                                    @RHEL-partners-appstream             87 k
 libxshmfence                                         x86_64            1.3-10.el9                                      @RHEL-partners-appstream             16 k
 low-memory-monitor                                   x86_64            2.1-4.el9                                       @RHEL-partners-appstream             70 k
 lzo                                                  x86_64            2.10-7.el9                                      @RHEL-partners-baseos               159 k
 mesa-dri-drivers                                     x86_64            22.1.5-2.el9                                    @RHEL-partners-appstream             31 M
 mesa-filesystem                                      x86_64            22.1.5-2.el9                                    @RHEL-partners-appstream            3.6 k
 mesa-libEGL                                          x86_64            22.1.5-2.el9                                    @RHEL-partners-appstream            282 k
 mesa-libGL                                           x86_64            22.1.5-2.el9                                    @RHEL-partners-appstream            469 k
 mesa-libGLU-devel                                    x86_64            9.0.1-6.el9                                     @RHEL-partners-appstream             20 k
 mesa-libgbm                                          x86_64            22.1.5-2.el9                                    @RHEL-partners-appstream             65 k
 mesa-libglapi                                        x86_64            22.1.5-2.el9                                    @RHEL-partners-appstream            237 k
 mesa-vulkan-drivers                                  x86_64            22.1.5-2.el9                                    @RHEL-partners-appstream             21 M
 ndctl-libs                                           x86_64            71.1-7.el9                                      @RHEL-partners-baseos               208 k
 openmp-extras-devel                                  x86_64            17.61.0.60200-crdnnh.13897.el9                  @rocm                               163 M
 openmp-extras-runtime                                x86_64            17.61.0.60200-crdnnh.13897.el9                  @rocm                               509 M
 ostree-libs                                          x86_64            2022.5-1.el9                                    @RHEL-partners-appstream            1.1 M
 p11-kit-server                                       x86_64            0.24.1-2.el9                                    @RHEL-partners-appstream            1.0 M
 perl                                                 x86_64            4:5.32.1-479.el9                                @RHEL-partners-appstream              0  
 perl-Algorithm-Diff                                  noarch            1.2010-4.el9                                    @RHEL-partners-appstream            108 k
 perl-Archive-Tar                                     noarch            2.38-6.el9                                      @RHEL-partners-appstream            154 k
 perl-Archive-Zip                                     noarch            1.68-6.el9                                      @RHEL-partners-appstream            292 k
 perl-Attribute-Handlers                              noarch            1.01-479.el9                                    @RHEL-partners-appstream             38 k
 perl-AutoSplit                                       noarch            5.74-479.el9                                    @RHEL-partners-appstream             24 k
 perl-Benchmark                                       noarch            1.23-479.el9                                    @RHEL-partners-appstream             37 k
 perl-CPAN                                            noarch            2.29-2.el9                                      @RHEL-partners-appstream            1.9 M
 perl-CPAN-DistnameInfo                               noarch            0.12-23.el9                                     @RHEL-partners-appstream             11 k
 perl-CPAN-Meta                                       noarch            2.150010-460.el9                                @RHEL-partners-appstream            596 k
 perl-CPAN-Meta-Requirements                          noarch            2.140-461.el9                                   @RHEL-partners-appstream             69 k
 perl-CPAN-Meta-YAML                                  noarch            0.018-461.el9                                   @RHEL-partners-appstream             51 k
 perl-Compress-Bzip2                                  x86_64            2.28-5.el9                                      @RHEL-partners-appstream            147 k
 perl-Compress-Raw-Bzip2                              x86_64            2.101-5.el9                                     @RHEL-partners-appstream             67 k
 perl-Compress-Raw-Lzma                               x86_64            2.101-3.el9                                     @RHEL-partners-appstream            122 k
 perl-Compress-Raw-Zlib                               x86_64            2.101-5.el9                                     @RHEL-partners-appstream            149 k
 perl-Config-Extensions                               noarch            0.03-479.el9                                    @RHEL-partners-appstream            3.6 k
 perl-Config-Perl-V                                   noarch            0.33-4.el9                                      @RHEL-partners-appstream             25 k
 perl-DBM_Filter                                      noarch            0.06-479.el9                                    @RHEL-partners-appstream             34 k
 perl-DB_File                                         x86_64            1.855-4.el9                                     @RHEL-partners-appstream            190 k
 perl-Data-OptList                                    noarch            0.110-17.el9                                    @RHEL-partners-appstream             49 k
 perl-Data-Section                                    noarch            0.200007-14.el9                                 @RHEL-partners-appstream             42 k
 perl-Devel-PPPort                                    x86_64            3.62-4.el9                                      @RHEL-partners-appstream            841 k
 perl-Devel-Peek                                      x86_64            1.28-479.el9                                    @RHEL-partners-appstream             45 k
 perl-Devel-SelfStubber                               noarch            1.06-479.el9                                    @RHEL-partners-appstream            7.7 k
 perl-Devel-Size                                      x86_64            0.83-10.el9                                     @RHEL-partners-appstream             46 k
 perl-DirHandle                                       noarch            1.05-479.el9                                    @RHEL-partners-appstream            4.3 k
 perl-Dumpvalue                                       noarch            2.27-479.el9                                    @RHEL-partners-appstream             21 k
 perl-Encode-Locale                                   noarch            1.05-21.el9                                     @RHEL-partners-appstream             19 k
 perl-Encode-devel                                    x86_64            4:3.08-462.el9                                  @RHEL-partners-appstream            100 k
 perl-English                                         noarch            1.11-479.el9                                    @RHEL-partners-appstream            7.1 k
 perl-Env                                             noarch            1.04-460.el9                                    @RHEL-partners-appstream             26 k
 perl-ExtUtils-CBuilder                               noarch            1:0.280236-4.el9                                @RHEL-partners-appstream             96 k
 perl-ExtUtils-Command                                noarch            2:7.60-3.el9                                    @RHEL-partners-appstream            9.9 k
 perl-ExtUtils-Constant                               noarch            0.25-479.el9                                    @RHEL-partners-appstream             90 k
 perl-ExtUtils-Embed                                  noarch            1.35-479.el9                                    @RHEL-partners-appstream             16 k
 perl-ExtUtils-Install                                noarch            2.20-4.el9                                      @RHEL-partners-appstream             86 k
 perl-ExtUtils-MM-Utils                               noarch            2:7.60-3.el9                                    @RHEL-partners-appstream            3.2 k
 perl-ExtUtils-MakeMaker                              noarch            2:7.60-3.el9                                    @RHEL-partners-appstream            738 k
 perl-ExtUtils-Manifest                               noarch            1:1.73-4.el9                                    @RHEL-partners-appstream             85 k
 perl-ExtUtils-Miniperl                               noarch            1.09-479.el9                                    @RHEL-partners-appstream            9.8 k
 perl-ExtUtils-ParseXS                                noarch            1:3.40-460.el9                                  @RHEL-partners-appstream            395 k
 perl-File-DosGlob                                    x86_64            1.12-479.el9                                    @RHEL-partners-appstream             26 k
 perl-File-Fetch                                      noarch            1.00-4.el9                                      @RHEL-partners-appstream             59 k
 perl-File-HomeDir                                    noarch            1.006-4.el9                                     @RHEL-partners-appstream            122 k
 perl-FileCache                                       noarch            1.10-479.el9                                    @RHEL-partners-appstream            8.4 k
 perl-Filter-Simple                                   noarch            0.96-460.el9                                    @RHEL-partners-appstream             51 k
 perl-GDBM_File                                       x86_64            1.18-479.el9                                    @RHEL-partners-appstream             32 k
 perl-I18N-Collate                                    noarch            1.02-479.el9                                    @RHEL-partners-appstream            8.0 k
 perl-I18N-LangTags                                   noarch            0.44-479.el9                                    @RHEL-partners-appstream             85 k
 perl-IO-Compress                                     noarch            2.102-4.el9                                     @RHEL-partners-appstream            843 k
 perl-IO-Compress-Lzma                                noarch            2.101-4.el9                                     @RHEL-partners-appstream            207 k
 perl-IO-Zlib                                         noarch            1:1.11-4.el9                                    @RHEL-partners-appstream             25 k
 perl-IPC-Cmd                                         noarch            2:1.04-461.el9                                  @RHEL-partners-appstream             85 k
 perl-IPC-SysV                                        x86_64            2.09-4.el9                                      @RHEL-partners-appstream             75 k
 perl-IPC-System-Simple                               noarch            1.30-6.el9                                      @RHEL-partners-appstream             72 k
 perl-Importer                                        noarch            0.026-4.el9                                     @RHEL-partners-appstream             93 k
 perl-JSON-PP                                         noarch            1:4.06-4.el9                                    @RHEL-partners-appstream            141 k
 perl-Locale-Maketext                                 noarch            1.29-461.el9                                    @RHEL-partners-appstream            171 k
 perl-Locale-Maketext-Simple                          noarch            1:0.21-479.el9                                  @RHEL-partners-appstream             14 k
 perl-MIME-Charset                                    noarch            1.012.2-15.el9                                  @RHEL-partners-appstream            104 k
 perl-MRO-Compat                                      noarch            0.13-15.el9                                     @RHEL-partners-appstream             25 k
 perl-Math-BigInt                                     noarch            1:1.9998.18-460.el9                             @RHEL-partners-appstream            709 k
 perl-Math-BigInt-FastCalc                            x86_64            0.500.900-460.el9                               @RHEL-partners-appstream             41 k
 perl-Math-BigRat                                     noarch            0.2614-460.el9                                  @RHEL-partners-appstream            103 k
 perl-Math-Complex                                    noarch            1.59-479.el9                                    @RHEL-partners-appstream             86 k
 perl-Memoize                                         noarch            1.03-479.el9                                    @RHEL-partners-appstream             82 k
 perl-Module-Build                                    noarch            2:0.42.31-9.el9                                 @RHEL-partners-appstream            653 k
 perl-Module-CoreList                                 noarch            1:5.20210320-3.el9                              @RHEL-partners-appstream            978 k
 perl-Module-CoreList-tools                           noarch            1:5.20210320-3.el9                              @RHEL-partners-appstream             19 k
 perl-Module-Load                                     noarch            1:0.36-4.el9                                    @RHEL-partners-appstream             15 k
 perl-Module-Load-Conditional                         noarch            0.74-4.el9                                      @RHEL-partners-appstream             29 k
 perl-Module-Loaded                                   noarch            1:0.08-479.el9                                  @RHEL-partners-appstream            5.9 k
 perl-Module-Metadata                                 noarch            1.000037-460.el9                                @RHEL-partners-appstream             68 k
 perl-Module-Signature                                noarch            0.88-1.el9                                      @RHEL-partners-appstream            136 k
 perl-NEXT                                            noarch            0.67-479.el9                                    @RHEL-partners-appstream             25 k
 perl-Net                                             noarch            1.02-479.el9                                    @RHEL-partners-appstream             27 k
 perl-Net-Ping                                        noarch            2.74-5.el9                                      @RHEL-partners-appstream            134 k
 perl-ODBM_File                                       x86_64            1.16-479.el9                                    @RHEL-partners-appstream             34 k
 perl-Object-HashBase                                 noarch            0.009-7.el9                                     @RHEL-partners-appstream             44 k
 perl-Opcode                                          x86_64            1.48-479.el9                                    @RHEL-partners-appstream             51 k
 perl-Package-Generator                               noarch            1.106-23.el9                                    @RHEL-partners-appstream             30 k
 perl-Params-Check                                    noarch            1:0.38-461.el9                                  @RHEL-partners-appstream             28 k
 perl-Perl-OSType                                     noarch            1.010-461.el9                                   @RHEL-partners-appstream             33 k
 perl-PerlIO-via-QuotedPrint                          noarch            0.09-4.el9                                      @RHEL-partners-appstream             30 k
 perl-Pod-Checker                                     noarch            4:1.74-4.el9                                    @RHEL-partners-appstream             52 k
 perl-Pod-Functions                                   noarch            1.13-479.el9                                    @RHEL-partners-appstream             14 k
 perl-Pod-Html                                        noarch            1.25-479.el9                                    @RHEL-partners-appstream             38 k
 perl-Safe                                            noarch            2.41-479.el9                                    @RHEL-partners-appstream             32 k
 perl-Search-Dict                                     noarch            1.07-479.el9                                    @RHEL-partners-appstream            5.6 k
 perl-SelfLoader                                      noarch            1.26-479.el9                                    @RHEL-partners-appstream             23 k
 perl-Software-License                                noarch            0.103014-12.el9                                 @RHEL-partners-appstream            454 k
 perl-Sub-Exporter                                    noarch            0.987-27.el9                                    @RHEL-partners-appstream            139 k
 perl-Sub-Install                                     noarch            0.928-28.el9                                    @RHEL-partners-appstream             35 k
 perl-Sys-Syslog                                      x86_64            0.36-461.el9                                    @RHEL-partners-appstream             99 k
 perl-Term-Complete                                   noarch            1.403-479.el9                                   @RHEL-partners-appstream            6.7 k
 perl-Term-ReadLine                                   noarch            1.17-479.el9                                    @RHEL-partners-appstream             18 k
 perl-Term-Size-Any                                   noarch            0.002-35.el9                                    @RHEL-partners-appstream            8.2 k
 perl-Term-Size-Perl                                  x86_64            0.031-12.el9                                    @RHEL-partners-appstream             26 k
 perl-Term-Table                                      noarch            0.015-8.el9                                     @RHEL-partners-appstream             60 k
 perl-Test                                            noarch            1.31-479.el9                                    @RHEL-partners-appstream             38 k
 perl-Test-Harness                                    noarch            1:3.42-461.el9                                  @RHEL-partners-appstream            567 k
 perl-Test-Simple                                     noarch            3:1.302183-4.el9                                @RHEL-partners-appstream            1.3 M
 perl-Text-Abbrev                                     noarch            1.02-479.el9                                    @RHEL-partners-appstream            4.0 k
 perl-Text-Balanced                                   noarch            2.04-4.el9                                      @RHEL-partners-appstream            107 k
 perl-Text-Diff                                       noarch            1.45-13.el9                                     @RHEL-partners-appstream             84 k
 perl-Text-Template                                   noarch            1.59-5.el9                                      @RHEL-partners-appstream            113 k
 perl-Thread                                          noarch            3.05-479.el9                                    @RHEL-partners-appstream             13 k
 perl-Thread-Semaphore                                noarch            2.13-479.el9                                    @RHEL-partners-appstream             11 k
 perl-Tie-File                                        noarch            1.06-479.el9                                    @RHEL-partners-appstream             86 k
 perl-Tie-Memoize                                     noarch            1.1-479.el9                                     @RHEL-partners-appstream            7.1 k
 perl-Tie-RefHash                                     noarch            1.40-4.el9                                      @RHEL-partners-appstream             35 k
 perl-Time                                            noarch            1.03-479.el9                                    @RHEL-partners-appstream             13 k
 perl-Unicode-Collate                                 x86_64            1.29-4.el9                                      @RHEL-partners-appstream            4.9 M
 perl-Unicode-LineBreak                               x86_64            2019.001-11.el9                                 @RHEL-partners-appstream            292 k
 perl-Unicode-UCD                                     noarch            0.75-479.el9                                    @RHEL-partners-appstream            206 k
 perl-User-pwent                                      noarch            1.03-479.el9                                    @RHEL-partners-appstream             19 k
 perl-autodie                                         noarch            2.34-4.el9                                      @RHEL-partners-appstream            215 k
 perl-autouse                                         noarch            1.11-479.el9                                    @RHEL-partners-appstream            6.8 k
 perl-bignum                                          noarch            0.51-460.el9                                    @RHEL-partners-appstream             90 k
 perl-blib                                            noarch            1.07-479.el9                                    @RHEL-partners-appstream            4.1 k
 perl-debugger                                        noarch            1.56-479.el9                                    @RHEL-partners-appstream            403 k
 perl-deprecate                                       noarch            0.04-479.el9                                    @RHEL-partners-appstream            7.5 k
 perl-devel                                           x86_64            4:5.32.1-479.el9                                @RHEL-partners-appstream            7.3 M
 perl-diagnostics                                     noarch            1.37-479.el9                                    @RHEL-partners-appstream            445 k
 perl-doc                                             noarch            5.32.1-479.el9                                  @RHEL-partners-appstream            9.9 M
 perl-encoding-warnings                               noarch            0.13-479.el9                                    @RHEL-partners-appstream             11 k
 perl-experimental                                    noarch            0.022-6.el9                                     @RHEL-partners-appstream             31 k
 perl-fields                                          noarch            2.27-479.el9                                    @RHEL-partners-appstream             13 k
 perl-filetest                                        noarch            1.03-479.el9                                    @RHEL-partners-appstream            7.4 k
 perl-inc-latest                                      noarch            2:0.500-20.el9                                  @RHEL-partners-appstream             35 k
 perl-less                                            noarch            0.03-479.el9                                    @RHEL-partners-appstream            5.8 k
 perl-libnetcfg                                       noarch            4:5.32.1-479.el9                                @RHEL-partners-appstream             18 k
 perl-local-lib                                       noarch            2.000024-13.el9                                 @RHEL-partners-appstream            117 k
 perl-meta-notation                                   noarch            5.32.1-479.el9                                  @RHEL-partners-appstream            2.1 k
 perl-perlfaq                                         noarch            5.20201107-4.el9                                @RHEL-partners-appstream            726 k
 perl-ph                                              x86_64            5.32.1-479.el9                                  @RHEL-partners-appstream            261 k
 perl-sigtrap                                         noarch            1.09-479.el9                                    @RHEL-partners-appstream             12 k
 perl-sort                                            noarch            2.04-479.el9                                    @RHEL-partners-appstream            6.7 k
 perl-utils                                           noarch            5.32.1-479.el9                                  @RHEL-partners-appstream            100 k
 perl-vmsish                                          noarch            1.04-479.el9                                    @RHEL-partners-appstream            7.5 k
 pipewire                                             x86_64            0.3.47-2.el9                                    @RHEL-partners-appstream             74 k
 pipewire-alsa                                        x86_64            0.3.47-2.el9                                    @RHEL-partners-appstream            155 k
 pipewire-jack-audio-connection-kit                   x86_64            0.3.47-2.el9                                    @RHEL-partners-appstream            506 k
 pipewire-libs                                        x86_64            0.3.47-2.el9                                    @RHEL-partners-appstream            6.3 M
 pipewire-pulseaudio                                  x86_64            0.3.47-2.el9                                    @RHEL-partners-appstream             23 k
 polkit                                               x86_64            0.117-10.el9_0                                  @RHEL-partners-baseos               435 k
 polkit-libs                                          x86_64            0.117-10.el9_0                                  @RHEL-partners-baseos                28 M
 polkit-pkla-compat                                   x86_64            0.1-21.el9                                      @RHEL-partners-baseos                94 k
 pulseaudio-utils                                     x86_64            15.0-2.el9                                      @RHEL-partners-appstream            199 k
 qemu-img                                             x86_64            17:7.0.0-13.el9                                 @RHEL-partners-appstream             12 M
 qemu-kvm-audio-pa                                    x86_64            17:7.0.0-13.el9                                 @RHEL-partners-appstream             27 k
 qemu-kvm-block-rbd                                   x86_64            17:7.0.0-13.el9                                 @RHEL-partners-appstream             41 k
 qemu-kvm-common                                      x86_64            17:7.0.0-13.el9                                 @RHEL-partners-appstream            2.4 M
 qemu-kvm-core                                        x86_64            17:7.0.0-13.el9                                 @RHEL-partners-appstream             21 M
 qemu-kvm-device-display-virtio-gpu                   x86_64            17:7.0.0-13.el9                                 @RHEL-partners-appstream             56 k
 qemu-kvm-device-display-virtio-gpu-gl                x86_64            17:7.0.0-13.el9                                 @RHEL-partners-appstream             15 k
 qemu-kvm-device-display-virtio-gpu-pci               x86_64            17:7.0.0-13.el9                                 @RHEL-partners-appstream             15 k
 qemu-kvm-device-display-virtio-gpu-pci-gl            x86_64            17:7.0.0-13.el9                                 @RHEL-partners-appstream             15 k
 qemu-kvm-device-display-virtio-vga                   x86_64            17:7.0.0-13.el9                                 @RHEL-partners-appstream             16 k
 qemu-kvm-device-display-virtio-vga-gl                x86_64            17:7.0.0-13.el9                                 @RHEL-partners-appstream             15 k
 qemu-kvm-device-usb-host                             x86_64            17:7.0.0-13.el9                                 @RHEL-partners-appstream             54 k
 qemu-kvm-device-usb-redirect                         x86_64            17:7.0.0-13.el9                                 @RHEL-partners-appstream             73 k
 qemu-kvm-docs                                        x86_64            17:7.0.0-13.el9                                 @RHEL-partners-appstream            9.9 M
 qemu-kvm-tools                                       x86_64            17:7.0.0-13.el9                                 @RHEL-partners-appstream            3.1 M
 qemu-kvm-ui-egl-headless                             x86_64            17:7.0.0-13.el9                                 @RHEL-partners-appstream             19 k
 qemu-kvm-ui-opengl                                   x86_64            17:7.0.0-13.el9                                 @RHEL-partners-appstream             32 k
 qemu-pr-helper                                       x86_64            17:7.0.0-13.el9                                 @RHEL-partners-appstream            1.5 M
 rocm-cmake                                           x86_64            0.11.0.60200-crdnnh.13897.el9                   @rocm                               117 k
 rocm-dbgapi                                          x86_64            0.76.0.60200-crdnnh.13897.el9                   @rocm                               4.6 M
 rocm-debug-agent                                     x86_64            2.0.3.60200-crdnnh.13897.el9                    @rocm                               134 k
 rocm-device-libs                                     x86_64            1.0.0.60200-crdnnh.13897.el9                    @rocm                               3.2 M
 rocm-gdb                                             x86_64            14.2.60200-crdnnh.13897.el9                     @rocm                               199 M
 rocm-opencl                                          x86_64            2.0.0.60200-crdnnh.13897.el9                    @rocm                               1.6 M
 rocm-opencl-devel                                    x86_64            2.0.0.60200-crdnnh.13897.el9                    @rocm                               837 k
 rocm-opencl-icd-loader                               x86_64            1.2.60200-crdnnh.13897.el9                      @rocm                                48 k
 rocm-smi-lib                                         x86_64            7.0.0.60200-crdnnh.13897.el9                    @rocm                               2.8 M
 rocm-utils                                           x86_64            6.2.0.60200-crdnnh.13897.el9                    @rocm                                12  
 rocminfo                                             x86_64            1.0.0.60200-crdnnh.13897.el9                    @rocm                                77 k
 rocprofiler                                          x86_64            2.0.60200.60200-crdnnh.13897.el9                @rocm                               3.6 M
 rocprofiler-devel                                    x86_64            2.0.60200.60200-crdnnh.13897.el9                @rocm                               109 k
 rocprofiler-plugins                                  x86_64            2.0.60200.60200-crdnnh.13897.el9                @rocm                               3.9 M
 rocprofiler-register                                 x86_64            0.4.0.60200-crdnnh.13897.el9                    @rocm                               749 k
 roctracer                                            x86_64            4.1.60200.60200-crdnnh.13897.el9                @rocm                               1.2 M
 roctracer-devel                                      x86_64            4.1.60200.60200-crdnnh.13897.el9                @rocm                               1.3 M
 rtkit                                                x86_64            0.11-28.el9                                     @RHEL-partners-appstream            147 k
 seabios-bin                                          noarch            1.16.0-4.el9                                    @RHEL-partners-appstream            256 k
 seavgabios-bin                                       noarch            1.16.0-4.el9                                    @RHEL-partners-appstream            210 k
 snappy                                               x86_64            1.1.8-8.el9                                     @RHEL-partners-baseos                63 k
 sombok                                               x86_64            2.4.0-16.el9                                    @RHEL-partners-appstream            136 k
 usbredir                                             x86_64            0.12.0-3.el9                                    @RHEL-partners-appstream            114 k
 userspace-rcu                                        x86_64            0.12.1-6.el9                                    @RHEL-partners-baseos               408 k
 virtiofsd                                            x86_64            1.4.0-1.el9                                     @RHEL-partners-appstream            2.0 M
 vulkan-loader                                        x86_64            1.3.224.0-2.el9                                 @RHEL-partners-appstream            496 k
 wayland-devel                                        x86_64            1.19.0-4.el9                                    @RHEL-partners-appstream            603 k
 webrtc-audio-processing                              x86_64            0.3.1-8.el9                                     @RHEL-partners-appstream            734 k
 wireplumber                                          x86_64            0.4.8-1.el9                                     @RHEL-partners-appstream            255 k
 wireplumber-libs                                     x86_64            0.4.8-1.el9                                     @RHEL-partners-appstream            1.1 M
 xdg-dbus-proxy                                       x86_64            0.1.3-1.el9                                     @RHEL-partners-appstream             85 k
 xdg-desktop-portal                                   x86_64            1.12.4-1.el9                                    @RHEL-partners-appstream            1.8 M

Transaction Summary
==================================================================================================================================================================
Remove  276 Packages

Freed space: 1.4 G
Is this ok [y/N]

Operating System

RHEL 8/9

CPU

ALL

GPU

AMD Instinct MI300X

ROCm Version

ROCm 6.1.0

ROCm Component

No response

Steps to Reproduce

No response

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support

No response

Additional Information

No response

[Issue]: CI Failure

Problem Description

CI failing for SLES 15 with PR #412. The staging will not be promoted with this failure.

GPU - MI100[gfx908:sramecc+:xnack-]

[989](http://math-ci.amd.com/job/mainline/job/precheckin/job/rocDecode/job/develop/127/pipeline-console/?start-byte=0&selected-node=703#log-989)
The following tests FAILED:
[990](http://math-ci.amd.com/job/mainline/job/precheckin/job/rocDecode/job/develop/127/pipeline-console/?start-byte=0&selected-node=703#log-990)
	  1 - video_decode-H265 (Failed)
[991](http://math-ci.amd.com/job/mainline/job/precheckin/job/rocDecode/job/develop/127/pipeline-console/?start-byte=0&selected-node=703#log-991)
	  2 - video_decodeMem-H265 (Failed)
[992](http://math-ci.amd.com/job/mainline/job/precheckin/job/rocDecode/job/develop/127/pipeline-console/?start-byte=0&selected-node=703#log-992)
	  4 - video_decodeRGB-H265 (Failed)
[993](http://math-ci.amd.com/job/mainline/job/precheckin/job/rocDecode/job/develop/127/pipeline-console/?start-byte=0&selected-node=703#log-993)
	  5 - video_decode-H264 (Failed)
[994](http://math-ci.amd.com/job/mainline/job/precheckin/job/rocDecode/job/develop/127/pipeline-console/?start-byte=0&selected-node=703#log-994)
	  6 - video_decodeBatch (Failed)
[995](http://math-ci.amd.com/job/mainline/job/precheckin/job/rocDecode/job/develop/127/pipeline-console/?start-byte=0&selected-node=703#log-995)
Errors while running CTest

Operating System

SLES 15 SP5

CPU

ALL

GPU

AMD Instinct MI100

ROCm Version

ROCm 6.2.0

ROCm Component

No response

Steps to Reproduce

No response

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support

No response

Additional Information

No response

[Issue]: Setup - Failure to install Package in Docker [Ubuntu 22.04]

Problem Description

Due to the issue below, fails to install - libstdc++-12-dev

Inside U22 - Docker

Python 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import platform
>>> print(platform.version())
#111~20.04.1-Ubuntu SMP Mon Mar 11 15:44:43 UTC 2024
>>> print(platform.version())
#111~20.04.1-Ubuntu SMP Mon Mar 11 15:44:43 UTC 2024
>>> print(platform.version())
#111~20.04.1-Ubuntu SMP Mon Mar 11 15:44:43 UTC 2024
>>> exit()
cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.4 LTS"
root@simon:~/build# cat /etc/os-release  
PRETTY_NAME="Ubuntu 22.04.4 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.4 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

U22 Baremetal

Python 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>  import platform
  File "<stdin>", line 1
    import platform
IndentationError: unexpected indent
>>> import platform
>>> print(platform.version())
#26~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Mar 12 10:22:43 UTC 2
cat /etc/os-release 
PRETTY_NAME="Ubuntu 22.04.4 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.4 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

Operating System

Ubuntu 20/22

CPU

ALL

GPU

AMD Radeon Pro W6800, AMD Radeon VII

ROCm Version

ROCm 6.0.0

ROCm Component

No response

Steps to Reproduce

No response

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support

No response

Additional Information

No response

[Issue]: SLES & RHEL - mesa-amdgpu-multimedia-devel failures [Compile & Runtime]

Problem Description

SLES 15 & RHEL 8/9 - package mesa-amdgpu-multimedia-devel does not provide required headers and .so to successfully execute

VAAPI failure: vaInitialize(va_display_, &major_version, &minor_version) failed with status: 0xffffffff = 'unknown libva error' at ../../src/rocdecode/vaapi/vaapi_videodecoder.cpp:117
[ERR]  {InitializeDecoder}  Failed to initilize the VAAPI.
[ERR]  {InitializeDecoder}  Failed to initilize the VAAPI Video decoder.
[ERR]  {rocDecParseVideoData}   { HandleVideoSequence } rocDecCreateDecoder(&roc_decoder_, &videoDecodeCreateInfo) returned ROCDEC_RUNTIME_ERROR at /opt/rocm/share/rocdecode/utils/rocvideodecode/roc_video_dec.cpp:420
/var/jenkins_home/workspace/ine_precheckin_rocDecode_develop@tmp/durable-7fd5fceb/script.sh: line 33:  3009 Segmentation fault      (core dumped) LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/rocm/lib:/usr/local/lib 

Operating System

RHEL 8/9 & SLES 15 SP4

CPU

ALL

GPU

AMD Instinct MI300A

ROCm Version

ROCm 6.0.0

ROCm Component

No response

Steps to Reproduce

Run any rocDecode samples

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support

No response

Additional Information

No response

[Issue]: SLES 15 SP4 - libva name & VA drivers missing

Problem Description

SLES unlike RHEL libva - VA Runtime package is not available

'libva' not found in package names. Trying capabilities.
No provider of 'libva' found.

In SLES LibVA is named as Debian package, along with libva-devel similar to RHEL

'libva2' is already installed.
No update candidate for 'libva2-2.13.0-150400.3.2.1.x86_64'. The highest available version is already installed.
Resolving package dependencies...
Nothing to do.

libva-devel

'libva-devel' is already installed.
No update candidate for 'libva-devel-2.13.0-150400.3.2.1.x86_64'. The highest available version is already installed.
Resolving package dependencies...
Nothing to do.

Operating System

SLES 15 SP4

CPU

ALL

GPU

AMD Instinct MI300X

ROCm Version

ROCm 6.0.0

ROCm Component

No response

Steps to Reproduce

No response

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support

No response

Additional Information

No response

[Issue]: RHEL 9 - Sample Failure

Problem Description

1: Running test command: "/tmp/grpc/build/samples/videoDecode/videodecode" "-i" "/root/hostDrive/rocdecode-kiriti/rocdecode/data/videos/AMD_driving_virtual_20-H265.mp4"
1: Test command failed: /tmp/grpc/build/samples/videoDecode/videodecode
1: info: Input file: AMD_driving_virtual_20-H265.mp4
1: info: Using GPU device 0 - AMD Radeon PRO W6800[gfx1030] on PCI bus 0b:00.0
1: info: decoding started, please wait!
1: Input Video Information
1: 	Codec        : H.265/HEVC
1: 	Frame rate   : 30000/1001 = 29.97 fps
1: 	Sequence     : Progressive
1: 	Coded size   : [2048, 1024]
1: 	Display area : [0, 0, 2048, 1024]
1: 	Chroma       : YUV 420
1: 	Bit depth    : 8
1: Video Decoding Params:
1: 	Num Surfaces : 7
1: 	Crop         : [0, 0, 2048, 1024]
1: 	Resize       : 2048x1024
1: 
1: HIP failure: hipImportExternalMemory(&hip_interop_[pic_idx].hip_ext_mem, &external_mem_handle_desc) failed with 'status: hipErrorInvalidValue' at /root/hostDrive/rocdecode-kiriti/rocdecode/src/rocdecode/roc_decoder.cpp:139
1: [ERR]  {rocDecParseVideoData}   { HandlePictureDisplay } rocDecGetVideoFrame(roc_decoder_, pDispInfo->picture_index, src_dev_ptr, src_pitch, &video_proc_params) returned ROCDEC_RUNTIME_ERROR at /root/hostDrive/rocdecode-kiriti/rocdecode/utils/rocvideodecode/roc_video_dec.cpp:663
1:  { DecodeFrame } rocDecParseVideoData(rocdec_parser_, &packet) returned ROCDEC_RUNTIME_ERROR at /root/hostDrive/rocdecode-kiriti/rocdecode/utils/rocvideodecode/roc_video_dec.cpp:805
1: 
1/1 Test #1: video_decode-H265 ................***Failed    3.79 sec

0% tests passed, 1 tests failed out of 1

Total Test time (real) =   3.79 sec

The following tests FAILED:
	  1 - video_decode-H265 (Failed)
Errors while running CTest

Operating System

RHEL 9

CPU

ALL

GPU

AMD Instinct MI300X

ROCm Version

ROCm 6.1.0

ROCm Component

No response

Steps to Reproduce

Use -

Name         : rocm-core
Version      : 6.2.0.60200
Release      : crdnnh.13897.el9
Architecture : x86_64
Size         : 32 k
Source       : rocm-core-6.2.0.60200-crdnnh.13897.el9.src.rpm
Repository   : @System
From repo    : rocm
Summary      : Radeon Open Compute (ROCm) Runtime software stack
License      : MIT
Description  : DESCRIPTION
             : ===========
             : 
             : This is an installer created using CPack (https://cmake.org). No additional installation instructions provided.

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support

No response

Additional Information

No response

[Issue]: GPU Support List

Problem Description

List of GPUs only used here - https://github.com/kiritigowda/rocDecode/blob/07dd095a6a5d94fab0f59d68ec5464453187493f/samples/videoDecodeRGB/CMakeLists.txt#L41

Should be keep this or are we missing elsewhere?

Should we remove gfx803-906? - https://github.com/kiritigowda/rocDecode/blob/07dd095a6a5d94fab0f59d68ec5464453187493f/src/rocdecode/roc_decoder_caps.h#L121

Operating System

ALL

CPU

ALL

GPU

AMD Radeon VII

ROCm Version

ROCm 6.0.0

ROCm Component

No response

Steps to Reproduce

No response

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support

No response

Additional Information

No response

Math CI (jenkins) - Make Test Failure

make test fails on all OS and hardware variations we are currently testing. Failure reported below.

Need to identity if there is a dependency error or some native issue. Failure also exits as a seg faults which needs to be identified.

If, this is just a dependency issue to need to report the issue and exit.

1: Running test command: "/var/jenkins_home/workspace/main_precheckin_rocDecode_PR-93/yxJejMrVn/rocdecode/build/release/samples/videoDecode/videodecode" "-i" "/var/jenkins_home/workspace/main_precheckin_rocDecode_PR-93/yxJejMrVn/rocdecode/data/videos/AMD_driving_virtual_20-H265.mp4"
1: Test command failed: /var/jenkins_home/workspace/main_precheckin_rocDecode_PR-93/yxJejMrVn/rocdecode/build/release/samples/videoDecode/videodecode
1: info: Using GPU device 0 - AMD Instinct MI250X[gfx90a:sramecc+:xnack-] on PCI bus c1:00.0
1: info: decoding started, please wait!
1: Input Video Information
1: 	Codec        : H.265/HEVC
1: 	Frame rate   : 0/0 = -nan fps
1: 	Sequence     : Progressive
1: 	Coded size   : [2048, 1024]
1: 	Display area : [0, 0, 2048, 1024]
1: 	Chroma       : YUV 420
1: 	Bit depth    : 8
1: Video Decoding Params:
1: 	Num Surfaces : 6
1: 	Crop         : [0, 0, 0, 0]
1: 	Resize       : 2048x1024
1: 
1: VAAPI failure: 'status#-1' at ../../src/rocdecode/vaapi/vaapi_videodecoder.cpp:111
1: [ERR]  {InitializeDecoder}  ERROR: Failed to initilize the VAAPI!-3
1: [ERR]  {InitializeDecoder}  ERROR: Failed to initilize the VAAPI Video decoder!-3
1: [ERR]  {rocDecParseVideoData}   { HandleVideoSequence } rocDecCreateDecoder(&roc_decoder_, &videoDecodeCreateInfo) returned err -3 at ../../../../utils/rocvideodecode/roc_video_dec.cpp:397
1: 
1: *** Exception executing: Segmentation fault
1/1 Test #1: video_decode-H265 ................***Failed   50.53 sec

[Feature]: Package Dependencies - Updates

Suggestion Description

Support rocdecode package with just - libdrm-amdgpu-dev & libva-amdgpu-dev - drop mesa-amdgpu-multimedia-devel

sudo apt install libdrm-amdgpu-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libdrm-amdgpu-dev is already the newest version (1:2.4.120.60100-1731559.20.04).
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
root@simon:~/build# sudo apt install libva-amdgpu-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libva-amdgpu-dev is already the newest version (2.16.0.60100-1731559.20.04).
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
root@simon:~/build# cmake /root/hostDrive/rocdecode-kiriti/rocdecode/
-- The CXX compiler identification is GNU 9.4.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- rocDecode Version -- 0.5.0
-- rocDecode Install Path -- /opt/rocm
-- rocDecode Build Type -- Release
-- Using Libdrm -- 
	Libraries:/opt/amdgpu/lib/x86_64-linux-gnu/libdrm.so 
	Includes:/opt/amdgpu/include/libdrm
-- Using Libva -- 
	Libraries:/opt/amdgpu/lib/x86_64-linux-gnu/libva.so 
	Includes:/opt/amdgpu/include
-- Using Libva-drm -- 
	Libraries:/opt/amdgpu/lib/x86_64-linux-gnu/libva-drm.so
-- AMD ROCm rocDecode -- CMAKE_CXX_FLAGS: -O3 -DNDEBUG -fPIC -std=gnu++17
-- AMD ROCm rocDecode -- Link Libraries: hip::host;/opt/amdgpu/lib/x86_64-linux-gnu/libdrm.so;/opt/amdgpu/lib/x86_64-linux-gnu/libva.so;/opt/amdgpu/lib/x86_64-linux-gnu/libva-drm.so
-- AMD ROCm rocDecode RunTime Package --  rocm-hip-runtime, libdrm-amdgpu, mesa-amdgpu-multimedia
-- AMD ROCm rocDecode Dev Package --  rocdecode, rocm-hip-runtime-devel, libdrm-amdgpu-devel, mesa-amdgpu-multimedia-devel, pkg-config
-- AMD ROCm rocDecode RunTime Package --  rocm-hip-runtime, libdrm-amdgpu, mesa-amdgpu-multimedia
-- AMD ROCm rocDecode Dev Package --  rocdecode, rocm-hip-runtime-dev, libdrm-amdgpu-dev, mesa-amdgpu-multimedia-devel, pkg-config, ffmpeg, libavcodec-dev, libavformat-dev, libavutil-dev
-- Configuring done
-- Generating done
-- Build files have been written to: /root/build

Operating System

No response

GPU

No response

ROCm Component

No response

[Feature]: CI - Install rocdecode packages

Suggestion Description

Install rocdecode rpm/deb package instead of make install to verify package deps

Operating System

No response

GPU

No response

ROCm Component

No response

[Issue]: RHEL 8 - Sample Failure - videoDecodeBatch

Problem Description


======== CMake output     ======
The C compiler identification is GNU 8.5.0
The CXX compiler identification is GNU 8.5.0
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working C compiler: /usr/bin/cc - skipped
Detecting C compile features
Detecting C compile features - done
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Check for working CXX compiler: /usr/bin/c++ - skipped
Detecting CXX compile features
Detecting CXX compile features - done
Found PkgConfig: /usr/bin/pkg-config (found version "1.4.2") 
Checking for module 'libavcodec'
  Found libavcodec, version 58.134.100
Checking for module 'libavformat'
  Found libavformat, version 58.76.100
Checking for module 'libavutil'
  Found libavutil, version 56.70.100
-- Using FFMPEG -- 
	Libraries:/usr/local/lib/libavcodec.so;/usr/local/lib/libavformat.so;/usr/local/lib/libavutil.so 
	Includes:/usr/local/include
-- videodecodebatch: Using rocDecode -- 
	Libraries:/opt/rocm/lib/librocdecode.so 
	Includes:/opt/rocm/include/rocdecode
Check if compiler accepts -pthread
Check if compiler accepts -pthread - yes
Found Threads: TRUE  
Configuring done
Generating done
Build files have been written to: /var/jenkins_home/workspace/main_testonly_rocDecode_develop/NKH6Ljlp5/rocdecode/build/release/rocdecode-test/videoDecodeBatch
======== End CMake output ======
Change Dir: /var/jenkins_home/workspace/main_testonly_rocDecode_develop/NKH6Ljlp5/rocdecode/build/release/rocdecode-test/videoDecodeBatch

Run Clean Command:/usr/bin/gmake -f Makefile clean

Run Build Command(s):/usr/bin/gmake -f Makefile && [ 33%] Building CXX object CMakeFiles/videodecodebatch.dir/videodecodebatch.cpp.o
[ 66%] Building CXX object CMakeFiles/videodecodebatch.dir/opt/rocm/share/rocdecode/utils/rocvideodecode/roc_video_dec.cpp.o
[100%] Linking CXX executable videodecodebatch
ld.lld: error: undefined symbol: std::filesystem::status(std::filesystem::__cxx11::path const&)
>>> referenced by videodecodebatch.cpp
>>>               CMakeFiles/videodecodebatch.dir/videodecodebatch.cpp.o:(ParseCommandLine(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, int&, int&, bool&, OutputSurfaceMemoryType_enum&, int, char**))

ld.lld: error: undefined symbol: std::filesystem::remove_all(std::filesystem::__cxx11::path const&)
>>> referenced by videodecodebatch.cpp
>>>               CMakeFiles/videodecodebatch.dir/videodecodebatch.cpp.o:(ParseCommandLine(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, int&, int&, bool&, OutputSurfaceMemoryType_enum&, int, char**))

ld.lld: error: undefined symbol: std::filesystem::create_directory(std::filesystem::__cxx11::path const&)
>>> referenced by videodecodebatch.cpp
>>>               CMakeFiles/videodecodebatch.dir/videodecodebatch.cpp.o:(ParseCommandLine(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, int&, int&, bool&, OutputSurfaceMemoryType_enum&, int, char**))

ld.lld: error: undefined symbol: std::filesystem::__cxx11::directory_iterator::directory_iterator(std::filesystem::__cxx11::path const&, std::filesystem::directory_options, std::error_code*)
>>> referenced by videodecodebatch.cpp
>>>               CMakeFiles/videodecodebatch.dir/videodecodebatch.cpp.o:(main)

ld.lld: error: undefined symbol: std::filesystem::__cxx11::directory_iterator::operator++()
>>> referenced by videodecodebatch.cpp
>>>               CMakeFiles/videodecodebatch.dir/videodecodebatch.cpp.o:(main)

ld.lld: error: undefined symbol: std::filesystem::__cxx11::directory_iterator::operator*() const
>>> referenced by videodecodebatch.cpp
>>>               CMakeFiles/videodecodebatch.dir/videodecodebatch.cpp.o:(main)

ld.lld: error: undefined symbol: std::filesystem::__cxx11::path::_M_split_cmpts()
>>> referenced by videodecodebatch.cpp
>>>               CMakeFiles/videodecodebatch.dir/videodecodebatch.cpp.o:(std::filesystem::__cxx11::path::path<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::filesystem::__cxx11::path>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::filesystem::__cxx11::path::format))
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [CMakeFiles/videodecodebatch.dir/build.make:119: videodecodebatch] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/videodecodebatch.dir/all] Error 2
gmake: *** [Makefile:91: all] Error 2



83% tests passed, 1 tests failed out of 6

Total Test time (real) = 120.69 sec

The following tests FAILED:
	  6 - video_decodeBatch (Failed)

Operating System

RHEL 8

CPU

ALL

GPU

AMD Instinct MI300X

ROCm Version

ROCm 6.1.0

ROCm Component

No response

Steps to Reproduce

No response

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support

No response

Additional Information

No response

[Issue]: Libdrm - package mismatch across linux

Problem Description

RHEL / SLES - rpm package

libdrm-amdgpu is a valid package for runtime

yum install libdrm-amdgpu
Updating Subscription Management repositories.
Unable to read consumer identity
Subscription Manager is operating in container mode.

This system is not registered with an entitlement server. You can use subscription-manager to register.

Last metadata expiration check: 0:02:24 ago on Tue Mar  5 07:41:33 2024.
Package libdrm-amdgpu-1:2.4.120.60100-1731559.el9.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!

Ubuntu - deb package

libdrm-amdgpu is not a valid package - instead it is libdrm-amdgpu1

sudo apt install libdrm-amdgpu
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libdrm-amdgpu

valid - libdrm-amdgpu1

sudo apt install libdrm-amdgpu1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libdrm-amdgpu1 is already the newest version (2.4.107-8ubuntu1~20.04.2).
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.

Operating System

Linux

CPU

ALL

GPU

AMD Instinct MI300X

ROCm Version

ROCm 6.0.0

ROCm Component

No response

Steps to Reproduce

No response

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support

No response

Additional Information

No response

[Issue]: videoDecodeBatch - Multi-version FFMPEG support missing

Problem Description

6: Run Build Command(s):/usr/bin/gmake -f Makefile && [ 33%] Building CXX object CMakeFiles/videodecodebatch.dir/videodecodebatch.cpp.o
6: In file included from /opt/rocm/share/rocdecode/samples/videoDecodeBatch/videodecodebatch.cpp:42:
6: /opt/rocm/share/rocdecode/samples/videoDecodeBatch/../../utils/video_demuxer.h:542:9: error: unknown type name 'AVBSFContext'; did you mean 'AVIOContext'?
6:   542 |         AVBSFContext *av_bsf_ctx_ = nullptr;
6:       |         ^~~~~~~~~~~~
6:       |         AVIOContext
6: /usr/include/ffmpeg/libavformat/avio.h:319:3: note: 'AVIOContext' declared here
6:   319 | } AVIOContext;
6:       |   ^
6: In file included from /opt/rocm/share/rocdecode/samples/videoDecodeBatch/videodecodebatch.cpp:42:
6: /opt/rocm/share/rocdecode/samples/videoDecodeBatch/../../utils/video_demuxer.h:143:17: error: use of undeclared identifier 'av_bsf_free'
6:   143 |                 av_bsf_free(&av_bsf_ctx_);
6:       |                 ^
6: /opt/rocm/share/rocdecode/samples/videoDecodeBatch/../../utils/video_demuxer.h:173:21: error: use of undeclared identifier 'av_bsf_send_packet'; did you mean 'avcodec_send_packet'?
6:   173 |                 if (av_bsf_send_packet(av_bsf_ctx_, packet_) != 0) {
6:       |                     ^~~~~~~~~~~~~~~~~~
6:       |                     avcodec_send_packet

target_compile_definitions -- missing

FFMPEG`

ffmpeg -version
ffmpeg version 5.1.5 Copyright (c) 2000-2024 the FFmpeg developers
built with gcc 11 (GCC)
configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' --extra-ldflags='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' --extra-cflags=' -I/usr/include/rav1e' --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3 --enable-bzlib --disable-crystalhd --enable-fontconfig --enable-frei0r --enable-gcrypt --enable-gnutls --enable-ladspa --enable-libaom --enable-libdav1d --enable-libass --enable-libbluray --enable-libcdio --enable-libdrm --enable-libjack --enable-libjxl --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-nvenc --enable-openal --enable-opencl --enable-opengl --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-version3 --enable-vapoursynth --enable-libvpx --enable-vulkan --enable-libshaderc --enable-libx264 --enable-libx265 --enable-libxvid --enable-libxml2 --enable-libzimg --enable-libzvbi --enable-lv2 --enable-avfilter --enable-libmodplug --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-lto --enable-libmfx --enable-runtime-cpudetect
libavutil      57. 28.100 / 57. 28.100
libavcodec     59. 37.100 / 59. 37.100
libavformat    59. 27.100 / 59. 27.100
libavdevice    59.  7.100 / 59.  7.100
libavfilter     8. 44.100 /  8. 44.100
libswscale      6.  7.100 /  6.  7.100
libswresample   4.  7.100 /  4.  7.100
libpostproc    56.  6.100 / 56.  6.100

Operating System

RHEL 9

CPU

ALL

GPU

AMD Instinct MI300X

ROCm Version

ROCm 6.1.0

ROCm Component

No response

Steps to Reproduce

No response

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support

No response

Additional Information

No response

[Issue]: FFMPEG 5.X Support - Samples

Problem Description

make
Consolidate compiler generated dependencies of target videodecode
[ 33%] Building CXX object CMakeFiles/videodecode.dir/videodecode.cpp.o
In file included from /home/master/kiriti/rocdecode/samples/videoDecode/videodecode.cpp:39:
/opt/rocm/include/rocdecode/video_demuxer.h:63:9: error: unknown type name 'AVBSFContext'; did you mean 'AVIOContext'?
   63 |         AVBSFContext *av_bsf_ctx_ = nullptr;
      |         ^~~~~~~~~~~~
      |         AVIOContext
/usr/include/ffmpeg/libavformat/avio.h:319:3: note: 'AVIOContext' declared here
  319 | } AVIOContext;
      |   ^
In file included from /home/master/kiriti/rocdecode/samples/videoDecode/videodecode.cpp:39:
/opt/rocm/include/rocdecode/video_demuxer.h:86:9: error: use of undeclared identifier 'av_bsf_free'
   86 |         av_bsf_free(&av_bsf_ctx_);
      |         ^
/opt/rocm/include/rocdecode/video_demuxer.h:117:13: error: use of undeclared identifier 'av_bsf_send_packet'; did you mean 'avcodec_send_packet'?
  117 |         if (av_bsf_send_packet(av_bsf_ctx_, packet_) != 0) {
      |             ^~~~~~~~~~~~~~~~~~
      |             avcodec_send_packet
/usr/include/ffmpeg/libavcodec/avcodec.h:2595:5: note: 'avcodec_send_packet' declared here
 2595 | int avcodec_send_packet(AVCodecContext *avctx, const AVPacket *avpkt);
      |     ^
In file included from /home/master/kiriti/rocdecode/samples/videoDecode/videodecode.cpp:39:
/opt/rocm/include/rocdecode/video_demuxer.h:117:32: error: cannot initialize a parameter of type 'AVCodecContext *' with an lvalue of type 'AVIOContext *'
  117 |         if (av_bsf_send_packet(av_bsf_ctx_, packet_) != 0) {
      |                                ^~~~~~~~~~~
/usr/include/ffmpeg/libavcodec/avcodec.h:2595:41: note: passing argument to parameter 'avctx' here
 2595 | int avcodec_send_packet(AVCodecContext *avctx, const AVPacket *avpkt);
      |                                         ^
In file included from /home/master/kiriti/rocdecode/samples/videoDecode/videodecode.cpp:39:
/opt/rocm/include/rocdecode/video_demuxer.h:121:13: error: use of undeclared identifier 'av_bsf_receive_packet'; did you mean 'avcodec_receive_packet'?
  121 |         if (av_bsf_receive_packet(av_bsf_ctx_, packet_filtered_) != 0) {
      |             ^~~~~~~~~~~~~~~~~~~~~
      |             avcodec_receive_packet
/usr/include/ffmpeg/libavcodec/avcodec.h:2671:5: note: 'avcodec_receive_packet' declared here
 2671 | int avcodec_receive_packet(AVCodecContext *avctx, AVPacket *avpkt);
      |     ^
In file included from /home/master/kiriti/rocdecode/samples/videoDecode/videodecode.cpp:39:
/opt/rocm/include/rocdecode/video_demuxer.h:121:35: error: cannot initialize a parameter of type 'AVCodecContext *' with an lvalue of type 'AVIOContext *'
  121 |         if (av_bsf_receive_packet(av_bsf_ctx_, packet_filtered_) != 0) {
      |                                   ^~~~~~~~~~~
/usr/include/ffmpeg/libavcodec/avcodec.h:2671:44: note: passing argument to parameter 'avctx' here
 2671 | int avcodec_receive_packet(AVCodecContext *avctx, AVPacket *avpkt);
      |                                            ^
In file included from /home/master/kiriti/rocdecode/samples/videoDecode/videodecode.cpp:39:
/opt/rocm/include/rocdecode/video_demuxer.h:192:15: error: unknown type name 'AVBitStreamFilter'
  192 |         const AVBitStreamFilter *bsf = av_bsf_get_by_name("h264_mp4toannexb");
      |               ^
/opt/rocm/include/rocdecode/video_demuxer.h:192:40: error: use of undeclared identifier 'av_bsf_get_by_name'
  192 |         const AVBitStreamFilter *bsf = av_bsf_get_by_name("h264_mp4toannexb");
      |                                        ^
/opt/rocm/include/rocdecode/video_demuxer.h:203:46: error: no member named 'par_in' in 'AVIOContext'
  203 |         avcodec_parameters_copy(av_bsf_ctx_->par_in, av_fmt_input_ctx_->streams[av_stream_]->codecpar);
      |                                 ~~~~~~~~~~~  ^
/opt/rocm/include/rocdecode/video_demuxer.h:204:13: error: use of undeclared identifier 'av_bsf_init'
  204 |         if (av_bsf_init(av_bsf_ctx_) < 0) {
      |             ^
/opt/rocm/include/rocdecode/video_demuxer.h:210:15: error: unknown type name 'AVBitStreamFilter'
  210 |         const AVBitStreamFilter *bsf = av_bsf_get_by_name("hevc_mp4toannexb");
      |               ^
/opt/rocm/include/rocdecode/video_demuxer.h:210:40: error: use of undeclared identifier 'av_bsf_get_by_name'
  210 |         const AVBitStreamFilter *bsf = av_bsf_get_by_name("hevc_mp4toannexb");
      |                                        ^
/opt/rocm/include/rocdecode/video_demuxer.h:221:46: error: no member named 'par_in' in 'AVIOContext'
  221 |         avcodec_parameters_copy(av_bsf_ctx_->par_in, av_fmt_input_ctx_->streams[av_stream_]->codecpar);
      |                                 ~~~~~~~~~~~  ^
/opt/rocm/include/rocdecode/video_demuxer.h:222:13: error: use of undeclared identifier 'av_bsf_init'
  222 |         if (av_bsf_init(av_bsf_ctx_) < 0) {
      |             ^
14 errors generated.
make[2]: *** [CMakeFiles/videodecode.dir/build.make:76: CMakeFiles/videodecode.dir/videodecode.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/videodecode.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

Operating System

RHEL 9

CPU

ALL

GPU

AMD Instinct MI100

ROCm Version

ROCm 6.0.0

ROCm Component

No response

Steps to Reproduce

No response

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support

No response

Additional Information

No response

[Issue]: Ubuntu 24.04 - FFMPEG V6.1.1 Support

Problem Description

root@simon:~# ffmpeg -version
ffmpeg version 4.4.2 Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 11 (Ubuntu 11.3.0-1ubuntu1~22.04)
configuration: --prefix=/workspace/ffmpeg_build --extra-cflags=-I/workspace/ffmpeg_build/include --extra-ldflags=-L/workspace/ffmpeg_build/lib --extra-libs=-lpthread --extra-libs=-lm --enable-shared --disable-static --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libass --enable-gpl --enable-nonfree
libavutil      56. 70.100 / 56. 70.100
libavcodec     58.134.100 / 58.134.100
libavformat    58. 76.100 / 58. 76.100
libavdevice    58. 13.100 / 58. 13.100
libavfilter     7.110.100 /  7.110.100
libswscale      5.  9.100 /  5.  9.100
libswresample   3.  9.100 /  3.  9.100
libpostproc    55.  9.100 / 55.  9.100
root@simon:~# cat /etc/os-release  
PRETTY_NAME="Ubuntu 24.04 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo

Tests

root@simon:~/test# ctest   
Test project /root/test
    Start 1: video_decode-H265
1/6 Test #1: video_decode-H265 ................   Passed    5.93 sec
    Start 2: video_decodeMem-H265
2/6 Test #2: video_decodeMem-H265 .............   Passed    5.84 sec
    Start 3: video_decodePerf-H265
3/6 Test #3: video_decodePerf-H265 ............   Passed    7.39 sec
    Start 4: video_decodeRGB-H265
4/6 Test #4: video_decodeRGB-H265 .............   Passed   94.48 sec
    Start 5: video_decode-H264
5/6 Test #5: video_decode-H264 ................   Passed    5.86 sec
    Start 6: video_decodeBatch
6/6 Test #6: video_decodeBatch ................   Passed    7.24 sec

100% tests passed, 0 tests failed out of 6

Total Test time (real) = 126.75 sec
root@simon:~/test# cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=24.04
DISTRIB_CODENAME=noble
DISTRIB_DESCRIPTION="Ubuntu 24.04 LTS"

Operating System

Ubuntu 24.04

CPU

ALL

GPU

AMD Instinct MI300X

ROCm Version

ROCm 6.1.0

ROCm Component

No response

Steps to Reproduce

No response

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support

No response

Additional Information

No response

Samples

  • Current sample non-functional
  • Additional samples missing

[Issue]: Conformance

Problem Description

Conformance on CI fails for 2 streams (GFX942) -- http://math-ci.amd.com/blue/organizations/jenkins/gfx942%2Fprecheckin%2FrocDecode/detail/develop/17/pipeline/261/

Conformance test completed on the 135 streams:
     - The number of passing streams is 133
     - The number of failing streams is 2
     - The number of streams that did not finish decoding is 0

Need this to pass to throw hard failures on errors on CI

Operating System

ALL

CPU

ALL

GPU

AMD Instinct MI300A

ROCm Version

ROCm 6.1.0

ROCm Component

No response

Steps to Reproduce

No response

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support

No response

Additional Information

No response

[Feature]: Setup - RHEL/SLES

Suggestion Description

Install libva-utils to use vainfo

Operating System

RHEL 8/9 & SLES 15 SP4

GPU

ALL

ROCm Component

No response

[Issue]: Ubuntu 22.04 - Package deps

Problem Description

Observation for Ubuntu 22.04 - need below package to compile sample

sudo apt install libstdc++-12-dev

Operating System

Ubuntu 22.04

CPU

ALL

GPU

AMD Radeon Pro W6800

ROCm Version

ROCm 6.0.0

ROCm Component

rocm-core

Steps to Reproduce

On a Docker - Ubuntu 22.04

wget http://artifactory-cdn.amd.com/artifactory/list/amdgpu-deb/amdgpu-install-internal_6.1-22.04-1_all.deb
sudo apt-get install ./amdgpu-install-internal_6.1-22.04-1_all.deb
sudo amdgpu-repo --amdgpu-build=1716040 --rocm-build=compute-rocm-dkms-no-npi-hipclang/13360
sudo amdgpu-install --usecase=multimediasdk,rocm --no-32

sudo apt-get install rocdecode-dev
mkdir rocdecode-sample && cd rocdecode-sample
cmake /opt/rocm/share/rocdecode/samples/videoDecode/
make -j8
./videodecode -i /opt/rocm/share/rocdecode/video/AMD_driving_virtual_20-H265.mp4

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support

No response

Additional Information

No response

Test - Random Segmentation

1: Running test command: "/home/kiriti/develop/vcndecode-kiriti/build/samples/videoDecode/videodecode" "-i" "/home/kiriti/develop/vcndecode-kiriti/rocDecode/data/videos/AMD_driving_virtual_20-H265.mp4" "-z"
1: Test command failed: /home/kiriti/develop/vcndecode-kiriti/build/samples/videoDecode/videodecode
1: info: Using GPU device 0 - AMD Radeon PRO W6800[gfx1030] on PCI bus 0b:00.0
1: info: decoding started, please wait!
1: Input Video Information
1: 	Codec        : H.265/HEVC
1: 	Frame rate   : 0/0 = -nan fps
1: 	Sequence     : Progressive
1: 	Coded size   : [2048, 1024]
1: 	Display area : [0, 0, 2048, 1024]
1: 	Chroma       : YUV 420
1: 	Bit depth    : 8
1: Video Decoding Params:
1: 	Num Surfaces : 5
1: 	Crop         : [0, 0, 0, 0]
1: 	Resize       : 2048x1024
1: 
1: info: Video codec format: H.265/HEVC
1: info: Video size: [ 2048, 1024 ]
1: info: Video surface format: NV12
1: info: Video Bit depth: 8
1: info: Total frame decoded: 601
1: info: avg decoding time per frame (ms): 8.82509
1: info: avg FPS: 113.313
1: 
1: *** Exception executing: Segmentation fault
1/1 Test #1: video_decode-H265 ................***Failed   34.64 sec

0% tests passed, 1 tests failed out of 1

Total Test time (real) =  34.64 sec

The following tests FAILED:
	  1 - video_decode-H265 (Failed)
Errors while running CTest
make: *** [Makefile:107: test] Error 8

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.