Reply 1580 of 1724, by thp
Methanoid wrote on 2024-10-02, 15:00:Falcosoft wrote on 2023-03-17, 10:15:Since video card's HDMI ports only support digital audio out it's not likely they work. Has anyone tested this?
This is my #1 question for SBemu as most of my GPUs are connected by HDMI for video and sound ... Do i need a special switch for SBemu to force to use Nvidia or AMD HD audio and hence test this?
The HDA code seems to have support for various ATI (AMD) and NVIDIA cards (the graphics cards' audio portion just appears as a HDA device on the PCI bus IIRC):
https://github.com/crazii/SBEMU/blob/75fea771 … d.c#L1241-L1392
I once tried it with a GTX 960 (on PCIe), but after quick testing, couldn't get it working - YMMV, feel free to play around. Also here, using FreeBSD or Linux as reference (in case of NVIDIA, look at nouveau).
I've read somewhere that the graphics card has to be initialised somewhat more than what the VGA BIOS does. In any case, chances are you have onboard HDA in addition to NVIDIA/AMD HDA on the graphics card, in which case you might need to play around with the graphics card index.
Looking at the nouveau "HDMI Audio" support list: https://nouveau.freedesktop.org/FeatureMatrix.html
It says:
HDMI Audio only works for NVA3/A5/A8 (GT21x) GPUs. Some pre-NVA3 setups have been reported, but it's no thanks to nouveau.
So chances are if you try HDMI out with pre-NVA3 and the HDA driver, it might just magically work (or not...).