Update to version 1.4 and the Trixie port (2.0) are already available

ltlnmo
Posts: 22
Joined: Wed Oct 22, 2025 9:49 am

Re: Update to version 1.4 and the Trixie port (2.0) are already available

Post by ltlnmo »

ok i tried this and same thing happening. here is the log. everytime this happens reverting to the original startup does nothing. i have to reflash.
hudiy_log.txt.zip
(9.86 KiB) Downloaded 73 times
hudiy
Site Admin
Posts: 440
Joined: Mon Jul 14, 2025 7:42 pm

Re: Update to version 1.4 and the Trixie port (2.0) are already available

Post by hudiy »

ltlnmo wrote: Thu Nov 27, 2025 9:49 pm ok i tried this and same thing happening. here is the log. everytime this happens reverting to the original startup does nothing. i have to reflash.
hudiy_log.txt.zip
Logs look good. It is visible that proper audio input was selected.
[2025-11-27 21:46:02.304340] [0x00007fff5942ce60] [info] [hudiy] [AudioDevicesManager] selected input: output.dummy_source, dummy_source
By "UI goes black" do you mean that the Hudiy UI is initially visible and then suddenly turns black?
From the logs it's visible that the Carlinkit dongle initiates CarPlay projection. The black screen likely comes from the projection's render surface.

We've just tested with the exact same Carlinkit firmware version, video decoder and resolution (1920x1080), and CarPlay projection works correctly on our side.

Is it possible that your phone is blocking the connection to the Carlinkit until you unlock it? iPhones in some circumstances show a notification saying you must unlock the device to use the CarPlay accessory.

Do you restart the Raspberry Pi after modifying hudiy_startup.sh?
ltlnmo
Posts: 22
Joined: Wed Oct 22, 2025 9:49 am

Re: Update to version 1.4 and the Trixie port (2.0) are already available

Post by ltlnmo »

welp. i feel dumb. that's what it was. forgot the old carplay stuff reconnected now it all works. which statup.sh should i use though? i'm not using a mic now but will later. also on the one in the other thread you posted i was getting alot of audio studder/droput.
hudiy
Site Admin
Posts: 440
Joined: Mon Jul 14, 2025 7:42 pm

Re: Update to version 1.4 and the Trixie port (2.0) are already available

Post by hudiy »

ltlnmo wrote: Thu Nov 27, 2025 11:24 pm welp. i feel dumb. that's what it was. forgot the old carplay stuff reconnected now it all works. which statup.sh should i use though? i'm not using a mic now but will later. also on the one in the other thread you posted i was getting alot of audio studder/droput.
Thanks for the feedback.

Without a microphone, the best option would be using this one with virtual-source:

Code: Select all

#!/bin/bash

EQ_SINK="hudiy_equalizer_sink"
DUMMY_SOURCE="dummy_source"

sink_exists() { pactl list short sinks 2>/dev/null | awk '{print $2}' | grep -Fxq "$1"; }
source_exists() { pactl list short sources 2>/dev/null | awk '{print $2}' | grep -Fxq "$1"; }
until pactl info >/dev/null 2>&1; do sleep 0.1; done

# Gives PipeWire and WirePlumber additional time to detect all audio devices
sleep 1

sink_exists "$EQ_SINK" || pactl load-module module-ladspa-sink sink_name="$EQ_SINK" plugin=hudiy_equalizer label=hudiy_equalizer control=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
source_exists "$DUMMY_SOURCE" || pactl load-module module-virtual-source source_name="$DUMMY_SOURCE"

pactl set-default-sink "$EQ_SINK"
pactl set-default-source "output.${DUMMY_SOURCE}"

$HOME/.hudiy/share/hudiy &
and once you start using the microphone, you can switch back to the original one:

Code: Select all

#!/bin/bash

EC_SINK="echo_cancel_sink"
EC_SOURCE="echo_cancel_source"
EQ_SINK="hudiy_equalizer_sink"

sink_exists() { pactl list short sinks 2>/dev/null | awk '{print $2}' | grep -Fxq "$1"; }
until pactl info >/dev/null 2>&1; do sleep 0.1; done

# Gives PipeWire and WirePlumber additional time to detect all audio devices
sleep 1

sink_exists "$EQ_SINK" || pactl load-module module-ladspa-sink sink_name="$EQ_SINK" master="$EC_SINK" plugin=hudiy_equalizer label=hudiy_equalizer control=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
sink_exists "$EC_SINK" || pactl load-module module-echo-cancel aec_method=webrtc aec_args=\"voice_detection=false\" source_name="$EC_SOURCE" sink_name="$EC_SINK"

pactl set-default-sink "$EQ_SINK"
pactl set-default-source "$EC_SOURCE"

$HOME/.hudiy/share/hudiy &
ltlnmo
Posts: 22
Joined: Wed Oct 22, 2025 9:49 am

Re: Update to version 1.4 and the Trixie port (2.0) are already available

Post by ltlnmo »

Hmmm. maybe this could be something that is selectable in audio setting. like if "no mic detected" use "this" startup audio else use "this"
Post Reply