Re: audio problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




It does not seem to be a hardware problem, because you wrote to have
the same issue with another plugged in soundcard (I think you called
it some "usb dongle")?

   Not necessarily in this order:

1: I'd try to boot the system with another kernel, or, as someone else
   already wrote: try a live system. I'd try a non-Fedora one - to make
   sure to avoid Fedora versions with the same possible bug. Or both:
   different kernel, Live USB system

2: I'd try to switch off power-management (Careful! Haven't tried that
   so far) for sound, e.g.:

   echo "0" > /sys/module/snd_hda_intel/parameters/power_save

   or just finding the module that is powering the sound device
   on/off

3: Trying mplayer with verbose status messages, with somethl. that:

   mplayer -ao -msglevel all=<some number, see 'man mplayer'>

4: Trying different audio drivers for mplayer when playing the file: You
   find them like so:
   mplayer -ao help

   (again: "man mplayer")


As a sidenote: I have problems with my sound devices too - I 'fixed'
that by playing with 'alsamixer' - once I had a sound config that
worked after changing settings with alsamixer, I copied the
sound-state file ("/var/lib/alsa/asound.state") to a safe place, and
then copy it back if sound fails me again ...

so after a fail:
sudo cp -pv /var/lib/alsa/asound.state.working /var/lib/alsa/asound.state; sleep 1; sudo alsactl restore 1

Good luck!
Wolfgang

On Tue, Feb 01, 2022 at 02:43:48PM +1100, Eyal Lebedinsky wrote:
I am on f34 5.15.16-100.fc34.x86_64

This problem started recently (a few weeks, maybe a little longer?).

Initially I noticed audio hiccups when playing mythtv recordings. At times there was also video noise
but not always.

I then found that playing audio from a network stream (with vlc) also had hiccups. The sound would
stop and start, sometime even repeat a fraction of a second.

I now played a track from a local disk and the same issues were heard.

There are no messages to indicate a problem. I then used 'mplayer' which has more console messages
and I now can see an issue:

==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
libavcodec version 58.134.100 (external)
Mismatching header version 58.130.100
AUDIO: 44100 Hz, 2 ch, s16le, 0.0 kbit/0.00% (ratio: 0->176400)
Selected audio codec: [ffflac] afm: ffmpeg (FFmpeg FLAC audio)
==========================================================================
[AO SDL] Samplerate: 44100Hz Channels: Stereo Format s16le
AO: [sdl] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A:  49.9 (49.8) of 278.4 (04:38.4)  0.6%
Audio device got stuck!
A:  49.9 (49.8) of 278.4 (04:38.4)  0.6%
Audio device got stuck!
A:  50.3 (50.3) of 278.4 (04:38.4)  0.6%
Audio device got stuck!
A:  50.3 (50.3) of 278.4 (04:38.4)  0.6%
Audio device got stuck!
A:  50.4 (50.3) of 278.4 (04:38.4)  0.6%
Audio device got stuck!
A:  50.4 (50.3) of 278.4 (04:38.4)  0.6%
A: 165.7 (02:45.7) of 278.4 (04:38.4)  0.6%
Audio device got stuck!
A: 165.7 (02:45.7) of 278.4 (04:38.4)  0.6%
Audio device got stuck!
A: 165.8 (02:45.7) of 278.4 (04:38.4)  0.6%
Audio device got stuck!
A: 165.8 (02:45.7) of 278.4 (04:38.4)  0.6%
Audio device got stuck!

Here are the sound devices:

$ aplay --list-devices
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC887-VD Digital [ALC887-VD Digital]
 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: 0/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

I get similar problems with [HDMI 3] and with [ALC887-VD Analog] selected using pavucontrol.

lspci shows
	Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)

What can I do now to diagnose the problem?

One more data point: for a long time (many months) I had a problem where the system locks up hard
needing a cold restart. There were no hiccups otherwise. It always had mythtv playing or YouTube.
When locked the sound of the last second would loop continuously until the reset. The video is frozen then.
Maybe related? This is a long running problem (happens once every few months) but the audio stutter
is a recent, new issue.

TIA


--
"Altars are burnin' with flames far and wide
 The foe has crossed over from the other side
 They tip their caps from the top of the hill
 You can feel them come, more brave blood to spill"

Bob Dylan: "'Cross The Green Mountain"
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux