LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-23-2021, 08:58 PM   #1
JonHerz
LQ Newbie
 
Registered: Mar 2021
Posts: 1

Rep: Reputation: Disabled
Qjackctl will not start; ALSA error


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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error code on qjackctl (jackd2) future64320 Linux - Newbie 1 04-15-2019 02:39 AM
QjackCtl not available on Ubuntu Software Drosera_capensis Linux - Newbie 9 02-28-2019 01:22 PM
arecord | aplay works, qjackctl: system->system does not williamstome Linux - Software 0 08-15-2012 12:51 PM
qjackctl - "Could not connect to JACK server as client" oskar Linux - Software 2 07-09-2007 10:51 PM
Rosegarden, jack, qjackctl error: "can't connect to server as client" deep_inda_jungl Mandriva 3 02-21-2007 12:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration