Hi all,

I think we're confusing OP, who is using the correct 7th gen audio
interface, with someone who chimed in with their 2nd gen audio interface
aplay results.

I've got a solution. The period that this driver uses is an EXTREMELY
non-standard 1008 samples.

I discovered this by making a dummy jackd server and adding the card
manually via alsa_in:

[19:36:16]daniel@daniel-ThinkPad-X1-Carbon-7th:~> 
$alsa_in -d hw:CARD=sofhdadsp,DEV=0 -r 48000
WARNING: buffer size does not match: (requested 2048, got 2040)
WARNING: period size does not match: (requested 1024, got 1008)
selected sample format: 32bit
delay = 4208
delay = 1022

Anyway, the solution here is to use a period of 1008. This can be
assigned in qjackctl by typing it in instead of using the dropdown, or
via cli with the `--period 1008` option.

Some audio applications will need additional config. For example,
supercollider requires a 2^n block size that is a factor of the sample
rate. This can be achieved by executing `s.options.blockSize = 16;`
before booting the server.

Other than the bizarre period, most of the defaults work quite well.
Obviously this can be tuned, but at a bare minimum, jackd can be
successfully started on my machine via:

[02:37:47]daniel@daniel-ThinkPad-X1-Carbon-7th:/usr/lib/firmware/intel/sof-tplg>
 
$jackd -d alsa --period 1008

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1872244

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/jackd-defaults/+bug/1872244/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to