You are not logged in.

#1 2020-04-13 13:51:09

Attius_Sullivan
Member
Registered: 2019-11-02
Posts: 53

Linux suddently stops outputting audio

Hi,

I've got some trouble with the audio output on Arch. When I run my laptop (not quite sure if this would fit better in the laptop category) for some time sometimes it stops playing audio. I think I never had it that this was the state in the beginning when starting my laptop and actually I never experienced it that I listen to some audio while it was happening.

The strange thing is that pavucontrol displays in the playback tab as well as in the output devices that something is outputted but I never hear something (neither with the speakers nor with headphones). After a reboot, sound is back to normal.

I don't know what might cause this problem and I'm not quite sure which exact additional information you'll need so just ask.

I should mention I use the lts kernel and that I'have some similar problems with networking too but if these two things aren't related I'll make a separate thread later.


I hope someone has an idea what might cause the problem (as it is really difficult to debug since I wasn't able yet to reproduce this controlled).


With kind regards and thanks in advance

Offline

#2 2020-04-13 14:05:10

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Linux suddently stops outputting audio

Have you checked the systemd journal for any relevant error messages?


Jin, Jîyan, Azadî

Offline

#3 2020-04-13 14:08:59

Attius_Sullivan
Member
Registered: 2019-11-02
Posts: 53

Re: Linux suddently stops outputting audio

Yes I checked (journalctl) but there are no error messages tied to audio (at least not that I'm aware of). (But I have no journalctl output of after an audio failure at the moment)

Last edited by Attius_Sullivan (2020-04-13 14:09:40)

Offline

#4 2020-04-13 14:20:46

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,232

Re: Linux suddently stops outputting audio

When it happens again post

sudo fuser -v /dev/snd/*
pacmd list-sinks
pacmd list-sink-inputs

Offline

#5 2020-04-15 20:32:12

Attius_Sullivan
Member
Registered: 2019-11-02
Posts: 53

Re: Linux suddently stops outputting audio

It took some time for this error to occur again, but now I have it. The outputs are:

$ sudo fuser -v /dev/snd/*
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  username       982 F.... pulseaudio
$ $ pacmd list-sinks
1 sink(s) available.
  * index: 0
        name: <alsa_output.pci-0000_00_1f.3.analog-stereo>
        driver: <module-alsa-card.c>
        flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE
        priority: 9039
        volume: front-left: 30129 /  46% / -20,25 dB,   front-right: 30129 /  46% / -20,25 dB
                balance 0,00
        base volume: 65536 / 100% / 0,00 dB
        volume steps: 65537
        muted: no
        current latency: 0,00 ms
        max request: 0 KiB
        max rewind: 0 KiB
        monitor source: 0
        sample spec: s16le 2ch 48000Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 0
        configured latency: 0,00 ms; range is 0,50 .. 1837,50 ms
        card: 0 <alsa_card.pci-0000_00_1f.3>
        module: 6
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "ALC293 Analog"
                alsa.id = "ALC293 Analog"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "0"
                alsa.card_name = "HDA Intel PCH"
                alsa.long_card_name = "HDA Intel PCH at 0x6025100000 irq 170"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:1f.3"
                sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "02c8"
                device.form_factor = "internal"
                device.string = "front:0"
                device.buffering.buffer_size = "352800"
                device.buffering.fragment_size = "176400"
                device.access_mode = "mmap+timer"
                device.profile.name = "analog-stereo"
                device.profile.description = "Analog Stereo"
                device.description = "Built-in Audio Analog Stereo"
                alsa.mixer_name = "Realtek ALC293"
                alsa.components = "HDA:10ec0293,15581403,00100003 HDA:8086280b,80860101,00100000"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        ports:
                analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
                        properties:
                                device.icon_name = "audio-speakers"
                analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-headphones"
        active port: <analog-output-speaker>
$ $ pacmd list-sink-inputs
0 sink input(s) available.

While trying actively to reproduce this I think I've found something: It seems that this occurs after my Battery capacity was getting low (this time it was about 5% before I plugged in), but nevertheless I don't know what causes this.

Offline

Board footer

Powered by FluxBB