Status of Ubuntu support for Lenovo ThinkPad X13s

Thank you for the awesome work @juergh !
Yesterday before this post I downloaded the latest 23.10.1 image, I can boot via USB, I can begin the install process, and later on the process it will fail to install. I have submitted the error through the system that is available there.
The 24.04 images like you said seem broken, I can start to boot and when selecting to boot/install will result in a blank screen.
Any recommendations to successfully install it? Any way to get an updated .iso with all the tools you recently uploaded in the ubuntu concept? This link seems not to work anymore:


Thank you for the work @juergh ! Don’t get discouraged by the complexity or lack of resources.

1 Like

“Audio volume is very low.”

Well, it is low because the speaker hardware is set to low levels in the mixer.
You can just “fix” that by increasing it:

  1. Run “alsamixer”.
  2. Select sound card - choose the second sound card SC8280XP-LENOVO-X13S (despite the first sound card control works, the amplifier is in the second sound card).
  3. Keep moving to the right until you can see “SpkrRight PA Volume” and “SpkrLeft PA Volume”, set them to like 80…90.
1 Like

If you want to try out 24.04 on the X13s from a preinstalled image (no complete installer), I’ve put an image here:
It is derived from the preinstalled image for raspi, added kernel 6.8.8 (that should be the same as 6.8.0-31-generic, but different kernel config) and grub-efi.
It boots reliably from type-c. I would recommend to use an ssd, it’s way faster. Also, there is a direction sensitivity: logo up when plugged into type-c should be the right non-swapped position. Otherwise it is only recognized and booted as USB2.

@tjenare Thanks for that info but it doesn’t seem to make a difference for me. I can crank both SpkrRight PA Volume and SpkrLeft PA Volume all the way up but it doesn’t change the volume. I’m also a little reluctant since there are reports that you can blow your X13s speakers if you’re not careful.

Ubuntu Noble Desktop Installer ISO:

It’s an early test ISO which I’ve used successfully to install Noble from scratch. The ISO is built locally (still looking into moving that to Launchpad) and there are a couple of additional packages installed from PPA juergh/x13s. Once the dust has settled, I’ll move all the required packages to the more official ubuntu-concept/x13s PPA and build images using that.


That’s very strange. On my X13s I get extremely loud audio by turning those up. Using Ubuntu Concept 23.10. I have turned on my X13s with latest updates just now and verified that it still works.
The alsamixer controls for me are named exactly “SpkrLeft PA” and “SpkrRight PA”.
I wasn’t able to turn them up to full as I’m afraid it would tilt my neighbours. :slight_smile: I tested it by playing some youtube video.
Anyway, I can 100% fix the low audio issue like this on my Lenovo X13s, there is NO doubt. At least one other owner has already confirmed that it works for him too.
I can provide further details if you need me to. I can provide a proof video too where I turn up the controls in the mixer while stuff is playing ^^.

The first time i installed i got an error that the installation failed at the very last stage and after a restart I could not log in to my account.

However, the second time i tried the installation it worked like a charm - thanks! :slight_smile:

Thanks for reporting back and sorry to hear that you had problems the first time around. Unfortunately, there’s not much to debug without an installer log.

Yes, sorry about that - did not save it and since the second time worked fine its lost now.

@juergh Thanks for your work on this (Noble Desktop Installer ISO). I’m somewhat new to Ubuntu; but installation and setup went smoothly and most things appear to work well.

I encounter a similar “low audio” issue to what tjenare described. Increasing the volume with the keyboard, UI controls, or alsamixer all work. At about 80% the audio is just barely usable, but anything beyond 80% and the audio becomes distorted. Its not the speaker system. The same distortion can be heard through headphones.

Oh that distortion bug I had sometimes when two or more apps output sound at the same time.
I made a script that fixes the sound card config back and forth, which fixes it (temporarily):

CARD=pactl list cards short | grep -o "alsa[-_.a-z]*" | head -n 1
pactl set-card-profile $CARD “pro-audio”
pactl set-card-profile $CARD “HiFi”

^note: the backticks aren’t displayed in this forum it seems, so add them.4

Also the script to auto-fix speaker volume:

amixer -c 0 cset name=“SpkrLeft PA Volume” 84
amixer -c 0 cset name=“SpkrRight PA Volume” 84

This might need to be called after switching the audio profile to fix distortion, as it might reset volume too.

Ow. I did a distupgrade -d and at some point it just said that errors happened, without letting me see them though, and if I just wanted to restore the previous system again, which I said yes, expecting the upgrade process to be rolled back to how it was before I started it.

However, it just decided to brick my system instead which now no longer boots but spams a bunch of red errors in a loop instead on startup.

(calmed down, removed rage fit. System still bricked :/)

@tjenare, we believe the dist upgrade bug is Bug #2054761 “gnome-shell crashed with signal 5: Settings schem...” : Bugs : mutter package : Ubuntu, and is one of the main reasons why automatic dist upgrades have not yet been enabled.

Linux 6.8 only boots on my X13s with an extra “arm64.nopauth” - try adding that to your kernel command line in grub.

@tjenare It’s hard to tell from your description what state your system is in. Can you post some logs or screenshots or anything that might help us debug it? Can you boot into grub? What kernels are listed? Can you boot any of them?

You could also boot the installer ISO, open a terminal, mount your root disk and try to recover that way. But yes, it’s painful…

I lost fingerprints in 24.04.

Is there any progress on suspend and general power controls? Does upgrading to a 6.10 kernel help? Seen a lot of Arm64 stuff landing recently. I haven’t been brave enough to compile it myself yet.

@oli, yes the fingerprint reader is broken. If you’d like to help with debugging/testing:

  1. Copy this DTB to /boot/x13s-test.dtb
  2. Boot into grub and modify the entry you want to boot accordingly. The devicetree line should read devicetree /boot/x13s-test.dtb.
  3. Boot the modified entry.

Let me know if that fixes the fingerprint reader.

Regarding 6.10, I haven’t tried any of the newer kernels yet. If you’re adventurous, you could take a mainline kernel for a spin…

1 Like

That worked the fingerprint is working again. What is the recommend location to place the dtb file? Is this the correct location, please advise.

lrwxrwxrwx 1 root root 60 May 22 20:30 /boot/dtb-6.8.0-31-generic -> dtbs/6.8.0-31-generic/qcom/sc8280xp-lenovo-thinkpad-x13s.dtb


@okra Thanks for the testing. You can put it here /lib/firmware/6.8.0-31-generic/device-tree/qcom/sc8280xp-lenovo-thinkpad-x13s.dtb but then you need to run update-grub which copies it to /boot. If you put it directly in /boot it will get replaced by the package-provided DTB the next time update-grub runs. Note that reinstalling linux-modules-6.8.0-31-generic will overwrite your local change again.

1 Like