Disable hdmi audio from GPU

So, here is my problem

if I connect a GPU without hdmi, or just using DVI/VGA, my sound works. (tested with a HD 4850)
if I connect my GPU thru HDMI, it doesnt. (using a RX 5500 XT)

I’ve tried creating the ~/.asoundrc file, with parameters

defaults.pcm.card 0
defaults.pcm.device 0
defaults.ctl.card 0

and with

defaults.pcm.card 0
defaults.pcm.device 1
defaults.ctl.card 0

output from aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC662 rev3 Analog [ALC662 rev3 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC662 rev3 Digital [ALC662 rev3 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0

selecting different devices and options on the pulseaudio gui doesn’t help

Anyone able to help?

see with pavucontrol > configuration

if I set it like this, I can hear sound. But only stereo works
other profiles don’t work

If you’re using amdgpu, try to boot with amdgpu.dc​=1

I’m using the open source drivers, does it work for that?

amdgpu is the opensource one

https://wiki.archlinux.org/index.php/AMDGPU

doesn’t appear to have any effect