#
…

2023-12-28

00:30john-cabaj[m]Could also spread things out over PPAs and bring things in as a LP dependency.
00:30john-cabaj[m]s/LP/Launchpad/
09:14TobiasGrosser has joined #ubuntu-asahi
09:15TobiasGrosserGood 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:
09:15TobiasGrosser ├─ Devices:
09:15TobiasGrosser │ 47. Built-in Audio [alsa]
09:15TobiasGrosser ├─ Sinks:
09:15TobiasGrosser │ * 34. Dummy Output [vol: 0.48]
09:15TobiasGrosser ├─ Sink endpoints:
09:15TobiasGrosser ├─ Sources:
09:15TobiasGrosser ├─ Source endpoints:
09:16TobiasGrosser └─ Streams:
09:16TobiasGrosserIs this still too early days, or would someone be interested to debug this with me?
09:16tobhe[m]sure, i just got it running yesterday but I can help you
09:17TobiasGrosser(I guess I am a little over-eager)
09:17tobhe[m]can you show me which kernel version you are running?
09:17TobiasGrosserAny idea how I can debug this. I have a 2023 Mac Book Air 13"
09:17tobhe[m]no worries, I was going to ask for testers anyway 🙂
09:17TobiasGrossergrosser@localhost:~$ sudo dmesg | head
09:17TobiasGrosser[ 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)
09:17TobiasGrosser[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x611f0320]
09:18tobhe[m]ok, that looks good
09:18tobhe[m]you might need to install bankstown-lv2 and speakersafetyd from hand
09:18tobhe[m]I just uploaded a new version of asahi-audio that makes them hard dependencies
09:19tobhe[m]speakersafetyd/mantic,now 0.1.9-1~ubuntuasahi1 arm64 [installed]
09:20tobhe[m]asahi-audio/mantic,now 1.6-1~ubuntuasahi23.10.1 all [installed]
09:20tobhe[m]alsa-ucm-conf-asahi/now 5-1 all [installed,local]
09:20tobhe[m]bankstown-lv2/mantic,now 1.0.3-2~asahi23.10.0 arm64 [installed]
09:22TobiasGrossersudo apt install asahi-audio speakersafetyd alsa-ucm-conf-asahi bankstown-lv2
09:22TobiasGrosseralsa-ucm-conf-asahi is already the newest version (3-1ubuntu1).
09:22TobiasGrosserasahi-audio is already the newest version (1.6-1~ubuntuasahi23.10.2).
09:22TobiasGrosserspeakersafetyd is already the newest version (0.1.9-1~ubuntuasahi1).
09:22TobiasGrosserbankstown-lv2 is already the newest version (1.0.3-2~ppa0).
09:22TobiasGrosser0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
09:23TobiasGrosserAfter `systemctl --user restart pipewire wireplumber pipewire-pulse` I still don't have an output.
09:23TobiasGrosserThe output of wpctl status remains unchanged.
09:24TobiasGrosser(I already had all these packages installed before I wrote here. Btw, thank you for making them available so timely)
09:28TobiasGrosserI can find the following in my syslog:
09:28TobiasGrosser2023-12-28T10:22:58.422324+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd] Starting up
09:28TobiasGrosser2023-12-28T10:22:58.422410+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd] Config base: "/usr/share/speakersafetyd/"
09:28TobiasGrosser2023-12-28T10:22:58.422482+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd] Machine: apple,j413
09:28TobiasGrosser2023-12-28T10:22:58.422531+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd] Config file: "/usr/share/speakersafetyd/apple/j413.conf"
09:28TobiasGrosser2023-12-28T10:22:58.422578+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd] Device: hw:AppleJ413
09:28TobiasGrosser2023-12-28T10:22:58.422624+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::uclamp] Set task uclamp to 0:64
09:28TobiasGrosser2023-12-28T10:22:58.422673+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd] Enabling blackbox, path: "/var/lib/speakersafetyd/blackbox"
09:28TobiasGrosser2023-12-28T10:22:58.422719+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd] Found 4 speakers
09:28TobiasGrosser2023-12-28T10:22:58.422764+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd] Opening control device
09:28TobiasGrosser2023-12-28T10:22:58.422979+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd] Startup mode: Warm boot
09:28TobiasGrosser2023-12-28T10:22:58.423029+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Speaker [Left Woofer]:
09:28TobiasGrosser2023-12-28T10:22:58.423097+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Group: 1
09:28TobiasGrosser2023-12-28T10:22:58.423143+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Max temperature: 140.0 °C
09:28TobiasGrosser2023-12-28T10:22:58.423188+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Amp gain: 18.5 dBV
09:28TobiasGrosser2023-12-28T10:22:58.423236+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Max power: 1.73 W
09:28TobiasGrosser2023-12-28T10:22:58.423281+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Peak power: 35.39729 W
09:28TobiasGrosser2023-12-28T10:22:58.423328+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Min gain: -13.12 dB
09:28TobiasGrosser2023-12-28T10:22:58.423375+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Speaker [Right Woofer]:
09:28TobiasGrosser2023-12-28T10:22:58.423460+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Group: 1
09:28TobiasGrosser2023-12-28T10:22:58.423506+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Max temperature: 140.0 °C
09:28TobiasGrosser2023-12-28T10:22:58.423552+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Amp gain: 18.5 dBV
09:28TobiasGrosser2023-12-28T10:22:58.423596+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Max power: 1.73 W
09:28TobiasGrosser2023-12-28T10:22:58.423641+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Peak power: 35.39729 W
09:28TobiasGrosser2023-12-28T10:22:58.423686+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Min gain: -13.12 dB
09:28TobiasGrosser2023-12-28T10:22:58.423730+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Speaker [Left Tweeter]:
09:28TobiasGrosser2023-12-28T10:22:58.423776+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Group: 0
09:29TobiasGrosser2023-12-28T10:22:58.423822+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Max temperature: 140.0 °C
09:29TobiasGrosser2023-12-28T10:22:58.423866+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Amp gain: 18.5 dBV
09:29TobiasGrosser2023-12-28T10:22:58.423910+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Max power: 0.30 W
09:29TobiasGrosser2023-12-28T10:22:58.423954+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Peak power: 38.0616 W
09:29TobiasGrosser2023-12-28T10:22:58.424015+01:00 localhost kernel: [ 1835.590950] snd-soc-macaudio sound: Speaker volumes unlocked
09:29TobiasGrosser2023-12-28T10:22:58.424014+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Min gain: -21.10 dB
09:29TobiasGrosser2023-12-28T10:22:58.424062+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Speaker [Right Tweeter]:
09:29TobiasGrosser2023-12-28T10:22:58.424108+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Group: 0
09:29TobiasGrosser2023-12-28T10:22:58.424152+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Max temperature: 140.0 °C
09:29TobiasGrosser2023-12-28T10:22:58.424195+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Amp gain: 18.5 dBV
09:29TobiasGrosser2023-12-28T10:22:58.424237+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Max power: 0.30 W
09:29TobiasGrosser2023-12-28T10:22:58.424279+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Peak power: 38.0616 W
09:29TobiasGrosser2023-12-28T10:22:58.424321+01:00 localhost speakersafetyd[13741]: INFO [speakersafetyd::types] Min gain: -21.10 dB
09:29TobiasGrosser2023-12-28T10:22:58.424362+01:00 localhost speakersafetyd[13741]: PCM rate: 8000..192000
09:29TobiasGrosser(let me know if posting the syslog files here verbosely is against some community conventions)
09:31TobiasGrosserHere the output of `systemctl --user status pipewire wireplumber pipewire-pulse`: https://gist.github.com/tobiasgrosser/f8b5782a4d3b18b67ecbe66dfaafe42e
09:31TobiasGrosserA couple of errors about jackdbus, pPortalPermissionStorePlugin, and libcamera. None looks actionable and 100% related.
09:32TobiasGrosserI do not have /etc/pipewire and /etc/wireplumber, but all files are in /var/share. Is that correct?
09:33TobiasGrosserI got some error with respect to also, so I created `/etc/alsa/state-daemon.conf`. I removed it now and restart. Maybe this helps?
09:36TobiasGrosser1 has joined #ubuntu-asahi
09:38TobiasGrosser1The restart did not help.
09:41TobiasGrosser has quit [Ping timeout: 480 seconds]
09:41TobiasGrosser1 is now known as TobiasGrosser
09:44tobhe[m]so my alsa ucm conf is newer
09:49TobiasGrosserShould I not get the latest version automatically?
09:49TobiasGrossergrosser@localhost:~$ sudo apt update
09:49TobiasGrosserReading package lists... Done
09:49TobiasGrosserBuilding dependency tree... Done
09:49TobiasGrosserReading state information... Done
09:49TobiasGrosserAll packages are up to date.
09:49TobiasGrossergrosser@localhost:~$ sudo apt install alsa-ucm-conf-asahi
09:50TobiasGrosserReading package lists... Done
09:50TobiasGrosserReading state information... Done
09:50TobiasGrosserBuilding dependency tree... Done
09:50TobiasGrosser0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
09:50TobiasGrosseralsa-ucm-conf-asahi is already the newest version (3-1ubuntu1).
09:51tobhe[m]ok, so alsa-ucm-conf-asahi 5.1 should also be there in a few minutes
09:51tobhe[m]I had uploaded it only for jammy, not for mantic
09:52tobhe[m]you might also want to remove and reinstall bankstown-lv2
09:54TobiasGrosserOK. I am waiting for the updates. Will let you know as I receive them.
10:08TobiasGrosserGreat. It works now.
10:13TobiasGrosserI 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'.
10:13TobiasGrosserLet me know if you need further testers.
10:13TobiasGrosserThank you tobhe, this was super helpful.
10:13TobiasGrosser has left #ubuntu-asahi [#ubuntu-asahi]
10:14tobhe[m]nice! yes, launchpad always takes some time to publish
10:14tobhe[m]so that means everything we have in our repos works :) thx for testing
10:15TobiasGrosser has joined #ubuntu-asahi
10:15TobiasGrosser has quit [Quit: Leaving.]
10:15tobhe[m]now i only need to have it all installed by default
11:06TobiasGrosser has joined #ubuntu-asahi
11:06TobiasGrosser has left #ubuntu-asahi [#ubuntu-asahi]
11:06TobiasGrosser has joined #ubuntu-asahi
11:07TobiasGrosser has quit []
16:34john-cabaj has joined #ubuntu-asahi
16:46john-cabaj has quit [Ping timeout: 480 seconds]
22:12tobhe[m]updated ubuntu-asahi-meta, now everything should actually be in place in asahi-testing
23:12john-cabaj has joined #ubuntu-asahi
23:24john-cabaj has quit [Ping timeout: 480 seconds]
…