External Email - Use Caution
Thanks for the tip Ruopeng!
Just tried MobaXterm. Nice piece of software!
I had to enable hardware acceleration (mobaXterm -> settings -> X11 -> OpenGL acceleration -> Hardware) for freeview to work at all, but it worked-now the configure overlay window does not freeze.
Two draw backs though: -Rendering behaves weirdly. Every now and then (within few seconds), while just moving the mouse, the brain just disappears, and only reappears when I rotate it by click-and-drag. It does not prevent one to get something done, but it is frequent enough to be quite disturbing :-( -Graphics seem to only go through the (moba)Xserver when the wsl is launched from within mobaXterm. When launching wsl through other means (e.g. command prompt), freeview does open but the window outline looks different and the initial problem is back, as if graphics go through another Xserver... (and by the way, I completely removed Xming !)
I am generally confused with Xserver stuff, but does the last point suggest that wsl in Windows 11 (build 22000) has its own Xserver-like capability? Would make sense with Windows upping its game for the integration wsl graphics into the windows desktop (https://secure-web.cisco.com/1WiSJsgR_rkzEwjyT1ydiRFw_EKqkfi02STKKjfu1AoEsOZ...).
Any more advice on either (1) getting moba render to work more smoothly, (2) having wsl actually use Xming or (3) having freeview and native wsl graphics live happily together?
Thanks a lot for the help and Good night! Sébastien
External Email - Use Caution
Update: Seems like indeed, Windows is now doing its own Xserver-like thing. The most recent wsl update bundles what they call WSLg, which seems kind of a wsl submodule for graphics (freesurfer@nmr.mgh.harvard.edumailto:freesurfer@nmr.mgh.harvard.edu). It is possible to disable this WSLg (https://secure-web.cisco.com/1xuWxfLdEpuA_pe-9ZQ8WWCxX2eyy5zIJwLhzwugjZr3AgV...), which presumably would allow one to use the good old Xming, but I have not tried it yet.
Should Freesurfer dev consider having a look at this WSLg thing?
Cheers! Sébastien
From: Sebastien Proulx Sent: March 16, 2022 9:10 PM To: RWANG4@mgh.harvard.edu Cc: freesurfer@nmr.mgh.harvard.edu Subject: Re: [Freesurfer] bug: freeview's "configure overlay" window frozen (Ubuntu18 in wsl2 on Windows 11)
Thanks for the tip Ruopeng!
Just tried MobaXterm. Nice piece of software!
I had to enable hardware acceleration (mobaXterm -> settings -> X11 -> OpenGL acceleration -> Hardware) for freeview to work at all, but it worked-now the configure overlay window does not freeze.
Two draw backs though: -Rendering behaves weirdly. Every now and then (within few seconds), while just moving the mouse, the brain just disappears, and only reappears when I rotate it by click-and-drag. It does not prevent one to get something done, but it is frequent enough to be quite disturbing :-( -Graphics seem to only go through the (moba)Xserver when the wsl is launched from within mobaXterm. When launching wsl through other means (e.g. command prompt), freeview does open but the window outline looks different and the initial problem is back, as if graphics go through another Xserver... (and by the way, I completely removed Xming !)
I am generally confused with Xserver stuff, but does the last point suggest that wsl in Windows 11 (build 22000) has its own Xserver-like capability? Would make sense with Windows upping its game for the integration wsl graphics into the windows desktop (https://secure-web.cisco.com/1f8_qYRoWfzh3LnvGLCChtbTFIReRwBwJOvbphpBYgDDaXk...).
Any more advice on either (1) getting moba render to work more smoothly, (2) having wsl actually use Xming or (3) having freeview and native wsl graphics live happily together?
Thanks a lot for the help and Good night! Sébastien
freesurfer@nmr.mgh.harvard.edu