linux-cachyos icon indicating copy to clipboard operation
linux-cachyos copied to clipboard

[BUG] ASUS ProArt PX13 HN7306EA - No sound (AMD ACP70 no playback device)

Open zakissimo opened this issue 9 months ago • 126 comments

Pre-flight checklist

  • [x] I have searched existing issues and this is not a duplicate.
  • [x] I have read the Contributing Guidelines.
  • [x] I have verified the issue is reproducible with the latest available CachyOS kernel.

Upstream / vanilla kernel check

I was unable to test with a vanilla/upstream kernel

Kernel variant

linux-cachyos (EEVDF, Clang)

System information (cachyos-bugreport.sh)

https://paste.cachyos.org/p/3ccdbcb.log

Manual system information (if cachyos-bugreport.sh is unavailable)


Bug description

Hardware: ASUS ProArt PX13 HN7306EA (AMD Ryzen AI MAX+ 395) OS: CachyOS 6.19.3-2-cachyos Kernel: 6.19.3-2-cachyos

Issue Summary

Fresh CachyOS install could not boot. After adding iommu=pt kernel parameter, system boots but has no sound.

Boot Issue (Workaround Found)

  • Error on fresh boot: AMD-Vi: Event: logged IO_PAGE_FAULT
  • Fix: Add iommu=pt to kernel parameters

Audio Issue

  • Internal speakers do not work
  • No playback device created for AMD ACP70 audio

Verification

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
  (no playback on card 1)
$ cat /proc/asound/cards
 0 [Generic        ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0xa0440000 irq 161
 1 [acppdmmach     ]: acp-pdm-mach - acp-pdm-mach
                      ASUSTeK COMPUTERINC.-ProArtPX13HN7306EA-1.0-HN7306EA

Card 1 (AMD ACP70) has no playback device, only DMIC capture exists.

Steps to reproduce

  1. Install CachyOS on ASUS ProArt PX13 HN7306EA laptop
  2. Attempt to boot (fresh install)
  3. System fails to boot with error: AMD-Vi: Event: logged IO_PAGE_FAULT
  4. Add iommu=pt kernel parameter to boot (workaround for boot issue)
  5. System boots successfully but has no sound

Expected behavior

Internal speakers should work like other AMD Strix Halo laptops.

Actual behavior

No sound output from internal speakers

Logs / stack traces


Additional system information

No response

zakissimo avatar Feb 27 '26 13:02 zakissimo

Feb 27 12:46:21 consider wireplumber[1342]: wp-state: failed to create directory /.local/state/wireplumber: Permission denied
Feb 27 12:46:21 consider wireplumber[1342]: wp-state: failed to create directory /.local/state/wireplumber: Permission denied
Feb 27 12:46:21 consider wireplumber[1342]: wp-state: failed to create directory /.local/state/wireplumber: Permission denied
Feb 27 12:46:21 consider wireplumber[1342]: wp-state: failed to create directory /.local/state/wireplumber: Permission denied
Feb 27 12:46:21 consider wireplumber[1342]: wp-state: failed to create directory /.local/state/wireplumber: Permission denied
Feb 27 12:46:21 consider wireplumber[1342]: wp-state: failed to create directory /.local/state/wireplumber: Permission denied
Feb 27 12:46:21 consider wireplumber[1342]: s-monitors: Failed to create 'api.alsa.acp.device' device

Weird, can you try to create that directory manually and then restart wireplumber?

mkdir -p ~/.local/state/wireplumber
systemctl --user restart pipewire pipewire-pulse.socket wireplumber

1Naim avatar Feb 27 '26 13:02 1Naim

I did and generated a new bug report:

Feb 27 14:39:48 consider wireplumber[2632]: pw.core: 0x55b1e328a7c0: leaked proxy 0x55b1e32d53f0 id:3
Feb 27 14:39:48 consider wireplumber[2632]: pw.core: 0x55b1e328a7c0: leaked proxy 0x55b1e33af420 id:5
Feb 27 14:39:48 consider wireplumber[2632]: pw.core: 0x55b1e328a7c0: leaked proxy 0x55b1e338b540 id:6
Feb 27 14:39:48 consider wireplumber[2632]: pw.core: 0x55b1e328a7c0: leaked proxy 0x55b1e33b4190 id:7
Feb 27 14:39:48 consider wireplumber[2632]: pw.core: 0x55b1e328a7c0: leaked proxy 0x55b1e3387c90 id:8
Feb 27 14:39:48 consider wireplumber[2632]: pw.core: 0x55b1e328a7c0: leaked proxy 0x55b1e33813a0 id:9
Feb 27 14:39:48 consider /usr/lib/xdg-desktop-portal[1843]: Caught PipeWire error: connection error
Feb 27 14:39:48 consider wireplumber[2949]: s-monitors: Failed to create 'api.alsa.acp.device' device

Full report

zakissimo avatar Feb 27 '26 13:02 zakissimo

It looks like you have the LTS kernel installed, can you try with that? You don't need the iommu argument with that kernel.

1Naim avatar Feb 27 '26 14:02 1Naim

Report after rebooting with LTS without that kernel param Same message again, weird because the directory exists. But it's looking into /.local and not ~/.local. I tried booting from the usb/iso and there too I don't have any sound. I can try running a report from there? Also just in case it might be relevant, when shutting down / rebooting I see the following message: Calling import-environment without a list of variable names is deprecated

zakissimo avatar Feb 27 '26 14:02 zakissimo

Also just in case it might be relevant, when shutting down / rebooting I see the following message: Calling import-environment without a list of variable names is deprecated

Is this niri?

1Naim avatar Feb 27 '26 14:02 1Naim

Is this niri?

yes, I just tried rebooting from kde and I don't see the message.

zakissimo avatar Feb 27 '26 14:02 zakissimo

That's fine then, you can ignore it.

1Naim avatar Feb 27 '26 14:02 1Naim

I created /.local/state/wireplumber and I see this:

Feb 27 15:17:27 consider wireplumber[1357]: s-monitors: Failed to create 'api.alsa.acp.device' device
Feb 27 15:17:27 consider wireplumber[1357]: default: Failed to get percentage from UPower: org.freedesktop.DBus.Error.NameHasNoOwner
Feb 27 15:17:28 consider wireplumber[1357]: wp-state: <WpState:0x563b43a8a3c0> could not save stream-properties: Failed to create file “/.local/state/wireplumber/stream-properties.K6MJL3”: Permission denied

zakissimo avatar Feb 27 '26 14:02 zakissimo

Do you get no sound and the same log from KDE too?

1Naim avatar Feb 27 '26 14:02 1Naim

Log from kde I deleted the directory before rebooting. Same log and no sound :(

zakissimo avatar Feb 27 '26 14:02 zakissimo

I'm out of ideas. Are you sure $HOME is not just an empty string?

1Naim avatar Feb 27 '26 15:02 1Naim

I'm out of ideas. Are you sure $HOME is not just an empty string?

❯ systemctl --user show-environment                                          
HOME=/home/zak

zakissimo avatar Feb 27 '26 16:02 zakissimo

I've also bought HN7306EAC and experience same issue.

The two issues should be considered separately. Boot issue occurs only in 6.19+ kernel.

You need to trace why wrong mod probed.

I've little progress that makes work to internal speaker. But still have some issue that only left or right works (not both speaker) so i'll update some detail after solve remaining issue. (planning to solve in few days ASAP)

https://github.com/user-attachments/assets/5ab46305-3498-455b-ba49-bde414ec203d

hasunpark avatar Mar 02 '26 07:03 hasunpark

@hasunpark please share details

tsaunya avatar Mar 02 '26 09:03 tsaunya

Just wanted to say that today I got my ProArt PX13 HN7306EA and have the same problem with the audio.

Basically, no audio output, not even using the headphones.

Regarding the kernel parameter for booting it was not required using linux 19.5.
Nevertheless, I had to set "iommu=pt" in order to boot using linux 7.0rc2.

Than you @zakissimo for opening the issue, and to @hasunpark for working on it.
On a side note, the problem happend to me not only using Arch-based distros, but also with pop-os (based on Ubuntu).

salvoc81 avatar Mar 05 '26 13:03 salvoc81

I have some updates.

tl;dr 1-4 fixed. currently writing a patch

There was really a lot of complicated issue with sound system.

  1. no playback device
  2. mic not working (internal, jack both)
  3. stereo not work
  4. both L,R speaker display multiple (ex Left SPK, Left SPK 2, Right SPK, Right SPK 2) even if there are just 2 speaker exist
  5. after suspend/resume audio not working again (guess init issue caused by IRQ)

I've planed to submit the patch after fix all 5 problems but last 5th problem was not easy to fix. complicated and time consuming job. So i'm currently writing a patch that contains 1-3 fixed code. might be finish in few hours

4th problem also have been solved but split with first patch because i think it does not cause any problem. just look like messy but i'll share monkey patch for 4th problem with first patch

hasunpark avatar Mar 05 '26 16:03 hasunpark

Patch Share Info

Series patches (0001-0003)

  • Base commit (parent): 5b12bef92c1d
  • Applies as: commits on top of 5b12bef92c1d
  • Tip commit after applying series: 90090ed68484fe38924e055e99e77f521f2ad949

WIP patch (0004-WIP-uncommitted-changes.patch)

  • Generated from working tree diff at commit: 90090ed68484fe38924e055e99e77f521f2ad949
  • Apply after 0001-0003 are applied on top of 5b12bef92c1d

Suggested apply order

  1. git checkout 5b12bef92c1d
  2. git am 0001-.patch 0002-.patch 0003-*.patch
  3. git apply 0004-WIP-uncommitted-changes.patch

Current local status when WIP was generated M sound/soc/codecs/tas2783-sdw.c M sound/soc/sdw_utils/soc_sdw_utils.c

I've work on linux-mainline but you can also apply patch on your preferred kernel version.

0001-ASoC-amd-acp-add-DMI-override-for-ACP70-flag.patch 0002-ASoC-amd-acp-add-PX13-SoundWire-machine-link-for-rt7.patch 0003-ASoC-amd-acp-add-ASUS-HN7306EA-quirk-for-legacy-SDW-.patch 0004-WIP-uncommitted-changes.patch

Who uses this patch also needed to extract firmware file from official ASUS HN7306EA driver for tas2783. When you extract on windows you'll see both 1714-1-0x8.bin 1714-1-0xB.bin under the Firmwares folder. You should rename it to 1714-1-8.bin 1714-1-B.bin and place it at linux /lib/firmware path.

https://www.asus.com/laptops/for-creators/proart/proart-px13-hn7306/helpdesk_download?model2Name=HN7306EA

You can download on following address

hasunpark avatar Mar 06 '26 11:03 hasunpark

@hasunpark thank you so much for the patches! Have you submitted them upstream to the mainline kernel or opened a PR anywhere? Would be great to get this tracked and merged properly. Even without the suspend/resume fix, the first 3 patches would already be a huge improvement for affected users.

zakissimo avatar Mar 07 '26 16:03 zakissimo

@hasunpark thank you so much for the patches! Have you submitted them upstream to the mainline kernel or opened a PR anywhere? Would be great to get this tracked and merged properly. Even without the suspend/resume fix, the first 3 patches would already be a huge improvement for affected users.

Not yet but i will submit 3 patches first to the mainline. I'll update the link after submit to keep track on it.

Also i have forgot to mention tas2783 firmware. Who uses this patch also needed to extract firmware file from official ASUS HN7306EA driver for tas2783. When you extract on windows you'll see both 1714-1-0x8.bin 1714-1-0xB.bin under the Firmwares folder. You should rename it to 1714-1-8.bin 1714-1-B.bin and place it at linux /lib/firmware path.

https://www.asus.com/laptops/for-creators/proart/proart-px13-hn7306/helpdesk_download?model2Name=HN7306EA

The best practice is contain it to linux-firmware but according to Asus license they are expressing to not allowing redistribution. So i have sent the mail to both Asus and Texas instrument for permission.

It may be a hassle, but until then each user might need to extract by them self. I will also update it when get email reply

hasunpark avatar Mar 07 '26 17:03 hasunpark

https://patchwork.kernel.org/project/alsa-devel/list/?series=1063257 you can check patch submitted to upstream

hasunpark avatar Mar 08 '26 15:03 hasunpark