5

I've got Ubuntu 16.04 running in Windows 10 16251.0 as a Linux subsystem, and I've got Xming-mesa 6.9.0.31 installed.

I launch Xming using Xming :0 -multiwindow -clipboard

Then in my Ubuntu bash shell I type export DISPLAY=:0 and I can launch graphical applications in Xming.

However, I do not get accelerated graphics, so when I launch an editor (e.g. sudo spyder3), I have to deal with the jerky scrolling and such that you get without acceleration.

How do I fix this? I'm sure my video card (AMD RX480 latest drivers) supports OpenGL, but for some reason I'm not activating it correctly.

1
3

Run export LIBGL_ALWAYS_INDIRECT=1 in WSL to force rendering to happen on the Windows side of things.

16
  • export LIBGL_ALWAYS_INDIRECT=1 export DISPLAY=:0 sudo spyder3 No change :(
    – geofurb
    Aug 8 '17 at 20:04
  • @geofurb What if you try it with glxgears?
    – Aido
    Aug 8 '17 at 20:06
  • How would I do that?
    – geofurb
    Aug 8 '17 at 20:06
  • glxgears isn't realted to spyder3, I want you to see if LIBGL_ALWAYS_INDIRECT impacts glxgears.
    – Aido
    Aug 8 '17 at 20:07
  • 1
    When I use this with -wgl it makes glxgears far slower. The only smooth animation is no -wgl and no LIBGL_ALWAYS_INDIRECT.
    – user541686
    Apr 18 '19 at 23:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.