r/SurfaceLinux • u/Andy12100 • 15h ago
r/SurfaceLinux • u/nkmds • 7h ago
Help No luck booting to USB on Surface Pro 9?
reddit.comr/SurfaceLinux • u/absol3000 • 1d 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 • 3d 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 • 3d 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-surfaceNVIDIA proprietary driver
580.178.04Hyprland / 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 • 3d ago
Help Is anyone running Linux variant natively on duo or duo 2?
reddit.comr/SurfaceLinux • u/StanislawTlolka • 4d 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 • 4d ago
Help Holding down Volume-down button does not bring me into boot menu
reddit.comr/SurfaceLinux • u/amine404 • 5d 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 • 5d 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 • 5d 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?
r/SurfaceLinux • u/Jwp0920 • 6d ago
Help Stylus keeps writing even after picking it up. What’s the issue?
r/SurfaceLinux • u/brysonwf • 6d ago
Guide Surface Duo Linux 6.19 Mainline
galleryCross posting my mainline 6.19 Linux drivers.
r/SurfaceLinux • u/zxc_cursed123 • 7d ago
Solved [SOLVED] Surface Laptop Studio dGPU 10W Throttle Bug Fixed & Full 50W Dynamic Boost Unlocked on Linux!
Hey everyone!
If you have been running Linux on the Microsoft Surface Laptop Studio (SLS / SLS 2) with the RTX 3050 Ti Mobile, you probably know the two biggest pain points:
Enabling runtime D3 (D3cold) caused the dGPU to wake up permanently throttled to 10W / P8 state (~10-15 FPS).
Even without the bug, the GPU was hard-locked at its 35W base TGP, with no Dynamic Boost (+15W) working under Linux.
After reverse-engineering Microsoft ACPI tables (DSDT & SSDT7), we found the root cause and built a 100% working fix that unlocks the full 50W TGP!
What was going on under the hood:
- The Surface uses a custom power controller device _SB.SGPC (ACPI Hardware ID: MSHW0216).
- Linux has no driver for MSHW0216, leaving SACT = 0 and negative offsets (PWRA = -15W).
- On every wake from D3cold, ACPI fired notification 0xD5 (emergency throttle to 10W).
- By sending the proper _DSM calls (UUID: bbbf19da-988b-8b74-29ce-d12810bfe9d90):
* Function 7 (Arg3 = 1): Sets SACT = 1, unthrottles GPU (event 0xD1).
* Function 3 (Arg3 = 0x78 = 120): Sets AC cTGP offset to +15W (120 * 125mW).
* Function 2 (Arg3 = 0x0320 = 800): Sets target TGP to 50.0W (800 * 0.0625W) and notifies NVIDIA driver via event 0xC0.
Real In-Game Results (Minecraft with BSL Shaders):
- Power: 34.0 W -> 49.0 W (+44%)
- Clocks: 1216 MHz -> 1593-1740 MHz (+31%)
- Framerate: 26-29 FPS -> 51 FPS (+89%, nearly doubled!)
- Frametime: 37.9 ms -> 19.8 ms
- Idle Power: Drops to 0W / suspended (D3cold) when not in use!
All automated scripts, systemd unit, and reversing documentation are published here:
GitHub: https://github.com/besiple/surface-laptop-studio-dgpu-fix
Huge thanks to Google DeepMind Antigravity and Claude Opus 5.5 for collaborative ACPI reversing!
r/SurfaceLinux • u/NickTheHappyPotato • 8d ago
Discussion Surface Duo - Hidden Gem
galleryI think big Companies should give buyers full access to the hardware after dropping support for it. Otherwise, it’s just a huge eWaste. People should generally have the choice to run whatever operating system they want on a device they’ve already paid for production.
The Duo first generation is a device which feels kind of forbidden by the capabilities it can do.
I think, this is the perfect cyberdeck. It’s better than a raspberry pi. Its the best PocketPC.
r/SurfaceLinux • u/Aggravating_Bed_4484 • 8d ago
Help God, please some help for an idiot that expected this to run fine out of the box.
Okay, so I tried my best to follow the github (though I wasn't sure how to install a kernel) I put the following commands in terminal as the guide said on the github, copying and pasting each block.
btw I'm running Ubuntu on a Surface Laptop 7th Edition.
wget -qO - https://raw.githubusercontent.com/linux-surface/linux-surface/master/pkg/keys/surface.asc \
| gpg --dearmor | sudo dd of=/etc/apt/trusted.gpg.d/linux-surface.gpg
echo "deb [arch=amd64] https://pkg.surfacelinux.com/debian release main" \
| sudo tee /etc/apt/sources.list.d/linux-surface.list
sudo apt updateI actually did this about twice, so I might have downloaded it more than once.
then I input
sudo apt install linux-surface libwacom-surface iptsdAnd I got this:
BigBed@LinuxTop:~$ sudo apt install linux-surface libwacom-surface iptsd
[sudo: authenticate] Password:
Solving dependencies... Error!
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
Unsatisfied dependencies:
iptsd:amd64 : Depends: libc6:amd64 (>= 2.35) but it is not installable
Depends: libcairomm-1.0-1v5:amd64 (>= 1.14.4) but it is not installable
Depends: libgcc-s1:amd64 (>= 3.0) but it is not installable
Depends: libstdc++6:amd64 (>= 12) but it is not installable
libwacom-surface:amd64 : Depends: libwacom2-surface:amd64 (= 2.20.0-1) but it is not going to be installed
Depends: libwacom9-surface:amd64 (= 2.20.0-1) but it is not going to be installed
Depends: libwacom-bin-surface:amd64 (= 2.20.0-1) but it is not going to be installed
Depends: libwacom-common-surface:amd64 (= 2.20.0-1) but it is not installable
linux-surface:amd64 : Depends: linux-image-surface:amd64 (= 7.2.15-1) but it is not going to be installed
Depends: linux-headers-surface:amd64 (= 7.2.15-1) but it is not going to be installed
Error: Unable to satisfy dependencies. Reached two conflicting assignments:
1. libwacom-surface:amd64=2.20.0-1 is selected for install
2. libwacom-surface:amd64 Depends libwacom-common-surface:amd64 (= 2.20.0-1)
but none of the choices are installable:
[no choices]And theAnd
r/SurfaceLinux • u/Rough_Bread8329 • 9d ago
Discussion I resurrected an old SB1 that has been sitting in a box for a couple years with CachyOS - mostly
I bought this thing new for CAD$3000 in 2016 when it was the new kid on the block, and it served me well as a daily driver for almost 5 years before I upgraded to something else. Once Windows 11 came along and it wouldn't upgrade well, I gave it to my kids, and they used it as a device for school until a couple of years ago and it has sat in a box since.
Stuck on Windows 10, no longer recognized the batteries, no longer recognized the Nvidia GPU in the performance base... it seemed to be a piece of abandoned tech.
I've been playing with CachyOS on old AMD and Intel laptops lately and resurrecting them as a middle finger to Microsoft and the god awful state of Windows 11 lately.
For shits and giggles I tried to follow the instructions from the GitHub and throw CachyOS on the SB1... and it works. Mostly. To my surprise and delight I had no hardware issues getting the ISO loaded. No need for external mouse or keyboard. Pretty much everything worked right away.
The only exceptions that I have noted so far in my limited time spent are the multitouch features on the touchscreen do not work, and I cannot get the NVidia GPU working. So far ;)
The feeling I got from tinkering last night took me back to my teen years in the 90s and 00s when I was constantly building and rebuilding and upgrading PCs for funsies. It was an adventure and challenge, and it felt exciting!
As a 10+ year old device, if I do nothing else, it's a perfectly capable daily use laptop now with a detachable screen. It's a bit worn, the touchscreen needs to be figured out to properly use it as a tablet... but it works! It works and it is USABLE.
It's a fantastic feeling to give the middle finger to Microsoft's Windows 11 team while celebrating the amazing work of their hardware team.
r/SurfaceLinux • u/SnooPeppers1253 • 9d ago
Help Surface Pro 6 Touchscreen not working - Surface Tcon Device (Code 10) STATUS_DEVICE_POWER_FAILURE
reddit.comSurface Pro 6 Touchscreen not working - Surface Tcon Device (Code 10) STATUS_DEVICE_POWER_FAILURE
r/SurfaceLinux • u/Puzzleheaded_Mix7649 • 9d ago
Help Surface Pro 7 KDE Plasma system tray problem and other suggestions
reddit.comr/SurfaceLinux • u/Flapaflapa • 11d ago
Solved power on, windows logo, and powers back off, (solved)
reddit.comr/SurfaceLinux • u/True-Meet-8947 • 12d ago
Help Problems configuring and using webcam
I have Surface Pro 5 using debian 13 with a 7.2x kernel and KDE Plasma.
After fixing some issues by patching dw9719 and ow8865 like described in this thread, I got working back and front cameras.
Unfortunately, using cheese or snapshot to take pictures is still problematic, because:
- In landscape mode, the orientation of picture is correct, but after rotating the tablet to portrait mode, the picture doesn't get rotated, so it's on it's side.
- after rotating the tablet to portrait mode, the attached type cover (keyboard/trackpad) is somehow disabled. it gets operational after the tablet is rotated back to landscape mode.
other issues:
- autofocus is working but not reliably, so I'm having a hard time to take well focused pictures of notes.
- the picture is often flickering, probably due to oscilating auto-exposure
Had anyone overcome those problems? Are there better apps to use for taking pictures?
For me, it's essential to take pictures with the surface for work, so I really appreciate a workable solution to that matter.
r/SurfaceLinux • u/plaidhoody • 13d ago
Help 1st gen surface studio to linux to keep display brilliance please :)
Hello, I acquired a 1st gen surface studio desktop. I am looking to run linux on this computer while maintaining the display quality & touchscreen integrations. I am certain this has been done before, but could use any updated recommendations for installation. Thank you in advance for your assistance. Specs are here:
Processor Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz 2.71 GHz
Installed RAM 16.0 GB
Storage 932 GB SSD ST1000LM 024 HN-M101MBB
Graphics Card NVIDIA GeForce GTX 965M (2 GB)
System Type 64-bit operating system, x64-based processor
Pen and touch Pen and touch support with 10 touch points