Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ha-addon: missing radeonsi_drv_video.so driver, need mesa-va-drivers package #910

Closed
gtxaspec opened this issue Jan 28, 2024 · 8 comments
Closed
Labels
enhancement New feature or request

Comments

@gtxaspec
Copy link

on AMD APU's, the package mesa-va-drivers is required to support hardware acceleration. Installing this package into the docker container, installs /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so allowing acceleration to work:

root@a889bffc-go2rtc-master-hw:~# vainfo
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
error: can't connect to X server!
libva info: VA-API version 1.17.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_17
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.17 (libva 2.12.0)
vainfo: Driver version: Mesa Gallium driver 22.3.6 for AMD Radeon Graphics (renoir, LLVM 15.0.6, DRM 3.49, 6.1.0-17-amd64)
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointEncSlice
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointEncSlice
      VAProfileHEVCMain               :	VAEntrypointVLD
      VAProfileHEVCMain               :	VAEntrypointEncSlice
      VAProfileHEVCMain10             :	VAEntrypointVLD
      VAProfileHEVCMain10             :	VAEntrypointEncSlice
      VAProfileJPEGBaseline           :	VAEntrypointVLD
      VAProfileVP9Profile0            :	VAEntrypointVLD
      VAProfileVP9Profile2            :	VAEntrypointVLD
      VAProfileNone                   :	VAEntrypointVideoProc

@AlexxIT, is it possible to include this package in the HA-addon by default? thanks!

@AlexxIT
Copy link
Owner

AlexxIT commented Jan 31, 2024

Why closed?

@gtxaspec
Copy link
Author

i opened it in the other repo, AlexxIT/hassio-addons#25
I can keep open here and close there, was not sure which REPO was the correct one for the HA-addon

@AlexxIT
Copy link
Owner

AlexxIT commented Jan 31, 2024

This is better place for this issue. Because Docker file in this repo
https://github.com/AlexxIT/go2rtc/blob/master/hardware.Dockerfile

@AlexxIT AlexxIT reopened this Jan 31, 2024
@AlexxIT AlexxIT added the enhancement New feature or request label Jan 31, 2024
@AlexxIT
Copy link
Owner

AlexxIT commented Jan 31, 2024

You can check latest version after build b08b883

@gtxaspec
Copy link
Author

@AlexxIT thanks! I can confirm the package is now installed and support for AMD APU's is working well. Thank You!

@gtxaspec gtxaspec closed this as completed Feb 1, 2024
@AlexxIT
Copy link
Owner

AlexxIT commented Feb 6, 2024

Please check latest container update. I have used Debian 13 for FFmpeg 6.1 update.

@gtxaspec
Copy link
Author

gtxaspec commented Feb 7, 2024

Working well!

@AlexxIT
Copy link
Owner

AlexxIT commented Apr 30, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants