LINUX.ORG.RU

Щелчки после замены HDMI кабеля на display port при проигрывании звука

 ,


0

0

Сабж(ядро 6.1.59). Настройки .asundrc у меня такие

bash-5.1$ cat ~/.asoundrc
defaults.pcm.!card 1
defaults.ctl.!card 1
defaults.pcm.!device 3
defaults.ctl.!device 3
Звуковое устройство подключено одно, монитор
bash-5.1$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: Generic Analog [Generic Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: Generic Digital [Generic Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [ASUS VE276   ]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
Настройки те же самые, что и при кабеле HDMI, я там ничего не менял.

Происходит щелчок после запуска файла видео(через mplayer в настройках vifm) Вот выхлоп

Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 59.37.100 (external)
[vp9 @ 0x7f840750c6a0]Requested frame threading with a custom get_buffer2() implementation which is not marked as thread safe. This is not supported anymore, make your callback thread-safe.
Selected video codec: [ffvp9] vfm: ffmpeg (FFmpeg VP9)
==========================================================================
Clip info:
 ENCODER: Lavf59.27.100
Load subtitles in ./
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
[opus @ 0x7f840750c6a0]Could not update timestamps for skipped samples.
AUDIO: 48000 Hz, 2 ch, floatle, 0.0 kbit/0.00% (ratio: 0->384000)
Selected audio codec: [ffopus] afm: ffmpeg (FFmpeg opus)
==========================================================================
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
Starting playback...
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 1920x1080 => 800x450 Planar YV12 
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 1920x1080 => 800x450 Planar YV12 
A:   0.0 V:   0.0 A-V:  0.031 ct:  0.000   0/  0 ??% ??% ??,?% 0 0 52% 
[VD_FFMPEG] DRI failure.
A:  36.9 V:  36.9 A-V:  0.000 ct:  0.001   0/  0  7%  1%  0.7% 0 0 41%

Запускаю mplayer так

mplayer   -xy 800 %f,
Происходит щелчок после запуска файла музыки(через ogg123 в скрипте) Вот выхлоп

Playing: GIGACHAD Theme Song ULTRA INSTINCT VERSION [Can you Feel My Heart x Dragonball - Clash of Gods]-VTMvH8TBlH4.ogg
Ogg Vorbis stream: 2 channel, 44100 Hz
Language: eng
Handler_name: ISO Media file produced by Google Inc.
Vendor_id: [0][0][0][0]
Duration: 00:03:32.393000000
Encoder: Lavc59.37.100 libvorbis
ALSA lib confmisc.c:1369:(snd_func_refer) Unable to find definition 'cards.1.pcm.front.3:CARD=1'
ALSA lib conf.c:5180:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5703:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM front
ao_alsa WARNING: Unable to open surround playback.  Trying default device...
Time: 00:02.23 [03:30.16] of 03:32.39  (126.2 kbps)  Output Buffer  77.8% 

Запускаю ogg123 так

ogg123 -Z *.ogg

Есть идеи как пофиксить эти щелчки?

★★★★★

Последнее исправление: vbcnthfkmnth123 (всего исправлений: 2)