Jack audio not working on Ubuntu 20.04 running on a Thinkpad Carbon X1 (7th gen)

Asked by John Smith

I'm using the beta version of Ubuntu 20.04 and Jack Audio is not working. My computer is a Thinkpad X1 Carbon 7th generation and am using the internal audio interface (hw:sofhdadsp). I include more details about my configuration at the end of the message.

When running qjackctl, I get a pop up saying "D-BUS: JACK server could not be started" and the following messages in the log:

12:01:13.413 Statistics reset.
12:01:13.422 ALSA connection change.
12:01:13.424 D-BUS: Service is available (org.jackaudio.service aka jackdbus).
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
12:01:13.524 ALSA connection graph change.
12:01:26.640 D-BUS: JACK server could not be started. Sorry
Sat Apr 11 12:01:26 2020: Starting jack server...
Sat Apr 11 12:01:26 2020: JACK server starting in realtime mode with priority 10
Sat Apr 11 12:01:26 2020: self-connect-mode is "Don't restrict self connect requests"
Sat Apr 11 12:01:26 2020: ERROR: Cannot lock down 82280346 byte memory area (Cannot allocate memory)
Sat Apr 11 12:01:26 2020: Acquired audio card Audio0
Sat Apr 11 12:01:26 2020: creating alsa driver ... hw:sofhdadsp,1|hw:sofhdadsp,1|512|2|48000|0|0|nomon|swmeter|-|32bit
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
Sat Apr 11 12:01:26 2020: ERROR: ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode
Sat Apr 11 12:01:26 2020: Released audio card Audio0
Sat Apr 11 12:01:26 2020: ERROR: Cannot initialize driver
Sat Apr 11 12:01:26 2020: ERROR: JackServer::Open failed with -1
Sat Apr 11 12:01:26 2020: ERROR: Failed to open server
Sat Apr 11 12:01:27 2020: Saving settings to "/home/felipe/.config/jack/conf.xml" ...
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 1002, resource id: 19008475, major code: 40 (TranslateCoords), minor code: 0
12:01:31.990 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

I also tried installing Ubuntu Studio, there I get the same errors with qjackctl and also "Ubuntu Studio Controls" doesn't start.

The output of "lsb_release -rd" is:
Description: Ubuntu Focal Fossa (development branch)
Release: 20.04

The output of "apt-cache policy jackd" is:
jackd:
  Installed: 5+nmu1
  Candidate: 5+nmu1
  Version table:
 *** 5+nmu1 500
        500 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu focal/universe i386 Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: jackd 5+nmu1
ProcVersionSignature: Ubuntu 5.4.0-21.25-lowlatency 5.4.27
Uname: Linux 5.4.0-21-lowlatency x86_64
ApportVersion: 2.20.11-0ubuntu26
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: XFCE
Date: Sat Apr 11 16:28:19 2020
InstallationDate: Installed on 2020-04-06 (5 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200402)
PackageArchitecture: all
SourcePackage: jackd-defaults
UpgradeStatus: No upgrade log present (probably fresh install)

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu jackd-defaults Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Ross Gammon (rosco2) said :
#1

This seems like a support request, rather than a bug. Let us know if Len's suggestion helps.

Revision history for this message
Launchpad Janitor (janitor) said :
#2

This question was expired because it remained in the 'Open' state without activity for the last 15 days.