r/SurfaceLinux • u/lamagy • 7h ago
r/SurfaceLinux • u/CtrlShiftBSOD • 12h ago
Help What boot manager should I use to dual boot Linux and Windows on a SP8?
Pretty much the title. Grub isn't really good without a keyboard, I read that it works fine if I don't dual boot, but what are my options as a boot manager if I do?
r/SurfaceLinux • u/bybrooksco • 16h ago
Help Surface Studio 2+ on Linux: touch, thermals, pen and an RTX 3060 console patch, plus a Surface Dial daemon
galleryThere's not much out there on the Studio 2+ specifically, so I've written up what I needed to make it my daily machine (Omarchy, which is Arch + Hyprland):
Touch: the panel boots single-touch / mouse emulation. Fixed.
Heat: the package sits at 100 °C and throttles. Fixed.
Pen: a recovery procedure for when the tip goes dead.
GPU: loading the NVIDIA driver corrupts the panel, because the boot framebuffer sits at BAR1 + 0x10000 and nvidia-open only protects one at BAR1 + 0. A small patch plus a pacman hook gives working CUDA, with the desktop staying on simpledrm. Still open: nvidia_drm driving the panel. Pointers welcome.
https://github.com/bybrooksco/surface-studio-linux
And for the Surface Dial and Pen: re:dial, a userspace daemon with haptics, a tool ring and click gestures, plus the Studio pen's tail button, barrel button and eraser (Laptop/Pro pens aren't recognised yet). It's built for Omarchy; KDE, GNOME, COSMIC and Sway should work but are untested, and reports are welcome. https://github.com/bybrooksco/redial
Transparency note: I led the design and architecture, and the code was written with Claude Code under my direction. Using AI to write it is the main reason re:dial is open source for everyone instead of a product I sell. re:dial itself is free and always will be. Supporters can get new app profiles early, and every one goes open source after that.
Background: I'm an artist with an elbow injury, and this setup is how I work one-handed. More at https://bybrooks.co/pages/redial
r/SurfaceLinux • u/CtrlShiftBSOD • 1d ago
Help Grub not usable without a physical keyboard
Hi,
I have a SP8 with a dual boot of Windows and Ultramarine. Everything seems to work so far, but I still need a keyboard to select the system to boot in Grub. The virtual keyboard just flickers and isn't really usable.
But, I noticed, that the virtual keyboard works properly if I connect a physical keyboard before booting and I press any key when the menu starts. That way the virtual keyboard pops up properly and becomes usable in that session, but the thing is, needing to connect a keyboard to use a virtual one isn't exactly useful.
I don't know if this is an already known bug and if there are any fixes for it, I did my research and didn't find anything about this.
Thank you in advance!
r/SurfaceLinux • u/bluebonnetttt • 1d ago
Help Surface Book 2 with PopOS— switch or try to upgrade?
Hi! I have been running PopOS 22.04 on a Surface Book 2 with an Intel graphics card. I haven’t upgraded my OS in a long time (my bad) and tried to upgrade to PopOS 24 and it failed.
I have generally liked PopOS on my surface book, I didn’t really use the detachable screen / touchscreen / camera when I had windows on it. But lately things have been very slow, and PopOS 22 is going to stop being supported in April.
I mostly use my computer for scientific computing and browsing to internet.
Is there another ubuntu distro people would recommend for my needs? Has anyone else put PopOS 24 on a surface book 2? What has your experience been?
r/SurfaceLinux • u/wreckwriter09 • 2d ago
Solved 2 days later...
And with the help of Gemini AI, I finally got something on my Surface Pro 4 where everything works and its rock solid stable. I tried Ultramarine, Mint, Debian, and Ubuntu. Ended up with CachyOS. Its a bit weird being arch based but its completely stable. Gemini knows how to do it now!
r/SurfaceLinux • u/Nervous_Pea_2264 • 3d ago
Help Best touch-friendly distro for a Surface Pro 7+ (broken keyboard) used for dev work, Docker, and Claude?
Windows is killing performance and battery life on my Surface Pro 7+, so I want to move to Linux.
Key details:
Hardware: Surface Pro 7+ (Type Cover is broken, so I'm mostly using the touchscreen + on-screen keyboard).
Goals: Running Claude (CLI/Code & browser), app development, and Docker.
Needs: Good out-of-the-box touch gestures, reliable on-screen keyboard support, and easy compatibility with the linux-surface kernel.
Would Fedora Workstation (GNOME), Ubuntu, or something KDE-based be the least frustrating experience for a touch-first dev machine?
r/SurfaceLinux • u/me6me • 3d ago
Guide How I fixed 200 MHz throttling on my Intel Surface Laptop 4
TL;DR: thermald with a custom config.
My laptop kept dropping to 200 MHz under load, and I spent a while trying to fix it. Damn LLMs didn’t give me a clean solution right away. Here’s what didn’t help:
- Changing the CPU governor
- Changing the EPP setting
- Capping the CPU frequency at 3.5–4 GHz
- Capping PL1 at 20–25 W
- Running
thermaldwith defaults
Even with those changes, the CPU still dropped to 200 MHz under heavy load.
You can put hard limits on CPU frequency and PL1, but then the laptop runs like a potato.
Chassis heat soak seemed to trigger the 200 MHz drops, and CPU overheating sometimes caused them too. In plain words, heat was building up in the laptop’s case, as I understand it.
In my case, it looks like thermald only used the CPU temperature to decide when to reduce CPU power.
What we need is the Wi-Fi module temperature, which you can check with sensors.
sudo pacman -S lm_sensors
sensorsYou should see something like this.
iwlwifi_1-virtual-0
Adapter: Virtual device
temp1: +45.0°CThat’s the one we need. This should work on recent linux-surface and stock kernels that expose the iwlwifi thermal sensor. Tested on 7.3.4-arch1-1 and 7.3.4-arch1-1-surface
Install and enable thermald.
sudo pacman -S thermaldAdd the custom config at /etc/thermald/thermal-conf.xml
sudoedit /etc/thermald/thermal-conf.xml
<?xml version="1.0"?>
<ThermalConfiguration>
<Platform>
<Name>Surface Laptop 4 Custom</Name>
<ProductName>*</ProductName>
<Preference>QUIET</Preference>
<ThermalSensors>
<ThermalSensor>
<Type>x86_pkg_temp</Type>
<AsyncCapable>0</AsyncCapable>
</ThermalSensor>
<ThermalSensor>
<Type>iwlwifi_1</Type>
<AsyncCapable>0</AsyncCapable>
</ThermalSensor>
</ThermalSensors>
<ThermalZones>
<ThermalZone>
<Type>x86_pkg_temp</Type>
<TripPoints>
<TripPoint>
<SensorType>x86_pkg_temp</SensorType>
<Temperature>90000</Temperature>
<type>passive</type>
<ControlType>SEQUENTIAL</ControlType>
<CoolingDevice>
<index>1</index>
<type>rapl_controller</type>
<influence>100</influence>
<SamplingPeriod>2</SamplingPeriod>
</CoolingDevice>
</TripPoint>
</TripPoints>
</ThermalZone>
<ThermalZone>
<Type>iwlwifi_1</Type>
<TripPoints>
<TripPoint>
<SensorType>iwlwifi_1</SensorType>
<Temperature>52000</Temperature>
<type>passive</type>
<ControlType>SEQUENTIAL</ControlType>
<CoolingDevice>
<index>1</index>
<type>rapl_controller</type>
<influence>100</influence>
<SamplingPeriod>4</SamplingPeriod>
</CoolingDevice>
</TripPoint>
</TripPoints>
</ThermalZone>
</ThermalZones>
</Platform>
</ThermalConfiguration>thermald should pick this file automatically (if adaptive mode is inactive and there’s no auto-generated config).
sudo systemctl enable --now thermald.serviceI chose 90 °C for the CPU and 52 °C for the Wi-Fi module. You can tweak those a little. 55 °C didn’t work for me, so I lowered it to 52 °C and now I can compile as much slop as I want.
Maybe someone will find this useful.
Edit: I'm using Arch btw.
r/SurfaceLinux • u/KennenGosu • 4d ago
Help I have a Microsoft Surface 6 Pro. Which distro do you recommend?
As the title states.
I am kinda new to Linux and I have used Ubuntu, but I am wondering if thats a good fit. I just want to surf the web and watch videos and read manga mostly.
r/SurfaceLinux • u/CtrlShiftBSOD • 4d ago
Help Linux-Surface not working on SP8
Hi,
I was setting up linux surface on my Surface Pro 8 with Cachy Os, but the kernel doesn't work, it tries to boot but end up with a black screen until I shut it down.
Is there anything that I can do to fix this?
r/SurfaceLinux • u/OhNoAnyways_yah • 4d ago
Help Surface pro 5 overheat and slow performance
At first It was great and smooth, lately not so much. I'm using Ubuntu, cause I'm new to this. Added the surface kernel, but I would like another distro more gaming related and friendly, any tips/recommendations? Thxs in advance!
r/SurfaceLinux • u/Affectionate_Wall107 • 4d ago
Help Surface Laptop 5 HDD SCREW
reddit.comr/SurfaceLinux • u/nkmds • 6d ago
Help No luck booting to USB on Surface Pro 9?
reddit.comr/SurfaceLinux • u/Andy12100 • 6d ago
Discussion Surface Duo 2: mainline Linux, both screens, calls, and my own dual-screen compositor
galleryr/SurfaceLinux • u/absol3000 • 7d ago
Help CachyOS on Surface pro 7+ and ricing?
Hey people, I want to install linux on my surface pro 7+. Probably CachyOS or EndeavourOS because I want to try and run Arch on it without too much hassle. I would also like to make a rice using Hyprland or KDE (probably Hyprland). Is this something you would recommend or is it better to maybe go for fedora or something so it runs more stable?
r/SurfaceLinux • u/Astrox_YT • 9d ago
Help Surface Book 2 on Linux Mint: Marvell Wi-Fi keeps failing with reason code 15, any ideas?
reddit.comr/SurfaceLinux • u/Apprehensive_Corgi62 • 9d ago
Help Surface Book 2 - NVIDIA GTX 1060 stops working after detaching and reattaching the screen
Hey everyone,
I'm trying to figure out an annoying issue with the NVIDIA GTX 1060 in my Surface Book 2.
I'm running Omarchy (Arch-based) with the Linux Surface kernel, and the GPU works perfectly as long as I don't detach the screen. nvidia-smi detects it, the driver loads normally, everything is fine.
The problem starts as soon as I detach the screen and attach it again. The GPU is still detected by lspci, but the NVIDIA driver is no longer bound to it, nvidia-smi says No devices were found, and the NVIDIA render node disappears.
I checked the kernel logs and found this:
pcieport 0000:00:1c.4: pciehp: Slot(4): Link Down
pcieport 0000:00:1c.4: pciehp: Slot(4): Card not present
[drm] [nvidia-drm] [GPU ID 0x00000200] Removing device
[drm] [nvidia-drm] [GPU ID 0x00000200] Unloading driver
NVRM: Attempting to remove device 0000:02:00.0 with non-zero usage count!This looks very similar to NVIDIA issue #1451, which describes a deadlock when hot-unplugging a GPU in a detachable Surface Book base.
My setup:
- Surface Book 2
- NVIDIA GTX 1060 Mobile (Pascal)
- Intel UHD 620
- Omarchy / Arch Linux
- Linux Surface kernel
7.2.15-arch1-1-surface - NVIDIA proprietary driver
580.178.04 - Hyprland / UWSM
- Surface DTX daemon installed and running
I noticed that Hyprland has open handles to /dev/nvidia0, /dev/nvidiactl and the NVIDIA render node before detachment.
I also looked into the workaround proposed in issue #1451, involving RMForceExternalGpu=1. Unfortunately, my driver package only contains the proprietary RM binary, so I don't have the source files needed to apply that patch. And since the GTX 1060 is Pascal, switching to the open NVIDIA kernel modules isn't an option either.
Has anyone managed to get the NVIDIA GPU working properly after detaching and reattaching the screen on a Surface Book 2?
I'm particularly interested in whether there's a safe way to unload the driver before detachment, or whether anyone has found a workaround using DTX, PCI power management or ACPI.
I'd really like to keep using the detachable GPU instead of having to disable it.Hey everyone,I'm trying to figure out an annoying issue with the NVIDIA GTX 1060 in my Surface Book 2.I'm running Omarchy (Arch-based) with the Linux Surface kernel, and the GPU works perfectly as long as I don't detach the screen. nvidia-smi detects it, the driver loads normally, everything is fine.The problem starts as soon as I detach the screen and attach it again. The GPU is still detected by lspci, but the NVIDIA driver is no longer bound to it, nvidia-smi says No devices were found, and the NVIDIA render node disappears.I checked the kernel logs and found this:pcieport 0000:00:1c.4: pciehp: Slot(4): Link Down
pcieport 0000:00:1c.4: pciehp: Slot(4): Card not present
[drm] [nvidia-drm] [GPU ID 0x00000200] Removing device
[drm] [nvidia-drm] [GPU ID 0x00000200] Unloading driver
NVRM: Attempting to remove device 0000:02:00.0 with non-zero usage count!This looks very similar to NVIDIA issue #1451, which describes a deadlock when hot-unplugging a GPU in a detachable Surface Book base. My setup:Surface Book 2
NVIDIA GTX 1060 Mobile (Pascal)
Intel UHD 620
Omarchy / Arch Linux
Linux Surface kernel 7.2.15-arch1-1-surface
NVIDIA proprietary driver 580.178.04
Hyprland / UWSM
Surface DTX daemon installed and runningI noticed that Hyprland has open handles to /dev/nvidia0, /dev/nvidiactl and the NVIDIA render node before detachment.I also looked into the workaround proposed in issue #1451, involving RMForceExternalGpu=1. Unfortunately, my driver package only contains the proprietary RM binary, so I don't have the source files needed to apply that patch. And since the GTX 1060 is Pascal, switching to the open NVIDIA kernel modules isn't an option either.Has anyone managed to get the NVIDIA GPU working properly after detaching and reattaching the screen on a Surface Book 2?I'm particularly interested in whether there's a safe way to unload the driver before detachment, or whether anyone has found a workaround using DTX, PCI power management or ACPI.I'd really like to keep using the detachable GPU instead of having to disable it.
r/SurfaceLinux • u/cryptomnkey • 9d ago
Help Is anyone running Linux variant natively on duo or duo 2?
reddit.comr/SurfaceLinux • u/StanislawTlolka • 10d ago
Help Which linux distro will be the best for Surface Laptop 5
So ... yes I changed my Surface Pro 12 ARM, on Surface Laptop 5 X64 XD (no, I don`t sold Surface Pro) ... but question is, which linux will be the best for this device ... and can I remove whole Windows, or I must leave Windows partition for drivers?
r/SurfaceLinux • u/BugSquare8751 • 10d ago
Help Holding down Volume-down button does not bring me into boot menu
reddit.comr/SurfaceLinux • u/amine404 • 11d ago
Guide Anyone running Ubuntu 26.04 LTS on a Surface Laptop 5?
Hey everyone! I'm thinking about installing Ubuntu 26.04 LTS on my Surface Laptop 5, and I'm wondering how well it supports Surface hardware. Does everything work properly out of the box, especially the touchscreen, touchpad gestures, keyboard, camera, Wi-Fi and Bluetooth? How's the battery life, sl
r/SurfaceLinux • u/DesperateCourt • 11d ago
Help Which used surface device should I look for?
I'm looking for a low-mid tier tablet which can run Linux. ARM or X86 doesn't really matter at this point, but later down the line I could have requirements for a preference here. Alternatively, a touchscreen + ARM SBC or small x86 computer would be a valid solution as well. I'm building something resembling a user facing kiosk as a personal project.
Requirements:
- I don't know of any specific performance requirements I need as of now, but I feel like 8 GiB of RAM is probably a minimum for today's software.
- A nicer screen would be good, and preferably the larger the better, but ~11 inches would be a hard minimum.
- My only true hard requirement is that I can install Linux on it relatively easily without facing any large hurdles (specifically referring to non-standardized ARM bootloaders, and general hardware related issues).
- Budget of <$400 if possible, but this is slightly flexible if strictly required
There's several tablets or 2 in 1's which I can find in this price range from Lenovo, Dell, etc, but it's really hard to find info on if I can install Linux on them or not. I was hoping to get some guidance and suggestions on what I could look into here. I'm open to used hardware if needed, all I really need is a clean screen. This is why I'm considering some used Surface Pros for example.
Alternatively, I could look into a standalone touchscreen if it is relatively cheap and easy to get functional on Linux, but a standalone tablet would be smaller, more power efficient, and likely easier to setup - so I'd like to explore this option first.
Thanks!
Edit: Anyone reading this in the future may find this link and github repo's documentation helpful, it's very thorough and well laid out: https://github.com/linux-surface/linux-surface/wiki/Supported-Devices-and-Features#feature-matrix
r/SurfaceLinux • u/Harry_Butz • 11d ago
Help PXE boot
Soooooo, i tried pxe booting fedora with netbootxyz and a kickstart file.. but it just refuses to boot into pxe environment..
Tried several adapters and docking stations to connect ethernet cable, but none of them allowed me to pxe boot... Safe booting is turned off..
VMs and NUCs are working just fine... Am I doing something wrong or is this just a problem with not having a ethernet port?