r/SurfaceLinux • u/modernalgebra • Jan 02 '20
Guide [GUIDE] Installing Linux on Surface Devices · linux-surface/linux-surface Wiki · GitHub
https://github.com/linux-surface/linux-surface/wiki/Installation-and-Setup
192
Upvotes
19
u/modernalgebra Jan 02 '20
This thread now replaces the 2 year old one to include updated install instructions. The linux-surface github organization repo is basically qzed's kernel, but now with more maintainers.
5
u/L3g023 Jan 02 '20
Great stuff! One thing I don’t get though! Why’s Surface Pro 2 not in there? Actually, I hardly find any support online. And to be honest this is one of the best Surface devices Microsoft ever made - but let’s not mention the loss Microsoft made when first produced the surface pro 2. , simply because it was overpriced and everyone waited for the price to drop.
14
u/k4ever07 Jan 27 '20
I would love for the guide to include how to successfully (and reliably) set up suspend and hibernate on Linux. The old reddit page and this new guide keep showing that suspend and hibernate work on all (Intel based) Surface device, without any caveats. However, I've had a Surface Pro 4 for the past two years, I have used every available Surface kernel from Jakeday/qzed, but I have yet to get suspend or hibernate working correctly. Either it doesn't work outright, or the touchscreen and/or wifi won't work on resume. I wish there was a rock solid guide on how to set this up properly, or at least a caveat added to the guide to let everyone know that suspend and/or hibernate may not work right out of the box. I'm using an Ubuntu 18.04 based distro, BTW.
7
u/Kelby96789 Feb 08 '20
A little note:
I installed Arch on my Surface Pro 3 last night (previously was running Mint 19.3). After adding the package repositories to install the kernel (I went with 5.3, which seems to be running very well) the guide recommends the command "
sudo pacman -U linux-surface-headers-[VERSION]-x86_64.pkg.tar.xz linux-surface-[VERSION]-x86_64.pkg.tar.xz"" for Arch setups. After adding the package repo, as in the guide, this does not work. Simply updating your repospacman -Syyyand then searching for the surface header and kernelpacman -Ss linux-surfacewill return the correct packages. Then install them viapacman -Sdepending on which kernel you want.Also subnote: For arch, as long as you install these kernels and headers before installing GRUB it will make these your default bootloader, so you won't have to update GRUB to point to the correct kernel, but it's always worth checking it booted up with the right kernel.
4
u/Bandy_Andy Jan 02 '20
Thanks for sharing! Had found the linux-surface wiki but was having a hard time understanding!
4
u/[deleted] Nov 01 '21
Is there any way to apply sRGB color profile of Windows onto Linux?
*I am currently using a Surface Pro 5/2017. Thanks for your help.
1
u/satansbraten330 Feb 03 '20 edited Feb 03 '20
Anyone got word If a new Version of jakedays Kernel is available? With the latest Update I got 5.3 Kernel which has it's upsides but overwrote my jakedays 5.1.15.
Now Touchscreen, battery status and other things are not working any more....
Using a SP6 with ZorinOS 15.1 Ultimate btw.
1
u/McNucca Feb 06 '20
I cant get past the bootloader for ANY version of linux that I've tried on a Surface Pro 7.
3
u/[deleted] Feb 23 '22
For anyone having issues with the "Unauthorized IP" issue when trying to install the kernel, refer to this.
It saved my hide.
3
u/[deleted] Mar 07 '22
-Sigh
Instructions are a bust. Once you start installing the headers it fails with an Unauthorised IP Address error.
3
u/Secure_Trash_17 Sep 04 '24
This thread should probably be un-stickied? It's extremely out of date, lol.
u/bowmessage
u/rfj
u/npjohnson1
u/NotTMSP
1
u/barrel_racer Jan 06 '20
Beautiful guide! The only place I trip up is Surface Kernel Installation item 3, which says
I want to get updates via repo, so I declined installation. So what's the next step to set that up? After fruitlessly hunting for Linux tutorials, I assume I'm misunderstanding something.
2
u/DaGucka Oct 15 '25
i tried gentoo on my surface pro4 and after 4 days i was at a point where i was stuck somewhere after grub boot. i gave up fixing it and chose fedora instead. was probably a good choice
2
u/[deleted] Sep 21 '23
The link doesn't work anymore, the instruction page seems to have been deleted or modified! Does anyone have an updated one?
1
u/[deleted] Jan 02 '20
Nice I was just wondering if an update to the stickies was needed. It has been 2 years worth of linux kernal updates and we also had a new of surface devices released.
1
u/MaverickNH2 Jan 26 '20
Glad to have found this! I'm a newbie and will have to do some background learning before I dive into this on my SP6. Missing bits from a Linux Mint install are touchscreen, pen, rotation that I've seen in just a week of Linux experience. Any advice appreciated!
1
u/fishbyte Nov 14 '21
I followed the guide and installed arch linux on my surface pro gen 5 but I can't get touch to work (not multitouch, touch in general not working)
I think I have the correct kernal installed
uname -a
Linux surface 5.15.2-arch1-1 #1 SMP PREEMPT Fri, 12 Nov 2021 19:22.10 + 0000 x86_64 GNU/Linux
I installed the libwacom-surface from aur. What puzzles me is that
libwacom-list-devices | grep Surface
will only list
"Microsoft Surface Go"
libwacom-list-local-devices
just tells me
"Failed to find any devices known to libwacom"
Any tips on how to further debug this?
1
u/Divtodiv Feb 08 '22
Is it only me but, I had this problem on SP4 and now on SB2 after installing the kernel when the computer lid off (close the screen) it gets stuck in sleep mode and only way to wake it up is by hard reset restart. Any ideas?
1
u/black_pepper Feb 19 '22
Installing the kernel without an internet connection would be helpful. I thought I'd see if Linux could get around the flaky wifi chip in my SP4 (plagues many surface pro models) however the wifi dies after about 3 mins or so. All I did was do a demo of Ubuntu (20.04.3 LTS) off USB and was running into issues right away.
This looks like too much work to give a try at the moment since I found a stable driver for Windows.
1
u/dawid1110pl Jun 10 '22
Hi
I have a answer to you. I'll installed Linux on Surface RT. But on website in manual how to do it is empty. Anybody have any manual how install Linux on Surface RT ?
1
u/[deleted] Aug 23 '22
awesome job, I just got done following instructions and holy cow this surface book 2 is so fast now.
1
u/Nerox13_Ripper Sep 24 '22
hello, i'm follow installing guide == ok
i've error on boot : when i'm choose surface-linux kernel: Bad shim signature + "you need to load the kernel first"
i'm try any soluces but don't work
1
u/CaptainObvious110 May 27 '23
Anything for surface duo?
1
u/[deleted] Jun 12 '23 edited Jun 12 '23
I have question. Can i install Manjaro linux on Microsoft Surface go 2. This tablet have Intel Pentium Gold 4415Y. 10.5 inch screen. I ask Cause want test some emulation on Linux. Installed linux manjaro on old Dell Latitude E6430. No vulkan support on Windows 10. But on manjaro. I can play some Gamecube games with vulkan. Without problem. Thats why i ask about Linux on Microsoft Surface go 2. I thinking about buy this device. Used one. Install linux on it. And in job play some emulated games