Skip to content
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

Does WSL support openGL? #2855

Closed
littlepi opened this issue Jan 19, 2018 · 3 comments
Closed

Does WSL support openGL? #2855

littlepi opened this issue Jan 19, 2018 · 3 comments
Labels

Comments

@littlepi
Copy link

@littlepi littlepi commented Jan 19, 2018

I am running a linux software on WSL. The program crashes every time I try to make some drawings with the openGL option. I know that the WSL is not a full linux and is intended to do command line tasks. In my case, I have installed the openGL libararies and everything seems OK. I am wondering if my problem is because of the WSL is incompatible with openGL.

@therealkenc

This comment has been minimized.

Copy link
Collaborator

@therealkenc therealkenc commented Jan 19, 2018

WSL runs OpenGL alright, but it is not a supported scenario. You didn't follow the issue template, but in general from a clean Ubuntu install from the store do:

$ sudo apt install ubuntu-desktop mesa-utils
$ export DISPLAY=localhost:0
$ glxgears

On the Windows side, install VcXsrv, choose multiple windows, display 0, start no client, disable native opengl (sic). The hang out for this stuff is generally #637, but if you have a specific scenario I'll hold this open for a bit. It might be your scenario works. It might not.

@setten

This comment has been minimized.

Copy link

@setten setten commented Sep 20, 2019

solved my problem running quantumatk in wsl it was the disable native opengl part

@NoxFly

This comment has been minimized.

Copy link

@NoxFly NoxFly commented Dec 2, 2019

WSL runs OpenGL alright, but it is not a supported scenario. You didn't follow the issue template, but in general from a clean Ubuntu install from the store do:

$ sudo apt install ubuntu-desktop mesa-utils
$ export DISPLAY=localhost:0
$ glxgears

On the Windows side, install VcXsrv, choose multiple windows, display 0, start no client, disable native opengl (sic). The hang out for this stuff is generally #637, but if you have a specific scenario I'll hold this open for a bit. It might be your scenario works. It might not.

Is there the same for debian-desktop ?
I can't locate both package when I try to install them (debian- or ubuntu-)
I've the same probleme but with debian application

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.