theonemule / dockercon-demos

39 stars 16 forks source link

Does graphics acceleration inside WSL2 supported now? #2

Open woensug-choi opened 3 years ago

woensug-choi commented 3 years ago

Hi :)

Thank you for the video you've uploaded on the Youtube. I was working with WSL2 to run ROS-Gazebo system for robot simulation few months back. Back then, WSL2 CUDA toolkit did not support graphical hardware acceleration but compute acceleration only. Which resulted in typical 60 Hz frame rate degraded to about 10 Hz frame rates in WSL2 when gui window passed through x forwarding. Does your video imply that the graphics acceleration is supported now? WSL2 documents mentions about it but sentences are little vague. I will give it a try some day soon. Your dockerfile would be a great giant's shoulder for me. Just wanted to say thank you, and double checking if my understanding is right or not.

theonemule commented 3 years ago

I could be wrong, but as I understand it it cannot output GPU acceleration to the display. That doesn't imply that you can't use it for 3D acceleration and capture frames from it, which is more what TurboVNC does. So it's not 3D acceleration in the truest sense.