NickvisionApps / Cavalier

Visualize audio with CAVA
MIT License
156 stars 8 forks source link

Can't connect to audio #100

Closed thegrasshopper104 closed 1 year ago

thegrasshopper104 commented 1 year ago

2023.8.1 just displays the new "Let's dance!" screen terminal shows no errors: _[AURA] Listening to commands.

(NickvisionCavalier.GNOME:2): Gtk-CRITICAL **: 00:46:29.876: gtk_widget_get_parent: assertion 'GTK_IS_WIDGET (widget)' failed

(NickvisionCavalier.GNOME:2): Gtk-CRITICAL **: 00:46:29.883: gtk_widget_add_css_class: assertion 'GTK_ISWIDGET (widget)' failed

Fresh install on KDE neon 5.27, Plasma 5.27.6 Kernel Version: 5.19.0-50-generic (64-bit) pulseaudio permission is granted

fsobolev commented 1 year ago

Flatpak or snap? Could you try to use PulseAudio volume control to ensure that Cavalier is listening to correct input?

image

fsobolev commented 1 year ago

I managed to reproduce it with flatpak in Lubuntu VM. Could you confirm that the app works fine with CAVALIER_INPUT_METHOD=pulse?

thegrasshopper104 commented 1 year ago

If I flatpak run org.nickvision.cavalier CAVALIER_INPUT_METHOD=pulse it's still not working

fsobolev commented 1 year ago

If I flatpak run org.nickvision.cavalier CAVALIER_INPUT_METHOD=pulse it's still not working

Sorry, I should have provided you with a correct full command:

flatpak run --env=CAVALIER_INPUT_METHOD=pulse org.nickvision.cavalier

thegrasshopper104 commented 1 year ago

Of course, I forgot the env part. Now it runs, even though the automatic sensitivity messes it up, after adjusting it manually it works well :)

fsobolev commented 1 year ago

I will revert to using PulseAudio by default in next version then. The temporary workaround is to use this env var (or snap package).