Does Ubuntu 18.04 LTS for Windows 10 provide GPU acceleration ?

Greetings,

I’ve intalled Ubuntu 18.04 LTS straight from Microsoft Store on Windows 10. Currently I’m playing in OpenFoam with aircraft models.

I’d like to use Paraview with GPU acceleration, because without it it’s pretty much impossible to do anything with complcated 3D meshes.
So far, when I launch Paraview through Ubuntu and look in Help>About… I can see:

OpenGL Renderer llvmpipe

Meaning I’m running it on my CPU, and since I have a GTX 1080 Ti it should say:

OpenGL Renderer GeForce GTX 1080 Ti/PCIe/SSE2

So my question is: is there a way to enable GPU acceleration in Ubuntu 18.04 LTS for W10?

No, WSL doesn’t support that, you don’t have access to any host gpu.

Is this the reason why I can’t successfully see my GPU using nvidia-smi? However, when I did do sudo apt install nvidia-390, it tries to install it and I heard my GPU became noisy. Is there really no way to install NVidia driver inside WSL Ubuntu 18.04? Can we fake the kernel source of Microsoft to a generic one so that the driver can be built?

WSL is now supporting GPU. Checkout this link.
https://docs.microsoft.com/en-us/windows/wsl/release-notes#:~:text=WSL2%20GPU%20compute%20see%20Windows%20blog%20for%20more%20information