fix(launch): the guard that could not see Ardour, the gate that was in the other script, the window that never closed Three things PLN hit in one launch. ARDOUR RELAUNCHED OVER A RUNNING ONE. The guard was `pgrep -f 'ardour-[0-9]'`, and `/usr/bin/ardour` is a BASH WRAPPER that execs the real binary out of /usr/lib/ardour8 — so for the first second of a launch the process is `bash /usr/bin/ardour …` and that pattern misses it entirely. Re-run gig-up inside that window and the second Ardour fights the first for the session lock. Now matches the wrapper AND the exec'd name, both bracket-tricked so pgrep cannot match the command line asking the question. Verified against the live box: neither pattern catches tidal-ardour-autoroute, which runs permanently and would otherwise have made the guard always true. THE PRELOAD GATE WAS IN THE SCRIPT NOBODY LAUNCHES. There are two gig-up scripts with separate histories: this one (528 lines, what parvagues.desktop runs) has the readiness gate, cut-gpu, the headphones fold and the fader restore; tools/gig-up.sh (620 lines, what the Bridge's RIG UP runs) has check-preload, --bt-off and check-boot. Neither is a superset, and both accept --converge and --quiet, which is exactly how it stayed invisible. So the path PLN actually presses never checked whether the set's banks are warmed — the failure check-preload.sh's own header calls "debuted as a crackle at the venue". Added here as REPORT ONLY: `--fix` regenerates a load-bearing boot file, and doing that at a venue is the landmine rather than the cure. Output is filtered to the verdict and any MISSING banks; the 66-name "warmed on purpose" roster is dropped, because at a venue the useful output is one line long. THE TERMINAL STAYED OPEN AFTER A CLEAN LAUNCH. `kitty --hold` was a real fence — GNOME's Terminal=true handler is not guaranteed to exist and the boot log is what you want when a launch goes sideways — but holding on SUCCESS left a dead window parked over the rig all night, and on stage every window that is not the music is in the way. tools/gig-up-window.sh tees the log to ~/.cache/parvagues/gig-up.log every time, keeps the previous one as .log.1, and holds the window only on a non-zero exit. A file beats a held window on both counts: it survives the window and it survives success. It is a separate file rather than a longer Exec= line because the desktop spec reserves `" $ & ; | < > ( )` inside Exec, so a pipeline with a conditional read has to be escaped twice and breaks silently on the third edit. Merging the two gig-up scripts is the right fix and is NOT a two-days-out job — design landing separately.
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| at | Loading commit data... | |
| bridge | Loading commit data... | |
| foundry | Loading commit data... | |
| pulsar-parvagues-hud | Loading commit data... | |
| pvlint | Loading commit data... | |
| tests | Loading commit data... | |
| README.md | Loading commit data... | |
| analyze_samples.py | Loading commit data... | |
| ardour-drop-missing-sources.py | Loading commit data... | |
| ardour-tidal-live.desktop | Loading commit data... | |
| ardour_session.py | Loading commit data... | |
| audio-lens.py | Loading commit data... | |
| bank-check.py | Loading commit data... | |
| button-column-audit.py | Loading commit data... | |
| button_roles.py | Loading commit data... | |
| cheat-sheet.py | Loading commit data... | |
| check-audio-graph.sh | Loading commit data... | |
| check-boot-blocks.py | Loading commit data... | |
| check-boot.sh | Loading commit data... | |
| check-drift.sh | Loading commit data... | |
| check-mix.py | Loading commit data... | |
| check-preload.sh | Loading commit data... | |
| check-tracks.sh | Loading commit data... | |
| compact-orbits.py | Loading commit data... | |
| control-lens.py | Loading commit data... | |
| deshadow-helpers.py | Loading commit data... | |
| fader-baseline.py | Loading commit data... | |
| fan_check.sh | Loading commit data... | |
| fix-button-roles.py | Loading commit data... | |
| fix-mute-roles.py | Loading commit data... | |
| fold-orbits.py | Loading commit data... | |
| gen_setbuilder_catalog.py | Loading commit data... | |
| gen_setlist.py | Loading commit data... | |
| gen_tokens.py | Loading commit data... | |
| gen_ts_types.py | Loading commit data... | |
| gig-log.py | Loading commit data... | |
| gig-log.service | Loading commit data... | |
| gig-metadata.py | Loading commit data... | |
| gig-preflight.py | Loading commit data... | |
| gig-up-window.sh | Loading commit data... | |
| gig-up.sh | Loading commit data... | |
| gig_record.sh | Loading commit data... | |
| install-protect.sh | Loading commit data... | |
| latency-lens.py | Loading commit data... | |
| lcxl-init.py | Loading commit data... | |
| lcxl-leds-watch.service | Loading commit data... | |
| lcxl-leds.py | Loading commit data... | |
| lcxl-path.py | Loading commit data... | |
| lcxl3-driver.py | Loading commit data... | |
| lcxl3-driver.service | Loading commit data... | |
| lcxl3-probe-display.py | Loading commit data... | |
| lcxl3.py | Loading commit data... | |
| lcxl3_language.py | Loading commit data... | |
| lcxl_grid.json | Loading commit data... | |
| lcxl_grid.py | Loading commit data... | |
| master-out.py | Loading commit data... | |
| midi-autoconnect.service | Loading commit data... | |
| midi-autoconnect.sh | Loading commit data... | |
| midiviz.desktop | Loading commit data... | |
| midiviz.service | Loading commit data... | |
| migrate-columns.py | Loading commit data... | |
| mock-lcxl.py | Loading commit data... | |
| mute.tidal | Loading commit data... | |
| orphan-orbits.py | Loading commit data... | |
| parvagues-gear | Loading commit data... | |
| parvagues-protect.service | Loading commit data... | |
| parvagues-protect.sh | Loading commit data... | |
| parvagues-rig.target | Loading commit data... | |
| parvagues-samples.service | Loading commit data... | |
| parvagues-sc-watchdog.service | Loading commit data... | |
| parvagues.desktop | Loading commit data... | |
| probe-chain.py | Loading commit data... | |
| pvbanks.py | Loading commit data... | |
| rig-doctor.py | Loading commit data... | |
| rig-install.sh | Loading commit data... | |
| rig-pulse.py | Loading commit data... | |
| rig_units.py | Loading commit data... | |
| sample-pack.py | Loading commit data... | |
| sample-watcher.py | Loading commit data... | |
| sample_tfidf.py | Loading commit data... | |
| sc-watchdog.sh | Loading commit data... | |
| set-coherence.py | Loading commit data... | |
| setlist.py | Loading commit data... | |
| setlist_samples.py | Loading commit data... | |
| shipowiz.py | Loading commit data... | |
| silent-eval.py | Loading commit data... | |
| solo.tidal | Loading commit data... | |
| surface-columns.py | Loading commit data... | |
| sweep_state.py | Loading commit data... | |
| take-lens.py | Loading commit data... | |
| take-master.py | Loading commit data... | |
| take-segments.py | Loading commit data... | |
| tempo-lens.py | Loading commit data... | |
| tidal-ardour-autoroute.service | Loading commit data... | |
| tidal-ardour-autoroute.sh | Loading commit data... | |
| tidal-remote.py | Loading commit data... | |
| tools.png | Loading commit data... | |
| unmute.tidal | Loading commit data... | |
| unsolo.tidal | Loading commit data... |