No notifications sound KDE

Hey Everyone I am using wireless headphones and have some weird problem. While playing music or videos evertyhing seems to be ok and notifications(such as facebook, messenger) have sound but as soon as I stop playing music/video notifications sound goes away as well; I tried looking for problem solution in AlsaMixer and PulseAudio but no use;

Sometimes I hear notifications sound only if I get several messages at the same time or one after another in a very short of a time I mean milliseconds

pacmd list-sinks
2 sink(s) available.
    index: 1
        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: 65536 / 100% / 0,00 dB,   front-right: 65536 / 100% / 0,00 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: 1
        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: 26
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "ALC236 Analog"
                alsa.id = "ALC236 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 0x4000108000 irq 150"
                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 = "9dc8"
                device.product.name = "Cannon Point-LP High Definition Audio Controller"
                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 ALC236"
                alsa.components = "HDA:10ec0236,103c8538,00100002 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>
  * index: 2
        name: <bluez_sink.B2_1E_AC_44_7F_67.a2dp_sink>
        driver: <module-bluez5-device.c>
        flags: HARDWARE DECIBEL_VOLUME LATENCY 
        state: SUSPENDED
        suspend cause: IDLE
        priority: 9050
        volume: front-left: 65536 / 100% / 0,00 dB,   front-right: 65536 / 100% / 0,00 dB
                balance 0,00
        base volume: 65536 / 100% / 0,00 dB
        volume steps: 65537
        muted: no
        current latency: 0,00 ms
        max request: 2 KiB
        max rewind: 0 KiB
        monitor source: 3
        sample spec: s16le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 1
        fixed latency: 39,51 ms
        card: 1 <bluez_card.B2_1E_AC_44_7F_67>
        module: 29
        properties:
                bluetooth.protocol = "a2dp_sink"
                device.description = "KD"
                device.string = "B2:1E:AC:44:7F:67"
                device.api = "bluez"
                device.class = "sound"
                device.bus = "bluetooth"
                device.form_factor = "headset"
                bluez.path = "/org/bluez/hci0/dev_B2_1E_AC_44_7F_67"
                bluez.class = "0x340404"
                bluez.alias = "KD"
                device.icon_name = "audio-headset-bluetooth"
                device.intended_roles = "phone"
        ports:
                headset-output: Headset (priority 0, latency offset 0 usec, available: unknown)
                        properties:

        active port: <headset-output>

Your wireless device seems to take quite a long time to wake up from sleep. AFAIK all bluetooth speakers and headphones do this (at least all mines do), but mileage varies. Some smart ones will not process incoming data and wait for itself to be ready first. Some wakes up as fast as it can and therefore can still output the last half or so of the sound. I don’t know if they can be force controlled to stay awake, but if can for sure it will eat the battery quite badly.

1 Like

That’s a very thoughtful and logical point. I have not thought about it, so I have to start looking for methods to prevent my headphones from sleep or try to force them somehow act and react as fast as possible, but it seems that wake time is not only depended on device itself but OS as well as after testing on android smartphone and even Windows 10 on Virtual Box results are different