Welcome to our peer-to-peer forums, where owners help owners. Need help now? Visit eSupport here.

English Community

Linux Operating SystemsOther Linux Discussions
All Forum Topics
Options

389 Posts

03-06-2021

Germany

219 Signins

2345 Page Views

  • Posts: 389
  • Registered: ‎03-06-2021
  • Location: Germany
  • Views: 2345
  • Message 11 of 71

Re:T14s AMD no HDMI audio on Linux

2021-05-26, 10:53 AM

@ Iluha wrote:

Works here:

 

T14s AMD G1

Fedora 34

Kernel 5.12.6

pipewire  0.3.28

 

 

What ist your BIOS version ?

Reply
Options

51 Posts

08-19-2020

Germany

87 Signins

555 Page Views

  • Posts: 51
  • Registered: ‎08-19-2020
  • Location: Germany
  • Views: 555
  • Message 12 of 71

Re:T14s AMD no HDMI audio on Linux

2021-05-26, 10:57 AM

Now it is 1.32 

But it worked with 1.29 as well

Reply
Options

389 Posts

03-06-2021

Germany

219 Signins

2345 Page Views

  • Posts: 389
  • Registered: ‎03-06-2021
  • Location: Germany
  • Views: 2345
  • Message 13 of 71

Re:T14s AMD no HDMI audio on Linux

2021-05-26, 11:13 AM

@ Iluha wrote:

Now it is 1.32 

But it worked with 1.29 as well

 

My P14s is on 1.32 too.

Maybe fedora has some kernel workaround.

 

I just tested the latest vanilla git kernel, same thing, no sound.

Reply
Options

51 Posts

08-19-2020

Germany

87 Signins

555 Page Views

  • Posts: 51
  • Registered: ‎08-19-2020
  • Location: Germany
  • Views: 555
  • Message 14 of 71

Re:T14s AMD no HDMI audio on Linux

2021-05-26, 11:28 AM

I could reproduce this problem by booting into fedora-34-live-usb with kernel 5.11.12 and pipewire 0.3.25. 

However my normal fully updated system works as intended. 

 

If you have an idea, which logs could be useful, I can reboot into live-usb once more and compare logs between both systems.

 

 

Reply
Options

389 Posts

03-06-2021

Germany

219 Signins

2345 Page Views

  • Posts: 389
  • Registered: ‎03-06-2021
  • Location: Germany
  • Views: 2345
  • Message 15 of 71

Re:T14s AMD no HDMI audio on Linux

2021-05-26, 12:05 PM

@ Iluha wrote:

I could reproduce this problem by booting into fedora-34-live-usb with kernel 5.11.12 and pipewire 0.3.25. 

However my normal fully updated system works as intended. 

 

If you have an idea, which logs could be useful, I can reboot into live-usb once more and compare logs between both systems.

 

 

 

I don't have an idea yet, basically, you could compare dmesg's, Xorg.0.log, and pulse/pipewire logs.

 

Since I tested a 5.13-rc3, I suspect Fedora has some patch to either the kernel or pulse/pipewire to fix that.

Reply
Options

6 Posts

05-25-2021

Netherlands

7 Signins

60 Page Views

  • Posts: 6
  • Registered: ‎05-25-2021
  • Location: Netherlands
  • Views: 60
  • Message 16 of 71

Re:T14s AMD no HDMI audio on Linux

2021-05-26, 12:15 PM

@ osnix wrote:

@ jd_user wrote:

@ equaliser wrote:

// I just installed windows 10 again but the hdmi audio does not work. I will try another hdmi cable and update asap.

 

Sounds like Linux isn' the problem here.

 

I don' have Windows to test but on Linux, it doesn' work.

 

I' tested with 4 cables on 3 TVs and 2 Monitors, 1.4 & 2.0 HDMI mode.

I don' believe all my cables & HW are broken, and it works fine with other Laptops

I have around.

I'm using kernel 5.12.6 arch-1 with bios version 1.32. I can now confirm that HDMI audio works on Windows. When I first reinstalled Windows, no HDMI audio, tried with another cable and it still didn't work either. I even tried with MacOS laptop and Windows PC, HDMI audio still didn't work. I then unplugged the power cord of the monitor, waited 2 mins, and then plugged everything back, then HDMI audio was back for Windows. Now I'm back to Linux and HDMI audio is dead again.

Reply
Options

51 Posts

08-19-2020

Germany

87 Signins

555 Page Views

  • Posts: 51
  • Registered: ‎08-19-2020
  • Location: Germany
  • Views: 555
  • Message 17 of 71

Re:T14s AMD no HDMI audio on Linux

2021-05-26, 13:42 PM

@ osnix wrote:

 

I don' have an idea yet, basically, you could compare dmesg', Xorg.0.log, and pulse/pipewire logs.

 

Since I tested a 5.13-rc3, I suspect Fedora has some patch to either the kernel or pulse/pipewire to fix that.

 

 

In (last) Fedora kernel changelog there is just one line referencing AMD:

- Fedora-5.12: Make amd_pinctrl module builtin (Hans de Goede)

 

 

BTW: HDMI1 (USB-C-to-HDMI adapter) has sound even on live-usb system with 5.11.12

 

Reply
Answer
Options

389 Posts

03-06-2021

Germany

219 Signins

2345 Page Views

  • Posts: 389
  • Registered: ‎03-06-2021
  • Location: Germany
  • Views: 2345
  • Message 18 of 71

Re:T14s AMD no HDMI audio on Linux

2021-05-26, 13:47 PM

@ equaliser wrote:

.....

I' using kernel 5.12.6 arch-1 with bios version 1.32. I can now confirm that HDMI audio works on Windows. When I first reinstalled Windows, no HDMI audio, tried with another cable and it still didn' work either. I even tried with MacOS laptop and Windows PC, HDMI audio still didn' work. I then unplugged the power cord of the monitor, waited 2 mins, and then plugged everything back, then HDMI audio was back for Windows. Now I' back to Linux and HDMI audio is dead again.

 

I think I know what is going on.

 

Do you have something like this in dmesg?:

 

```

acp_pdm_mach acp_pdm_mach.0: snd_soc_register_card(acp) failed: -517 

 

```

 

( or similar )

 

If so, append the following to kernel cdm:

 

```

snd_rn_pci_acp3x.dmic_acpi_check=0

 

```

 

If that alone doesn't fix it, goto BIOS and change the GPU mem size to 2G too.

 

@MarkRHPearson, if you have some contact @AMD could you ask what is going

on with this audio driver?.. They either have to fix it to work automatically or use black/white list.

 

2 person found this solution to be helpful.

This helped me too

Reply
Options

389 Posts

03-06-2021

Germany

219 Signins

2345 Page Views

  • Posts: 389
  • Registered: ‎03-06-2021
  • Location: Germany
  • Views: 2345
  • Message 19 of 71

Re:T14s AMD no HDMI audio on Linux

2021-05-26, 13:50 PM

@ Iluha wrote:

@ osnix wrote:

 

I don' have an idea yet, basically, you could compare dmesg', Xorg.0.log, and pulse/pipewire logs.

 

Since I tested a 5.13-rc3, I suspect Fedora has some patch to either the kernel or pulse/pipewire to fix that.

 

 

In (last) Fedora kernel changelog there is just one line referencing AMD:

- Fedora-5.12: Make amd_pinctrl module builtin (Hans de Goede)

 

 

BTW: HDMI1 (USB-C-to-HDMI adapter) has sound even on live-usb system with 5.11.12

 

 

Your laptop may have working ACP, and you never noticed.

 

I never noticed bc I used to have snd_rn_pci_acp3x.dmic_acpi_check=0, in my kernel cmd,

but removed it to test other bugs and forgot to put it back =)

Reply
Options

6 Posts

05-25-2021

Netherlands

7 Signins

60 Page Views

  • Posts: 6
  • Registered: ‎05-25-2021
  • Location: Netherlands
  • Views: 60
  • Message 20 of 71

Re:T14s AMD no HDMI audio on Linux

2021-05-26, 14:01 PM
Holy moly. Yes, this works. I remembered encountered the failed -517 when booting into arch using usb-stick. After modifying kernel cdm, now I have digital surround and also pro audio. Thanks a ton.
Reply
Forum Home

Community Guidelines

Please review our Guidelines before posting.

Learn More

Check out current deals!

Go Shop
X

Save

X

Delete

X

No, I don’t want to share ideas Yes, I agree to these terms