Windows Subsystem For Linux on Arm based Surface Pro X

  Переглядів 28,315

Gary Explains

Gary Explains

День тому

The Surface Pro X is Microsoft's first 2-in-1 running a full version of Windows 10, Windows 10 on Arm. Since it is Windows 10 it also supports the Windows Subsystem for Linux (WSL). The great news is that the Linux binaries are native ARM 64-bit AArch64.
Windows Subsystem for Linux (WSL) Tutorial & How To:
• Windows Subsystem for ...
Open GUI apps on Windows Subsystem for Linux (and on Raspberry Pi):
• Open GUI apps on Windo...
Introduction to Android app development: www.dgitacademy.com
Let Me Explain T-shirt: teespring.com/gary-explains-l...
Twitter: / garyexplains
Instagram: / garyexplains
#garyexplains

КОМЕНТАРІ: 127
@richarddr1234
@richarddr1234 4 роки тому
Gary seems to be the only UKpostsr who is genuinely excited about Windows running on ARM. Not surprisingly, he's the only one who seems to know what he's talking about. All the other UKpostsrs just dismiss the entire Windows on ARM as "not able to run 64-bit apps."
@lawrencedoliveiro9104
@lawrencedoliveiro9104 4 роки тому
While I appreciate Gary’s knowledge and enthusiasm (which is why I’m here to watch), the market reality is that this is shaping up to be yet another Microsoft failure. And this video is just reinforcing the irony of the whole situation: notwithstanding this is supposed to be a Windows device, the only way to get native 64-bit binaries on it is to run Linux.
@circuit10
@circuit10 4 роки тому
@@lawrencedoliveiro9104 You can download native ARM exe files. There just aren't many because of the lack of popularity. It's the old "you need users to get apps and apps to get users" problem.
@lawrencedoliveiro9104
@lawrencedoliveiro9104 4 роки тому
@@circuit10 Funny how that problem only afflicts proprietary platforms.
@circuit10
@circuit10 4 роки тому
@@lawrencedoliveiro9104 Well not exactly, but it's true that it doesn't help.
@circuit10
@circuit10 4 роки тому
@@lawrencedoliveiro9104 By the way, I'm not saying that Windows is great. I'm using Ubuntu as my main OS. I just like the idea of going to a more power-efficient architecture.
@SCIENindustries
@SCIENindustries 4 роки тому
finally some proper review of that product 🤗
@xxISHOWTiiMExx
@xxISHOWTiiMExx 4 роки тому
Hello Professor! Thank you for this review. I can’t believe others haven’t shown this off yet.
@commentarytalk1446
@commentarytalk1446 2 роки тому
This is a very well chosen video, Gah-Reh!! I'm really impressed with the expanding use cases for this machine. Thank you so much for running through this. I've enjoyed a lot of your other videos but nothing like a directly applicable run-through.
@Manuel-rl6um
@Manuel-rl6um 4 роки тому
Thanks Gary! You seem to be trying all those things I would try if I would have one Surface Pro X. Keep it up!
@luisgonzalez1637
@luisgonzalez1637 4 роки тому
God I've been waiting for a video of someone trying this ever since I heard WSL was being supported on these snapdragon machines. God Bless you Gary
@donporter8432
@donporter8432 4 роки тому
Good to know. Thanks
@TylersTechNow
@TylersTechNow 4 роки тому
Good stuff Gary
@JasonStevens
@JasonStevens 4 роки тому
I've been using it on the Asus NovaGo. Great fun indeed!
@rena-tc4hy
@rena-tc4hy 2 роки тому
Thank you so much,
@GaryExplains
@GaryExplains 2 роки тому
You are welcome!
@BenjaminMudiaga
@BenjaminMudiaga 3 роки тому
Hi Gary. I have been following your videos for the last one year. Very educative. Welldone. Question: Have you tried running Windows 10X (pre release version) on Surface Pro X? It will be interesting to see if it works
@jorditribo94
@jorditribo94 4 роки тому
Interesting video
@Krispok0332sn
@Krispok0332sn 2 роки тому
Could you make a video for web development on microsoft surface pro x?
@antuelle78
@antuelle78 4 роки тому
Hi Gary, Just sharing some info on you remark concerning the kernel at 1:49. WSL 2 does include a kernel built by Microsoft 4.4.0-43-Microsoft. Not sure if this is the case on ARM, you should run a "uname -r" to check. Love your work, keep it up.
@GaryExplains
@GaryExplains 4 роки тому
I was using WSL 1 not 2.
@marcinbalcerzyk84
@marcinbalcerzyk84 3 роки тому
Gary, I try hard to install on Surface Pro x some web browser with GUI. You showed that Firefox does not work, neither today in WSL2 and Ubuntu 20, it looks for GPU on PCI even if you disable hardware acceleration. I tried Cromium for ARM64 but it does not install. Edge does not exist for Linux on ARM64 (albeit I can run Edge on Liunx on x64 machine with Ubuntu 18, no problem).
@zahidulislam2068
@zahidulislam2068 Рік тому
yes, useful. It gives you the magic-power!
@auslei
@auslei 4 роки тому
Can you do development on iPad?
@johnsimon8457
@johnsimon8457 4 роки тому
Don’t know what I expected, but it works exactly the same as x86. Nice! Neat how the windows store detects and provides an aarch64 distro instead of making it a “gotcha” And GUI apps over X ... still dreadful as always. VS code remoting works fine! It’s a linux development environment without the Linux hardware compatibility jank.
@1MarkKeller
@1MarkKeller 4 роки тому
*GARY!!!* *Good Afternoon Professor!* *Good Afternoon Fellow Classmates!*
@GaryExplains
@GaryExplains 4 роки тому
MARK!!!
@sonnyyyaji16
@sonnyyyaji16 4 роки тому
MARK!!
@rrektless
@rrektless 4 роки тому
Oh god, I've late for 2 months
@joeysandoval2511
@joeysandoval2511 4 роки тому
Oh yeah baby !
@mahkhi7154
@mahkhi7154 Рік тому
I think We can Make Chips for ASP.Net Core. Not Full ASP. IIS express and ASP.Net Core, work on Parralels / Macintosh ARM. We can Reverse Engineer, that to Support: ASP.Net Core, Apps.
@alexanderstreng4265
@alexanderstreng4265 4 роки тому
Can you run linux game with WSL Wine like?
@CrustyAbsconder
@CrustyAbsconder 4 роки тому
Thank you Gary. This all is way over my pay-grade, but I hope to learn. I wish there had been someone around like you back in the 1980's, when I was too scared of computers to touch them. Are there other AARM64 distros that are not in the Windows Store that you can install ? If so, are there any that are better than those listed ? If it can't play FreeCell ( Aisleriot ), and Gnome Mahjongg, then I do not have any use for it, yet, as that is the limit to my Linux prowess.
@GaryExplains
@GaryExplains 4 роки тому
I am glad you liked the video. I am almost certain that you can only install the distros from the Microsoft Store.
@lawrencedoliveiro9104
@lawrencedoliveiro9104 4 роки тому
If you want to learn about ARM, get a Raspberry π. Much cheaper than one of these, and more versatile, running full native Linux without Windows. And the GUI stuff works, too.
@alexandervolnov5749
@alexandervolnov5749 2 роки тому
Is there a way to install x86-64 version of WSL on an ARM device? I need to run a few x86-64 Linux apps that have no support for ARM.
@NexuJin
@NexuJin 4 роки тому
Great video showing development tools available for the Surface Pro X. But the ARM based Surface Pro X with the SQ-1 processor that doesn't have virtualization support yet like Hyper-V, could it be even considered an alternative solution for developers that requires the use of Docker (or Lando). That makes me curious or any virtualization even works: let say VirtualBox with Linux guest-OS running, in which docker/lando resides (this works on x86 based platform without Hyper-V, or Hyper-V disabled). In fact, will VirtualBox even run on the SQ1?
@pixelPlex
@pixelPlex 4 роки тому
VirtualBox only supports x86/amd64 CPUs. You would need to use Qemu for ARM CPU support, which is currently very limited and is restricted to certain ARM boards (eg Raspberry Pi).
@lorenzobilli6983
@lorenzobilli6983 4 роки тому
Hyper-V doesn't work, but the Windows Hypervisor is fully supported (and turned on by default actually). You can run any software that is compatible with the Windows Hypervisor Platform (latest Virtualbox releases should work). You can't use Docker at the moment, but you'll be able to use it natively with WSL2 (coming on stable branch in April).
@piiumlkj6497
@piiumlkj6497 4 роки тому
Here's an idea for a future video : programming languages and their best uses , like you used in the video (c/c++; go; rust ; c# ; visual basic ; python ...). Even comparison between similar languages in each domain would be great.
@GaryExplains
@GaryExplains 4 роки тому
That is indeed a good idea and it was on my TODO list. I made this video as a precursor ukposts.info/have/v-deo/f3mQimmwsYx11XU.html but at the time I don't think it did well, however looking at the stats now, it has done better over time... might be the right moment to put the idea back on my TODO list.
@DAVIDGREGORYKERR
@DAVIDGREGORYKERR 3 роки тому
can you not install the X.ORG Xwindows subsystem to let you have the Linux Desktop.
@1MinuteFlipDoc
@1MinuteFlipDoc 4 роки тому
Linux programs work flawlessly on wsl Intel machines?
@GaryExplains
@GaryExplains 4 роки тому
I don't know about flawlessly, but I haven't encountered any problems, but there are limitations. Check out the two WSL videos I mention and see for yourself.
@philliplanos
@philliplanos Рік тому
I wonder is JingOS has the capacity to be installed on the SPX I believe it might have been developed for ARM. Preferably Ubuntu Touch would find its way here lol
@swapnilkanyal
@swapnilkanyal 4 роки тому
you can use windows version of Libra office and Firefox
@GaryExplains
@GaryExplains 4 роки тому
LOL
@circuit10
@circuit10 4 роки тому
They're slow though unless they're built for ARM
@dmenisdevdevelopment7158
@dmenisdevdevelopment7158 4 роки тому
How about running a linux desktop using dual boot?
@JeffreyGordon
@JeffreyGordon 4 роки тому
...or better yet: SINGLE boot.
@skatcat743
@skatcat743 4 роки тому
You can't because qual¢omm is only interested in android, windows and suing apple & they don't contribute to the linux kernel unless its something to do with android.
@ayush_karn
@ayush_karn 4 роки тому
Yeah Debian can run on arm(and lot more distos)
@jamerican347
@jamerican347 4 роки тому
DmenisDev Development I personally tried. You can disable SecureBoot and get to GRUB2 bootloader. The issue is that you need a devicetree on ARM hardware. Since Qualcomm-Microsoft Q1/8cx is not open hardware, it’s very difficult to get all the hardware hooks. You can use an app called DeviceTreeCompiler to get some of the hooks but was not successful. If you want to follow someone who has made some progress, go here... www.reddit.com/r/SurfaceLinux/comments/dv2aie/surfaceprox_linux_kernel_booting_progress_doesnt/
@elcanosmanov7744
@elcanosmanov7744 4 роки тому
@@skatcat743 are not snapdragon drivers open source? So it should work
@Krispok0332sn
@Krispok0332sn 2 роки тому
Can it run Docker?
@SlyEcho
@SlyEcho 4 роки тому
Does the Visual Studio remote connection to WSL not work?
@GaryExplains
@GaryExplains 4 роки тому
No, it doesn't.
@ManmeetOberoi
@ManmeetOberoi 4 роки тому
@@GaryExplains But you can launch code from inside of ubuntu :)
@GaryExplains
@GaryExplains 4 роки тому
@@ManmeetOberoi On Intel WSL machines yes, but it is broken on Arm. I thought I said that in the video?
@seabrookmx
@seabrookmx 4 роки тому
@@GaryExplains hopefully this is fixed when they have a native ARM64 version of VSCode? I've heard rumblings about this. There's community Linux ARM builds for things like the Raspberry Pi so not insurmountable for MS.
@yiyinyu9679
@yiyinyu9679 4 роки тому
Is there ARM version of Docker that can be run on Surface pro X? If native WSL is available, Docker should be close. VS code + Docker is a better combination than VSC + WSL
@seabrookmx
@seabrookmx 4 роки тому
Sadly, not in the near future. Docker for Windows relies on Hyper-V which isn't supported in Windows on ARM. Same goes for WSL 2. I was curious why they kept WSL 1 around but after watching this video it makes sense. It's the only option (and a pretty good one at that) on ARM.
@yiyinyu9679
@yiyinyu9679 4 роки тому
@@seabrookmx all docker desktop/hyper-v does is to run a Linux machine and expose deamon, if docker can be run inside that WSL, windows arm can run docker, no? :)
@hanro50
@hanro50 4 роки тому
I think Libre office is expecting some gtk/KDE dependencies that typically ship with a desktop environment.
@lawrencedoliveiro9104
@lawrencedoliveiro9104 4 роки тому
If so, they should have automatically been pulled in by the Linux package-management system. Me, I’m inclined to put the blame on deficiencies in the X server.
@hanro50
@hanro50 4 роки тому
@@lawrencedoliveiro9104 From my personal experience with a few distributions over the years. There are times package maintainers forget to add in the metadata that tells Linux to install a set dependency.
@lawrencedoliveiro9104
@lawrencedoliveiro9104 4 роки тому
@@hanro50 That’s very rare in a stable release.
@hanro50
@hanro50 4 роки тому
@@lawrencedoliveiro9104 While true. You have to keep in mind that the amount of Linux users on Arm, excluding Android, that also need to be able to run Libre office is probably miniscule. So the likelihood of a slip up, like forgetting a dependency that's normally preinstalled in most arm distributions is significantly higher.
@lawrencedoliveiro9104
@lawrencedoliveiro9104 4 роки тому
@@hanro50 Considering that, as of 2017, there were over 12 million Raspberry π units sold, I’d say you’re wrong.
@haziqsembilanlima
@haziqsembilanlima 4 роки тому
would like to see compilation performance of aarch64 linux kernel, android image etc under wsl. I assume your wsl is now on version 2?
@lawrencedoliveiro9104
@lawrencedoliveiro9104 4 роки тому
8:19 A quarter megabyte for a simple hello-world executable in Rust?!
@xeriab
@xeriab 4 роки тому
Yes, Go and Rust intend to include the language runtime inside the compiled binary file. That's why Go and Rust programs are much more bigger than C/C++ programs.
@lawrencedoliveiro9104
@lawrencedoliveiro9104 4 роки тому
@@xeriab On Linux there should be a shared library, analogous to glibc, to reduce the size of the executable files.
@xeriab
@xeriab 4 роки тому
​@@lawrencedoliveiro9104 The way of putting the language runtime inside the produced binary is good when you need to distribute the binary without dependencies. I only use Linux so I always build my programs as shared library based once, and sometime I use UPX to reduce the size of libraries and binaries.
@lawrencedoliveiro9104
@lawrencedoliveiro9104 4 роки тому
@@xeriab Distributing binaries with included dependencies is a good recipe for bloatware. Better to let the distro maintainers build compact packages that will automatically pull in needed dependencies.
@xeriab
@xeriab 4 роки тому
@@lawrencedoliveiro9104 True, but in some rare cases it is inevitable!
@jagardina
@jagardina 4 роки тому
I suggest just installing Linux, the Mint version is my current favorite. But I can see how this could be useful.
@GaryExplains
@GaryExplains 4 роки тому
You can't install Linux (yet) on the Surface Pro X.
@GaryExplains
@GaryExplains 4 роки тому
The problem is that there is no standard way to boot Arm devices (no standard boot loader yet - although there are big changes happening in that area), plus this Surface Pro X has secure boot etc. There was some progress made with some other Arm laptops from Lenovo but it looks like most of that work has stopped.
@hanro50
@hanro50 4 роки тому
@First name The problem is the CPU architecture. This laptop is a lot closer to a arm based mobile phone than your run of the mill x86 compatible desktop/laptop. Considering the factors Gary mentioned. Getting Linux to run on that laptop would probably end up being an experience closer to ROM hacking on Android than anything else...
@stefanusayudha1853
@stefanusayudha1853 3 роки тому
if i can install linux (directly to the drive) i will buy this device
@swapnilkanyal
@swapnilkanyal 4 роки тому
why don't you use dual boot
@seabrookmx
@seabrookmx 4 роки тому
@Ryo Sanada well.. other than the fact that the bootloader is locked down on this device (so no dual booting) and Hyper-V isn't supported on ARM (so no VM's). But in theory, nothing stopping from either of these things being changed for ARM devices in the future.
@OxRashedxO
@OxRashedxO 4 роки тому
ARM vs x86 🔥 is coming soon.
@luisgonzalez1637
@luisgonzalez1637 4 роки тому
OxRashedxO Im putting all my chips on ARM, x86 is gonna die pretty soon
@damichi84
@damichi84 4 роки тому
Can it run Linux natively?
@GaryExplains
@GaryExplains 4 роки тому
No.
@gorana.37
@gorana.37 4 роки тому
Intel are in some deep, deep doo-doo.
@axvingaming152
@axvingaming152 4 роки тому
Great Videooo FIRSTTT BTWW
@neilmagno2708
@neilmagno2708 4 роки тому
3rd
@EliSantana
@EliSantana 4 роки тому
you-boontu
@Nikhil-ur1qm
@Nikhil-ur1qm 4 роки тому
First view first comment 🔥
@robinbruce7838
@robinbruce7838 3 роки тому
What
@GaryExplains
@GaryExplains 3 роки тому
What?
@ViewBothSides
@ViewBothSides 4 роки тому
I'd rather just run native Linux.
@GaryExplains
@GaryExplains 4 роки тому
Unfortunately that is not an option for the Surface Pro X (at the moment).
@hanro50
@hanro50 4 роки тому
From what I understand. The drivers for the Qualcomm chips inside the laptop aren't open source. So unless you take the time to reverse engineer those aforementioned drivers. Getting Linux on this thing is impossible for now.
@MrGerdbrecht
@MrGerdbrecht 3 роки тому
​@@hanro50 And thats exactly the reason i wouldn't buy it.
@skatcat743
@skatcat743 4 роки тому
Let me know when qual¢omm isn't the only windows on arm option because qual¢omm is an even shittier company than microsoft, google, amazon, or apple.
@jayantyadav4786
@jayantyadav4786 4 роки тому
Please enlighten me about why you think they are "shittier"
@lawrencedoliveiro9104
@lawrencedoliveiro9104 4 роки тому
@@jayantyadav4786 You didn’t know? arstechnica.com/tech-policy/2019/05/how-qualcomm-shook-down-the-cell-phone-industry-for-almost-20-years/
@granttaylor3697
@granttaylor3697 4 роки тому
Why don't you just install Linux, without Windows, that would be so much easier.
@GaryExplains
@GaryExplains 4 роки тому
LOL, it is in fact not easy at all. There are currently no working Linux distros for these types of laptops. Problems include secure boot, bootloaders, drivers, and more.
@jacobnathanielzpayag3885
@jacobnathanielzpayag3885 4 роки тому
This is literally double emulation. Why bother with WSL when there exist linux distros built for ARM?
@GaryExplains
@GaryExplains 4 роки тому
Literally it isn't double emulation. Where do you get the double from? Second, I don't think you can boot those distros on a Surface Pro X.
How did Microsoft screw this up? - Surface Pro X (SQ2) vs M1 Macbook Air
10:56
I Should NEVER Have Listened To Your TERRIBLE Linux Idea...
10:32
Dawid Does Tech Stuff
Переглядів 338 тис.
128-core MONSTER Arm PC: faster than a Mac Pro!
15:24
Jeff Geerling
Переглядів 387 тис.
The Surface Pro X - 1 Year Later
13:36
Brad Colbow
Переглядів 100 тис.
96 ARM cores-it's massive! (Gaming + Windows on Arm!)
13:52
Jeff Geerling
Переглядів 352 тис.
I Tried a Disney Secret Project!
11:33
Marques Brownlee
Переглядів 4,2 млн
M2 iPad Pro vs Surface Pro 9 - Is Windows on ARM Good now?!
18:10
Max Tech
Переглядів 261 тис.
Open GUI apps on Windows Subsystem for Linux (and on Raspberry Pi)
15:36
Gary Explains
Переглядів 126 тис.
NIX OS: the BEST package manager on the MOST SOLID Linux distribution
17:08
The Linux Experiment
Переглядів 288 тис.
Surface Pro 9 Review: Intel or SQ3?
10:00
The Verge
Переглядів 193 тис.
Linux On A Microsoft Surface Is AWESOME
7:28
Michael Horn
Переглядів 176 тис.
I Built a PC that Makes Coffee
23:16
Nerdforge
Переглядів 427 тис.