Page 3 of 3 FirstFirst 123
Results 21 to 25 of 25

Thread: Audio level is too high after startup

  1. #21
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    2,964

    Default Re: Audio level is too high after startup

    Quote Originally Posted by AlexCzar View Post
    After enabling journal:
    Code:
    ; journalctl -b -1 -o short-monotonic -u alsa-restore.service
    -- Journal begins at Sun 2021-07-18 15:40:16 +04, ends at Sun 2021-07-18 15:56:24 +04. --
    [    7.333650] home systemd[1]: Starting Save/Restore Sound Card State...
    [    7.335847] home alsactl[1072]: alsa-lib parser.c:242:(error_node) UCM is not supported for this HDA model (HDA ATI HDMI at 0xfce60000 ir>
    [    7.335847] home alsactl[1072]: alsa-lib main.c:1405:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -6
    [    7.336385] home alsactl[1072]: alsa-lib parser.c:242:(error_node) UCM is not supported for this HDA model (HD-Audio Generic at 0xfcd0000>
    [    7.336385] home alsactl[1072]: alsa-lib main.c:1405:(snd_use_case_mgr_open) error: failed to import hw:1 use case configuration -6
    [    7.336797] home alsactl[1072]: alsa-lib main.c:1405:(snd_use_case_mgr_open) error: failed to import hw:2 use case configuration -2
    [    7.346242] home systemd[1]: Finished Save/Restore Sound Card State.
    [  899.099493] home.czar.io systemd[1]: Stopping Save/Restore Sound Card State...
    [  899.118640] home.czar.io systemd[1]: alsa-restore.service: Deactivated successfully.
    [  899.118826] home.czar.io systemd[1]: Stopped Save/Restore Sound Card State.
    Unit alsa-restore.service gets invoked as intended. Run the following as root:
    1. rm /var/lib/alsa/asound.state
    2. Set the volume using System Tray > Audio Volume > Devices
    3. /usr/sbin/alsactl store
    4. reboot

    Does restore volume work now?
    AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), AMD Ryzen 5 3400G (2020), openSUSE Tumbleweed, KDE Plasma 5

  2. #22

    Default Re: Audio level is too high after startup

    After several restarts the issue returned on pipewire as well.
    Tried manual store call before shutdown yesterday, today system booted with 74% sound again.

  3. #23
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,287
    Blog Entries
    1

    Default Re: Audio level is too high after startup

    What is reported by the following?
    Code:
    systemctl --user list-unit-files | egrep -i 'pipe|pulse'
    After boot?
    Code:
    pactl list sinks
    Code:
    amixer -c0
    openSUSE Leap 15.3; KDE Plasma 5

  4. #24

    Default Re: Audio level is too high after startup

    Code:
      systemctl --user list-unit-files | egrep -i 'pipe|pulse'
    pipewire-media-session.service                                                           enabled   enabled
    pipewire-pulse.service                                                                   disabled  disabled
    pipewire.service                                                                         disabled  disabled
    pipewire-pulse.socket                                                                    enabled   enabled
    pipewire.socket                                                                          enabled   enabled
    // before reboot
    Code:
      pactl list sinks
    Sink #50
        State: SUSPENDED
        Name: alsa_output.pci-0000_0f_00.3.analog-stereo
        Description: Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo
        Driver: PipeWire
        Sample Specification: s32le 2ch 48000Hz
        Channel Map: front-left,front-right
        Owner Module: 4294967295
        Mute: no
        Volume: front-left: 22938 /  35% / -27.36 dB,   front-right: 22938 /  35% / -27.36 dB
               balance 0.00
        Base Volume: 65536 / 100% / 0.00 dB
        Monitor Source: alsa_output.pci-0000_0f_00.3.analog-stereo.monitor
        Latency: 0 usec, configured 0 usec
        Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
        Properties:
            object.path = "alsa:pcm:2:front:2:playback"
            api.alsa.path = "front:2"
            api.alsa.pcm.card = "2"
            api.alsa.pcm.stream = "playback"
            audio.channels = "2"
            audio.position = "FL,FR"
            device.routes = "2"
            alsa.resolution_bits = "16"
            device.api = "alsa"
            device.class = "sound"
            alsa.class = "generic"
            alsa.subclass = "generic-mix"
            alsa.name = "ALC1220 Analog"
            alsa.id = "ALC1220 Analog"
            alsa.subdevice = "0"
            alsa.subdevice_name = "subdevice #0"
            alsa.device = "0"
            alsa.card = "2"
            alsa.card_name = "HD-Audio Generic"
            alsa.long_card_name = "HD-Audio Generic at 0xfcd00000 irq 83"
            alsa.driver_name = "snd_hda_intel"
            device.profile.name = "analog-stereo"
            device.profile.description = "Analog Stereo"
            card.profile.device = "5"
            device.id = "44"
            factory.name = "api.alsa.pcm.sink"
            priority.driver = "881"
            priority.session = "881"
            media.class = "Audio/Sink"
            node.nick = "HD-Audio Generic"
            node.name = "alsa_output.pci-0000_0f_00.3.analog-stereo"
            device.description = "Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo"
            device.icon_name = "audio-card-analog"
            node.pause-on-idle = "false"
            factory.id = "18"
            client.id = "32"
            node.driver = "true"
            factory.mode = "merge"
            audio.adapt.follower = ""
            library.name = "audioconvert/libspa-audioconvert"
            object.id = "50"
            node.max-latency = "8192/48000"
        Ports:
            analog-output-lineout: Line Out (type: Line, priority: 9000, availability group: Legacy 4, available)
            analog-output-headphones: Headphones (type: Headphones, priority: 9900, availability group: Legacy 5, not available)
        Active Port: analog-output-lineout
        Formats:
            pcm
    Code:
       amixer -c0          
    Simple mixer control 'Speaker',0
      Capabilities: pvolume pswitch pswitch-joined
      Playback channels: Front Left - Front Right
      Limits: Playback 0 - 40
      Mono:
      Front Left: Playback 15 [38%] [-25.00dB] [on]
      Front Right: Playback 15 [38%] [-25.00dB] [on]
    Simple mixer control 'Mic',0
      Capabilities: pvolume cvolume pswitch pswitch-joined cswitch cswitch-joined
      Playback channels: Front Left - Front Right
      Capture channels: Front Left - Front Right
      Limits: Playback 0 - 60 Capture 0 - 26
      Front Left: Playback 38 [63%] [8.00dB] [on] Capture 18 [69%] [14.00dB] [on]
      Front Right: Playback 38 [63%] [8.00dB] [on] Capture 18 [69%] [14.00dB] [on]
    //after reboot
    Code:
      pactl list sinks
    Sink #50
        State: IDLE
        Name: alsa_output.pci-0000_0f_00.3.analog-stereo
        Description: Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo
        Driver: PipeWire
        Sample Specification: s32le 2ch 48000Hz
        Channel Map: front-left,front-right
        Owner Module: 4294967295
        Mute: no
        Volume: front-left: 22938 /  35% / -27.36 dB,   front-right: 22938 /  35% / -27.36 dB
               balance 0.00
        Base Volume: 65536 / 100% / 0.00 dB
        Monitor Source: alsa_output.pci-0000_0f_00.3.analog-stereo.monitor
        Latency: 0 usec, configured 0 usec
        Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
        Properties:
            object.path = "alsa:pcm:1:front:1:playback"
            api.alsa.path = "front:1"
            api.alsa.pcm.card = "1"
            api.alsa.pcm.stream = "playback"
            audio.channels = "2"
            audio.position = "FL,FR"
            device.routes = "2"
            alsa.resolution_bits = "16"
            device.api = "alsa"
            device.class = "sound"
            alsa.class = "generic"
            alsa.subclass = "generic-mix"
            alsa.name = "ALC1220 Analog"
            alsa.id = "ALC1220 Analog"
            alsa.subdevice = "0"
            alsa.subdevice_name = "subdevice #0"
            alsa.device = "0"
            alsa.card = "1"
            alsa.card_name = "HD-Audio Generic"
            alsa.long_card_name = "HD-Audio Generic at 0xfcd00000 irq 83"
            alsa.driver_name = "snd_hda_intel"
            device.profile.name = "analog-stereo"
            device.profile.description = "Analog Stereo"
            card.profile.device = "5"
            device.id = "44"
            factory.name = "api.alsa.pcm.sink"
            priority.driver = "945"
            priority.session = "945"
            media.class = "Audio/Sink"
            node.nick = "HD-Audio Generic"
            node.name = "alsa_output.pci-0000_0f_00.3.analog-stereo"
            device.description = "Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo"
            device.icon_name = "audio-card-analog"
            node.pause-on-idle = "false"
            factory.id = "18"
            client.id = "32"
            node.driver = "true"
            factory.mode = "merge"
            audio.adapt.follower = ""
            library.name = "audioconvert/libspa-audioconvert"
            object.id = "50"
            node.max-latency = "8192/48000"
        Ports:
            analog-output-lineout: Line Out (type: Line, priority: 9000, availability group: Legacy 4, available)
            analog-output-headphones: Headphones (type: Headphones, priority: 9900, availability group: Legacy 5, not available)
        Active Port: analog-output-lineout
        Formats:
            pcm
    Code:
      amixer -c0      
    Simple mixer control 'IEC958',0
      Capabilities: pswitch pswitch-joined
      Playback channels: Mono
      Mono: Playback [on]
    Simple mixer control 'IEC958',1
      Capabilities: pswitch pswitch-joined
      Playback channels: Mono
      Mono: Playback [on]
    Simple mixer control 'IEC958',2
      Capabilities: pswitch pswitch-joined
      Playback channels: Mono
      Mono: Playback [on]
    Simple mixer control 'IEC958',3
      Capabilities: pswitch pswitch-joined
      Playback channels: Mono
      Mono: Playback [on]
    Simple mixer control 'IEC958',4
      Capabilities: pswitch pswitch-joined
      Playback channels: Mono
      Mono: Playback [on]
    but after this specific reboot the volume was set at 35% on startup (vs 38% that was set before reboot), for some reason.

  5. #25
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    26,856
    Blog Entries
    39

    Default Re: Audio level is too high after startup

    Why would "amixer -c0" give information on mixer control 'Speaker' and 'Mic' in one case, and in another case after reboot give information on only IEC958 ??

    Is that only a partial copy/past of the amixer output? It makes no sense to me otherwise.

    Or is your PC re-designating the sound device numbering (between ANALOG sound and HDMI sound) on each reboot?

Page 3 of 3 FirstFirst 123

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •