r/linuxhardware • • 16d ago

News Debian running on Snapdragon X2 Plus

Post image

I could run debian (more or less, xD) on the Lenovo IdeaPad Slim 5 13Q8Y11 with the Snapdragon X2 Plus (X2P-42-100).

It was a bit hard as far as all the effort from Qualcomm now is focus on another laptops withe the high end SoCs.

I had to do some modifications to the qualcomm drivers for the DRM, but it could boot a very slow debian. No WiFi, no BT, no GPU, no trackpad, no battery status, and so on.

In the next days, I will share the repo to be tested by others and I will send the patches.

Feel free to advice or ask anything.

383 Upvotes

21 comments sorted by

38

u/waifu_tactical_force 16d ago

What a disappointment that this is as good as it gets after the pre-launch guidance Qualcomm gave about Linux support on X2

24

u/viCpp95 16d ago

Yeah, but at least they have a github repo with the device tree, I assumed that they are still working on it, as I mentioned, the Elite should be more stable.

1

u/mirh 13d ago

Their first goal was always their reference board, while this is not even one of the premium laptops they flexed last month will be given priority but a second rate plus one.

0

u/[deleted] 14d ago

[deleted] — view deleted comment

1

u/viCpp95 11d ago

Who said that I'm using the kernel from debian?

25

u/Arthedu 16d ago

Windows covered super keys approved.

15

u/viCpp95 16d ago

Thanks! I also struggled with the Snapdragon sticker to cut the copilot banner.

9

u/seven00290122 16d ago

I remember Qualcomm promised linux support on their X2 line ups.

6

u/viCpp95 16d ago

Ye, and they are working on it, I used their kernel repo, that also includes the device tree.

1

u/Soggy-Figure5471 16d ago

They said 2027 if I remember it correctly

4

u/Few-Promise5892 16d ago

Hmh how pleasent was the experience of installing the drivers? I have read a few months ago that you have to grab them from the OEM Installation.

2

u/mirh 13d ago

qcom-firmware-extract is actually pretty neat to use, assuming your system matches the ~hardcoded paths they check for it.

1

u/steevdave 15d ago

Have you checked the forky-dragon (I think it’s called) repo? It should have a lot of the patches that you’re likely carrying, already packaged up.

https://salsa.debian.org/dragon-team/pkg

They’re working on implementing stubble it seems like, which should help with some of the issues, obviously if your laptop doesn’t have support in the kernel, that’s a thing, but afaik, most of the x2 laptops are being worked on (based on what I’ve seen in the #aarch64-laptops irc channel on oftc network)

1

u/robdclark 15d ago

Which kernel and mesa versions? Upstream gpu support for x2p should be in place now. But you'd need mesa 26.3.x.. gpu is a thing I can help with ;-)

1

u/Weak_Coat_9036 11d ago

you can try something more modern and professional like fedora with a really recent kernel and drivers

0

u/shanehiltonward 15d ago

I doubt it seriously. Send it here and I will test it, extensively.

For a long time.

And then quit responding to messages.

1

u/viCpp95 15d ago

I will share it for sure, as I said. I do this as side project, I need time to document everything.  Why to be rude?

2

u/shanehiltonward 15d ago

I was joking.

Context: I pretend like I don't believe you and request to test your machine myself. Then I state "for a long time" - as in planning to keep it. And then quit responding = ghosting you because you are wanting your machine back.

I fully believe you and I covet your laptop.

Better now?

-4

u/Acrobatic_Lynx_4145 16d ago

What a shame...

5

u/viCpp95 16d ago

Wdym?

0

u/[deleted] 15d ago

Beautiful.

0

u/[deleted] 12d ago

They still missing tons of things