Jump to content

Old gpu hardware acceleration problem (Failed to initialize VA)


Go to solution Solved by Glebaaaa,

Recommended Posts

Posted

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

Posted

Hi there, please attach the emby server log as well. thanks.

  • Solution
Posted (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 by Glebaaaa
Happy2Play
Posted
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.  

Posted

Ok, thanks for answer.

Posted

Thanks for the feedback.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...