Re: using cefsrc in a docker container with GPU acceleration

Steve McFarlin via gstreamer-devel <[email protected]>
Newsgroups gmane.comp.video.gstreamer.devel
Message-ID <CAO+_Wz5nqDkL4G084yHbATRDNSPEvBZ6M45wt3JxBNCUcArnwA@mail.gmail.com>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.