[resolvido] Problemas diversos com JACK/qjackctl
eliseu
Eliseu
Estou tentando iniciar o JACK server pelo qjackctl, a fim de poder usar o QSynth e o Rosegarden, a fim de trabalhar com sequenciamento MIDI. Só que não consigo de maneira alguma iniciar o serviço, pois dá esse monte de mensagens aqui:
[img width=500]https://imagizer.imageshack.us/v2/361x139q90/844/u4sc.png[/img]
[img width=500]https://imagizer.imageshack.us/v2/419x156q90/834/dcxr.png[/img]
[code]09:41:19.855 Patchbay deactivated.
09:41:19.860 Statistics reset.
09:41:19.867 ALSA connection change.
09:41:19.879 D-BUS: Service is available (org.jackaudio.service aka jackdbus).
Cannot connect to server socket err = Arquivo ou diretório não encontrado
Cannot connect to server request channel
jack server is not running or cannot be started
09:41:19.892 ALSA connection graph change.
09:41:21.552 D-BUS: JACK server could not be started. Sorry
Cannot connect to server socket err = Arquivo ou diretório não encontrado
Cannot connect to server request channel
jack server is not running or cannot be started
Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `GtkRange::activate-slider' of type `gboolean' from rc file value "((GString*) 0x16ce880)" of type `GString'
Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `GtkRange::activate-slider' of type `gboolean' from rc file value "((GString*) 0x172a520)" of type `GString'
Thu Jun 5 09:41:21 2014: Starting jack server...
Thu Jun 5 09:41:21 2014: JACK server starting in realtime mode with priority 10
Thu Jun 5 09:41:21 2014: ERROR: Cannot lock down 82274202 byte memory area (Cannot allocate memory)
Thu Jun 5 09:41:21 2014: ERROR: cannot register object path "/org/freedesktop/ReserveDevice1/Audio0": A handler is already registered for /org/freedesktop/ReserveDevice1/Audio0
Thu Jun 5 09:41:21 2014: ERROR: Failed to acquire device name : Audio0 error : A handler is already registered for /org/freedesktop/ReserveDevice1/Audio0
Thu Jun 5 09:41:21 2014: ERROR: Audio device hw:0 cannot be acquired...
Thu Jun 5 09:41:21 2014: ERROR: Cannot initialize driver
Thu Jun 5 09:41:21 2014: ERROR: JackServer::Open failed with -1
Thu Jun 5 09:41:21 2014: ERROR: Failed to open server
Thu Jun 5 09:41:22 2014: Saving settings to "/home/eliseu/.config/jack/conf.xml" ...
09:46:55.935 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 = Arquivo ou diretório não encontrado
Cannot connect to server request channel
jack server is not running or cannot be started[/code]
Pesquisando em fóruns internacionais, descobri que há uma certa incompatibilidade do PulseAudio com o JACK. Por padrão, tanto o Linux Mint quanto o Lubuntu usam PulseAudio para o som. Tentei usar o pacote pulseaudio-module-jack, sem sucesso.
Existe alguma forma de desativar o PulseAudio sem que seja necessário desinstalá-lo (já que isso afetaria todo o sistema), de forma a usar o ALSA como servidor de áudio padrão e, assim, fazer o JACK funcionar?
---------------------------
Resolvido. Faltou reiniciar a máquina, dããããã :hammer: :hammer: :hammer: :hammer: :hammer:
[img width=500]https://imagizer.imageshack.us/v2/361x139q90/844/u4sc.png[/img]
[img width=500]https://imagizer.imageshack.us/v2/419x156q90/834/dcxr.png[/img]
[code]09:41:19.855 Patchbay deactivated.
09:41:19.860 Statistics reset.
09:41:19.867 ALSA connection change.
09:41:19.879 D-BUS: Service is available (org.jackaudio.service aka jackdbus).
Cannot connect to server socket err = Arquivo ou diretório não encontrado
Cannot connect to server request channel
jack server is not running or cannot be started
09:41:19.892 ALSA connection graph change.
09:41:21.552 D-BUS: JACK server could not be started. Sorry
Cannot connect to server socket err = Arquivo ou diretório não encontrado
Cannot connect to server request channel
jack server is not running or cannot be started
Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `GtkRange::activate-slider' of type `gboolean' from rc file value "((GString*) 0x16ce880)" of type `GString'
Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `GtkRange::activate-slider' of type `gboolean' from rc file value "((GString*) 0x172a520)" of type `GString'
Thu Jun 5 09:41:21 2014: Starting jack server...
Thu Jun 5 09:41:21 2014: JACK server starting in realtime mode with priority 10
Thu Jun 5 09:41:21 2014: ERROR: Cannot lock down 82274202 byte memory area (Cannot allocate memory)
Thu Jun 5 09:41:21 2014: ERROR: cannot register object path "/org/freedesktop/ReserveDevice1/Audio0": A handler is already registered for /org/freedesktop/ReserveDevice1/Audio0
Thu Jun 5 09:41:21 2014: ERROR: Failed to acquire device name : Audio0 error : A handler is already registered for /org/freedesktop/ReserveDevice1/Audio0
Thu Jun 5 09:41:21 2014: ERROR: Audio device hw:0 cannot be acquired...
Thu Jun 5 09:41:21 2014: ERROR: Cannot initialize driver
Thu Jun 5 09:41:21 2014: ERROR: JackServer::Open failed with -1
Thu Jun 5 09:41:21 2014: ERROR: Failed to open server
Thu Jun 5 09:41:22 2014: Saving settings to "/home/eliseu/.config/jack/conf.xml" ...
09:46:55.935 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 = Arquivo ou diretório não encontrado
Cannot connect to server request channel
jack server is not running or cannot be started[/code]
Pesquisando em fóruns internacionais, descobri que há uma certa incompatibilidade do PulseAudio com o JACK. Por padrão, tanto o Linux Mint quanto o Lubuntu usam PulseAudio para o som. Tentei usar o pacote pulseaudio-module-jack, sem sucesso.
Existe alguma forma de desativar o PulseAudio sem que seja necessário desinstalá-lo (já que isso afetaria todo o sistema), de forma a usar o ALSA como servidor de áudio padrão e, assim, fazer o JACK funcionar?
---------------------------
Resolvido. Faltou reiniciar a máquina, dããããã :hammer: :hammer: :hammer: :hammer: :hammer:
Entre ou Registre-se para fazer um comentário.