You are not logged in.

#1 2023-07-15 01:07:53

Naoto
Member
Registered: 2016-09-20
Posts: 6

Audio starts with 1-2s delay

Hi. Internal speakers in my laptop starts playing after some time. After some research i've tried disabling suspend in wireplumber, but no success. It happens only using internal speakers. When headphones are plugged in it works normal.

Laptop model: HP Omen 16 2022 with AMD R7 6800H RX6650M
Sound driver: snd_hda_intel

> aplay -l

card 0: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 3: HDMI 0 [LG HDR WFHD]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 2: Generic_1 [HD-Audio Generic], device 0: ALC245 Analog [ALC245 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Issue occurs with card 2

> cat ~/.config/wireplumber/main.lua.d/50-alsa-config.lua

alsa_monitor.rules = {
  {
    matches = {
      {
        -- Matches all sources.
        { "node.name", "matches", "alsa_input.*" },
      },
      {
        -- Matches all sinks.
        { "node.name", "matches", "alsa_output.*" },
      },
    },
    apply_properties = {
      ["session.suspend-timeout-seconds"] = 0,
    },
  },
}

(redacted for readability)

Thank you for your time

Offline

#2 2023-07-17 23:32:52

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,809

Re: Audio starts with 1-2s delay

Try disabling power_saving on the HDA driver -- with the obvious caveat of requiring more power: https://wiki.archlinux.org/title/Power_ … ent#Kernel -- set that to 0

Offline

Board footer

Powered by FluxBB