using cefsrc in a docker container with GPU acceleration

Steve McFarlin steve.mcfarlin at hopin.to
Mon Jul 24 16:00:11 UTC 2023


Yes I have. I used an X11 server on the host machine, and
xserver-xorg-video-dummy in the container. I seem to recall dummy is not
strictly necessary. You then need to expose the GPU and a few other things
in your docker command. This is the docker command I used

docker run --gpus all -v /usr/local/cuda:/usr/local/cuda
--device=/dev/dri/card0 --rm -e DISPLAY=$DISPLAY -v /tmp/X11-unix:/tmp/.X11
-it ...

Hope that helps
- steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20230724/9723b50d/attachment.htm>


More information about the gstreamer-devel mailing list