You are not logged in.
Pages: 1
Howdy!
Recently I've found a problem with simultaneous playing audio tracks from deadbeef(pulseaudio) or other media player and playing movie using html5 in web browser (Every single one of them except firefox.). Well... I can play audio only from one of them at the time and if I'm trying to use both of them at the same time media player's process crashes after about 5 seconds of audio being stuck and movie (Like I mentioned before it only happends with html5 eg. youtube) continues to play without sound.
└─[~]> aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: CX20590 Analog [CX20590 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
/etc/asound.conf
cat /etc/asound.conf
# Use PulseAudio by default
pcm.!default {
type pulse
fallback "sysdefault"
hint {
show on
description "Default ALSA Output (currently PulseAudio Sound Server)"
}
}
ctl.!default {
type pulse
fallback "sysdefault"
}
# vim:set ft=alsaconf:
cat /etc/modprobe.d/alsa-base.conf
options snd slots=snd_mia,snd_hda_intel
# SB [HDA ATI SB]
options snd-hda-intel index=0 model=auto vid=1002 pid=4383
# HDMI [HDA ATI HDMI]
options snd-hda-intel index=0 model=auto vid=1002 pid=aa30
# HiFi [Audiotrak Prodigy 7.1 HiFi]
options snd-ice1724 index=2 model=prodigy71hifi vid=1412 pid=1724
#test
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-caiaq index=-2
options snd-usb-ua101 index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
options snd-pcsp index=-2
options snd-usb-audio index=-2
lspci -nn | grep -i audio
00:14.2 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) [1002:4383] (rev 40)
lsmod | grep '^snd' | column -t
snd_hda_codec_conexant 38779 1
snd_hda_codec_generic 53860 1 snd_hda_codec_conexant
snd_hda_intel 38728 5
snd_hda_codec 101816 3 snd_hda_codec_conexant,snd_hda_codec_generic,snd_hda_intel
snd_hwdep 6396 1 snd_hda_codec
snd_pcm 81607 3 snd_hda_codec,snd_hda_intel
snd_timer 19038 2 snd_pcm
snd 60086 15 snd_hwdep,snd_timer,snd_hda_codec_conexant,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
ls -l /dev/snd
drwxr-xr-x 2 root root 60 05-16 21:22 by-path
crw-rw----+ 1 root audio 116, 5 05-16 21:22 controlC0
crw-rw----+ 1 root audio 116, 4 05-16 21:22 hwC0D0
crw-rw----+ 1 root audio 116, 3 05-16 21:25 pcmC0D0c
crw-rw----+ 1 root audio 116, 2 05-16 21:25 pcmC0D0p
crw-rw----+ 1 root audio 116, 1 05-16 21:22 seq
crw-rw----+ 1 root audio 116, 33 05-16 21:22 timer
Offline
Delete that /etc/modprobe.d/alsa-base.conf, read the wiki and try to understand the information that is there, instead of blindly copying code. You have only one sound card, therefore probably do not need any configuration, pulseaudio should take of the rest. Just delete that alsa-base.conf and reboot. If it does not work as expected, see what is using sound:
fuser -v /dev/snd/*
It may be related solely to flash also.
Offline
Unfortunetly deleting that file didin't help, problem still occures.
Changing back to flash doesen't help too, plugin just crashes.
When sound starts to loop
└─[~]> fuser -v /dev/snd/*
UŻYTKOWNIK PID DOSTĘP POLECENIE
/dev/snd/controlC0: discord 321 F.... panel-14-mixer
discord 359 F.... xfce4-volumed
┌─[discord@pts0] //when pulseaudio crash
└─[~]> fuser -v /dev/snd/*
UŻYTKOWNIK PID DOSTĘP POLECENIE
/dev/snd/controlC0: discord 321 F.... panel-14-mixer
discord 359 F.... xfce4-volumed
discord 952 F.... pulseaudio
/dev/snd/pcmC0D0c: discord 952 F...m pulseaudio
/dev/snd/pcmC0D0p: discord 952 F...m pulseaudio
when works normal
└─[~]> fuser -v /dev/snd/*
UŻYTKOWNIK PID DOSTĘP POLECENIE
/dev/snd/controlC0: discord 321 F.... panel-14-mixer
discord 359 F.... xfce4-volumed
discord 952 F.... pulseaudio
/dev/snd/pcmC0D0p: discord 952 F...m pulseaudio
Offline
You got rid of a unnecessary configuration file, that is a plus. Are there any setting for audio output in chromium? Try this and this. Also look through forums here on pulseaudio issues.
I doubt that killing panel-14-mxier and xfce4-volumed would help, so this seems to be related to pulseaudio[-chromum-html5-combination] or chromium [only]. If the above does not help, it is probably a chromium issue, maybe related to this.
Read how to get output in English, even though it is trivial in case of fuser.
Offline
don't help
pulseaudio -vvvv
I: [pulseaudio] module-device-restore.c: Synced.
I: [pulseaudio] sink-input.c: Freeing input 1 "Playback"
I: [pulseaudio] client.c: Freed 2 "Chromium"
I: [pulseaudio] protocol-native.c: Connection died.
I: [pulseaudio] client.c: Created 3 "Native client (UNIX socket client)"
I: [pulseaudio] protocol-native.c: Got credentials: uid=1000 gid=1000 success=1
I: [pulseaudio] sink-input.c: Trying to change sample rate
I: [pulseaudio] sink.c: Cannot update rate, SINK_IS_RUNNING, will keep using 48000 Hz
I: [pulseaudio] remap.c: Using generic matrix remapping
I: [pulseaudio] resampler.c: Choosing speex quality setting 1.
I: [pulseaudio] sink-input.c: Created input 2 "Playback" on alsa_output.pci-0000_00_14.2.analog-stereo with sample spec s16le 1ch 22050Hz and channel map front-center
I: [pulseaudio] sink-input.c: media.name = "Playback"
I: [pulseaudio] sink-input.c: application.name = "Chromium"
I: [pulseaudio] sink-input.c: native-protocol.peer = "UNIX socket client"
I: [pulseaudio] sink-input.c: native-protocol.version = "29"
I: [pulseaudio] sink-input.c: application.process.id = "908"
I: [pulseaudio] sink-input.c: application.process.user = "discord"
I: [pulseaudio] sink-input.c: application.process.host = "hell"
I: [pulseaudio] sink-input.c: application.process.binary = "chromium"
I: [pulseaudio] sink-input.c: application.icon_name = "chromium-browser"
I: [pulseaudio] sink-input.c: window.x11.display = ":0.0"
I: [pulseaudio] sink-input.c: application.language = "pl_PL.UTF-8"
I: [pulseaudio] sink-input.c: application.process.machine_id = "add156974fe840c48840cf0e385c8bfc"
I: [pulseaudio] sink-input.c: application.process.session_id = "c1"
I: [pulseaudio] sink-input.c: module-stream-restore.id = "sink-input-by-application-name:Chromium"
I: [pulseaudio] protocol-native.c: Requested tlength=69,66 ms, minreq=23,22 ms
I: [pulseaudio] protocol-native.c: Final latency 69,66 ms = 11,61 ms + 2*23,22 ms + 11,61 ms
Destroyed
Offline
Pages: 1