我尝试使用 QJackCtl 启动 jackd,但失败并显示错误消息,以下是我所看到的 -
14:36:48.194 Patchbay deactivated.
14:36:48.198 Statistics reset.
14:36:48.228 ALSA connection change.
14:36:48.241 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 socket
jack server is not running or cannot be started
Registered event listener change listener: true
14:36:48.258 ALSA connection graph change.
14:37:12.679 D-BUS: JACK server could not be started. Sorry
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
QSpiAccessible::accessibleEvent not handled: "2" obj: QMessageBox(0xbfd7c2d0) ""
FIXME: handle dialog start.
Sat Feb 2 14:37:12 2013: Starting jack server...
Sat Feb 2 14:37:12 2013: JACK server starting in realtime mode with priority 10
Sat Feb 2 14:37:12 2013: [1m[31mERROR: Cannot lock down 82241434 byte memory area (Cannot allocate memory)[0m
Sat Feb 2 14:37:12 2013: control device hw:0
Sat Feb 2 14:37:12 2013: control device hw:0
Sat Feb 2 14:37:12 2013: [1m[31mERROR: Failed to acquire device name : Audio0 error : Cannot allocate memory[0m
Sat Feb 2 14:37:12 2013: [1m[31mERROR: Audio device hw:0 cannot be acquired...[0m
Sat Feb 2 14:37:12 2013: [1m[31mERROR: Cannot initialize driver[0m
Sat Feb 2 14:37:12 2013: [1m[31mERROR: JackServer::Open() failed with -1[0m
Sat Feb 2 14:37:12 2013: [1m[31mERROR: Failed to open server[0m
Sat Feb 2 14:37:13 2013: Saving settings to "/home/soham/.config/jack/conf.xml" ...
FIXME: handle dialog end.
14:37:17.923 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 socket
jack server is not running or cannot be started
QSpiAccessible::accessibleEvent not handled: "2" obj: QMessageBox(0xbfd7cb40) ""
FIXME: handle dialog start.
FIXME: handle dialog end.
QSpiAccessible::accessibleEvent not handled: "6" obj: QMenu(0x8d0f0a0) ""
注意:如果我重新启动机器,“Jack”就会重新开始工作,直到我使用 vlc 或任何其他媒体播放器播放某些内容,例如电影或歌曲等。
答案1
我是新手,但我会尽力回答你的问题。听起来你可能正在经历与我类似的经历。在终端中尝试一下。这是代码。
pulseaudio --kill
jack_control start.
然后,当你完成 jack 后,请执行以下操作。这是代码。
jack_control exit
pulseaudio --start.
我希望这有帮助。