Update to my update

It is possible to have coot fully functional under WSL2 with the native openGL on.
The caveat is :
- You need a full linux desktop environment installed (xfce4 for me)
- You need to use the host X server (VcSrv in my case) as single window, so you lose a bit of the seamless integration with windows in that case, but you have to do that only with coot (or any openGL software)
after starting the DE, coot will work normally with very decent speed, the upcoming direct hardware access for the VM may also improve performance.

In these conditions full CCP4 (or everything I tried at least) can work relatively seamlessly in windows while using the linux version.
(it actually works better than the actual windows version imho)

Clément


On Thu, 19 Mar 2020 at 14:56, Clement Degut <[log in to unmask]> wrote:
Immediate update :

If you use VcXserv, you need to start it with all default option, and generate a config file.
Then change in the file wgl to False.
Restart computer (yes)
And start VcXserv with the modified config.
If you simply deactivate native openGl via the gui nothing is working anymore for some reason, it must change another option somewhere.

doing that the display of coot is perfectly fine, just a bit laggy, as i guess it's full software render, but usable (with a beefy CPU).

Clément

On Thu, 19 Mar 2020 at 14:48, Clement Degut <[log in to unmask]> wrote:
The performance are massively improved in WSL2 versus WSL1, so maybe it's why you had bad memory of it ?
WSL2 is currently only available in insider fast ring, but will be for everyone with next major update (v2004) in few weeks.

The main problem is, while you can use the right toolbar by simply detaching it, selecting residues is almost impossible as the pointer is still using the main UI as reference, but the 3D display  is away, so you need to click far from the residus you try to select.

I am playing around with the xserver options, but am not sure what I am doing with that windows X server.
I'll update if I find a solution.

Clément

On Thu, 19 Mar 2020 at 13:31, Paul Emsley <[log in to unmask]> wrote:
On 19/03/2020 12:43, Clement Degut wrote:
>
> I have been recently trying to use ccp4 in windows subsystem for Linux 2 (Ubuntu distribution), everything i
> tried run perfectly smoothly, including graphical interfaces.

I am pleasantly surprised - when I tried that (some time ago) the graphics performance as terrible. Perhaps
you have better hardware.

> My only problem is with coot (latest build), the interface is working fine, as well as the 3D graphical. The
> only problem is that the graphical window is offset from the rest of the UI (see screenshot).
> So although it looks like everything would work smoothly it's not really usable.

What, would you say, is the biggest problem?

> I guess it comes from the absence of GPU access under WSL2 and so no proper display driver, but does anyone
> had this problem? (and managed to solve it).

FWIW, I have not seen this problem before (and don't know how to fix it)

It seems to me an X server problem (or configuration issue). Have you tweaked or disabled the native OpenGL
options on the X server?

> Would be very useful for people working from home without a full linux dual boot.

Hmm.

> In a more general note, it seems that WSL2 will be able to replace windows specific build very effectively
> in the very near future.

For everything other than OpenGL graphics (and maybe the Cloud would also be problematic), yes, it seems so.

Paul.


To unsubscribe from the CCP4BB list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=CCP4BB&A=1