-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hardware 3D acceleration does not seem to work/be enabled #5
Comments
https://github.com/microsoft/wslg#opengl-accelerated-rendering-in-wslg https://developer.nvidia.com/cuda/wsl whats thw output of glxinfo | grep "OpenGL" ? |
|
You are using the correct D3D12 driver. Only thing left to check is your Nvidia driver version. It has to be 526.47 and above. |
I double checked, and my Nvidia driver is 531.79.
Maybe whatever is causing this is the problem? |
Installed mesa-va-drivers? For manjaro, follow steps here for your graphics card. Also install libva-utils. Then see if the situation gets better. Both bother about my fps values. I have a crappy GPU. |
I'm getting this now: (this is in manjaro)
If I try with
|
Use sudo |
Yep that worked, I'm getting this now:
Is this good? |
After looking into the issues on the wslg github page that I linked earlier, it seems that software rendering using llvmpipe is still faster. Why I don't know. You'll have to google this and find out more as I am out of ideas why it doesn't work as expected. |
Alright, thanks for your help! |
Requirements
WSL Version
Version
Microsoft Windows [Version 10.0.22621.1555]
Kernel Version
5.15.90.1-microsoft-standard-WSL2
Repro Steps
Follow normal installation
Expected Behavior
To see decent performance with 3D acceleration
Actual Behavior
GUI works fine, I can run GUI apps, but they're extremely slow, and as far as I can tell, not using my graphics card?
I tried using
glxgears
as a benchmark, and would get ~120fps on my computer, but on my laptop that runs Manjaro, I get ~40000fps. My computer that I'm testing this on has a 1080 ti vs a shoddy integrated GPU in my laptop, so this doesn't stack up? I would've tried more benchmarks, but most crashed.When I check task manager running GUI apps I also see my CPU usage spike, and don't see any GPU usage?
Anyway, I checked
neofetch
andlspci
, and both tell me that my GPU is a0b26:00:00.0 Microsoft Corporation Basic Render Driver
, which I suspect is some kind of software fallback?Strangely enough, the GL Vendor is set to
NVIDIA GeForce GTX 1080 Ti
.The text was updated successfully, but these errors were encountered: