插孔音频服务器最近停止在我的电脑上工作。我现在在网上搜索了大约2个小时,我找不到任何解决方案来解决我遇到的错误。这是错误日志:
Fri Dec 9 19:33:09 2016: ------------------
Fri Dec 9 19:33:09 2016: Controller activated. Version 1.9.11 (unknown) built on Fri Dec 9 06:06:45 2016
Fri Dec 9 19:33:09 2016: Loading settings from "/home/sean/.config/jack/conf.xml" using expat_2.1.0 ...
Fri Dec 9 19:33:09 2016: setting parameter 'engine':'driver':'(null)' to value "alsa"
Fri Dec 9 19:33:09 2016: setting parameter 'engine':'realtime':'(null)' to value "true"
Fri Dec 9 19:33:09 2016: setting parameter 'engine':'verbose':'(null)' to value "false"
Fri Dec 9 19:33:09 2016: setting parameter 'engine':'client-timeout':'(null)' to value "500"
Fri Dec 9 19:33:09 2016: setting parameter 'drivers':'alsa':'device' to value "hw:USB"
Fri Dec 9 19:33:09 2016: setting parameter 'drivers':'alsa':'capture' to value "hw:USB"
Fri Dec 9 19:33:09 2016: setting parameter 'drivers':'alsa':'playback' to value "hw:USB"
Fri Dec 9 19:33:09 2016: setting parameter 'drivers':'alsa':'rate' to value "44100"
Fri Dec 9 19:33:09 2016: setting parameter 'drivers':'alsa':'period' to value "1024"
Fri Dec 9 19:33:09 2016: setting parameter 'drivers':'alsa':'nperiods' to value "2"
Fri Dec 9 19:33:09 2016: setting parameter 'drivers':'alsa':'hwmon' to value "false"
Fri Dec 9 19:33:09 2016: setting parameter 'drivers':'alsa':'hwmeter' to value "false"
Fri Dec 9 19:33:09 2016: setting parameter 'drivers':'alsa':'duplex' to value "true"
Fri Dec 9 19:33:09 2016: setting parameter 'drivers':'alsa':'softmode' to value "false"
Fri Dec 9 19:33:09 2016: setting parameter 'drivers':'alsa':'monitor' to value "false"
Fri Dec 9 19:33:09 2016: setting parameter 'drivers':'alsa':'dither' to value "n"
Fri Dec 9 19:33:09 2016: setting parameter 'drivers':'alsa':'inchannels' to value "2"
Fri Dec 9 19:33:09 2016: setting parameter 'drivers':'alsa':'outchannels' to value "2"
Fri Dec 9 19:33:09 2016: setting parameter 'drivers':'alsa':'shorts' to value "false"
Fri Dec 9 19:33:09 2016: Listening for D-Bus messages
Fri Dec 9 19:33:10 2016: Starting jack server...
Fri Dec 9 19:33:10 2016: JACK server starting in realtime mode with priority 10
Fri Dec 9 19:33:10 2016: self-connect-mode is "Don't restrict self connect requests"
Fri Dec 9 19:33:10 2016: ERROR: Allocate: can't check in named futex name = jack_sem.system err = Permission denied
Fri Dec 9 19:33:10 2016: ERROR: Cannot allocate synchro
Fri Dec 9 19:33:10 2016: ERROR: Cannot allocate internal client for driver
Fri Dec 9 19:33:10 2016: ERROR: Cannot initialize driver
Fri Dec 9 19:33:10 2016: ERROR: JackServer::Open failed with -1
Fri Dec 9 19:33:10 2016: ERROR: Failed to open server
如果有帮助,这是我的uname -a
输出:
Linux Sean-Lappy 4.4.0-53-generic #74-Ubuntu SMP Fri Dec 2 15:59:10 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
我能想到的唯一冲突是我最近安装了LMMS并使用sudo apt-get autoremove
删除了一堆旧内核
非常感谢任何帮助。
我还没有找到解决这个问题的方法。我在杰克的来源中挖掘并在JackLinuxFutex.cpp的第114或124行查明了错误
以下是完整的详细插孔输出:http://pastebin.com/1FbNwCJU
我也从源头安装千斤顶无济于事。
如果有人知道修复,那么考虑到我目前无法在笔记本电脑上使用任何音频设备,这将是非常好的。
答案 0 :(得分:0)
我终于解决了这个问题。这是我使用的步骤:
卸载与声音相关的所有内容
sudo apt-get purge jackd qjackctl cadence pulseaudio pulseaudio-module-jack alsa
重新启动
重新安装除插孔
以外的所有内容 sudo apt-get install alsa alsa-firmware-loaders alsa-tools alsa-tools-gui alsa-firmware alsa-utils pulseaudio pulseaudio-module-jack cadence
重新启动
下载并解压缩jack源代码
sudo apt-get install unzip
wget https://github.com/jackaudio/jack2/archive/master.zip
unzip master.zip
安装依赖项
sudo apt-get install libasound2-dev
使用--alsa
标志
cd jack2-master
./waf configure --alsa
./waf build
sudo ./waf install
我不知道这是不是最好的方法,或者它是否会在其他任何人的机器上运行,但我可以告诉你,jack现在已成功运行,我正在再次听音乐。