Glebaaaa 0 Posted March 29, 2021 Posted March 29, 2021 Hello. I try to hardware accelerate my emby contrainer in docker. My gpu is very old (Radeon HD 6310) but it should be supported by VAAPI or I misunderstood something. The error is: Failed to initialize VA /dev/dri/renderD128. Error -1 vainfo from host: Spoiler error: XDG_RUNTIME_DIR not set in the environment. error: can't connect to X server! libva info: VA-API version 1.4.0 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/r600_drv_video.so libva info: Found init function __vaDriverInit_1_4 libva info: va_openDriver() returns 0 vainfo: VA-API version: 1.4 (libva 2.4.0) vainfo: Driver version: Mesa Gallium driver 18.3.6 for AMD PALM (DRM 2.50.0 / 5.10.0-0.bpo.3-amd64, LLVM 7.0.1) vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointVLD VAProfileVC1Simple : VAEntrypointVLD VAProfileVC1Main : VAEntrypointVLD VAProfileVC1Advanced : VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointVLD VAProfileH264Main : VAEntrypointVLD VAProfileH264High : VAEntrypointVLD VAProfileNone : VAEntrypointVideoProc Im almost sure docker container is configured properly, /dev/dri:/dev/dri is set, PUID and PGID set to user with "render" group. I also trying to chmod -R 777 /dev/dri but problem still exist. Trying the same thing in jellyfin and it working correctly. Full hardware detection log in attachment hardware_detection-63752638276.txt
Luke 42079 Posted March 29, 2021 Posted March 29, 2021 Hi there, please attach the emby server log as well. thanks.
Glebaaaa 0 Posted March 29, 2021 Author Posted March 29, 2021 embyserver.txt Sorry, I forgot about that
Solution Glebaaaa 0 Posted March 29, 2021 Author Solution Posted March 29, 2021 (edited) Problem solved! After installing any beta version newer than current "latest" branch (emby/embyserver:latest), gpu is recognized correctly. So what about beta versions, they are safe for daily use? Edited March 29, 2021 by Glebaaaa
Happy2Play 9780 Posted March 29, 2021 Posted March 29, 2021 2 minutes ago, Glebaaaa said: So what about beta versions, they are safe for daily use? Overall yes, occasionally there will be a change that does break things but usually are fixed rather fast.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now