‹ BackHN Continuity

Thread

Linux support is coming to Snapdragon X2 series

625 points · 273 comments · aaronday

  1. hurricanepootis · · focus · HN ↗
    I hope Qualcomm upstreams all the device tree kernel level stuff to Linux for every laptop model. One of the things I don't like about Arm Laptops is—for example—how even if a SoC is supported upstream, if the manufacturer does not upload a device tree for their device, then you're cooked.

    I read that while these Snapdragon laptops do technically have UEFI + ACPI, the information they provide is not useful for Linux and is more coupled with Qualcomm's proprietary drivers on Windows. Therefore, device trees are needed on Linux (I could be wrong about the first part).

    1. avhception · · focus · HN ↗
      I don't think that ARM Laptops have a chance in Linux land as long as each model requires stuff like a custom DT.

      I'm typing this on a Thinkpad x13s Gen1, "21BX000XGE". I really really like the device, best laptop I've owned so far, speaking strictly from a hardware perspective. No vents mean I can use it on a pillow, and it's dead silent. It never runs hot, great battery life. Thin and light, yet has all the performance I need. But would I recommend the laptop to any fellow Linux user? Absolutely not.

      Even though it was released in 2022, the webcam still won't work. I can't limit the battery charge to 80% like on my x86 Thinkpad. There was a time when the graphics driver and Chromium didn't like each other and I had to wrangle Chromium into software rendering mode to avoid heavy artifacts on the screen (export force_gl_vendor="notfreedreno"). In fact, I still have the workaround in place. Not sure if it's still needed though. A fix was merged upstream last year, need to check whether it made it into Fedora yet.

      I got the machine in 2025, and here are the workarounds and config changes I had to make just to get Fedora running last year, 3 years after release:

      - extra kernel arguments ("arm64.nopauth" seems to be needed still in 2026, "clk_ignore_unused pd_ignore_unused" I have been able to remove at some point)

      - GRUB config (GRUB_DEFAULT_DTB=/boot/dtb/qcom/sc8280xp-lenovo-thinkpad-x13s.dtb)

      - initramfs modification, /etc/dracut.conf.d/x13s_firmware.conf: install_items+=" /lib/firmware/qcom/sc8280xp/LENOVO/21BX/qcdxkmsuc8280.mbn.xz /lib/firmware/qcom/sc8280xp/LENOVO/21BX/qcadsp8280.mbn.xz /lib/firmware/qcom/sc8280xp/LENOVO/21BX/qccdsp8280.mbn.xz ". Not sure if these are still needed, they were at some point.

      In late 2025, installing Fedora was still a pain in the butt. There were custom-built ISOs for my device, but they didn't work because my firmware was too new. Stupid me ran a firmware update on the preinstalled windows. I tried building my own ISO, but the firmware never recognized those as a boot device for some reason (I have successfully built custom ISOs for x86 many times). In the end, I was able to use QEMU + chroot on my x86 machine to install Fedora ARM onto an external HDD, make the needed modifications in there, boot that on the laptop and run the anaconda installer, then make modifications to the install on the internal storage.

      I just ran a quick `wc -w` on my installation and debug notes for the machine, and it&#x27;s a cool 11180 words. At some point, it turned out that the display my unit uses was not in the list of known displays for the x13s. Seems that was mostly inconsequential aside from a kernel warning and maybe slower wakeup. Helped upstream with that, which eventually resulted in this commit: <a href="https:&#x2F;&#x2F;github.com&#x2F;torvalds&#x2F;linux&#x2F;commit&#x2F;3330b71caff6cdc387fdad68a895c9c81cc2f477" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;torvalds&#x2F;linux&#x2F;commit&#x2F;3330b71caff6cdc387f...

      I&#x27;m no stranger to exotic architectures and machines, having used Gentoo on a ppc64le machine as a daily driver for 3+ years. And I do like the laptop. But w&#x2F;o fundamental improvements to the way ARM bringup works, not just improvements for individual machines, I wouldn&#x27;t recommend this stuff to any unsuspecting user.

      1. leoedin · · focus · HN ↗
        I&#x27;ve been working on embedded systems using iMX8s, and it&#x27;s equally awful. You have to maintain your own fork of UBoot. You have to spend hours tweaking device trees. The &quot;NXP&quot; kernel is out of date and never updated, the mainline kernel is missing loads of drivers.

        Meanwhile in x86 land you can just download a distro and boot it. Secure boot works out of the box. It&#x27;s night and day.

        1. avhception · · focus · HN ↗
          Even rather mainstream stuff like the RPi can get wonky in places, and still people comment on why &quot;idiots&quot; buy RPis when this-or-that ARM board has 10% more bang for the buck. Eh, yeah, of course. I&#x27;d love to only ever run RandomShenzenCorp&#x27;s heavily patched vendor kernel from 2016.
          1. opan · · focus · HN ↗
            RockChip stuff tends to have good support, and in fact I&#x27;d trust it more to have good support than Raspberry Pi (Broadcom). When in doubt, check or wait before buying in any case. In many cases support will not meaningfully improve from how it was at release (learned this one the hard way) and most ARM devices are e-waste. Try not to get excited about theoretical hardware specs either, they might as well be fake because of how poorly the majority of ARM stuff actually works. Go for known good software support and then upgrade to new hardware when you find something newer with known good software support a few years later.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.