Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Audio output pauses for unknown reason
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
duby2291
Guru
Guru


Joined: 17 Oct 2004
Posts: 470

PostPosted: Sat Mar 04, 2017 12:15 am    Post subject: Audio output pauses for unknown reason Reply with quote

I'm not sure exactly how to describe the bug. Whether it's streaming video thru youtube on firefox or watching a local movie in smplayer or even listening a local mp3 with audacious, every so many seconds the sound will just pause. The only application I found that reflects this is pavucontrol under the output devices tab. Not only does it get paused somehow but the volume slider gets pushed down to something like 10%. The interval between the events is sometimes only a few seconds to 10s of minutes.

Has anyone seen anything like this before? Does it sound like a physical problem? Could it be something like a jack detection issue?[/quote]

Code:
TheBeast duby229 # emerge --info
Portage 2.3.3 (python 3.4.6-final-0, default/linux/amd64/13.0/desktop, gcc-5.4.0, glibc-2.24-r1, 4.10.0-gentoo x86_64)
=================================================================
System uname: Linux-4.10.0-gentoo-x86_64-AMD_Phenom-tm-_II_X4_955_Processor-with-gentoo-2.3
KiB Mem:    16296264 total,    699472 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sun, 26 Feb 2017 13:00:01 +0000
sh bash 4.4_p12
ld GNU ld (Gentoo 2.27 p1.0) 2.27
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.1-r1::gentoo
dev-lang/python:          2.7.13::gentoo, 3.4.6::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.23.2::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.13.4-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.27::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.24-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

localrepo
    location: /usr/local/portage
    masters: gentoo

gamerlay
    location: /var/lib/layman/gamerlay
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    sync-type: git
    sync-uri: https://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -mtune=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.1/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native -mtune=native"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs 1000 --keep-going"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluray branding bzip2 cairo cdda cddb cdparanoia cdr cli consolekit corefonts cracklib crypt cups cxx d3d9 dbus device-mapper dmraid dri dts dvd dvdr egl emboss encode exif fam fbcon fbcondecor ffmpeg firefox flac fortran gdbm gif glamor gles1 gles2 gpm gtk gtkspell hddtemp iconv jpeg lcms ldap libkms libnotify lm_sensors mad mng modules mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support qt4 rar readline s3tc sdl seccomp session smbclient spell ssl startup-notification streaming svg tcpd tiff truetype udev udisks unicode unrar upower usb vdpau vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext 3dnow 3dnowext sse sse2 sse3 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="en en_US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" LLVM_TARGETS="AMDGPU" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi radeon r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


[Moderator edit: changed [quote] tags to [code] tags to preserve output layout. -Hu]
_________________
MB: Biostar TForce 6100 AM2 @ 250x10
CPU: AMD Athlon 64 3800+ X2 @ 2500mhz
MEM: G. Skill DDR2-800 2GB @ DDR2-1000
GPU: nVidia GeForce 7600 GT
OS: Gentoo Linux 2006.1
Back to top
View user's profile Send private message
Sharp_Rulez
n00b
n00b


Joined: 17 Sep 2006
Posts: 32

PostPosted: Sat Mar 04, 2017 12:20 am    Post subject: Reply with quote

Similar issue here.

Got some workaround, but didnt have time to "search for a solution"

Checkout dmesg, i am flooded with these:

Quote:

Mar 3 15:55:03 be pulseaudio[4248]: [alsa-sink-ALC889 Analog] alsa-sink.c: Error opening PCM device front:0: Device or resource busy
Mar 3 15:55:03 be pulseaudio[4248]: [alsa-sink-ALC889 Analog] alsa-sink.c: Error opening PCM device front:0: Device or resource busy
Mar 3 15:58:28 be pulseaudio[4248]: [alsa-sink-ALC889 Analog] alsa-sink.c: Error opening PCM device front:0: Device or resource busy
Mar 3 15:58:28 be pulseaudio[4248]: [alsa-sink-ALC889 Analog] alsa-sink.c: Error opening PCM device front:0: Device or resource busy


Swapping audio output might help, but that is not a solution... Rebooting also clear up the issue for a while.

I hope i'll have time to dig in this weekend. Plenty of new issues like that since i moved to kde5 :\

Edit: just realized it can also be kernel related. Quoting my version just in case..
Code:
cat /proc/version
Linux version 4.9.0-be (root@be) (gcc version 4.9.4 (Gentoo 4.9.4 p1.0, pie-0.6.4) ) #7 SMP PREEMPT Sun Jan 1 11:19:31 EST 2017
Back to top
View user's profile Send private message
duby2291
Guru
Guru


Joined: 17 Oct 2004
Posts: 470

PostPosted: Sat Mar 04, 2017 12:26 am    Post subject: Reply with quote

hmm, well "dmesg | grep pulseaudio" comes blank. Perhaps I need to enable addition logging in my kernel config? If that is a possibility I can post it.
_________________
MB: Biostar TForce 6100 AM2 @ 250x10
CPU: AMD Athlon 64 3800+ X2 @ 2500mhz
MEM: G. Skill DDR2-800 2GB @ DDR2-1000
GPU: nVidia GeForce 7600 GT
OS: Gentoo Linux 2006.1
Back to top
View user's profile Send private message
hrnick
Guru
Guru


Joined: 31 Aug 2002
Posts: 317

PostPosted: Tue Mar 07, 2017 11:20 pm    Post subject: Reply with quote

duby2291 wrote:
hmm, well "dmesg | grep pulseaudio" comes blank. Perhaps I need to enable addition logging in my kernel config? If that is a possibility I can post it.

I have the same problem and I can't see any output in dmesg either. Does anyone have an idea if this is due to some kind of debugging being disabled?
Back to top
View user's profile Send private message
duby2291
Guru
Guru


Joined: 17 Oct 2004
Posts: 470

PostPosted: Wed Mar 08, 2017 6:39 pm    Post subject: Reply with quote

So now that We know multiple folks are experiencing this, I think I can rule out this being a physical hardware problem on my computer. Do you guys think I should file a bug report on gentoo's bugzilla? If so what information should I provide so that it would be effective?
_________________
MB: Biostar TForce 6100 AM2 @ 250x10
CPU: AMD Athlon 64 3800+ X2 @ 2500mhz
MEM: G. Skill DDR2-800 2GB @ DDR2-1000
GPU: nVidia GeForce 7600 GT
OS: Gentoo Linux 2006.1
Back to top
View user's profile Send private message
Baritone
n00b
n00b


Joined: 16 Aug 2016
Posts: 10
Location: Москва

PostPosted: Sun Mar 12, 2017 7:18 pm    Post subject: Reply with quote

I have same isue.
AMD64,
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA)
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cedar HDMI Audio [Radeon HD 5400/6300 Series]
Back to top
View user's profile Send private message
hrnick
Guru
Guru


Joined: 31 Aug 2002
Posts: 317

PostPosted: Thu Mar 16, 2017 1:20 pm    Post subject: Reply with quote

Baritone wrote:
I have same isue.
AMD64,
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA)
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cedar HDMI Audio [Radeon HD 5400/6300 Series]

Does the following command give you the same error messages as Sharp_Rulez?
Code:
dmesg | grep pulseaudio
Back to top
View user's profile Send private message
duby2291
Guru
Guru


Joined: 17 Oct 2004
Posts: 470

PostPosted: Fri Mar 17, 2017 7:16 pm    Post subject: Reply with quote

Ok, so now I'm coming across another bug that I think is directly related....

I recently bought a Blue Ice USB microphone, it literally just plugged in and worked, no hassle. I'm mixing voice over a beat, and I realized that when Iplug in the headphones into the headphone jack on the front panel, PA doesn't mute the desktop speakers or turn on the headphone jack. So I opened pavucontrol and selected the headphone port to enable the headphone jack but it still does not mute the desktop speakers. Ok fine, but then seconds later it automatically, by itself, switches back to the line in jack.... WTF. I'm really pissed. No error messages, undefined behavior, erratic behavior, and multiple people experiencing it...

EDIT: Really it's the obviously bugged behavior with no error messages that pisses me off the most. I can't even begin to define it let alone fix it because there is absoluteluy no indication of what is wrong. Even though it's completely obvious that something is wrong.
_________________
MB: Biostar TForce 6100 AM2 @ 250x10
CPU: AMD Athlon 64 3800+ X2 @ 2500mhz
MEM: G. Skill DDR2-800 2GB @ DDR2-1000
GPU: nVidia GeForce 7600 GT
OS: Gentoo Linux 2006.1
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 5489
Location: almost Mile High in the USA

PostPosted: Fri Mar 17, 2017 7:53 pm    Post subject: Reply with quote

Pulseaudio is a userland application, so it won't show up as a kernel issue. You may want to check your syslog or if running systemd, journal (journalctl) for information.

The behavior being described can happen when you have a mixture of pulseaudio applications and alsa applications that are not using pulseaudio-alsa properly. For the most part I've found that pulseaudio on my machine (gnome/systemd) works fine, with the occasional (once every few weeks or so) exception where sound gets corrupt from wine. Restarting wine fixes the problem, but this isn't the problem you're having.

Do you have USE=alsa-plugin for media-sound/pulseaudio (this should be default now)? What sound applications are you using (please also include mixers, including the ones part of your DE). Make sure they are all using USE=pulseaudio if they can. Might want to emerge --newuse @world to clean out some use flags.
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum