I am trying to replicate the setup described in this guide: How to change your voice live on Linux
So, I install following packages into my debian-12-xfce template (I also tried the same on whonix-workstation-17 template):
sudo apt install qjackctl tap-plugins pulseaudio-module-jack jack-tools alsa-utils
Then I shutdown the template, start a qube on that template. I open a terminal and start qjackctl
program. I get the following error:
13:10:01.390 ALSA connection graph change.
Thu Sep 26 10:10:01 2024: Starting jack server...
Thu Sep 26 10:10:01 2024: JACK server starting in realtime mode with priority 10
Thu Sep 26 10:10:01 2024: self-connect-mode is "Don't restrict self connect requests"
Thu Sep 26 10:10:01 2024: ERROR: control open "hw:0" (No such file or directory)
Thu Sep 26 10:10:01 2024: ERROR: control open "hw:0" (No such file or directory)
Thu Sep 26 10:10:01 2024: creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
Thu Sep 26 10:10:01 2024: ERROR: control open "hw:0" (No such file or directory)
Thu Sep 26 10:10:01 2024: ERROR: ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode
Thu Sep 26 10:10:01 2024: ERROR: control open "hw:0" (No such file or directory)
Thu Sep 26 10:10:01 2024: ERROR: control open "hw:0" (No such file or directory)
Thu Sep 26 10:10:01 2024: ERROR: Cannot initialize driver
Thu Sep 26 10:10:01 2024: ERROR: JackServer::Open failed with -1
Thu Sep 26 10:10:01 2024: ERROR: Failed to open server
Thu Sep 26 10:10:02 2024: Saving settings to "/home/user/.config/jack/conf.xml" ...
13:10:03.591 Could not connect to JACK server as client. - Overall operation failed. - Unable to connect to server. Please check the messages window for more info.
Searching on the internet, I try to diagnose the problem. One recommended way to diagnose is to check the soundcards available to the qube:
% aplay -l
aplay: device_list:274: no soundcards found...
I also use the following command again to check for the soundcards:
% cat /proc/asound/cards
--- no soundcards ---
and I get stuck.
So, how do I get the qjackctl
working in qubes? Do I have to attach a hardware device to the qube? But on my novacustom NV41 laptop, under the “hardware attachment” systray utility, I only have Microphone (from dom0), my webcam (from sys-usb) and my bluetooth card (from sys-usb) available for attaching to qubes – I don’t see a soundcard available for attaching.