ATUALIZAÇÃO: A atualização de hoje para alsa-lib-1.1.7-2
corrigir o problema. (23/11/2018)
Arch Linux, atualizado. Como tantas vezes, uma -Syu
atualização quebrou as coisas novamente. Desta vez é audácia. Normalmente audacity, e qualquer outro aplicativo de reprodução/gravação apareceria em pauvcontrol
- Não é mais audácia. Eu poderia usar pauvcontrol
para escolher o coletor e a fonte da qual desejo gravar ou reproduzir áudio usando o audacity - não mais.
Nas preferências do audacity, ele diz apenas ALSA
no menu suspenso superior, não tenho certeza se deveria ser assim ou se disse PulseAudio
antes. Nem todos os meus dispositivos estão na guia de reprodução. O mesmo vale para a seleção do dispositivo de gravação, mas o dispositivo de loopback do qual preciso gravar está lá, então funciona.
Mas agora eu queria reproduzir o som do audacity também e simplesmente não funciona mais. Ele não lista meu dispositivo de reprodução USB e, quando o configuro, sysdefault
apenas recebo um erro.
$ pulseaudio -v
pulseaudio 12.2
$ audacity --version
lilv_world_add_plugin(): warning: Duplicate plugin <http://lv2plug.in/plugins/eg-params>
lilv_world_add_plugin(): warning: ... found in file:///usr/lib/lv2/eg-params.lv2/
lilv_world_add_plugin(): warning: ... and file:///usr/lib64/lv2/eg-params.lv2/ (ignored)
lilv_world_add_plugin(): warning: Duplicate plugin <http://lv2plug.in/plugins/eg-midigate>
lilv_world_add_plugin(): warning: ... found in file:///usr/lib/lv2/eg-midigate.lv2/
lilv_world_add_plugin(): warning: ... and file:///usr/lib64/lv2/eg-midigate.lv2/ (ignored)
lilv_world_add_plugin(): warning: Duplicate plugin <http://lv2plug.in/plugins/eg-fifths>
lilv_world_add_plugin(): warning: ... found in file:///usr/lib/lv2/eg-fifths.lv2/
lilv_world_add_plugin(): warning: ... and file:///usr/lib64/lv2/eg-fifths.lv2/ (ignored)
lilv_world_add_plugin(): warning: Duplicate plugin <http://lv2plug.in/plugins/eg-metro>
lilv_world_add_plugin(): warning: ... found in file:///usr/lib/lv2/eg-metro.lv2/
lilv_world_add_plugin(): warning: ... and file:///usr/lib64/lv2/eg-metro.lv2/ (ignored)
lilv_world_add_plugin(): warning: Duplicate plugin <http://lv2plug.in/plugins/eg-amp>
lilv_world_add_plugin(): warning: ... found in file:///usr/lib/lv2/eg-amp.lv2/
lilv_world_add_plugin(): warning: ... and file:///usr/lib64/lv2/eg-amp.lv2/ (ignored)
lilv_world_add_plugin(): warning: Duplicate plugin <http://lv2plug.in/plugins/eg-sampler>
lilv_world_add_plugin(): warning: ... found in file:///usr/lib/lv2/eg-sampler.lv2/
lilv_world_add_plugin(): warning: ... and file:///usr/lib64/lv2/eg-sampler.lv2/ (ignored)
lilv_world_add_plugin(): warning: Duplicate plugin <http://lv2plug.in/plugins/eg-scope#Mono>
lilv_world_add_plugin(): warning: ... found in file:///usr/lib/lv2/eg-scope.lv2/
lilv_world_add_plugin(): warning: ... and file:///usr/lib64/lv2/eg-scope.lv2/ (ignored)
lilv_world_add_plugin(): warning: Duplicate plugin <http://lv2plug.in/plugins/eg-scope#Stereo>
lilv_world_add_plugin(): warning: ... found in file:///usr/lib/lv2/eg-scope.lv2/
lilv_world_add_plugin(): warning: ... and file:///usr/lib64/lv2/eg-scope.lv2/ (ignored)
lilv_world_add_plugin(): warning: Reloading plugin <http://lv2plug.in/plugins/eg-params>
lilv_world_add_plugin(): warning: Reloading plugin <http://lv2plug.in/plugins/eg-midigate>
lilv_world_add_plugin(): warning: Reloading plugin <http://lv2plug.in/plugins/eg-fifths>
lilv_world_add_plugin(): warning: Reloading plugin <http://lv2plug.in/plugins/eg-metro>
lilv_world_add_plugin(): warning: Reloading plugin <http://lv2plug.in/plugins/eg-amp>
lilv_world_add_plugin(): warning: Reloading plugin <http://lv2plug.in/plugins/eg-sampler>
lilv_world_add_plugin(): warning: Reloading plugin <http://lv2plug.in/plugins/eg-scope#Mono>
lilv_world_add_plugin(): warning: Reloading plugin <http://lv2plug.in/plugins/eg-scope#Stereo>
Não tenho certeza se esses avisos significam alguma coisa, ele não imprimirá a versão.
O pacote éaudacity-2.3.0-1-x86_64.pkg.tar.xz
Log completo do console ao iniciar o audacity:
ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.Loopback.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:4555:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5034:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM iec958
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.Loopback.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:4555:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5034:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM spdif
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.Loopback.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:4555:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5034:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM spdif
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.Loopback.pcm.hdmi.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:4555:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5034:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM hdmi
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.Loopback.pcm.hdmi.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:4555:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5034:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM hdmi
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.Loopback.pcm.modem.0:CARD=0'
ALSA lib conf.c:4555:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5034:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline:CARD=0,DEV=0
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.Loopback.pcm.modem.0:CARD=0'
ALSA lib conf.c:4555:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5034:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline:CARD=0,DEV=0
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.Loopback.pcm.modem.0:CARD=0'
ALSA lib conf.c:4555:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5034:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM phoneline
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.Loopback.pcm.modem.0:CARD=0'
ALSA lib conf.c:4555:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5034:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM phoneline
connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory)
attempt to connect to server failed
connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory)
attempt to connect to server failed
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
Expression 'alsa_snd_pcm_hw_params_set_period_size_near( pcm, hwParams, &alsaPeriodFrames, &dir )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 924
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave
Expression 'alsa_snd_pcm_hw_params_set_period_size_near( pcm, hwParams, &alsaPeriodFrames, &dir )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 924
connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory)
attempt to connect to server failed
Mesmo que eu não tenha certeza se esses erros são por causa do ALSA e talvez completamente não relacionados ao problema do PulseAudio.
Nos fóruns eu encontrei esse bug . Este é um problema com a versão mais recente (1.1.7) do
alsa-lib
. Fazer o downgrade para sua versão anterior deve resolver o problema por enquanto:pacman -U /var/cache/pacman/pkg/alsa-lib-1.1.6-1-x86_64.pkg.tar.xz
Estou executando 1.1.8-1 de alsalibs e tive um problema semelhante. Iniciar o audacity mudou minha saída para o alto-falante interno. Eu consegui trabalhar com
alsactl restore
, entãopulseaudio -k
, mas é wonkey. VLC e audácia não parecem usar a saída ao mesmo tempo.