<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small">Hi,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I didn't get any response to my earlier email but I have managed to get somewhere so here's an update:</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 31 May 2022 at 23:34, Justin Smith <<a href="mailto:justin@smithpolglase.com" target="_blank">justin@smithpolglase.com</a>> wrote:<br></div><div><span class="gmail_default" style="font-size:small">> </span>I've just put together a new mythtv box which uses an Intel i5-12400 running on an </div><div><span class="gmail_default" style="font-size:small">> </span>Asus B660M motherboard. It's running Ubuntu 22.04 desktop minimal and mythtv 32 fixes</div><div><span class="gmail_default" style="font-size:small">></span> from the standard ppa. I'm using the built-in HDMI connected to a Marantz 5.1 receiver </div><div><span class="gmail_default" style="font-size:small">> </span>with the receiver HDMI out connected to the TV.</div><div><br></div><span class="gmail_default" style="font-size:small">> </span>My problem is that I cannot configure 5.1 audio. No matter what audio output device I </div><div class="gmail_quote"><span class="gmail_default" style="font-size:small">> </span>set, the "Digital Audio Capabilities" menu remains greyed out, and the speaker </div><div class="gmail_quote"><span class="gmail_default" style="font-size:small">> </span>configuration fixed at Stereo.<br></div><div class="gmail_quote"><br></div><div class="gmail_quote"><div class="gmail_default" style="font-size:small">> 2022-05-31 22:40:32.104090 I  Found ALSA:hdmi:CARD=PCH,DEV=0 (HDA Intel PCH, HDMI 0</div><span class="gmail_default" style="font-size:small">> </span>HDMI Audio Output (marantz-AVR connected to HDMI)<br><div class="gmail_default" style="font-size:small">> Device supports up to 2.0 (LPCM, AC3, DTS, E-AC3, DTS-HD, TrueHD))</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"></div><div class="gmail_default" style="font-size:small">I tested with Kodi and VLC with the same issue. But then I realised that Kodi was using PulseAudio, so I disabled PulseAudio and configured Kodi to use ALSA:hdmi:CARD=PCH,DEV=0. This worked! Now I had fancy HD audio passthrough. But MythTV still didn't work. With the same audio device it was stuck as 2 channels and the "Digital Audio Capabilities" menu remains greyed out.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Looking at the Kodi log, I could see that it was opening "hdmi:CARD=PCH,DEV=0,AES0=0x06,AES1=0x82,AES2=0x00,AES3=0x09". I have no idea what those ASE codes mean or do but I knew that you could set a custom audio device in Myth so I set it to the same string.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Voila!</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">The "Digital Audio Capabilities" menu came alive, I could enable all the digital audio formats and set my speakers to 7.1. Passthrough worked as indicated on my receiver.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I then removed the AES codes from the audio device (i.e. set it back to original) and passthrough was still working.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">So there seems to be a bug here, but so far all good here.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Cheers,</div><div class="gmail_default" style="font-size:small">Justin.</div><div class="gmail_default" style="font-size:small"><br></div><br></div></div>