Skip to content

weird behaviour with alsactl restore under pipewire #263

Closed

Description

@lucasreis1

So I'm at the point where I need to manually disable auto-mute after every reboot on my card. I've tried storing info using alsactl store and enabling alsa-restore.service, but I get errors when calling restore after boot (either manually or via the systemd service):

Found hardware: "HDA-Intel" "ATI R6xx HDMI" "HDA:1002aa01,00aa0100,00100700" "0x1043" "0x8809"
Hardware is initialized using a generic method
alsactl: set_control:1339: failed to obtain info for control #1 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #2 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #3 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #4 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #5 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #6 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #7 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #8 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #9 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #10 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #11 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #12 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #13 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #14 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #15 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #16 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #17 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #18 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #19 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #20 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #21 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #22 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #23 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #24 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #25 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #26 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #27 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #28 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #33 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #34 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #35 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #36 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #37 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #38 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #39 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #40 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #41 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #42 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #43 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #44 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #45 (No such file or directory)
Found hardware: "HDA-Intel" "Realtek ALC897" "HDA:10ec0897,104387fb,00100402" "0x1043" "0x87fb"
Hardware is initialized using a generic method
alsactl: set_control:1339: failed to obtain info for control #1 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #6 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #7 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #8 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #9 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #10 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #11 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #12 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #13 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #14 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #15 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #16 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #17 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #18 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #19 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #20 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #21 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #22 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #23 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #24 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #25 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #26 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #27 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #28 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #29 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #30 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #31 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #32 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #33 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #34 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #35 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #36 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #37 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #38 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #39 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #40 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #41 (No such file or directory)
alsactl: set_control:1339: failed to obtain info for control #42 (No such file or directory)

If I store configs again via alsactl store and restore them using alsactl restore, everything works, but the issue returns after another reboot.

Here's the output of alsa-info.sh if it helps:
alsa-info.txt

Note that this only happens with my speakers, I have headphonse connected which work fine and are not auto-muted after every boot.

Activity

  1. perexg commented on Aug 6, 2024

    @perexg
    Member

    It looks like an issue with the Generic card identifiers:

     2 [Generic_1      ]: HDA-Intel - HD-Audio Generic
                          HD-Audio Generic at 0xfc508000 irq 94
     3 [Generic        ]: HDA-Intel - HD-Audio Generic
                          HD-Audio Generic at 0xfc500000 irq 95
    

    Could you check, if Generic_1 and Generic refers to same hardware after reboot? The address (0xfc50...) in the long name may give a hint (the lines are from /proc/asound/cards).

  2. lucasreis1 commented on Aug 15, 2024

    @lucasreis1
    Author
     1 [Generic        ]: HDA-Intel - HD-Audio Generic
                          HD-Audio Generic at 0xfc508000 irq 93
     2 [Generic_1      ]: HDA-Intel - HD-Audio Generic
                          HD-Audio Generic at 0xfc500000 irq 94
    

    They do indeed seem to be the same hardware. But from the few months between opening this issue until now, I found a temporary fix to the problem and forgot about this issue. Since then, it seems the problem was fixed. I can now call alsactl restore with no problems.

    Sorry for leaving the issue open and thank you for the help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions