FAQ: Ubuntu 25.04 on Snapdragon X Elite

They are in order:

ASUS Zenbook A14 UX3407QA_UX3407QA
Snapdragon(R) X - X126100 - Qualcomm(R) Oryon(TM) CPU

Let me know what other info could help!
Also, battery info is not showing (red exclamation mark on battery icon), any ideas how to trouble shoot?

Hello, is it normal that all Snap/Flatpak applications are unable to use the GPU? Native .deb applications are working fine. My machine is the Chinese version of the Slim 7x (Yoga Air 14s), and I am using the x1e80100-yoga-slim7x.dtb

Depends on the snap. We have a workaround in place that should make most of them work. Can you paste the output of the following commands:

$ snap info gnome-42-2204 | grep tracking
$ snap info mesa-2404 | grep tracking

pearpc@pearpc-YOGA-Air-14s-Q8X9:~$ snap info gnome-42-2204 | grep tracking
tracking: adreno/stable
pearpc@pearpc-YOGA-Air-14s-Q8X9:~$ snap info mesa-2404 | grep tracking
tracking: latest/beta/kisak
pearpc@pearpc-YOGA-Air-14s-Q8X9:~$ sudo dmidecode -s system-product-name
83ED
pearpc@pearpc-YOGA-Air-14s-Q8X9:~$ sudo dmidecode -s processor-version
Snapdragon(R) X Elite - X1E78100 - Qualcomm(R) Oryon™ CPU
pearpc@pearpc-YOGA-Air-14s-Q8X9:~$ sudo dmidecode -s chassis-version
YOGA Air 14s Q8X9

To fix battery, you can try this:

sudo apt install ubuntu-x1e-settings
2 Likes

It worked!
Thank you so much

Do suspend work for you? Previously on 24.10 it worked, but could resume after some time, even with lid closed, but now it doesn’t go into suspend. The LED is always lid, it doesn’t start blinking.
The board is Lenovo Yoga Slim 7x. Kernel is:
Linux Yoga 6.16.0-10-qcom-x1e #10-Ubuntu SMP PREEMPT_DYNAMIC Wed Jul 16 17:26:47 UTC 2025 aarch64 aarch64 aarch64 GNU/Linux

The dmesg says only this:

[ 1093.388213] ath12k_pci 0004:01:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE, tid 14 (-105)
[ 1093.388228] ath12k_pci 0004:01:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE, tid 15 (-105)
[ 1093.388231] ath12k_pci 0004:01:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE, tid 15 (-105)
[ 1093.388233] ath12k_pci 0004:01:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 15 (-105)
[ 1093.664049] PM: suspend entry (deep)
[ 1093.667584] Filesystems sync: 0.003 seconds
[ 1093.704857] Freezing user space processes
[ 1093.706369] Freezing user space processes completed (elapsed 0.001 seconds)
[ 1093.706372] OOM killer disabled.
[ 1093.706373] Freezing remaining freezable tasks
[ 1093.707349] Freezing remaining freezable tasks completed (elapsed 0.000 seconds)
[ 1093.707353] printk: Suspending console(s) (use no_console_suspend to debug)
[ 1094.035945] Disabling non-boot CPUs ...
[ 1094.039772] IRQ139: set affinity failed(-22).
[ 1094.039875] IRQ205: set affinity failed(-22).
[ 1094.039878] IRQ206: set affinity failed(-22).
[ 1094.039882] IRQ207: set affinity failed(-22).
[ 1094.040876] psci: CPU11 killed (polled 0 ms)
[ 1094.046492] IRQ139: set affinity failed(-22).
[ 1094.046525] IRQ205: set affinity failed(-22).
[ 1094.046528] IRQ206: set affinity failed(-22).
[ 1094.046531] IRQ207: set affinity failed(-22).
[ 1094.047251] psci: CPU10 killed (polled 1 ms)
[ 1094.052343] IRQ139: set affinity failed(-22).
[ 1094.052375] IRQ205: set affinity failed(-22).
[ 1094.052982] psci: CPU9 killed (polled 0 ms)
[ 1094.060990] psci: CPU8 killed (polled 0 ms)
[ 1094.069255] psci: CPU7 killed (polled 1 ms)
[ 1094.075030] psci: CPU6 killed (polled 0 ms)
[ 1094.082185] psci: CPU5 killed (polled 0 ms)
[ 1094.088742] psci: CPU4 killed (polled 0 ms)
[ 1094.096244] psci: CPU3 killed (polled 1 ms)
[ 1094.102553] psci: CPU2 killed (polled 0 ms)
[ 1094.108951] psci: CPU1 killed (polled 0 ms)
[ 1094.114012] Enabling non-boot CPUs ...
[ 1094.115056] Detected PIPT I-cache on CPU1
[ 1094.115122] GICv3: CPU1: found redistributor 100 region 0:0x00000000170c0000
[ 1094.115711] CPU1: Booted secondary processor 0x0000000100 [0x512f0011]
[ 1094.117412] CPU1 is up
[ 1094.117811] Detected PIPT I-cache on CPU2
[ 1094.117836] GICv3: CPU2: found redistributor 200 region 0:0x0000000017100000
[ 1094.118495] CPU2: Booted secondary processor 0x0000000200 [0x512f0011]
[ 1094.119263] CPU2 is up
[ 1094.119673] Detected PIPT I-cache on CPU3
[ 1094.119700] GICv3: CPU3: found redistributor 300 region 0:0x0000000017140000
[ 1094.120361] CPU3: Booted secondary processor 0x0000000300 [0x512f0011]
[ 1094.121354] CPU3 is up
[ 1094.123895] Detected PIPT I-cache on CPU4
[ 1094.124038] GICv3: CPU4: found redistributor 10000 region 0:0x0000000017180000
[ 1094.124888] CPU4: Booted secondary processor 0x0000010000 [0x511f0011]
[ 1094.129695] CPU4 is up
[ 1094.130124] Detected PIPT I-cache on CPU5
[ 1094.130160] GICv3: CPU5: found redistributor 10100 region 0:0x00000000171c0000
[ 1094.130822] CPU5: Booted secondary processor 0x0000010100 [0x511f0011]
[ 1094.131998] CPU5 is up
[ 1094.132432] Detected PIPT I-cache on CPU6
[ 1094.132468] GICv3: CPU6: found redistributor 10200 region 0:0x0000000017200000
[ 1094.133128] CPU6: Booted secondary processor 0x0000010200 [0x511f0011]
[ 1094.134400] CPU6 is up
[ 1094.134837] Detected PIPT I-cache on CPU7
[ 1094.134875] GICv3: CPU7: found redistributor 10300 region 0:0x0000000017240000
[ 1094.135508] CPU7: Booted secondary processor 0x0000010300 [0x511f0011]
[ 1094.136706] CPU7 is up
[ 1094.139267] Detected PIPT I-cache on CPU8
[ 1094.139427] GICv3: CPU8: found redistributor 20000 region 0:0x0000000017280000
[ 1094.140258] CPU8: Booted secondary processor 0x0000020000 [0x511f0011]
[ 1094.146114] CPU8 is up
[ 1094.146434] Detected PIPT I-cache on CPU9
[ 1094.146477] GICv3: CPU9: found redistributor 20100 region 0:0x00000000172c0000
[ 1094.146980] CPU9: Booted secondary processor 0x0000020100 [0x511f0011]
[ 1094.148477] CPU9 is up
[ 1094.148893] Detected PIPT I-cache on CPU10
[ 1094.148940] GICv3: CPU10: found redistributor 20200 region 0:0x0000000017300000
[ 1094.149596] CPU10: Booted secondary processor 0x0000020200 [0x511f0011]
[ 1094.151146] CPU10 is up
[ 1094.151580] Detected PIPT I-cache on CPU11
[ 1094.151630] GICv3: CPU11: found redistributor 20300 region 0:0x0000000017340000
[ 1094.152288] CPU11: Booted secondary processor 0x0000020300 [0x511f0011]
[ 1094.153912] CPU11 is up
[ 1094.247959] mhi mhi0: Requested to power ON
[ 1094.247982] mhi mhi0: Power on setup success
[ 1094.342305] mhi mhi0: Wait for device to enter SBL or Mission mode
1 Like

Surface Laptop 7 does work, I have the 64GB ram model (though it appears to boot with only 32GB functional). I wanted to note that it doesn’t just “boot” after you boot the USB, it shows grub where there is no functional keyboard and a timeout, if you wait for that it just reboots (counterintuitively). To get it to boot you have to plug in a USB keyboard and then select the boot entry, otherwise it will just bootloop.

cc @elgerm @xelef2000

https://youtu.be/6Y4xZ17CqJE <— Video guide for SL7 owners

I dont think suspend is working for me either on slim 7x

1 Like

My Zenbook A14 suspended OK with 25.04 but stopped working after I upgraded to 25.10 (I have the same kernel version as you). It has since started working again after I’d been changing/enabling/disabling screen saver and power management settings although that might just be a coincidence. There have also been a couple of updates to packages, particularly ubuntu-x1e-settings, that might have happened between it not working and working again - I wasn’t keeping too close an eye on it. There was another update to ubuntu-x1e-settings today, that will be worth installing.

Where do you see this update? I’ve checked and under this link, the last update was in May:
https://launchpad.net/ubuntu/+source/ubuntu-x1e-settings

Great that that worked for you.
My grub was completely frozen and unresponsive, even to usb keyboard inputs.

Unlike you, I used the UEFI to change the boot order to boot from USB and not the windows advanced boot options.

Which probably caused the issue.

But adding

terminal_output gfxterm

Alao allows for normal keyboard use in grub.

It came, via apt upgrade, from the ubuntu-concept PPA mentioned in the first post.

https://launchpad.net/~ubuntu-concept/+archive/ubuntu/x1e

I managed to install ubuntu on my surface laptop with ventoy. This made the grub screen work with my laptop keyboard. However, after successfully installing, I can’t get ubuntu to boot. I do get the grub screen where I can choose to boot from ubuntu or use the windows boot loader, but choosing ubuntu results in a black screen and then a reboot.

Anyone have an idea?

Did you connect to a wifi during the installation or was this an offline installation? Did you tick the install additional drivers box? Sounds to me like our meta package wasn’t installed correctly.

This could be related to the discussion here: FAQ: Ubuntu 25.04 on Snapdragon X Elite - #56 by tobhe

Can you boot the live installer again and see what cat /sys/devices/virtual/dmi/id/modalias gives you?

While installing I wasn’t able to connect to wifi because the menu to do this was greyed out? I did tick additional drivers.
the contents of modalias:
dmi:bvnMicrosoftCorporation:bvr175.77.235:bd03/11/2025:svnMicrosoftCorporation:pnMicrosoftSurfaceLaptop,7thEdition:pvr124I00108T000M0000000F0B10C12M05D14U02T2R21S1A0:rvnMicrosoftCorporation:rnMicrosoftSurfaceLaptop,7thEdition:rvr:cvnMicrosoftCorporation:ct9:cvr:skuSurface_Laptop_7th_Edition_2037:

While installing I wasn’t able to connect to wifi because the menu to do this was greyed out? I did tick additional drivers.

I think you might be hitting the same bug we discussed above. I have a fix uploaded to the ppa but I haven’t published a new ISO since then. If you are internet connected during the installation it will pull newer packages, if not it uses the cached versions on the disk.

I am not sure why wifi didn’t work for you but that is probably what went wrong here.
I’m hoping to have a new ISO ready later today that should fix the issue.

2 Likes

Hello,
When installing on my yoga slim 7x, I completely erased the Windows partitions because I was excited never to boot windows again. However, after carefully reading the faq, I realized I need to extract some firmware using:

sudo apt install qcom-firmware-extract  
sudo qcom-firmware-extract  

What should I do in this situation?
Could the battery showing 0% be the reason I’m unable to extract the firmware?

You are lucky because Lenovo has upstreamed all their firmware.

For the Slim 7X you can try downloading the Questing package from https://launchpad.net/ubuntu/+archive/primary/+files/linux-firmware_20250711.git99d64b4f-0ubuntu1_all.deb and install via apt install ./linux-firmware_20250711.git99d64b4f-0ubuntu1_all.deb

3 Likes