jlesage / docker-video-duplicate-finder

Docker container for Video Duplicate Finder
MIT License
42 stars 1 forks source link

GPU acceleration support #7

Open dcflachs opened 1 year ago

dcflachs commented 1 year ago

Any chance this container is/could be build with support for the nvidia-docker runtime?

taw123 commented 6 months ago

And potentially Intel QSV (QuickSync) support

MDKAOD commented 2 months ago

I figured out how to get vaapi gpu support. Potentially other packages work as well. Docker image is built on Alpine. You'll need to find out what packages you need for your specific use case. In mine, it's an Arc A380.

  1. Pass --device=/dev/dri:/dev/dri to the container
  2. Pass variable: INSTALL_PACKAGES = 'mesa-dri-gallium intel-media-driver libva-intel-driver mesa-va-gallium'
  3. Works.

image

taw123 commented 2 months ago

Not to sound ungrateful because I am VERY greatful (knew and tried passing just the driver "path" to the container but didn't realize I also needed to add drivers to the container...

As I was saying not to sound ungrateful but would have been helpful to find out where you found the info on what drivers to add so folks could add as you mention in list of required drivers for their unique drivers their unique platform. I found details for drivers at; The Alpine Wiki

Now if only we could get the HardLink support ford this would be truly amazing 👍

Enjoy and thanks!