お知らせ

  • 利用規約を守って投稿してください。また、よくある質問および投稿の手引きも参照してください。
  • メッセージの投稿にはアカウントが必要です。未登録の方は、ユーザ登録ページからアカウントを作成することができます。

#1 2011-01-04 13:46:21

avon
メンバ
登録日: 2010-12-30

JACK Audio Connection Kit - Qt GUI Interfaceがスタートしない

私はubuntu初心者です。
JACK Audio Connection Kit - Qt GUI Interfaceをインストールし実行したところ、画面はたちあがるのですがStartを押すと

Could not connect to JACK server as client.
- Overall operation failed.
- Server communication error.
Please check the messages window for more info.

というエラーメッセージが出て、stopを押すまで

JackAudioDriver::ProcessAsync: read error, skip cycle
alsa_driver_xrun_recovery

というエラーメッセージが繰り返し出て、
途中に数回、以下のメッセージをはさんで

JackProcessSync::LockedTimedWait error usec = 5000000 err = Connection timed out
Driver is not running
Cannot create new client
JackSocketClientChannel read fail
Cannot open qjackctl client
alsa_driver_xrun_recovery

最後に下記のメッセージが表示されます。
13:31:33.326 JACK is stopping...
jack main caught signal 15
alsa_driver_xrun_recovery
JackAudioDriver::ProcessAsync: read error, skip cycle
Released audio card Audio0
audio_reservation_finish
13:31:33.395 JACK was stopped successfully.
13:31:33.396 Post-shutdown script...
13:31:33.397 killall jackd
jackd: no process found
13:31:33.810 Post-shutdown script terminated with exit status=256.

問題解決のアドバイスを宜しくお願いします。

オフライン

 

#2 2011-01-04 22:47:21

avon
メンバ
登録日: 2010-12-30

Re: JACK Audio Connection Kit - Qt GUI Interfaceがスタートしない

忘れていましたがUbuntu10.10を使用しています。

オフライン

 

#3 2011-01-05 02:15:16

Mocchi
管理者
登録日: 2009-05-17

Re: JACK Audio Connection Kit - Qt GUI Interfaceがスタートしない

VGC-LA70Bの音が出ませんで回答していたMocchiです。正直、JACKサウンドサーバを話題にしたのは失敗だったかなぁと思いつつ、回答します。

先の投稿から判断するに、以下の設定で試してみて下さい。

Driverでalsa
Interfaceはhw:0

Realtimeはチェックしない
No Memory Lockもチェックしない

Frames/Periodは512
Sample Rateは41000
Periods/Bufferは3

起動はすると思います。でもそこから先、音声をプラグインで増幅してシステムに流すというところでこの3倍くらいの操作を必要とし、しかも起動する度に同じ操作を繰り返さなければならないので、あまり筋のいい解決法ではなかったなぁと公開しています。

やはり別途、USBのサウンドデバイスを購入された方がよいかと・・・。

オフライン

 

#4 2011-01-05 08:10:13

avon
メンバ
登録日: 2010-12-30

Re: JACK Audio Connection Kit - Qt GUI Interfaceがスタートしない

#3のmocchiさんの指示された設定にしてJACKサウンドサーバのStartを押すと、
以下のエラーメッセージが出ました。

08:00:33.980 Patchbay deactivated.
08:00:33.982 Statistics reset.
Cannot connect to server socket err = そのようなファイルやディレクトリはありません
Cannot connect to server socket
jack server is not running or cannot be started
08:00:34.272 ALSA connection graph change.
08:00:34.273 ALSA connection change.
08:01:33.046 Startup script...
08:01:33.047 artsshell -q terminate
Cannot connect to server socket err = そのようなファイルやディレクトリはありません
Cannot connect to server socket
jack server is not running or cannot be started
sh: artsshell: not found
08:01:33.450 Startup script terminated with exit status=32512.
08:01:33.450 JACK is starting...
08:01:33.451 /usr/bin/jackd -r -dalsa -dhw:0 -r44100 -p512 -n3
08:01:33.454 JACK was started with PID=3857.
Cannot create thread 1 Operation not permitted
Cannot create thread 1 Operation not permitted
jackdmp 1.9.6
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2010 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK server starting in non-realtime mode
Cannot lock down memory area (Cannot allocate memory)
audio_reservation_init
Acquire audio card Audio0
creating alsa driver ... hw:0|hw:0|512|3|44100|0|0|nomon|swmeter|-|32bit
Using ALSA driver HDA-Intel running on card 0 - HDA Intel at 0xdc3c0000 irq 44
the playback device "hw:0" is already in use. Please stop the application using it and run JACK again
Cannot initialize driver
JackServer::Open() failed with -1
Failed to start server
08:01:33.582 JACK was stopped with exit status=255.
08:01:33.582 Post-shutdown script...
08:01:33.583 killall jackd
jackd(3841): 許可されていない操作です
jackd: no process found
08:01:33.995 Post-shutdown script terminated with exit status=256.
08:01:35.512 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 = そのようなファイルやディレクトリはありません
Cannot connect to server socket
jack server is not running or cannot be started
08:02:13.129 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 = そのようなファイルやディレクトリはありません
Cannot connect to server socket
jack server is not running or cannot be started
08:02:25.055 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 = そのようなファイルやディレクトリはありません
Cannot connect to server socket
jack server is not running or cannot be started
(文字化けしている部分は、エラーメッセージがでた時点で文字化けしていました)

何がいけないのでしょうか?

オフライン

 

#5 2011-01-05 20:23:35

Mocchi
管理者
登録日: 2009-05-17

Re: JACK Audio Connection Kit - Qt GUI Interfaceがスタートしない

avon による投稿:

the playback device "hw:0" is already in use. Please stop the application using it and run JACK again

どうも、別なアプリケーションがサウンドデバイスを使用中のようですね。他にサウンドを出力するようなアプリケーションを使用中ではありませんか?

これとは別な話になるんですが、Interfaceを(default)ではどうでしょう?

オフライン

 

#6 2011-01-07 19:11:27

avon
メンバ
登録日: 2010-12-30

Re: JACK Audio Connection Kit - Qt GUI Interfaceがスタートしない

他のアプリケーションを全て閉じ、jackを起動したところ#4で報告したエラーとほぼ同様のエラーが出ました。

JACK was started with PID=3857.
→JACK was started with PID=15009.

Using ALSA driver HDA-Intel running on card 0 - HDA Intel at 0xdc3c0000 irq 44以下が
configuring for 44100Hz, period = 512 frames (11.6 ms), buffer = 3 periods
ALSA: final selected sample format for capture: 32bit integer little-endian
ALSA: use 3 periods for capture
ALSA: final selected sample format for playback: 32bit integer little-endian
ALSA: use 3 periods for playback
alsa_driver_xrun_recovery
JackAudioDriver::ProcessAsync: read error, skip cycle(以下この2行の繰り返し)
となり
the playback device "hw:0" is already in use. Please stop the application using it and run JACK again
Cannot initialize driver
は出ませんでした。

またInterfaceを(default)も試してみましたが同様のエラーが出ました。

次はどうしたらいいでしょうか?

オフライン

 

#7 2011-01-09 20:11:19

Mocchi
管理者
登録日: 2009-05-17

Re: JACK Audio Connection Kit - Qt GUI Interfaceがスタートしない

うーむー。u32leモードでサウンドデバイスを利用することが出来ないということですね。以下の2つを試してみて下さい。

1. オプション「Force 16bit」を有効にすることで、16ビットモード(u16le?)で接続してみる。
2. Interfacesで「hwplug:0」を試してみる。この場合、ALSA自動でフォーマットをサウンドデバイスに合わせてくれます。

上記がどれも失敗するようでしたら、やはりUSB接続のサウンドデバイスの導入を検討して下さい。

オフライン

 

#8 2011-01-18 14:13:16

avon
メンバ
登録日: 2010-12-30

Re: JACK Audio Connection Kit - Qt GUI Interfaceがスタートしない

お返事、遅くなりましてすいません。
現在、Ubuntuが起動しない状態でして、ライブCDから起動しての投稿です。

#7でMocchiさんにご提案頂いた2つの設定を試したみましたが、どちらも上手くいきませんでした。

Ubuntuが起動不可の問題が解決しましたら、素直にUSB接続のサウンドデバイスの導入しようと思います。

オフライン

 

#9 2011-01-18 14:35:49

Mocchi
管理者
登録日: 2009-05-17

Re: JACK Audio Connection Kit - Qt GUI Interfaceがスタートしない

それは大変ですね・・・。

avon による投稿:

Ubuntuが起動不可の問題が解決しましたら、素直にUSB接続のサウンドデバイスの導入しようと思います。

そのほうがよいように思います。

Mocchi による投稿:

2. Interfacesで「hwplug:0」を試してみる。この場合、ALSA自動でフォーマットをサウンドデバイスに合わせてくれます。

実はここ、「plughw:0」のtypoでした。ごめんなさい。

そして、ここ数日でsnd-hda-intelに関して気づくことがありましたので、ダメもとでお伝えします。以前のavonさんの投稿の方にポストしますので、システム復旧の後、お試し下さい。

VGC-LA70Bの音が出ません @ forums.ubuntulinux.jp

オフライン

 

Board footer

Powered by FluxBB