Audacity는 더 이상 pulseaudio와 작동하지 않습니다.

Audacity는 더 이상 pulseaudio와 작동하지 않습니다.

고쳐 쓰다:오늘의 업그레이드로 alsa-lib-1.1.7-2이 문제가 해결되었습니다. (2018-11-23)


아치 리눅스, 최신. 평소와 같이 -Syu업그레이드하면 모든 것이 다시 중단됩니다. 이번에는 대담하다. 일반적으로 대담하고어느다른 재생/녹음 앱이 표시됩니다 pauvcontrol. 더 이상 굵게 표시되지 않습니다. pauvcontrol이제 더 이상 오디오를 녹음하거나 재생할 싱크와 소스를 선택하는 데 대담함을 사용할 수 있습니다 .

Fearless Preferences에서는 ALSA상단 드롭다운 메뉴에만 표시되어 있으며 원래 그런 것인지, 아니면 PulseAudio이전에 언급된 적이 있는지 잘 모르겠습니다. 내 모든 장치가 재생 탭에도 없습니다. 녹음 장치 선택도 마찬가지지만 녹음해야 하는 루프백 장치가 거기에 있으므로 작동합니다.

우선 사항

그런데 이제는 과감한 소리도 내고 싶은데 그게 더 이상 안 되더라고요. 내 USB 재생 장치가 나열되지 않으며 설정할 때 sysdefault오류 메시지만 나타납니다.

$ 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>

이러한 경고가 의미하는 바가 있는지 확실하지 않으며 버전이 인쇄되지 않습니다.
패키지는audacity-2.3.0-1-x86_64.pkg.tar.xz

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

이러한 오류가 ALSA로 인한 것인지, PulseAudio 문제와 전혀 관련이 없는 것인지는 확실하지 않습니다.

답변1

~에서법정내가 찾은이 오류. 최신(1.1.7) 버전의 문제입니다 alsa-lib. 이전 버전으로 다운그레이드하면 문제가 일시적으로 해결됩니다.

pacman -U /var/cache/pacman/pkg/alsa-lib-1.1.6-1-x86_64.pkg.tar.xz

답변2

저는 alsalibs 1.1.8-1을 실행 중인데 비슷한 문제가 발생했습니다. 과감하게 출력을 내부 스피커로 바꾸는 것부터 시작했습니다. 작업을 해보았 alsactl restore지만 pulseaudio -k매우 불안정합니다. VLC와 audacity는 출력을 동시에 사용할 수 없는 것 같습니다.

관련 정보