> Please note that for the first release of WSLg, vGPU interops with the Weston compositor through system memory. If running on a discrete GPU, this effectively means that the rendered data is copied from VRAM to system memory before being presented to the compositor within WSLg, and uploaded onto the GPU again on the Windows side. This is a pretty big limitation. Hopefully it can be addressed soon.
It's not amazing but a quick calculation says that a full 1080 screen will generally transfer in just under half a millisecond.
Windows Subsystem for Linux GUI
141–150 of 473 posts
Re: Windows Subsystem for Linux GUI
#142I wonder what Linux exclusive software they are hoping to support. Everything I use in my Ubuntu daily driver has a Windows build or corollary app. I get how ‘you never have to leave Windows’ is a nice thing for their business, but I don’t see this being a reason I would stop dual-booting. The only reason I run windows in the first place is for a few apps, mostly games. Otherwise I really enjoy the bloat-free, ad-fre…
As someone who uses Windows as their main driver, I will personally find it a useful way to test/debug our Electron based app on Linux. Right now I’m using a full VM. When you consider that Edge is available for Linux, MS could very well be using WSLg to develop it. So it seems to me that this just makes it easier to anything you need to do on Linux, “on” Windows. Of course making it easier for people on Windows to m…
WSL2 is also a full VM
Re: Windows Subsystem for Linux GUI
#143Earlier quoted context omitted.
Accessing the Windows filesystem from WSL and vice versa is extremely slow, so running for example your IDE in WSL and having your code etc. stored in WSL is useful. I think that is one of the big usecases. It's already kinda supported in vscode, where it runs a vscode server in WSL and Windows just runs the frontend. It's useful for me when developing dotnet intended for Linux as I can store the code in WSL and be a…
Are you talking about WSL1 or WSL? Wsl2 is much much faster due to having a virtualized real linux kernel running
WSL2 Linux apps now get proper performance now but if your IDE is on the Windows side, access time to project files on native Linux partition is terrible.
Re: Windows Subsystem for Linux GUI
#144Earlier quoted context omitted.
Accessing the Windows filesystem from WSL and vice versa is extremely slow, so running for example your IDE in WSL and having your code etc. stored in WSL is useful. I think that is one of the big usecases. It's already kinda supported in vscode, where it runs a vscode server in WSL and Windows just runs the frontend. It's useful for me when developing dotnet intended for Linux as I can store the code in WSL and be a…
But I mean come on, they're Microsoft. If they really wanted filesystem access to be efficient across systems, we'd have it by now. Although convenient, I doubt that's on their list of primary motivations for doing this.
Here's one of the developers saying it is hard back in the WSL days.
https://github.com/Microsoft/WSL/issues/873#issuecomment-391...
The reason makes sense to me, but I'm not an expert. Maybe you could expand on why you think they could do it but chose not to?
Re: Windows Subsystem for Linux GUI
#145> Please note that for the first release of WSLg, vGPU interops with the Weston compositor through system memory. If running on a discrete GPU, this effectively means that the rendered data is copied from VRAM to system memory before being presented to the compositor within WSLg, and uploaded onto the GPU again on the Windows side. This is a pretty big limitation. Hopefully it can be addressed soon.
It's not amazing but a quick calculation says that a full 1080 screen will generally transfer in just under half a millisecond.
Re: Windows Subsystem for Linux GUI
#146I just might switch to linux instead.
Re: Windows Subsystem for Linux GUI
#147I don't want to want this, but I do. Only semi-related but what I really want is for easy windows apps on linux that work without fail. I prefer my linux box and generally hate the windows ui (don't get me started on windows settings or audio). I've tried switching to linux full-time but I don't know if I can hack it. Games are 90% there and I can do without the few that don't work with proton, but there are just too…
Which apps? Not that it makes a difference for this conversation, but I'm interested in keeping up to date with what the "killer apps" are that keep people from switching.
At the simplest level, it re-maps ^H to the left cursor arrow, ^N to PageDown, etc.
But it gets more complicated: ^D maps to seven down cursor arrows (i.e. it moves the cursor down seven lines), ^U in the opposite direction. ^C usually (more details below) maps to ^Left (i.e. go to the beginning of the word), Shift-^Right (select to end of word), and ^C (copy selected text). (Notice the final ^C does not cause recursion!)
^A once goes to the beginning of the line, ^A twice goes to top of screen (I forget the exact keystrokes it emits, but this works with most apps), and ^A thrice goes to the beginning of the file. Analogously for ^E, but end.
Finally, it has two modes. In the normal mode, all the cursor control keys do their normal cursor movement thing. But type ^Q, and the cursor keys are now in select mode: ^H outputs Shift-Left, i.e. selects the character to the left, etc. Drop out of select mode with ^C (copy selection--different from what I described above!), ^X (cut selection), or ^Q again (do nothing with the selection).
I'd love to be able to reproduce this kind of behavior in Linux. I'm sure it's possible, but I don't know enough about keyboard re-mapping, or keyboard drivers, to do it.
Re: Windows Subsystem for Linux GUI
#148I wonder what Linux exclusive software they are hoping to support. Everything I use in my Ubuntu daily driver has a Windows build or corollary app. I get how ‘you never have to leave Windows’ is a nice thing for their business, but I don’t see this being a reason I would stop dual-booting. The only reason I run windows in the first place is for a few apps, mostly games. Otherwise I really enjoy the bloat-free, ad-fre…
It looks like using the method described in the link below it’s now possible to mount ext4 drives via WSL2 and even browse them in File Explorer:
https://superuser.com/a/1630438
It’s not clear if they are also writable or not, I’m off to try it!
Re: Windows Subsystem for Linux GUI
#149Re: Windows Subsystem for Linux GUI
#150Earlier quoted context omitted.
Which apps? Not that it makes a difference for this conversation, but I'm interested in keeping up to date with what the "killer apps" are that keep people from switching.
If you're talking about Windows apps that keep me from switching to Linux, I have an oddball one: it's a keyboard re-mapper that I wrote back in Windows 3.1 and still use. It does the same re-mapping in every application (except for some reason in Microsoft Edge). It's not a simple 1-for-1 mapper, which I think is readily available in Linux. At the simplest level, it re-maps ^H to the left cursor arrow, ^N to PageDow…