LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-25-2020, 10:38 AM   #1
milomak
Member
 
Registered: May 2009
Posts: 137

Rep: Reputation: 18
pulseaudio intermittently working


the pastebins are output from debian sid running on an imac 17,1 using journalctl -b | grep pulse

vlc video plays with sound

https://pastebin.com/sixD5S8T

left the computer idle for a short while then tried to play a video on vlc. this is the output just before the video played

https://pastebin.com/CMZnHmkP

started playing the same video on vlc (no audio)

https://pastebin.com/9UQ1abmm

If i run pulseaudio -k, audio plays again



Then brave browser has no audio when playing a youtube video

https://pastebin.com/Xs1th2yA

but if vlc is playing with audio, suddenly the same video on brave browser has sound

https://pastebin.com/t8bkau2U

cat /etc/pulse/client.conf has
Code:
; default-sink =
; default-source =
; default-server =
; default-dbus-server =

#; autospawn = yes
autospawn = no
; daemon-binary = /usr/bin/pulseaudio
; extra-arguments = -vvv --log-target=newfile:/var/log/pulseaudio --log-time=1

; cookie-file =

; enable-shm = yes
; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB

; auto-connect-localhost = no
; auto-connect-display = no


inxi -F returns
Code:
System:    Host: mac Kernel: 5.5.0-18.1-liquorix-amd64 x86_64 bits: 64 Desktop: Budgie 10.5.1 
           Distro: Debian GNU/Linux bullseye/sid 
Machine:   Type: Laptop System: Apple product: iMac17,1 v: 1.0 serial: <superuser/root required> 
           Mobo: Apple model: Mac-B809C3757DA9BB8D v: iMac17,1 serial: <superuser/root required> UEFI: Apple 
           v: 170.0.0.0.0 date: 06/17/2019 
CPU:       Topology: Quad Core model: Intel Core i5-6600 bits: 64 type: MCP L2 cache: 6144 KiB 
           Speed: 3647 MHz min/max: 800/3900 MHz Core speeds (MHz): 1: 3726 2: 3706 3: 3794 4: 3793 
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] driver: amdgpu v: kernel 
           Device-2: Apple FaceTime HD Camera (Built-in) type: USB driver: uvcvideo 
           Display: x11 server: X.Org 1.20.8 driver: amdgpu,ati unloaded: fbdev,modesetting,vesa 
           resolution: 2560x1440~60Hz 
           OpenGL: renderer: AMD RADEON R9 M390X (TONGA DRM 3.36.0 5.5.0-18.1-liquorix-amd64 LLVM 10.0.0) 
           v: 4.6 Mesa 20.0.7 
Audio:     Device-1: Intel 100 Series/C230 Series Family HD Audio driver: snd_hda_intel 
           Device-2: Advanced Micro Devices [AMD/ATI] Tonga HDMI Audio [Radeon R9 285/380] driver: snd_hda_intel 
           Sound Server: ALSA v: k5.5.0-18.1-liquorix-amd64 
Network:   Device-1: Broadcom and subsidiaries BCM43602 802.11ac Wireless LAN SoC driver: brcmfmac 
           IF: wlp3s0 state: up mac: 28:f0:76:1d:2e:32 
           Device-2: Broadcom and subsidiaries NetXtreme BCM57766 Gigabit Ethernet PCIe driver: tg3 
           IF: eth0 state: up speed: 1000 Mbps duplex: full mac: 38:c9:86:2e:01:a4 
Drives:    Local Storage: total: 2.15 TiB used: 802.99 GiB (36.5%) 
           ID-1: /dev/sda vendor: Apple model: HDD ST2000DM001 size: 1.82 TiB 
           ID-2: /dev/sdb vendor: Apple model: SSD SM0128G size: 113.00 GiB 
           ID-3: /dev/sdc type: USB vendor: OCZ model: AGILITY3 size: 223.57 GiB 
Partition: ID-1: / size: 219.84 GiB used: 112.73 GiB (51.3%) fs: ext4 dev: /dev/sdc2 
Swap:      Alert: No Swap data was found. 
Sensors:   Missing: Required tool sensors not installed. Check --recommends 
Info:      Processes: 338 Uptime: 1d 17h 03m Memory: 7.68 GiB used: 4.14 GiB (53.9%) Shell: bash inxi: 3.1.00
aplay -l is below
Code:
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: CS4206 Analog [CS4206 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: CS4206 Digital [CS4206 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 11: HDMI 5 [HDMI 5]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 12: HDMI 6 [HDMI 6]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
aplay -L is here

pulse packages from dpkg -l | grep pulse
Code:
ii  gir1.2-cvc-1.0                                              4.4.1-3                              amd64        Introspection data for Cinnamon pulseaudio abstraction
ii  gstreamer1.0-pulseaudio:amd64                               1.16.2-dmo1                          amd64        GStreamer plugin for PulseAudio
ii  libcvc0:amd64                                               4.4.1-3                              amd64        Cinnamon pulseaudio abstraction library
ii  libpulse-mainloop-glib0:amd64                               13.99.1-1                            amd64        PulseAudio client libraries (glib support)
ii  libpulse0:amd64                                             13.99.1-1                            amd64        PulseAudio client libraries
ii  libpulse0:i386                                              13.99.1-1                            i386         PulseAudio client libraries
ii  libpulsedsp:amd64                                           13.99.1-1                            amd64        PulseAudio OSS pre-load library
ii  pulseaudio                                                  13.99.1-1                            amd64        PulseAudio sound server
ii  pulseaudio-module-bluetooth                                 13.99.1-1                            amd64        Bluetooth module for PulseAudio sound server
ii  pulseaudio-module-jack                                      13.99.1-1                            amd64        jackd modules for PulseAudio sound server
ii  pulseaudio-utils                                            13.99.1-1                            amd64        Command line tools for the PulseAudio sound server

Last edited by milomak; 05-25-2020 at 10:48 AM.
 
Old 05-26-2020, 07:42 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 16,332
Blog Entries: 27

Rep: Reputation: 4879Reputation: 4879Reputation: 4879Reputation: 4879Reputation: 4879Reputation: 4879Reputation: 4879Reputation: 4879Reputation: 4879Reputation: 4879Reputation: 4879
I'm assuming that you have data in the pastebin links saved to files, have you tried doing a diff between the two files, that is, one reflecting when audio played and one when it did not played.

(I must confess that I have not read through that data and would not be able to recognize a potential clue even were I to do so.)
 
Old 05-31-2020, 02:23 AM   #3
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: Currently: openSUSE, Raspbian, Slackware. Formerly: CentOS, MacOS, Red Hat. Other: Solaris, Tru64
Posts: 1,938

Rep: Reputation: 308Reputation: 308Reputation: 308Reputation: 308
Quote:
Originally Posted by frankbell View Post
I'm assuming that you have data in the pastebin links saved to files, have you tried doing a diff between the two files, that is, one reflecting when audio played and one when it did not played.

(I must confess that I have not read through that data and would not be able to recognize a potential clue even were I to do so.)
NOTE to "milomak": Those two files would have to be filtered using something like
Code:
$ cat log.file1 | cut -b17- > no_ts_log.file1
(I think I counted the length of the timestamps correctly) to remove the timestamps or diff(1)'s output won't be terribly useful.

HTH...
 
Old 06-01-2020, 05:55 PM   #4
milomak
Member
 
Registered: May 2009
Posts: 137

Original Poster
Rep: Reputation: 18
i wish i knew what to look for

i'm pretty sure it has to do with the fact i am running this on an apple machine

oh even the PIDs are different for one. and then the times

there's probably a pulseaudio forum somewhere that i just have not been able to find
 
Old 06-02-2020, 03:37 PM   #5
milomak
Member
 
Registered: May 2009
Posts: 137

Original Poster
Rep: Reputation: 18
i've downgraded to a unstable version
Code:
$ dpkg -l | grep pulse
ii  gir1.2-cvc-1.0                                              4.4.1-3                              amd64        Introspection data for Cinnamon pulseaudio abstraction
ii  gstreamer1.0-pulseaudio:amd64                               1.16.2-dmo1                          amd64        GStreamer plugin for PulseAudio
ii  libcvc0:amd64                                               4.4.1-3                              amd64        Cinnamon pulseaudio abstraction library
ii  libpulse-mainloop-glib0:amd64                               13.0-5                               amd64        PulseAudio client libraries (glib support)
ii  libpulse0:amd64                                             13.0-5                               amd64        PulseAudio client libraries
ii  libpulse0:i386                                              13.0-5                               i386         PulseAudio client libraries
ii  libpulsedsp:amd64                                           13.0-5                               amd64        PulseAudio OSS pre-load library
ii  pulseaudio                                                  13.0-5                               amd64        PulseAudio sound server
ii  pulseaudio-module-bluetooth                                 13.0-5                               amd64        Bluetooth module for PulseAudio sound server
ii  pulseaudio-module-jack                                      13.0-5                               amd64        jackd modules for PulseAudio sound server
ii  pulseaudio-utils                                            13.0-5                               amd64        Command line tools for the PulseAudio sound server
same still happens regarding the browser

Last edited by milomak; 06-02-2020 at 03:39 PM.
 
Old 06-02-2020, 04:15 PM   #6
milomak
Member
 
Registered: May 2009
Posts: 137

Original Poster
Rep: Reputation: 18
more specifically it's the random nature of losing the audio

where pulseaudio -k sometimes helps

but not always
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't Get Sound from Pulseaudio -- PulseAudio Will Not Start JasonC10203 Linux - Software 4 11-28-2016 11:18 PM
Bypass pulseaudio problems and crashes when you don't have pulseaudio. Rinndalir Linux - Software 1 08-31-2016 01:00 PM
[SOLVED] Squeeze + Pulseaudio + Alsa and USB Midi device causes Pulseaudio crash mad4linux Debian 1 01-26-2011 03:57 AM
Winecfg crashes on sound tab with Pulseaudio and no 'sounddrivers' without pulseaudio William (Dthdealer) Linux - Software 5 06-13-2010 07:30 AM
Samba share working intermittently - don't know why swampdog2002 Linux - General 3 08-23-2005 07:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration