top | item 40350408

Upstreaming Linux kernel support for the Snapdragon X Elite

174 points| dblitt | 1 year ago |qualcomm.com

67 comments

order

sidkshatriya|1 year ago

I am excited about the prospect of Linux on another powerful aarch64 platform like Snapdragon Elite.

But, as far as I can tell from the diagram on the link shared, you will boot into EL1 and not EL2. This means that you cannot run a hardware accelerated VM on KVM (via something like qemu).

This makes a Snapdragon Linux laptop not as useful. BTW Asahi Linux on Apple Silicon enters on EL2 which allows qemu+KVM.

Entering on EL1 instead of EL2 seems to be be an outstanding issue with current Snapdragon based Linux laptops too. Can anybody correct me here if I'm wrong ?

> In short, our roadmap for the next six months includes work in these areas:

> End-to-end hardware video decoding, on Firefox and Chrome

> Implementation of the libcamera-SoftISP camera solution

> GPU and CPU performance optimizations

> Power optimizations (Suspend/DCVS)

> Making our firmware openly available (in Linux-firmware)

> Access to easy installers (Ubuntu and Debian)

"Making our firmware openly available (in Linux-firmware)" is a big one. How are firmware updates currently distributed ? People using Linux Laptops probably don't want to be signing into some Qualcomm website to get latest firmware updates. Also downloading firmware updates from some random link either would not instill a lot of confidence either.

I feel these 2 big items need to be addressed before Linux on Snapdragon can be a truly attractive option.

saagarjha|1 year ago

The ARM vendors are annoyingly stingy about providing access to this. You’ll probably have to use Qualcomm’s proprietary hypervisor and even then it’s not clear whether they’ll give you enough access to run a VM.

my123|1 year ago

You'll have EL2 on Snapdragon X Elite.

If it's using the design that I prototyped while at Qualcomm, it's jumping to EL2 at ExitBootServices when the boot to Linux at EL2 option is enabled.

Didn't look at a release firmware yet to see what was the final impl, but was told that it did ship :)

rjsw|1 year ago

> "Making our firmware openly available (in Linux-firmware)" is a big one. How are firmware updates currently distributed ?

The "linux-firmware" repo is the standard place to put it, my reading is that Qualcomm are doing this in the right way.

jakjak123|1 year ago

«linux-firmware» is the goto place to dump firmware that goes to all linux distributions

vbezhenar|1 year ago

I think that for many use-cases containers already replaced VMs even for developers. And you obviously can't run accelerated x86 VMs either way. So probably won't be a big issue.

jamesy0ung|1 year ago

This is very cool, sure the performance isn’t as good as Apple’s stuff but a reasonably performant processor with official Linux support is very cool

pavlov|1 year ago

Laptops with this chip are not shipping yet, so it’s a bit early to judge performance.

KingOfCoders|1 year ago

The metric I'm interested in is mostly system performance, not CPU performance.

How fast can a system compile my projects that is.

darthrupert|1 year ago

Apple Silicon is officially supported in Linux.

zmk5|1 year ago

Looks like by next LTS (for kernel 6.10 and 6.11) we'll have some good support for these chips. I wonder if any OEMs will make any Linux laptops for us to buy.

geokon|1 year ago

There is the Huawei Qingyun. It's about 500-600 USD on Taobao

DeepYogurt|1 year ago

I really hope system76 takes a look at them

TwoNineFive|1 year ago

As someone who has worked with Qualcomm extensively and developed products based on their QSDK for years, this thread is way too optimistic.

Qualcomm is heavy on sales and marketing and all of these promises have been made before on previous silicon releases. Their management hates open-source and only permits what is absolutely necessary. I am not hopeful for the future on these devices. They will be locked down and closed source in various ways that people just don't know about yet.

DeathArrow|1 year ago

Qualcomm hyped these CPUs since years showing results in benchmarks. We still don't have laptops with Snapdragon X Elite but meanwhile competition is releasing improved chips, see M4.

I wonder if it won't be a little late when the laptops will be finally available to consumers.

viraptor|1 year ago

They won't be late. There's a significant amount of people who cannot use macs for work. If Qualcomm succeeds with the x86 translation, they'll still be the only real option for that segment, even if they're behind M4.

(Also likely for people who don't have $$$ to throw around for hardware)

k8svet|1 year ago

I promise that for every one of these posts from me, I suppress the urge multiple other times. But it would be amazing to see things like this published as a Nix flake instead of some debian image chucked over the wall. Seeing the flake would be a definitive, at-a-glance, reference for what is upstream and what is being pulled from some BSP.

jimbobthrowawy|1 year ago

Hopefully there's some decently performing AMD64 emulation available on linux, and it doesn't end up exclusive to windows. It's not as necessary as it is on most other OSs, bit it'd help pull along any random bits that don't have native binaries.

jeffreygoesto|1 year ago

It supports MTE, right? Can't wait for that to become mainstream.

spaintech|1 year ago

This is great news for those invested in ARM CPUs. I, for one, purchased a Lenovo X13s when it first came out for around 1,900 EUR. Unfortunately, my experience with it on Windows was subpar, and it was even worse on Linux. At the same time, I bought my wife a MacBook Air (not sure if it was an M1 or M2), and it was snappy and very pleasant to use. I bought the Lenovo based on the hype from benchmarks, and it seemed like a capable system initially. However, I couldn't tolerate all its limitations and ended up returning it, as it performed no better than a Chromebook I had bought earlier.

I'm hopeful that Snapdragon will offer an alternative ARM platform for laptops that can handle more than just browsing. As consumers, we need options, and the more, the merrier. I'm still undecided about the short-term success of Snapdragon. For now, I'm betting/waiting on the MacBook Air with an M4 as my daily driver, although I do prefer the Lenovo ThinkPad format.

betaby|1 year ago

For me that list looks not that good compared to Asahi Linux for M1. No GPU, no camera, no suspend/resume.... I won't be spending my money on that platform until that sorted out. And judging from the other ARM platforms that means most likely never. Over-hyped and under-delivered.

maven29|1 year ago

This is the schedule for upstreaming/"main-lining". Realistically, customers using these SoCs will be building on a forked linux BSP (Board Support Package) with all of these included.

To be fair, these might be server platforms and Chromebooks, nobody is buying ARM notebooks to run their favourite FEM package.

csande17|1 year ago

Given that all those things are from the list of features they plan to ship in the next two kernel releases, "never" seems a little pessimistic. They aren't even selling laptops with this chip yet!