Hi. thanks for taking the time to read my problem.
I am trying to start Qjackctl without success. Here is the log:
Code:
10:03:51.979 Startup script...
10:03:51.980 systemctl --user stop pulseaudio.socket && systemctl --user stop pulseaudio.service
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
10:03:52.384 Startup script terminated successfully.
10:03:52.657 D-BUS: JACK server could not be started. Sorry
Tue Mar 23 10:03:52 2021: Starting jack server...
Tue Mar 23 10:03:52 2021: JACK server starting in realtime mode with priority 10
Tue Mar 23 10:03:52 2021: self-connect-mode is "Don't restrict self connect requests"
Tue Mar 23 10:03:52 2021: Acquired audio card Audio1
Tue Mar 23 10:03:52 2021: creating alsa driver ... hw:sofhdadsp|hw:sofhdadsp|1024|2|48000|0|0|nomon|swmeter|-|32bit
Tue Mar 23 10:03:52 2021: configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
Tue Mar 23 10:03:52 2021: ALSA: final selected sample format for capture: 24bit little-endian
Tue Mar 23 10:03:52 2021: ERROR: ALSA: cannot set period size to 1024 frames for capture
Tue Mar 23 10:03:52 2021: ERROR: ALSA: cannot configure capture channel
Tue Mar 23 10:03:52 2021: Released audio card Audio1
Tue Mar 23 10:03:52 2021: ERROR: Cannot initialize driver
Tue Mar 23 10:03:52 2021: ERROR: JackServer::Open failed with -1
Tue Mar 23 10:03:52 2021: ERROR: Failed to open server
Tue Mar 23 10:03:54 2021: Saving settings to "/home/jherz/.config/jack/conf.xml" ...
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 6746, resource id: 27263193, major code: 40 (TranslateCoords), minor code: 0
10:04:01.897 Could not connect to JACK server as client. - Overall operation failed. - Unable to connect to server. Please check the messages window for more info.
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 7159, resource id: 27263202, major code: 40 (TranslateCoords), minor code: 0
The first error is ALSA being unable to set the period size. I have tried most of the possible values here and always get the same error. I have also tried it with and without disabling pulseAudio:
Execute script on startup: systemctl --user stop pulseaudio.socket && systemctl --user stop pulseaudio.service
I am a member of the audio and video groups. There is no ALSA group.
aplayer:
Code:
:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 11: HDMI 5 [HDMI 5]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 12: HDMI 6 [HDMI 6]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: sofhdadsp [sof-hda-dsp], device 0: HDA Analog (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: sofhdadsp [sof-hda-dsp], device 1: HDA Digital (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: sofhdadsp [sof-hda-dsp], device 3: HDMI1 (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: sofhdadsp [sof-hda-dsp], device 4: HDMI2 (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: sofhdadsp [sof-hda-dsp], device 5: HDMI3 (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
My computer is a Dell G7 laptop. I am running Ubuntu Studio 20.10, which has the realtime kernel by default. Any thoughts would be very much appreciated.