Currently working to install gym/roboschool, running into the following error from WSL:

enter image description here

The latest drivers are installed on my GPU which states I'm on OpenGL 4.6.


Still no luck unfortunately, I'm on 20H1 now (after weeks of failing to install) confirmed on wsl2, updated graphics drivers, but somehow ubuntu isn't using my graphics properly. screenshot

  • Possible duplicate of Use accelerated graphics on Windows 10 Linux subsystem with Xming?
    – Ramhound
    Jun 11, 2019 at 22:21
  • What version of Windows 10 are you using? Use winver to provide this required information. What WSL instance do you have installed? What version of that instance are you using? How did you determine your hardware supports OpenGL? Did you determine that within a Windows command prompt or a WSL command prompt? You did install the display drivers within the WSL instance, if you did, there might be one work around that could work.
    – Ramhound
    Jun 11, 2019 at 22:27
  • It may be related to that topic actually, the solution there doesn't seem to help though. I'm on windows version 1809, Nvidia 1070TI graphics, running the Ubuntu windows store app and this is all running through that. Although I didn't install the drivers through the app, just normally through the nvidia windows installer. Jun 13, 2019 at 14:15

1 Answer 1


The latest drivers are installed on my GPU which states I'm on OpenGL 4.6

Since OpenGL is highly dependent on device drivers. I suspect your problem is due to the fact, the current version of Windows Subsystem for Linux, is unable to load kernel Linux drivers. Since the current version of Windows Subsystem for Linux, does not officially support GUI Linux applications, this makes complete sense.

The latest drivers are installed on my GPU which states I'm on OpenGL 4.6.

You might have necessary Windows drivers installed that does not mean they are accessible to the Windows Subsystem Linux instance. Just because you have the Windows drivers installed allowing to run a Windows OpenGL executable does not mean you can run a Linux executable that requires a kernel driver.

The limitations I describe will be resolved with the release of Windows Subsystem for Linux 2 which will appear in a future build planned for a June 2019 release. WSL 2 will run an actual Linux kernel once it is released.

WSL 2 uses an entirely new architecture that uses a real Linux kernel. Initial builds of WSL 2 will be available through the Windows Insider program by the end of June 2019. Linux binaries use system calls to perform many functions such as accessing files, requesting memory, creating processes, and more.

Strictly speaking. If WSL 2 is running a Linux kernel then you should be able to install the required display drivers to provide OpenGL support.

  • There might be a workaround that works with WSL on Windows 10 version 1903. I am waiting for more information from the author before I provide it. Since the workaround involves installing vcXsrv, I consider my answer correct, it strictly isn't possible to run a Linux application with a GUI on the current version of the WSL. Since you would technically be drawing the application GUI, within a Windows X instance, which would be entirely controlled by the Windows application. I am still waiting for the information before I spend a majority of a day working out the solution.
    – Ramhound
    Jun 11, 2019 at 22:44
  • Everything should be rendering on the windows side, I'm running xming which is successfully displaying other gui applications (but it's my first time with it, definitely possible I'm missing something there as well) Really appreciate the help Ramhound! Jun 13, 2019 at 14:17
  • @AmeenAl-Khafaji - The simplest solution is to just upgrade to the current Insider Preview build that has WSL 2.
    – Ramhound
    Jun 13, 2019 at 14:58
  • Afraid no luck with this solution, current computer state is: PS C:\WINDOWS\system32> wsl -l -v NAME STATE VERSIONUbuntu-18.04 Running 2 winver output: Version 1903 (OS Build 18917.1000) Nvidia (1070 Ti) Driver: 435.27 Jul 10, 2019 at 18:14
  • I am confused. The only version of Windows 10 that I am aware that has WSL 2 currently is 20H1. 18917.1000 is 19H2 (i.e. a 1903 cumaltive update). Why are you providing this vital information in a comment?
    – Ramhound
    Jul 10, 2019 at 21:59

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .