-
Notifications
You must be signed in to change notification settings - Fork 61
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
No VAAPI Intel GPU Acceleration #17
Comments
Next: I installed apt install libvdpau_va_gl1 package. Getting this now:
|
Post a list of packages installed on your host to pastebin? i.e.g I'll compare it to packages installed on my system, which also has an Intel GPU, to see if I can see anything missing. |
@DocMAX were you able to make any progress on this? Just checking in to see if there's anything I can do from my end to help. |
Maybe try to run with
|
In addition to @mviereck's idea, you might also want to make sure that you have the Closing this issue for inactivity but feel free to re-open or continue the discussion! |
I had the same problems with hardware acceleration on Intel N3050. All drivers are installed on the host (debian 9) and the hardware acceleration of the applications on the host is working normally. Here is log: .............erichough-kodi-88b82c/share/stderr <== The issue was fixed by adding: apt-get upgrade -y && to Dockerfile and building a new docker image with the included drivers. |
@begicj Thank you for the report. Could you let us know which version of x11docker you're using? I'd like to try to reproduce this issue locally and investigate further. |
x11docker version 5.5.2 |
@begicj Thank you for reporting this! @ehough I had a look at these packages. I'd recommend to install I have updated the x11docker image dependency list accordingly: https://github.com/mviereck/x11docker/wiki/Dependencies#dependencies-in-image |
I've been hesitant to add those packages to the image because of some recent testing. What's weird is that in my personal HTPC, which uses Intel graphics, I get normal hardware-accelerated video without the I'm going to do some more testing tonight and will report back. Stand by! |
From what I understand, these drivers help to decode videos with the GPU. |
Adding |
Hi, |
@ehough With Linux Mint 20 using Intel graphics, I only get SW decoded x264 video as reported by kodi in the latest version of Although have been planning to migrate my HTPC to CentOS don't know if that would make any difference. Since the
So the only solution for now to get HW decoded video for my setup is to recreate the container adding these packages? I've very little experience with docker and I'm not sure if that would mean recreating it manually with each update or to get stuck with an old image. Thank you. -- |
@gsantner I used this with and without the
But after the x11docker WARNINGs I get some -apparently unrelated- errors before the VDPAU one that can't figure what are about (#24 because LM20 uses pulseaudio and the analog audio output I use, seems to work).
Anyway even if it worked, using |
Hi, struggling with the same issue. Any chance the issue would be resolved? |
So far I've not encountered any issue enabling the hardware-accelerated video since I'm using kodi with these packages included. |
Hi @lulol. Thanks for the tip. I think I have succeeded to modify the Dockerfile and build modified image. But to be frank I am not entirely sure that worked out as expected. Load seems to be the same and under codec info for multiple sources I still see SW as rendering method. As addition I don't see any VAAPI options under Settings>Player. Do you see similar things in your case or did I miss something. Could you please share the X11docker command you are using to launch your newly built image? Thanks in advance. |
@bachulator I see the VAAPI options under Settings>Player in kodi just fine, and the video decoder uses the hardware acceleration. Did you use the I'm using this with Intel graphics. If that is not your case you may need to use the package va-driver-all instead of i965-va-driver to get the drivers for AMD and Nvidia as mviereck suggested. The X11docker command I use is a few comments above this, (without the |
Hmm. I obviously missing something here. Ok. I have intel video since with bare-metal installation I have VAAPI option and decoding is HW based with i965-va-driver . My DockerFile looks like original except last part I start building and tagging process: Build process finishes successfully and from the logs I do see va drivers installation. I am X11 user so my kodi start script looks like this: But I still don't see any HW decoding options below are kodi log docker vs bare-metal both isntances are running from the same config basis:
|
Did you change to the Expert options in kodi to show the VAAPI options? But anyway by default all should be enabled so that won't limit the hardware decoding. You may try the Other than that, I'm sorry that don't know why fails to init the vdp_device in the container since it seems to work in your system. May be others have any idea? |
To whoever it concerns. I have managed to solve the issue by rebuilding the docker image to the same OS version as host by changing to I suspect the issue was related to different VAAPI version in focal and bionic (1.7.X vs 1.1) having them on the same version seems to solve the issue. Cheers, |
Thank you for pointing that out! A hint is added to x11docker wiki. |
Version 3 of this image is now available. In addition to running on Ubuntu Focal, it also includes the Closing this issue, but please feel free to open up a new issue or post in the discussion forum if you're still having any trouble. |
I have a very weird issue: gpu accelleration, works only few seconds, 8 seconds, then stopped working and cpu come up. Why? How can i fix it ? from intel_gpu_top i can see render in use and video, but few seconds. |
x11docker recently got some fixes for VA-API and VDPAU video decoding support. Tests reports are appreciated! The fix needs to be tested on several different GPU setups. This might improve docker-kodi a lot and fix some issues mentioned above.
It might make sense to add |
I don't get gpu acceleration working. I have an Intel GPU which supports x264 hardware decoding. Is there maybe another package missing for this?
I see an error after start:
Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory
The text was updated successfully, but these errors were encountered: