LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-07-2020, 07:18 PM   #1
prolixu
LQ Newbie
 
Registered: Sep 2020
Posts: 1

Rep: Reputation: Disabled
Audio cuts after playing for a while


I've had this problem in Arch, Solus and now in Qubes. I have no idea what is wrong. Someone once told me that "cache isn't being filled after being depleted." Some info about my system:
Code:
[user@dom0 ~]$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: CX20756 Analog [CX20756 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
Code:
[user@dom0 ~]$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=PCH
    HDA Intel PCH, CX20756 Analog
    Default Audio Device
sysdefault:CARD=PCH
    HDA Intel PCH, CX20756 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, CX20756 Analog
    Front speakers
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, CX20756 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, CX20756 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, CX20756 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, CX20756 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, CX20756 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, CX20756 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=PCH,DEV=0
    HDA Intel PCH, HDMI 0
    HDMI Audio Output
hdmi:CARD=PCH,DEV=1
    HDA Intel PCH, HDMI 1
    HDMI Audio Output
hdmi:CARD=PCH,DEV=2
    HDA Intel PCH, HDMI 2
    HDMI Audio Output
hdmi:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 3
    HDMI Audio Output
hdmi:CARD=PCH,DEV=4
    HDA Intel PCH, HDMI 4
    HDMI Audio Output
I tried:
  • I put the following in /etc/asound.conf
Code:
defaults.pcm.card 0
defaults.pcm.device 0
defaults.ctl.card 0
  • I put the following in /etc/modprobe.d/alsa-base.conf
Code:
options snd-hda-intel model=auto
I don't think these solutions are related to my problem since my problem isn't not being able to use the sound device at all, it's that I can't use it after the first (usually) 5 seconds. I've also
  • Unmuted everything with alsamixer and disabled auto-mute. Then did
    Code:
    sudo alsactl store
I am kinda hopeless here. What can I do? Is there a possibility this is a hardware issue?
 
Old 09-12-2020, 05:51 PM   #2
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,040
Blog Entries: 3

Rep: Reputation: 134Reputation: 134
What are you playing? File type please, size and bitrate and duration might help.
 
Old 09-12-2020, 06:08 PM   #3
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875
first five seconds of use till a reboot? or first five seconds after each attempt?

$ speaker-test -c 2 -l 5 -D default

$ speaker-test -c 2 -l 5 -D pulse

$ speaker-test -c 2 -l 5 -D hw:0

Which device? speakers on laptop? speakers in monitor? headphone jack? Other surround type jacks? digital audio cable (analog / optical)? S/PDIF

The snd-hda-intel driver does cover a lot of various devices and chipsets. Your kernel / driver might be an older version that doesn't support your newer hardware. One of those problems that goes away if you wait six months, or use a newer kernel via other distro or kernel from source type options. Could be other things like sound daemons locking the device (pulseaudio / jackd / pipewire / ...) after it's initial use. Various version of pulseaudio that get quirky. Using pavucontrol to disable and enable the card might recover the usability of said device. Even though it was enabled and working before it wasn't.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sound Audio Intermittantly Cuts Out - Ubuntu 16.04 AceTech Linux - Desktop 4 06-10-2017 12:57 PM
Audio cuts off for a second all the time on videos. insanity99 Ubuntu 2 09-23-2012 11:32 AM
Screen capture while playing video yields to blue window where video is playing kayasaman Linux - Desktop 10 01-19-2012 10:54 AM
[SOLVED] How to fix system after power cuts? catkin Slackware 10 11-30-2011 11:49 AM
mp4 files suffer audio de-sync after simple cuts widda Mandriva 0 10-13-2009 02:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:38 PM.

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
Open Source Consulting | Domain Registration