Graphics issues (root 6.16, Debian 9 on Windows 10 WSL)

Hi,
I’ve installed a debian distro, then root and garfield++ on my windows system through the WSL. The X server is VcSxrv (latest version).
Everything compiles fine and works… until I start using non-trivial graphics.
I initially thought that the issues I saw were Garfield-related, but when I started to run root examples from the Graphics section, some run fine but some crash immediatly or are improperly displayed. The randomness makes me thing to some bad memory management, but I have no evidence to support this intuition. When starting the graphics/archi.C right after another example, I can get this error :
Error in : GLXBadCurrentWindow (TRootCanvas XID: 2621859, XREQ: 149)
I know that WSL is not meant for full-speed graphics use, but this behavior is strange. Any help would be much appreciated - it seems that I’m not the only one using WSL…


_ROOT Version: 6.16.00
_Platform: Debian 9 on Windows 10 WSL
_Compiler: gcc 6.3.0


I invite @bellenot to have a look.

I will need to setup a virtual machine with the same configuration, so don’t expect to have any hints before next week at most…
BTW, there are issues with all X servers on Windows (but not the same issues) so I would suggest to try another one (e.g. Xming) to see if the behavior is the same…

I’ve just run a few tests but at first sight XMing is fully stable for root :face_with_raised_eyebrow:
The performance, however, is much lower than with VcXsrv (but if that’s the price to pay, I’m fine with it)

So I’d now be back to my issues with the display of Garfield - which I guess should go into the Garfield section.

EDIT: and thanks for the tip :slight_smile:

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.