Code Monkey home page Code Monkey logo

Comments (9)

kiritigowda avatar kiritigowda commented on September 1, 2024

dev package do not bring in all the dependencies required to run; currently only supports build - missing packages

1: VAAPI failure: vaInitialize(va_display_, &major_version, &minor_version) failed with status: 0xffffffff = 'unknown libva error' at /root/hostDrive/rocdecode-kiriti/rocdecode/src/rocdecode/vaapi/vaapi_videodecoder.cpp:117
1: [ERR]  {InitializeDecoder}  Failed to initilize the VAAPI.
1: [ERR]  {InitializeDecoder}  Failed to initilize the VAAPI Video decoder.
1: [ERR]  {rocDecParseVideoData}   { HandleVideoSequence } rocDecCreateDecoder(&roc_decoder_, &videoDecodeCreateInfo) returned ROCDEC_RUNTIME_ERROR at /root/hostDrive/rocdecode-kiriti/rocdecode/utils/rocvideodecode/roc_video_dec.cpp:420
1: 
1: *** Exception executing: Segmentation fault
1/1 Test #1: video_decode-H265 ................***Failed    5.06 sec

0% tests passed, 1 tests failed out of 1

from rocdecode.

kiritigowda avatar kiritigowda commented on September 1, 2024

@AryanSalmanpour - libdrm-amdgpu-dev libva-amdgpu-dev

sudo apt install libdrm-amdgpu-dev libva-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).
libdrm-amdgpu-dev set to manually installed.
The following additional packages will be installed:
  i965-va-driver intel-media-va-driver libigdgmm11 libva-amdgpu-drm2 libva-amdgpu-glx2 libva-amdgpu-wayland2 libva-amdgpu-x11-2 libva2-amdgpu
  libwayland-amdgpu-client0 mesa-va-drivers va-driver-all
Suggested packages:
  i965-va-driver-shaders
The following NEW packages will be installed:
  i965-va-driver intel-media-va-driver libigdgmm11 libva-amdgpu-dev libva-amdgpu-drm2 libva-amdgpu-glx2 libva-amdgpu-wayland2 libva-amdgpu-x11-2 libva2-amdgpu
  libwayland-amdgpu-client0 mesa-va-drivers va-driver-all
0 upgraded, 12 newly installed, 0 to remove and 5 not upgraded.
Need to get 6002 kB of archives.
After this operation, 54.8 MB of additional disk space will be used.
Do you want to continue? [Y/n] 

from rocdecode.

kiritigowda avatar kiritigowda commented on September 1, 2024

mesa-amdgpu-multimedia-devel

sudo apt install mesa-amdgpu-multimedia-devel
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  gst-omx-amdgpu gstreamer1.0-plugins-base iso-codes libcap2-bin libcdparanoia0 libgl1-amdgpu-mesa-dri libgl1-amdgpu-mesa-glx libglapi-amdgpu-mesa
  libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 libllvm17.0-amdgpu libomxil-bellagio-bin libomxil-bellagio-dev libomxil-bellagio0 libopus0 liborc-0.4-0
  libpam-cap libtheora0 libva-amdgpu-dev libva-amdgpu-drm2 libva-amdgpu-glx2 libva-amdgpu-wayland2 libva-amdgpu-x11-2 libva2-amdgpu libvdpau-dev libvdpau1
  libvisual-0.4-0 libvorbisenc2 libwayland-amdgpu-client0 libxcb-randr0 mesa-amdgpu-multimedia mesa-amdgpu-omx-drivers mesa-amdgpu-va-drivers
  mesa-amdgpu-vdpau-drivers mesa-vdpau-drivers vdpau-driver-all
Suggested packages:
  gvfs isoquery libglide3 libvisual-0.4-plugins gstreamer1.0-tools libomxil-bellagio-doc libomxil-bellagio0-components-base opus-tools libvdpau-doc
  libvdpau-va-gl1 nvidia-vdpau-driver nvidia-legacy-340xx-vdpau-driver nvidia-legacy-304xx-vdpau-driver
Recommended packages:
  libtxc-dxtn-s2tc0 | libtxc-dxtn0
The following NEW packages will be installed:
  gst-omx-amdgpu gstreamer1.0-plugins-base iso-codes libcap2-bin libcdparanoia0 libgl1-amdgpu-mesa-dri libgl1-amdgpu-mesa-glx libglapi-amdgpu-mesa
  libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 libllvm17.0-amdgpu libomxil-bellagio-bin libomxil-bellagio-dev libomxil-bellagio0 libopus0 liborc-0.4-0
  libpam-cap libtheora0 libva-amdgpu-dev libva-amdgpu-drm2 libva-amdgpu-glx2 libva-amdgpu-wayland2 libva-amdgpu-x11-2 libva2-amdgpu libvdpau-dev libvdpau1
  libvisual-0.4-0 libvorbisenc2 libwayland-amdgpu-client0 libxcb-randr0 mesa-amdgpu-multimedia mesa-amdgpu-multimedia-devel mesa-amdgpu-omx-drivers
  mesa-amdgpu-va-drivers mesa-amdgpu-vdpau-drivers mesa-vdpau-drivers vdpau-driver-all
0 upgraded, 37 newly installed, 0 to remove and 5 not upgraded.
Need to get 47.6 MB of archives.
After this operation, 426 MB of additional disk space will be used.
Do you want to continue? [Y/n]

from rocdecode.

kiritigowda avatar kiritigowda commented on September 1, 2024

sudo apt install libdrm-amdgpu-dev libva-amdgpu-dev libgl1-amdgpu-mesa-dri

Adds libgl1-amdgpu-mesa-glx libglapi-amdgpu-mesa libllvm17.0-amdgpu libxcb-randr0 mesa-amdgpu-va-drivers

from rocdecode.

kiritigowda avatar kiritigowda commented on September 1, 2024

rocdecode dependencies needed to replace mesa multimedia package

rocdecode

rocm-hip-runtime libdrm-amdgpu1 libva-amdgpu-drm2 mesa-amdgpu-va-drivers

rocdecode-dev

rocdecode rocm-hip-runtime-dev libdrm-amdgpu-dev libva-amdgpu-dev
  • FFMPEG

rocdecode-test

rocdecode rocdecode-dev

from rocdecode.

kiritigowda avatar kiritigowda commented on September 1, 2024

@eidenyoshida we are going to move away from using the mesa-amdgpu-multimedia-devel package as it might not be supported in the future releases. I have compiled the core dependencies for roc decode above; can we switch to using these in CI?

from rocdecode.

kiritigowda avatar kiritigowda commented on September 1, 2024

RPM mesa multimedia package

zypper install mesa-amdgpu-multimedia-devel
Refreshing service 'Basesystem_Module_15_SP4_x86_64'.
Refreshing service 'Desktop_Applications_Module_15_SP4_x86_64'.
Refreshing service 'Development_Tools_Module_15_SP4_x86_64'.
Refreshing service 'Legacy_Module_15_SP4_x86_64'.
Refreshing service 'Python_3_Module_15_SP4_x86_64'.
Refreshing service 'SUSE_Linux_Enterprise_Server_15_SP4_x86_64'.
Refreshing service 'SUSE_Package_Hub_15_SP4_x86_64'.
Refreshing service 'Server_Applications_Module_15_SP4_x86_64'.
Refreshing service 'Web_and_Scripting_Module_15_SP4_x86_64'.
Refreshing service 'container-suseconnect-zypp'.
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following 9 NEW packages are going to be installed:
  libvdpau-devel libvdpau1 llvm-amdgpu-libs mesa-amdgpu-dri-drivers mesa-amdgpu-filesystem mesa-amdgpu-libGL mesa-amdgpu-multimedia mesa-amdgpu-multimedia-devel
  mesa-amdgpu-vdpau-drivers

The following 7 packages have no support information from their vendor:
  llvm-amdgpu-libs mesa-amdgpu-dri-drivers mesa-amdgpu-filesystem mesa-amdgpu-libGL mesa-amdgpu-multimedia mesa-amdgpu-multimedia-devel mesa-amdgpu-vdpau-drivers

9 new packages to install.
Overall download size: 35.8 MiB. Already cached: 0 B. After the operation, additional 154.6 MiB will be used.
Continue? [y/n/v/...? shows all options] (y): 

from rocdecode.

kiritigowda avatar kiritigowda commented on September 1, 2024

RPM -- mesa-amdgpu-dri-drivers

zypper install mesa-amdgpu-dri-drivers
Refreshing service 'Basesystem_Module_15_SP4_x86_64'.
Refreshing service 'Desktop_Applications_Module_15_SP4_x86_64'.
Refreshing service 'Development_Tools_Module_15_SP4_x86_64'.
Refreshing service 'Legacy_Module_15_SP4_x86_64'.
Refreshing service 'Python_3_Module_15_SP4_x86_64'.
Refreshing service 'SUSE_Linux_Enterprise_Server_15_SP4_x86_64'.
Refreshing service 'SUSE_Package_Hub_15_SP4_x86_64'.
Refreshing service 'Server_Applications_Module_15_SP4_x86_64'.
Refreshing service 'Web_and_Scripting_Module_15_SP4_x86_64'.
Refreshing service 'container-suseconnect-zypp'.
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following 4 NEW packages are going to be installed:
  llvm-amdgpu-libs mesa-amdgpu-dri-drivers mesa-amdgpu-filesystem mesa-amdgpu-libGL

The following 4 packages have no support information from their vendor:
  llvm-amdgpu-libs mesa-amdgpu-dri-drivers mesa-amdgpu-filesystem mesa-amdgpu-libGL

from rocdecode.

kiritigowda avatar kiritigowda commented on September 1, 2024

TOT develop has all the changes required in mainline - with deprecated mesa-amdgpu-multimedia-devel package.

from rocdecode.

Related Issues (20)

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.