Asahi Notes

From ZENotes
(Difference between revisions)
Jump to: navigation, search
(To The Bug)
 
(One intermediate revision by one user not shown)
Line 32: Line 32:
 
3. Reboot for good measure, accepting the "critical update" request from Gnome Software
 
3. Reboot for good measure, accepting the "critical update" request from Gnome Software
  
---------------------------Freshly booted, virgin, updated-------------------------------------
+
<----------Freshly booted, virgin, updated---------------->
  
 
4. Check the wireplumber install with an eye on the arch wiki:
 
4. Check the wireplumber install with an eye on the arch wiki:
Line 73: Line 73:
 
- Crashed when I manually stopped the audio engine to switch to jack, killing volume buttons and resetting all to 6 channels
 
- Crashed when I manually stopped the audio engine to switch to jack, killing volume buttons and resetting all to 6 channels
  
- four : jack ; fails with Jack complaining it hasn't got permissions to get a real time session ; sound settings shows "dummy output" only, Ardour crashes it all - note : this is without pipewire-jack, this on default Jack-connection-kit
+
- four : jack ; fails with Jack complaining it hasn't got permissions to get a real time session ; sound settings shows "dummy output" only, Ardour crashes it all - note : this is without pipewire-jack, this on default Jack-connection-kit.
Later startup crashes shows other crash info like impossibility to connect to socket
+
Later startup crashes shows other crash info like impossibility to connect to socket.
  
 
- Five : install pipewire-jack now. And now it works :)
 
- Five : install pipewire-jack now. And now it works :)

Latest revision as of 21:58, 30 January 2024

Install / Reinstall

Uninstall according to the Asahi Wiki "partition cheatsheet"

https://leo3418.github.io/asahi-wiki-build/partitioning-cheatsheet/

Install with the provided script at

https://alx.sh%7Csh

Pay attention when you must reboot after step 1 into Step 2! It's the part where you hit "enter" for shut down and must wait 30 seconds and then keep the Power Button pressed down to restart with a Prompt about choosing what to boot.

Now Ardour is a flatpak unfortunately ; there's 2 providers, Fedora and (seeing the apple or a "macos recovery" splash at this stage is normal ; just wait for the terminal to pop up with instructions)

Local Policy Update takes time. Please wait.

Keep ignoring the patronizing apple about the security of your device. enter mac username and password as asked.

To The Bug

I am trying to reproduce a bug with Ardour that kills the nice sound hack from the asahi people to put the 6 speakers into a combined stereo pair thanks to speakersafetyd. I need Ardour (as a tool), and I need patch to bluetooth and internal too.

https://github.com/AsahiLinux/speakersafetyd

1. Fresh install of 39 from "welcome start setup"

Note: keyboard, possibly language, should be first step here.

2. Enable 3rd party (I need the Codecs)

3. Reboot for good measure, accepting the "critical update" request from Gnome Software

<----------Freshly booted, virgin, updated---------------->

4. Check the wireplumber install with an eye on the arch wiki: - No pipewire-audio to be found - Pulseaudio is on pipewire-pulseaudio, installed by default - Same for pipewire-alsa - BUT not for jack, where jack-audio-connection-kit is the default - Asahi-audio is installed and up-to-date - Lv2-bankstown same, speakersafetyd same

--> checking out VLC ; Settings now has 2 outputs, "internal" and "macbook" ; "internal" doesn't work. - VLC set output module to Automatic, Alsa or Pipewire, sound works

--> Install helvum for visualisation of patch: everything fine, "macbook pro j414" are 2 inputs (and 6 outputs lol)

So far so good, good sound. But we haven't touched Jack yet - not that I need Jack ; what I need is Ardour with an internal patch

--> Adding Audacity, default settings ; plays nice with VLC into Helvum ; reset VLC to default which says "default alsa output currently pipewire media server"

Let's get to Ardour8 now, from Fedora not Flatpak this time (I noticed the issue with both Flatpaks, Fedora and Flathub)

Ardour Breaks Everything as soon as it is launched ;

- Volume goes 100% unamanageabe through keyboard, - Nice 2 inputs "macbook pro speakers" disapears, replaced with everything times 6 wired to "Build-in audio speakers" - Must Kill everything else that was running on loop (vlc and audacity) to start Ardour in Alsa config ; can't start otherwise --> notice helvum empty, sound settings on "dummy output"

The kill is absolute ; a reboot seems needed. This was with Ardour on Alsa (choice is alsa, pulse, jack)

- Second attempt ; ardour kills the dual input macbook speaker module but speakersafetyd seems to be running

- Restarting speakersafetyd changes nothing - stopping in kills sound (used vlc for test ; vlc outputs 6 into the 6 speakers - I'm afraid I'm sending full-spectrum 100% signal into each one of them, at risk of damage). Stil no control over volume.

- Third attempt ; fresh boot, settings / audio / helvum all good ; last Ardour use was on Pulse ; ardour splashscreen doesn't kill nothing, goes to audio-midi setup step (with pulse preselected) without complaints. Volume keys work, Speakers work, settings on "MacBook Pro J414 Speakers" - opening a new 48khz pulse session now...

Ardour is up, with nothing in it tho. There's a stereo output to the stereo speakers --> this is useless, Ardour doesn't see VLC, Helvum doesn't "see" the ardour input tracks - Crashed when I manually stopped the audio engine to switch to jack, killing volume buttons and resetting all to 6 channels

- four : jack ; fails with Jack complaining it hasn't got permissions to get a real time session ; sound settings shows "dummy output" only, Ardour crashes it all - note : this is without pipewire-jack, this on default Jack-connection-kit. Later startup crashes shows other crash info like impossibility to connect to socket.

- Five : install pipewire-jack now. And now it works :)

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox