MHWD Automatically disables HDMI Audio on Nvidia PRIME Proprietary Driver
Hi, as I'm new to linux and github I am not sure if this issue has been reported or issued before.
I am using Manjaro on a laptop with hybrid gpu (Intel + Nvidia GTX 1050ti) and after not getting audio through HDMI and trying every possibility (drm blacklist, neauveau blacklist etc...) I noticed MHWD makes an automatic file '/etc/udev/rules.d/90-mhwd-prime-powermanagement.rules' which contains the following line:
# Remove NVIDIA Audio devices, if present \n ACTION=="add", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x040300", ATTR{remove}="1"
which causes the nvidia audio device to get disabled and not used. I am not sure if this is intended feature but I would suggest this to be given as a choice or properly documented as troubleshooting this audio issue took me many hours simply because as a novice user I was not aware of where and what to look for.
This issue exists regardless of whether intel igpu or nvidia is used as the primary card.
As a side note this issue does not exist on the live boot environment with nonfree drivers, although the line is also present there. As I could not find any difference between the config files of the live boot and installed version I am unsure whether this issue is the main culprit but regardless commenting this line caused my nvidia audio device to be properly recognized.