Announcement

Collapse
No announcement yet.

No sound output through HDMI after upgrading to 24.04.01

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    No sound output through HDMI after upgrading to 24.04.01

    I have discovered that I no longer get any sound output if I select any HDMI option for the output device on my Framework 13 laptop, after upgrading from Kubuntu 22.04 LTS to 24.04.01 LTS (it was working fine before the upgrade). Built-in speaker output is working fine. Not sure where to start troubleshooting, so can someone help? I did notice that all the duplicate HDMI output options vanished (e.g., HDMI 2 Stereo, HDMI 2 5.1, HDMI 3 Stereo, etc.), but I never needed those options before, either, no matter which HDMI port I used.

    #2
    Did you look at system config>hardware>audio> hdmi card setup? Mine is off by default. I dont use this anyway.

    Comment


      #3
      I concur. Also, check system settings regarding audio. I had to do the same after I had updated my wife's machine.

      Comment


        #4
        System Settings -> Hardware -> Audio gives me the following options:
        1. Off
        2. Analog Stereo Duplex
        3. Analog Stereo Output
        4. Digital Stereo (HDMI) Output + Analog Stereo Input
        5. Digital Stereo (HDMI) Output
        6. Digital Surround 5.1 (HDMI) Output + Analog Stereo Input
        7. Digital Surround 7.1 (HDMI) Output + Analog Stereo Input
        8. Digital Surround 5.1 (HDMI) Output
        9. Digital Surround 7.1 (HDMI) Output
        10. Analog Stereo Input
        11. Pro Audio
        None of the HDMI options output any sound when I test them. The "Pro Audio" selection lets me choose from:
        1. Built-in Audio Pro
        2. Built-in Audio Pro 3
        3. ​Built-in Audio Pro 7
        4. ​Built-in Audio Pro 8
        5. Built-in Audio Pro 9
        If I select the first and test, I get static from the left & right built-in speakers; the other options get me silence.

        I'm guessing it's either a problem with PipeWire configuration or a conflict between PipeWire and PulseAudio, but I have no idea how to continue troubleshooting at this point.

        Edit: I'm connecting to an Onkyo TX-RZ50 AV receiver, which is connected to a Samsung 4K TV,
        Last edited by jrwatts; Sep 07, 2024, 02:21 AM.

        Comment


          #5
          Do #2 or #3 work by any chance?

          There (probably) is no conflict with Pulse and Pipewire , as the main pulseaaudio service should not be running.

          lets check some things:


          Code:
          $ pactl info | grep "^Server"
          Server String: /run/user/1000/pulse/native
          Server Protocol Version: 35
          Server Name: PulseAudio (on PipeWire 1.0.5)  <-----------
          Server Version: 15.0.0
          
          ​
          Code:
          $ systemctl status --user pipewire-*
          ● pipewire-pulse.service - PipeWire PulseAudio
          Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; enabled; preset: enabled)
          Active: active (running) since Sat 2024-09-07 19:15:28 AEST; 9min ago  <--------------------
          TriggeredBy: ● pipewire-pulse.socket
          Main PID: 1368 (pipewire-pulse)
          Tasks: 3 (limit: 9259)
          Memory: 4.8M (peak: 5.1M)
          CPU: 40ms
          CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
          └─1368 /usr/bin/pipewire-pulse
          
          Sep 07 19:15:28 kromey-elemi systemd[1352]: Started pipewire-pulse.service - PipeWire PulseAudio.
          
          ● pipewire-pulse.socket - PipeWire PulseAudio
          Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.socket; enabled; preset: enabled)
          Active: active (running) since Sat 2024-09-07 19:15:28 AEST; 9min ago  <--------------------------
          Triggers: ● pipewire-pulse.service
          Listen: /run/user/1000/pulse/native (Stream)
          CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/pipewire-pulse.socket
          Code:
          $ systemctl status --user pulseaudio
          ○ pulseaudio.service - Sound Service
          Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; enabled; preset: enabled)
          Active: inactive (dead)  <----------------------
          TriggeredBy: ○ pulseaudio.socket
          What audio hardware do you have?

          $HOME/.local/state/wireplumber/​

          use alsamixer to both see which chip is being used, as well as checking that something hasn't been disabled, though this probably won't be obvious at all.


          You can also try to reset pipewire/wireplumber by deleting
          $HOME/.local/state/wireplumber/​ and $HOME/.local/state/pipewire/media-session.d/​ (if present) and
          $HOME/.config/pulse/ (if present), and reboot.

          Comment


            #6
            Yes, #2 & #3 work through the built-in speakers.

            Here's my output from those commands:
            Code:
            $ pactl info | grep "^Server"
            Server String: /run/user/1000/pulse/native
            Server Protocol Version: 35
            Server Name: PulseAudio (on PipeWire 1.0.5)
            Server Version: 15.0.0
            ​
            Code:
            $ systemctl status --user pipewire-*
            ● pipewire-pulse.socket - PipeWire PulseAudio
                 Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.socket; enabled; preset: enabled)
                 Active: active (running) since Sat 2024-09-07 04:09:16 MDT; 6min ago
               Triggers: ● pipewire-pulse.service
                 Listen: /run/user/1000/pulse/native (Stream)
                 CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/pipewire-pulse.socket
            
            Sep 07 04:09:16 Amy systemd[1652]: Listening on pipewire-pulse.socket - PipeWire PulseAudio.
            
            ● pipewire-pulse.service - PipeWire PulseAudio
                 Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; enabled; preset: enabled)
                 Active: active (running) since Sat 2024-09-07 04:09:16 MDT; 6min ago
            TriggeredBy: ● pipewire-pulse.socket
               Main PID: 1666 (pipewire-pulse)
                  Tasks: 3 (limit: 38079)
                 Memory: 22.7M (peak: 23.6M)
                    CPU: 692ms
                 CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
                         └─1666 /usr/bin/pipewire-pulse
            
            Sep 07 04:09:16 Amy systemd[1652]: Started pipewire-pulse.service - PipeWire PulseAudio.
            
            ​
            Code:
            $ systemctl status --user pulseaudio
            ○ pulseaudio.service - Sound Service
                 Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; enabled; preset: enabled)
                 Active: inactive (dead)
            TriggeredBy: ○ pulseaudio.socket
            
            ​
            alsamixer shows "Card: HDA Intel PCM" and "Chip: IDT 92HD95" (This is a 2nd generation Framework 13 laptop, with Intel i7-1260P.)

            However, I get this:
            Code:
            $ ls $HOME/.local/state/wireplumber/​
            ls: cannot access '/home/jonathan/.local/state/wireplumber/​': No such file or directory​
            $HOME/.local/state/pipewire/media-session.d/​ also doesn't exist.

            I tried deleting $HOME/.config/pulse/ and rebooting, and it was re-created, holding a single "cookie" subdirectory (and still, only the built-in speaker output works),

            edit: if I manually type the command instead of copy-pasting, the wireplumber state directory does exist:

            Code:
            $ ls .local/state/wireplumber/
            default-nodes  default-profile  default-routes  restore-stream
            
            ​
            Last edited by jrwatts; Sep 07, 2024, 04:58 AM.

            Comment

            Working...
            X