Ubuntu 24.10 Concept ♥️ Snapdragon X Elite

I am using this on ThinkPad T14s Gen 6 and noticed it doesn’t enter a proper sleep/hibernate mode. Does anyone know what the progress on that is?

So, if I may be so rude and ask: Is there any realism in getting this fully supported at all in the foreseeable future? Including the NPU, proper power management, USB4, camera, etc, or is it more likely we will end up in a similar state to Asahi where we get the basics working but struggle with the more complex components?

I think Asahi is pretty complete nowadays compared to the X Elite machines (audio, camera, KVM is all working).

Feature support for the X Elite machines depends on it getting merged in upstream Linux. A lot of it is driven by volunteers and there is no guarantee whatsoever that it will ever be complete.
The previous generation Thinkpad X13s has better hardware support but I still wouldn’t call it complete as there’s still quite a lot of room for power management/stability improvements etc.

So I’d say it is currently a bit of a gamble. If you are worried about that, maybe consider going with the safe option instead.

1 Like

I boot this image [vivobook s15] from an sd card. But the installer crashes. I try bringing up a console from IE ctrl + F2 . It seems the hostname is set but not the username / password.

From the installer “info” window it appears that the system is having trouble accessing paths in /var .

I am suprised that the selected hostname from the last boot of the sd card seems to stick.

Would really like to get a usable if unstable desktop installed. If I could login then I could try debbootstrap as an alternative installer.

Some people have reported installer issues, can you try an older installer from Index of /~platform/images/ubuntu-concept and maybe disable your network connection during installation and see if that works?

Does that include whatever kernel patches are required for the x1p4200 ?

Which iso do you suggest ?

oh sorry no, I missed that part. Thought you were hitting another issue.

Hi everyone, I’m having a problem with the screen going black screen part way through the boot process with a 64GB T14s OLED using NixOS. Obviously this is an Ubuntu forum, but I wondered if someone might have some advice on how to track the problem down, since I’m running out of ideas!

I’m still tracking down the differences between the working configurations, but:

  • Doesn’t work: NixOS unstable, which has systemd 257.2 and other upgraded packages
  • Works: NixOS 24.11, which has systemd 256.10

Detailed description of the symptoms:

  • The console works fine as the system starts booting, and I see various 'Starting… ’ messages from systemd
  • After a few seconds, the screen blanks and comes back once (I see this in the working configuration too). I assume this is systemd changing the console mode in some way and is normal
  • There are some more messages, and after a second or so the screen blanks and stays blank. I can’t easily capture exactly what messages precede the blanking
  • The machine is still responsive, I can type into it, and for example log in and reboot. It’s also ssh-accessible.
  • Attempts to switch to different TTYs by ctrl-alt-f1 etc. don’t help

The above is with a non-graphical configuration (no X/Wayland/gdm etc.). If I enable X and gdm, I still get the blank screen. However if I press the power button briefly, every alternate time I briefly see a flash of the gdm screen before it disappears again. Hence I suspect this is some kind of power management or brightness/gamma level thing that is being reset to an non-useful value. My understanding is that the OLED screens don’t have a backlight.

Things I’ve done so far:

  • Trawled through journalctl logs and added systemd debug logging
  • Tried adding the nomodeset kernel param
  • Tried booting to single or rescue (same issue)
  • Tried single-stepping systemd using systemd.confirm_spawn=1 - this seems to crash the system pretty early on, not sure why
  • Tried kernel 6.14.x
  • Matched the kernel on the two systems (6.13.2)
  • Synced my config to be almost identical to that of @ookhoi, who has the LCD version of the same laptop with NixOS and doesn’t have the issue
  • Added a delay to various systemd services to try to find the culprit. From this I found that delaying systemd-udevd startup delayed the problem, so I suspect it’s either systemd-udevd or something that starts after it causing the issue.
  • Compared udevadm info --attribute-walk --path=/sys/class/drm/card1 between the two systems. This looks similar, although the new systemd has additional information

Obviously I’m not asking you guys to debug NixOS, but I wondered if you might have any hints on other things I could try? Thanks in advance!

With 6.14 everything works. Wow!!
Just installed the latest iso, and all issues above are solved.

  • Boot is not frozen after Kernel update to .30
  • Battery % are displayed
  • Video is good but
  • No Sound

For me, good enough for work on a daily basis.

Awesome!

1 Like

On Yoga Slim7 with 6.14.0-20 there is still that wifi-problem which seems to be related to the black screen at startup too.

To be able to use wifi properly I tried some generic kernels from Index of /mainline

I noticed that in 6.12.18-061218-generic, the ubuntu splash screen seems to work for me - this is actually the first time I have seen it on this laptop. Im not using lvm-encryption at the moment so im not talking about the password screen, but the ubuntu splash screen in general (but it is probably the same reason with the password screen). I tried to compare lsmod from the different kernels but did unfortunately not find any obvious difference.

Have a look into this bug I have made a dedicated boot image for the Vivobook S15 x1p42, since it needs additional patches and a different device tree. This ismage is not a live/installer iso, but it lets you boot it, like a RPi Desktop image. For reference (and the post-install work is valid, too) please look into this Wiki.

INFO?
Is anything of your work landing in any of the official ubuntu 24.x upstream or downstream?

Are they taking you “code” and merge it with the official stream?
As far as I can see you went really far and Ia ma wondering if such things happen.
For Fedora, I am testing the beta, but there is not such an initiative like this concept one.

Is anything of your work landing in any of the official ubuntu 24.x upstream or downstream?

Definitely yes, see our update from last week. I can not promise that we will get everything working until 25.04 but we are committed to take everything we learnt from the concept and merge it into our proper Ubuntu images for future releases.

In terms of downstream we try to keep our diff to mainline Linux at a minimum and make sure all changes get submitted and merged there too.

2 Likes

Hi @tobhe,
I still have a black screen on the Elitebook G1Q when booting kernel 6.14.0-20. the last working version was the jg2 kernel by @glathe.
Thanks a lot

1 Like

Obviously I’m not asking you guys to debug NixOS, but I wondered if you might have any hints on other things I could try? Thanks in advance!

Could be a screen brightness issue. Maybe it is set to 0?
Do NixOs 24.11 and unstable use the same kernel?

1 Like

Seeing how Lenovo-firmware has found its way into the official package, and some people report running 6.14 vanilla images: is there still anything “unofficial” being used for T14s users, or are we basically running upstream versions of everything already?

Seeing how Lenovo-firmware has found its way into the official package, and some people report running 6.14 vanilla images: is there still anything “unofficial” being used for T14s users, or are we basically running upstream versions of everything already?

There are a bunch of patches which are merged in linux-next for 6.15 or on the linux-arm-msm mailinglist that we backported to our 6.14 kernel. Feature wise for the T14s specifically that includes:

  • support for the OLED variant
  • cpufreq support
  • external display port support
  • RTC support
  • GPU thermal throttling
  • a bunch of bug fixes/random crash fixes

See the latest kernel git log. I try to link to the source for each patch in the commit messages (Something like “cherry picked from commit 50625eab3972e5d37dcf3a250d9e3cdecbd6c13b linux-next”).

You’ll see that most of them are already in the linux-next tree, so we will be able to drop those patches with a future kernel update. 25.04 will need to have a bunch of those backported because it will ship with 6.14.

2 Likes

Just thought I’d report: on my Omnibook X the latest 6.14.0-20 kernel still doesn’t work, just the same black screen as for 6.14.0-17. Also the WiFi has never worked again since applying that first 6.14.0-17 kernel update, not even when booting with 6.12 kernel. Weird. All the firmware files look ok under /lib/firmware/updates/qcom/x1e80100/hp/omnibook-x14/ .

Thanks for the reply @tobhe . Yes I also suspect a brightness issue, but I don’t know how to control it and wasn’t sure that was implemented yet. Would you have any pointers?

24.11 and unstable don’t use the same kernel, but I was able to reconfigure unstable to match kernels with 24.11 to rule that out.

All the kernels I’ve used are unpatched upstream kernels. I notice you mention above that you are maintaining some patches. Do you think those patches might have a bearing on this? If so I can try to build a kernel with your patches.

Thanks for the help!

All the kernels I’ve used are unpatched upstream kernels. I notice you mention above that you are maintaining some patches. Do you think those patches might have a bearing on this? If so I can try to build a kernel with your patches.

Oh upstream OLED won’t work and there is a known issue with the backlight. I am using this hack to make it work.

A cleaner solution would be this patch series which adds a new dtb for the OLED variant.

3 Likes

Ah! I had assumed it was a user space issue since I had it working on the older system with the same kernel. I will try this ASAP. Thanks!