tobhe changed the topic of #ubuntu-asahi to: Ubuntu-Asahi development | Github: https://github.com/UbuntuAsahi | Logs: https://oftc.irclog.whitequark.org/ubuntu-asahi
<john-cabaj[m]> Could also spread things out over PPAs and bring things in as a LP dependency.
<john-cabaj[m]> s/LP/Launchpad/
TobiasGrosser has joined #ubuntu-asahi
<TobiasGrosser> Good morning. I am currently trying the latest audio patches for ubuntu-asahi from testing, and it seems everything is installed correctly. Unfortunately, my output for `wpctl status` is still very empty:
<TobiasGrosser> ```
<TobiasGrosser> Audio
<TobiasGrosser> ├─ Devices:
<TobiasGrosser> │ 47. Built-in Audio [alsa]
<TobiasGrosser> │
<TobiasGrosser> ├─ Sinks:
<TobiasGrosser> │ * 34. Dummy Output [vol: 0.48]
<TobiasGrosser> │
<TobiasGrosser> ├─ Sink endpoints:
<TobiasGrosser> │
<TobiasGrosser> ├─ Sources:
<TobiasGrosser> │
<TobiasGrosser> ├─ Source endpoints:
<TobiasGrosser> │
<TobiasGrosser> └─ Streams:
<TobiasGrosser> ```
<TobiasGrosser> Is this still too early days, or would someone be interested to debug this with me?
<tobhe[m]> hi!
<tobhe[m]> sure, i just got it running yesterday but I can help you
<TobiasGrosser> (I guess I am a little over-eager)
<tobhe[m]> can you show me which kernel version you are running?
<TobiasGrosser> Any idea how I can debug this. I have a 2023 Mac Book Air 13"
<tobhe[m]> no worries, I was going to ask for testers anyway 🙂
<TobiasGrosser> grosser@localhost:~$ sudo dmesg | head
<TobiasGrosser> [ 0.000000] Linux version 6.6.0-1003-apple-arm (buildd@bos03-arm64-008) (aarch64-linux-gnu-gcc-13 (Ubuntu 13.2.0-9ubuntu1) 13.2.0, GNU ld (GNU Binutils for Ubuntu) 2.41.50.20231214) #3-Ubuntu SMP PREEMPT_DYNAMIC Wed Dec 27 01:40:02 UTC 2023 (Ubuntu 6.6.0-1003.3-apple-arm 6.6.3)
<TobiasGrosser> [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x611f0320]
<tobhe[m]> ok, that looks good
<tobhe[m]> you might need to install bankstown-lv2 and speakersafetyd from hand
<tobhe[m]> I just uploaded a new version of asahi-audio that makes them hard dependencies
<tobhe[m]> speakersafetyd/mantic,now 0.1.9-1~ubuntuasahi1 arm64 [installed]
<tobhe[m]> asahi-audio/mantic,now 1.6-1~ubuntuasahi23.10.1 all [installed]
<tobhe[m]> alsa-ucm-conf-asahi/now 5-1 all [installed,local]
<tobhe[m]> bankstown-lv2/mantic,now 1.0.3-2~asahi23.10.0 arm64 [installed]
<TobiasGrosser> sudo apt install asahi-audio speakersafetyd alsa-ucm-conf-asahi bankstown-lv2
<TobiasGrosser> alsa-ucm-conf-asahi is already the newest version (3-1ubuntu1).
<TobiasGrosser> [...]
<TobiasGrosser> asahi-audio is already the newest version (1.6-1~ubuntuasahi23.10.2).
<TobiasGrosser> speakersafetyd is already the newest version (0.1.9-1~ubuntuasahi1).
<TobiasGrosser> bankstown-lv2 is already the newest version (1.0.3-2~ppa0).
<TobiasGrosser> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
<TobiasGrosser> After `systemctl --user restart pipewire wireplumber pipewire-pulse` I still don't have an output.
<TobiasGrosser> The output of wpctl status remains unchanged.
<TobiasGrosser> (I already had all these packages installed before I wrote here. Btw, thank you for making them available so timely)
<TobiasGrosser> I can find the following in my syslog:
<TobiasGrosser> ```
<TobiasGrosser> 2023-12-28T10:22:58.422324+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd] Starting up
<TobiasGrosser> 2023-12-28T10:22:58.422410+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd] Config base: "/usr/share/speakersafetyd/"
<TobiasGrosser> 2023-12-28T10:22:58.422482+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd] Machine: apple,j413
<TobiasGrosser> 2023-12-28T10:22:58.422531+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd] Config file: "/usr/share/speakersafetyd/apple/j413.conf"
<TobiasGrosser> 2023-12-28T10:22:58.422578+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd] Device: hw:AppleJ413
<TobiasGrosser> 2023-12-28T10:22:58.422624+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::uclamp] Set task uclamp to 0:64
<TobiasGrosser> 2023-12-28T10:22:58.422673+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd] Enabling blackbox, path: "/var/lib/speakersafetyd/blackbox"
<TobiasGrosser> 2023-12-28T10:22:58.422719+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd] Found 4 speakers
<TobiasGrosser> 2023-12-28T10:22:58.422764+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd] Opening control device
<TobiasGrosser> 2023-12-28T10:22:58.422979+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd] Startup mode: Warm boot
<TobiasGrosser> 2023-12-28T10:22:58.423029+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Speaker [Left Woofer]:
<TobiasGrosser> 2023-12-28T10:22:58.423097+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Group: 1
<TobiasGrosser> 2023-12-28T10:22:58.423143+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Max temperature: 140.0 °C
<TobiasGrosser> 2023-12-28T10:22:58.423188+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Amp gain: 18.5 dBV
<TobiasGrosser> 2023-12-28T10:22:58.423236+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Max power: 1.73 W
<TobiasGrosser> 2023-12-28T10:22:58.423281+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Peak power: 35.39729 W
<TobiasGrosser> 2023-12-28T10:22:58.423328+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Min gain: -13.12 dB
<TobiasGrosser> 2023-12-28T10:22:58.423375+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Speaker [Right Woofer]:
<TobiasGrosser> 2023-12-28T10:22:58.423460+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Group: 1
<TobiasGrosser> 2023-12-28T10:22:58.423506+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Max temperature: 140.0 °C
<TobiasGrosser> 2023-12-28T10:22:58.423552+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Amp gain: 18.5 dBV
<TobiasGrosser> 2023-12-28T10:22:58.423596+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Max power: 1.73 W
<TobiasGrosser> 2023-12-28T10:22:58.423641+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Peak power: 35.39729 W
<TobiasGrosser> 2023-12-28T10:22:58.423686+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Min gain: -13.12 dB
<TobiasGrosser> 2023-12-28T10:22:58.423730+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Speaker [Left Tweeter]:
<TobiasGrosser> 2023-12-28T10:22:58.423776+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Group: 0
<TobiasGrosser> 2023-12-28T10:22:58.423822+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Max temperature: 140.0 °C
<TobiasGrosser> 2023-12-28T10:22:58.423866+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Amp gain: 18.5 dBV
<TobiasGrosser> 2023-12-28T10:22:58.423910+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Max power: 0.30 W
<TobiasGrosser> 2023-12-28T10:22:58.423954+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Peak power: 38.0616 W
<TobiasGrosser> 2023-12-28T10:22:58.424015+01:00 localhost kernel: [ 1835.590950] snd-soc-macaudio sound: Speaker volumes unlocked
<TobiasGrosser> 2023-12-28T10:22:58.424014+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Min gain: -21.10 dB
<TobiasGrosser> 2023-12-28T10:22:58.424062+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Speaker [Right Tweeter]:
<TobiasGrosser> 2023-12-28T10:22:58.424108+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Group: 0
<TobiasGrosser> 2023-12-28T10:22:58.424152+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Max temperature: 140.0 °C
<TobiasGrosser> 2023-12-28T10:22:58.424195+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Amp gain: 18.5 dBV
<TobiasGrosser> 2023-12-28T10:22:58.424237+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Max power: 0.30 W
<TobiasGrosser> 2023-12-28T10:22:58.424279+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Peak power: 38.0616 W
<TobiasGrosser> 2023-12-28T10:22:58.424321+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Min gain: -21.10 dB
<TobiasGrosser> 2023-12-28T10:22:58.424362+01:00 localhost speakersafetyd[13741]: PCM rate: 8000..192000
<TobiasGrosser> ```
<TobiasGrosser> (let me know if posting the syslog files here verbosely is against some community conventions)
<TobiasGrosser> Here the output of `systemctl --user status pipewire wireplumber pipewire-pulse`: https://gist.github.com/tobiasgrosser/f8b5782a4d3b18b67ecbe66dfaafe42e
<TobiasGrosser> A couple of errors about jackdbus, pPortalPermissionStorePlugin, and libcamera. None looks actionable and 100% related.
<TobiasGrosser> I do not have /etc/pipewire and /etc/wireplumber, but all files are in /var/share. Is that correct?
<TobiasGrosser> I got some error with respect to also, so I created `/etc/alsa/state-daemon.conf`. I removed it now and restart. Maybe this helps?
TobiasGrosser1 has joined #ubuntu-asahi
<TobiasGrosser1> The restart did not help.
TobiasGrosser has quit [Ping timeout: 480 seconds]
TobiasGrosser1 is now known as TobiasGrosser
<tobhe[m]> so my alsa ucm conf is newer
<TobiasGrosser> Right.
<TobiasGrosser> Should I not get the latest version automatically?
<TobiasGrosser> grosser@localhost:~$ sudo apt update
<TobiasGrosser> ```
<TobiasGrosser> Hit:1 http://ports.ubuntu.com/ubuntu-ports mantic InRelease
<TobiasGrosser> Hit:2 http://ports.ubuntu.com/ubuntu-ports mantic-updates InRelease
<TobiasGrosser> Hit:3 http://ports.ubuntu.com/ubuntu-ports mantic-backports InRelease
<TobiasGrosser> Hit:4 http://packages.microsoft.com/repos/code stable InRelease
<TobiasGrosser> Hit:5 http://ports.ubuntu.com/ubuntu-ports mantic-security InRelease
<TobiasGrosser> Hit:7 https://ppa.launchpadcontent.net/tobhe/asahi/ubuntu mantic InRelease
<TobiasGrosser> Hit:9 https://ppa.launchpadcontent.net/tobhe/audiotest2/ubuntu mantic InRelease
<TobiasGrosser> Reading package lists... Done
<TobiasGrosser> Building dependency tree... Done
<TobiasGrosser> Reading state information... Done
<TobiasGrosser> All packages are up to date.
<TobiasGrosser> grosser@localhost:~$ sudo apt install alsa-ucm-conf-asahi
<TobiasGrosser> Reading package lists... Done
<TobiasGrosser> Reading state information... Done
<TobiasGrosser> Building dependency tree... Done
<TobiasGrosser> ```
<TobiasGrosser> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
<TobiasGrosser> alsa-ucm-conf-asahi is already the newest version (3-1ubuntu1).
<tobhe[m]> ok, so alsa-ucm-conf-asahi 5.1 should also be there in a few minutes
<tobhe[m]> I had uploaded it only for jammy, not for mantic
<tobhe[m]> you might also want to remove and reinstall bankstown-lv2
<TobiasGrosser> OK. I am waiting for the updates. Will let you know as I receive them.
<TobiasGrosser> Great. It works now.
<TobiasGrosser> I had to download the .deb file from https://launchpad.net/~tobhe/+archive/ubuntu/asahi-testing/+packages as the package seems to be stuck in 'pending'.
<TobiasGrosser> Let me know if you need further testers.
<TobiasGrosser> Thank you tobhe, this was super helpful.
TobiasGrosser has left #ubuntu-asahi [#ubuntu-asahi]
<tobhe[m]> nice! yes, launchpad always takes some time to publish
<tobhe[m]> so that means everything we have in our repos works :) thx for testing
TobiasGrosser has joined #ubuntu-asahi
TobiasGrosser has quit [Quit: Leaving.]
<tobhe[m]> now i only need to have it all installed by default
TobiasGrosser has joined #ubuntu-asahi
TobiasGrosser has left #ubuntu-asahi [#ubuntu-asahi]
TobiasGrosser has joined #ubuntu-asahi
TobiasGrosser has quit []
john-cabaj has joined #ubuntu-asahi
john-cabaj has quit [Ping timeout: 480 seconds]
<tobhe[m]> updated ubuntu-asahi-meta, now everything should actually be in place in asahi-testing
john-cabaj has joined #ubuntu-asahi
john-cabaj has quit [Ping timeout: 480 seconds]