danini-the-panini / mittsu

3D Graphics Library for Ruby.
https://github.com/danini-the-panini/mittsu
MIT License
508 stars 33 forks source link

WSL2 Ubuntu-18.04 Support. #107

Closed PabloB07 closed 2 years ago

PabloB07 commented 2 years ago

mittsu it does not work in WSL2 Ubuntu-18.04?

image

My error is: Unable to create window.

Code:

image

Thank you.

danini-the-panini commented 2 years ago

A few questions before I can dig into this: Do you have WSLg? Do you have mesa installed? What is the output of glx-info -B? Do you have gallium d3d12 installed? What gpu do you have? Are you using a WDDM 3.0 driver? (check with dxdiag)

PabloB07 commented 2 years ago

Do you have WSLg? Idon't have Windows 11 installed yet. Do you have mesa installed? Yes What is the output of glx-info -B? Show me nothing Do you have gallium d3d12 installed? No What gpu do you have? GTX 1660 Super Are you using a WDDM 3.0 driver? (check with dxdiag) No

I think is impossible to display a windows using mittsu in Windows 10 using WSL2... right?

danini-the-panini commented 2 years ago

If you're not using WSLg, are you using vcxsrv or some other windows-based Xserver?