Ubuntu Concept ♥️ Snapdragon X Elite

Been trying to get wifi up on the X1E Samsung Book4 Edge, but no dice so far. I’m using the ath12k firmware from the latest concept ISO, as well as a custom board-2.bin as described here. While the firmware does seem to load, and I can see the adapter and entry in NetworkManager, seems neither scanning nor connecting to a network works. Not much in dmesg, except these lines on repeat:

kernel: ath12k_pci 0004:01:00.0: failed to submit WMI_VDEV_CREATE_CMDID 
kernel: ath12k_pci 0004:01:00.0: failed to create WMI vdev 0: -11 
kernel: ath12k_pci 0004:01:00.0: unable to create scan vdev -11 
kernel: ath12k_pci 0004:01:00.0: Scan failed -22 , cleanup all scan vdevs 
kernel: ath12k_pci 0004:01:00.0: wmi command 20482 timeout 
kernel: ath12k_pci 0004:01:00.0: failed to submit WMI_VDEV_DELETE_CMDID
kernel: ath12k_pci 0004:01:00.0: failed to delete WMI vdev 0: -11 
kernel: ath12k_pci 0004:01:00.0: wmi command 20481 timeout

Anyone encountered anything similar? Or, could it simply be a bad board id chosen in board-2.json?

Really cool to see the activity ongoing here. I know there have been many issues, which we hope are solved. For me that would be power issues (suspend without power loss leaks), and audio. I’m on a T14s and just wanted to throw a couple tips out there.

For audio, I tried messing UCM configurations. I later read that wrong configurations could damage the speakers and possibly board. I then blacklisted the audio drivers to make sure this didn’t happen. In my sound output settings, I see “Dummy Output”, which is expected not because of the blacklist, but the issues with firmware. The workaround I use is to just use a bluetooth audio device. Slightly annoying, but at least there is sound.

Concerning power issues, I do notice extra battery drain on suspend. And threshold doesn’t seem to always work. It did for awhile, but then eventually stopped. To get it initially to work, I went into Windows and set it. Then rebooted into Ubuntu. I think it’s a good idea to keep the Windows partition for various reasons, even though I don’t use it. Another reason I just discovered is that if you shutdown from Ubuntu, I noticed that the laptop would drain after a day or so. This didn’t make sense since it was powered off. I did a little research and apparently shutting down from Ubuntu with the incompatible power issues doesn’t cause certain things to shutdown. The tip/solution is to reboot into Windows, then shutdown from there.

Anyhow, hope these few things help someone out there.

Apologies for the late reply, here you go

https://pastebin.com/TY4ZU6gB

I also noticed the system is very unstable with this kernel version, at least in comparison to 6.16-el2-jg-7

1 Like

You can use the new dtb with the older kernel. Thanks for the dmesg.

1 Like

Using 6.18.3-jg-0 here with full-on EL2 on the T14s. Seen some Graphics flicker, but this thing is stable. >6d uptime now.

I’ll try that kernel version and see if it’s any better. 6.18.2 had random kernel lockups while web browsing with chromium or sometimes would freeze during boot. No graphical issues on my end

Something else I have noticed regardless of kernel versions is that WPA3-only networks randomly disconnect? At least for the one place that I go to

1 Like

ath12k seems to have some issues, yes. It struggles to connect to the UniFi Express 7 with WPA3 (which it selects itself). Once that worked its okay. But it can take minutes… Will check with other laptops that have ath12k, but T14s seems to be a bit special.

Cannot remember why but I (T14s) have in my /etc/iwd/main.conf

[General]
ControlPortOverNL80211=false

Could that help?

1 Like

I am wondering what is wrong with the sleep/suspend state for my T14s…

The discharge seems to be ~4.5% per hour (entered sleep with 50% at 6 pm and was almost empty at 5am):

Can others confirm that they also have such a high discharge rate in sleep?

If so, to all that have other Laptops: Is this only an issue with T14s?

I see the same discharge rate on my T14s. Practically unusable if you have a life where you don’t keep your laptop plugged in overnight.

I was using wpa_supplicant with NetworkManager, though I have switched to iwd and put in that setting, I’ll see if it’s more stable over the coming days.

Yep same here. I don’t think the system is actually fully asleep as the red dot on the lid doesnt pulse like it does on windows. I have resorted to fully shutting down my system when I know it will be unused for many hours, it sucks but its a workaround.

Is it me or is the Adreno X1-85 quite a slow GPU? I do not have an WoA partition to compare to, but testing with the latest mesa-git, games run poorly and I have to assume its because it’s the nature of it being tile-based? Though it feels like it’s running at a low frequency but I have not verified that yet. I’m GPU limited in the game’s I’ve tested so far and performance heavily relies on the resolution rather than graphical settings.

Simple stuff like Minecraft with shaders @ 800p only give me 30-50fps. I’ve also tested various games on Proton and it’s a similar experience (Half-Life 2 Deathmatch 64-bit, ULTRAKILL, PEAK, etc).

I get 3.8% discharge per hour on my Slim 7x. Two workaround solutions for now:

  1. Buy a dock with >= 65W USB-C PD. This will charge your laptop overnight and connect to external monitor/peripherals all with one cable.

  2. Shut down your laptop at night and use this extension which restores all your apps to the same workspaces on next startup - GitHub - ChrisLauinger77/gnome-shell-extension-SmartAutoMoveNG: Smart Auto Move NG learns the size and position of your application windows and restores them to the correct place on subsequent launches. Supports Wayland. Forked from https://github.com/khimaros/smart-auto-move

Hi all!

Development continues based on 25.10, there is a new ISO available in the usual place. The questing PPA has also received an update to kernel 6.19, so make sure to give that one a try.

In order to make Microsoft Surface 11 and 12 devices work out of the box we need some help collecting device information from both OLED and LCD models. There is a new helper script available in the stubble github repo which generates all the data we need including EDID information.

Please leave a comment or open a github issue/PR with a dump from your machine if you own any of those!

5 Likes

It’s been about 24 hours since I switched to iwd, this 100% fixed my issue. I had to add these to the iwd config to fix secrets issues with NetworkManager though. Also added these to the NetworkManager config to fix autoconnect not working

/etc/iwd/main.conf

[General]
ControlPortOverNL80211=false
EnableNetworkConfiguration=false

[Settings]
AutoConnect=false

/etc/NetworkManager/conf.d/iwd.conf

[device]
wifi.iwd.autoconnect=yes

[connection]
wifi.cloned-mac-address=preserve

Hey,

maybe you or someone else is able to help me. I have a T14s as well and tried to fix my sleep drainage issue with iwd as well. For me it didn’t fix the issue but now I have a new problem. After closing the lid, the wifi card sometimes doesn’t come back. Most of the time I have to restart the laptop.

And my sleep seems to work from the outside, the led fades on and off but the fan keeps spinning, or it at least still has coil wine and drains the battery at a normal rate.

I lose my network if I walk around the office. This usually works on my T14s running NixOS:

Stop all the things network:

sudo systemctl stop systemd-networkd; sudo systemctl stop NetworkManager; sudo systemctl stop iwd; sudo rfkill block 0

(Re)Start all the things network:

sudo rfkill unblock 0; sleep 2; sudo systemctl restart NetworkManager; sleep 2; sudo systemctl restart systemd-networkd

Hope this saves you from restarting your entire laptop.

1 Like

I don’t think the solution (from the context) was intended to fix the sleep issue but the WPA3 disconnects.

1 Like