No audio over HDMI on AMD-NVIDIA laptop

Output when HDMI is disconnected

journalctl --user -u pipewire --user -u pipewire-media-
session --user -u pipewire-pulse -f
-- Journal begins at Wed 2021-04-28 12:12:41 GMT. --
May 07 13:07:47 kryzilla systemd[11845]: pipewire.service: D
eactivated successfully.
May 07 13:07:47 kryzilla systemd[11845]: Stopped Multimedia
Service.
-- Boot f7e697c35c7447ae95c64d944124d1e3 --
May 09 22:48:51 kryzilla systemd[7553]: Started Multimedia S
ervice.
May 09 23:13:46 kryzilla systemd[7553]: Stopping Multimedia
Service...
May 09 23:13:46 kryzilla systemd[7553]: pipewire.service: De
activated successfully.
May 09 23:13:46 kryzilla systemd[7553]: Stopped Multimedia S
ervice.
-- Boot ebd95302b6e34ea4b40ee240bddde195 --
May 12 05:11:43 kryzilla systemd[2439]: Started Multimedia S
ervice.
May 12 22:20:00 kryzilla systemd[2439]: Stopping Multimedia
Service...
May 12 22:20:00 kryzilla systemd[2439]: pipewire.service: De
activated successfully.
May 12 22:20:00 kryzilla systemd[2439]: Stopped Multimedia S
ervice.

Output when HDMI is connected

journalctl --user -u pipewire --user -u pipewire-media-session --user -u pipewire-pulse -f
-- Journal begins at Wed 2021-04-28 12:12:41 GMT. --
May 07 13:07:47 kryzilla systemd[11845]: pipewire.service: Deactivated successfully.
May 07 13:07:47 kryzilla systemd[11845]: Stopped Multimedia Service.
-- Boot f7e697c35c7447ae95c64d944124d1e3 --
May 09 22:48:51 kryzilla systemd[7553]: Started Multimedia Service.
May 09 23:13:46 kryzilla systemd[7553]: Stopping Multimedia Service...
May 09 23:13:46 kryzilla systemd[7553]: pipewire.service: Deactivated successfully.
May 09 23:13:46 kryzilla systemd[7553]: Stopped Multimedia Service.
-- Boot ebd95302b6e34ea4b40ee240bddde195 --
May 12 05:11:43 kryzilla systemd[2439]: Started Multimedia Service.
May 12 22:20:00 kryzilla systemd[2439]: Stopping Multimedia Service...
May 12 22:20:00 kryzilla systemd[2439]: pipewire.service: Deactivated successfully.
May 12 22:20:00 kryzilla systemd[2439]: Stopped Multimedia Service.