Dear experts/developers,
I installed the latest ROOT (6.24/06) on a Windows 11 with WSL2 (which has native GUI support) and found a weird problem with graphics.
Some details:
It is not a fresh Windows, but updated from W10, although it did not have WSL installed before, so it is a fresh WSL install.
As per the recommended ROOT instructions
with this post from @James-Carroll
and MicroSoft’s instructions for WSL, I did this (with reboots where needed):
- Turned on these Windows features: “Virtual Machine Platform” and “Windows Subsystem for Linux”, although it seems that the first one (VM) is not really needed, as I don’t have it enabled in a Windows 10 machine and Ubuntu and ROOT run well, with WSL1.
- Contrary to MS’s suggestion, I did not install a vGPU driver (see further below), as I expected it should only/mainly affect performance, but not compatibility.
- Installed WSL and updated it; it automatically chose WSL2 (no need to change as is needed in W10).
- Installed Ubuntu 20.04 LTS and updated it.
- Installed ROOT dependencies (from above post), and ROOT (precompiled).
I did not install an X server, which should not be needed in this case.
With the above, ROOT runs and I am able to open TBrowser and TCanvas windows, for instance, but it is impossible to interact with them; and by the way, these windows also take several seconds to show up, so graphics performance seems worse than with WSL1 and an X server, at least for ROOT.
When clicking on any option (e.g. File, Edit,…), or right-clicking, the dropdown menus show up in apparently random (different every time) places on the screen. Moving the mouse as if the menu were in the right place shows that the ‘cursor’ is moving in those dropdown popups, because the options get highlighted accordingly, but clicking does nothing; looks like the mouse movement is going to those popups but the clicks are going where the mouse is actually located; if the mouse is hovered on the popups, these don’t react (they don’t know the mouse is there).
Here is a view showing an example:
I already installed the vGPU driver, for AMD in my case, and it did not fix it; in fact, the screen capture was done after installing this driver.
I’m wondering if anybody has seen something similar or it’s just my system --maybe not an issue with Intel or NVIDIA graphics?
Please read tips for efficient and successful posting and posting code
ROOT Version: 6.24/06
Platform: Windows 11
Compiler: Not Provided