-
Notifications
You must be signed in to change notification settings - Fork 295
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
Backport to Windows 10 #771
Comments
I second this... is there a workaround? |
this #347 (comment) |
Upvoted there, thank you @chickyd3v . |
There's also https://github.com/Biswa96/wslg if you want to compile yourself. |
You can do hardware rendering with Windows 10 21h2 and Vcxsrv, you don't need WSLg for that |
This issue is a duplicate of #414 please vote everyone in one place to have more strength |
That only works with indirect rendering, and limited to OpenGL 1.4 check here Not a problem on most scenarios though. |
@pedroaugustosmribeiro your link is about the behavior 2 years ago. I am talking about Windows 10 21h2. See this screenshot and give it a try; it works: |
@crramirez Nope, it's still valid for me. Please make sure your linux distro on WSL2 is really using direct rendering. |
with inderect_rendering set: pedro@Pedro-PowerWindows:~$ systeminfo.exe| grep "Versão do sistema operacional" && glxinfo -B pedro@Pedro-PowerWindows: |
@pedroaugustosmribeiro Well the driver requirements are the same for GPU acceleration with or without WSLg. Backporting WSLg to Windows 10 (which is the title of this issue) won't solve the driver thing. |
@crramirez You're probably right, it's something Microsoft and the hardware manufacturers would have to solve, but won't (for the old devices, at least). However they could, as it's a feature already available on Windows itself and that works with third-party hypervisors like VirtualBox and VMWare Player |
I agree |
@crramirez Thanks for your post - it gives me some hope, but I can't get Vcxsrv to work with d3d12 driver. I have the latest intel driver in Windows, it should support WSL and seems like it does - I have a /dev/dxg device and auto-mounted drivers in /var/lib/wsl/. But setting DISPLAY to host where latest Vcxsrv 1.20.14.0 runs, only gives me OpenGL 1.4 with indirect rendering. Can you share more about your configuration? Do you run Vcxsrv with -wgl or some other option? Maybe you have some special env variables defined? Or is it some Pengwin specialty not available for plain Debian or Ubuntu? UPDATE (SOLVED): TLDR - just needed latest intel drivers (30+) on Windows and mesa 21+ in Linux. |
Hello @majk-dev, Very good I was just answering your comment when I realized your update. For me, it is not working with the latest Intel driver, but sure version 30.0.101.1660 works. I also saw you mentioned indirect mode. For others reading this, be sure that you Also, having Mesa 21 is not enough because it needs to be compiled with the d3d12 driver. RHEL-based distros like Oracle and Alma, for example, have Mesa 21 but not the d3d12 drivers, so that it won't work. If it is not working, check for the file Hope it helps. @majk-dev please submit a screenshot with it working; more people need to see it working. Thanks |
@crramirez You're right. The DirectX post I linked mentions it is only glibc based distros - forgot about that since I mainly use Debian and derivatives. Also, I run Vcxsrv WITH "native opengl" ( The distro is Ubuntu 20.04 LTS with updated mesa packages from apt. |
Just saw the updates here and retried direct rendering one more time, without success. |
Hey folks, it is indeed official and WSLg is now available for Windows 10. Please make sure that your Windows 10 installation is fully up to date and then update to the latest version of WSL in the Microsoft Store. For more details, please see our official blog on this. |
That's great, just tested now, it's working! |
Please backport this project to Windows 10.
The text was updated successfully, but these errors were encountered: