Comments (14)
Hi @milesbuckton, thanks! I just picked a wrong time. I can wait when you are done, no problem. Good luck!
from wsl2-popos.
Hi @milesbuckton ! Thank you for taking up on this. I would be glad to test. I can't find any changes in your fork, not even in the 20.10 branch. I remember to see some changes a few days back when I just glimpsed. Did you remove it? Or it's just me being stupid?
from wsl2-popos.
You're more than welcome to fork the repo!
The simplest way to upgrade would be to boot the provided export, upgrade to 20.10, then re-export the image using wsl.exe --export popos <ExportName>
.
As for creating an image from scratch: that requires you to create a new WSL instance based on the pop_os filesystem image from the live iso. You can then manually configure things to play nice with WSL (check "config/.bashrc").
This guide seems to broadly match the steps I took: https://gist.github.com/artman41/858450e2c29b239d8692213b684ada25
EDIT: I forgot to mention, GNOME doesn't work well without systemd. To get this working, I compiled a systemd shim for WSL called genie (https://github.com/arkane-systems/genie) inside the WSL instance, which is triggered in .bashrc
to initialize gnome with systemd.
from wsl2-popos.
Thanks!
I've tried to make a new image, but failed. The reason for the failure was that there is currently no support for Ubuntu/Pop 20.10 in Genie. A tried a few trials to make it work but I always failed, even with the latest release of Genie.
After two days of trials, I've decided to wait a bit and see if things evolve.
from wsl2-popos.
Hi @xblahoud, I managed to upgrade the Pop!_OS 20.04 instance to 20.10, then I built genie 1.34 (changed the systemd-timeout
setting to 5s), and finally altered the .bashrc
genie commands slightly. After this I was able to run Pop!_OS 20.10! ππ See below:
You can review my fork for more details. It includes the WSL2 instance split into multiple volumes (due to the Github 100MB file size constraints)!
Thank you to @aidenfoxx for creating the base to make this all possible! βI tried multiple times to get this right using the Ubuntu 20.04/20.10 base, but to no avail!
from wsl2-popos.
Nice! Good job man. Looks good to me, and if it works, it works.
I'm not gonna continue to support my repo since it was really just an experiment, but if you wanna keep it going, that's great. π
from wsl2-popos.
Thank you @aidenfoxx...I couldn't have done it without you! π€π€ You did some great work here, and kudos for putting it out there. π I'd like to keep it going - and I'll try to contribute to it when I get the chance. Hopefully I can upgrade the 20.10 base to 21.04 when it comes out. π
from wsl2-popos.
βΉοΈ One thing I found out after the fact was to change one of the .bashrc
config settings to: export LIBGL_ALWAYS_INDIRECT=0
.
This enables OpenGL support which does work. π See the Graphics property below, and compare it with the one above:
π‘ Bear in mind: this will need to be changed within the WSL2 instance sudo nano ~/.bashrc
.
from wsl2-popos.
That works? When I set up the repo initially, I would get a black screen without setting LIBGL_ALWAYS_INDIRECT=1
. Might be something that fixed itself with a later version of WSL. π€·
from wsl2-popos.
It does...can you believe it!? πI tried it with Steam
. π
from wsl2-popos.
Hey @xblahoud, you're welcome. π Sorry, it's not you being stupid - I did remove it temporarily. I wanted to align my origin master
(fork) with the upstream master
. The reason is the following:
- I've created a feature branch called
20.10
where I'm still busy adding all the commits. (I should be done in the next 3 hours, or so.) - I want to see if I can squash the feature branch
20.10
commits into my originmaster
with a pull request (PR). I'll let you know once I'm done.
from wsl2-popos.
Hi @xblahoud, OK - my idea π‘ worked - and it's done! πππ» You'll notice that my origin master
is only one commit ahead now. I deleted the feature branch 20.10
, as it's no longer needed. Please clone the repo, and test it. Let me know if it works for you. π
P.S. Try to switch on OpenGL (as described above) after you've tested that the non-OpenGL is working. π GNOME performs much better with OpenGL turned on! π
from wsl2-popos.
@milesbuckton, it works! Both the clean system and the OpenGL support. Thank you very much!
from wsl2-popos.
It's my pleasure @xblahoud...I'm delighted that it all worked out in the end!πππ»πΎπ₯ Thank you for taking the time to test on your side! π Enjoy. πΈ
from wsl2-popos.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wsl2-popos.