Is GPU pass-through possible with docker for Windows?

前端 未结 4 1585
半阙折子戏
半阙折子戏 2021-02-04 02:02

I am trying to run an application inside a docker container in Windows 10.

But I am not able to get the GPU working inside docker.

I read that it needs \"GPU Pa

4条回答
  •  忘掉有多难
    2021-02-04 02:57

    Note that Hardware Acceleration of video decoding-encoding is not supported in the WSL2/windows-Insider implementation.

    Thus, any GPU functions can be used with little limitations on WSL2 but video encoding-decoding cannot be done by the hardware.

    Attempt to ask ffmpeg to use the hardware acceleration leads to error messages. (skvideo, which is an ffmpeg wrapper, crashes)

    Not sure about gStreamer yet. But for sure it cannot use the Hardware Acceleration as it is not "funneled" through the interface.

    As far as I know - there are no current plans to add ths support.

    Best, Mickey

提交回复
热议问题