<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 31, 2022 at 11:35 AM Justin Smith <<a href="mailto:justin@smithpolglase.com">justin@smithpolglase.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-size:small">Hi,</div><div style="font-size:small"><br></div><div style="font-size:small">I've just put together a new mythtv box which uses an Intel i5-12400 running on an Asus B660M motherboard. It's running Ubuntu 22.04 desktop minimal and mythtv 32 fixes from the standard ppa. I'm using the built-in HDMI connected to a Marantz 5.1 receiver with the receiver HDMI out connected to the TV.</div><div style="font-size:small"><br></div><div style="font-size:small">My problem is that I cannot configure 5.1 audio. No matter what audio output device I set, the "Digital Audio Capabilities" menu remains greyed out, and the speaker configuration fixed at Stereo.</div><div style="font-size:small"><br></div><div style="font-size:small">I get audio out of the receiver, but only 2 channels.</div><div style="font-size:small"><br></div><div style="font-size:small">I've run mythfrontend -v audio and there are a gazillion audio devices but *all* are 2.0. Of these, 3 audio devices seem to suggest that they understand multi-channel digital audio. These are reported as (after an audio device scan):</div><div style="font-size:small"><br></div><div style="font-size:small">2022-05-31 22:40:32.806995 I  Found ALSA:plughw:CARD=PCH,DEV=3 (HDA Intel PCH, HDMI 0<br>Hardware device with all software conversions (marantz-AVR connected to HDMI)<br>Device supports up to 2.0 (LPCM, AC3, DTS, E-AC3, DTS-HD, TrueHD))<br></div><div style="font-size:small"><br></div><div style="font-size:small">2022-05-31 22:40:32.515369 I  Found ALSA:hw:CARD=PCH,DEV=3 (HDA Intel PCH, HDMI 0<br>Direct hardware device without any conversions (marantz-AVR connected to HDMI)<br>Device supports up to 2.0 (LPCM, AC3, DTS, E-AC3, DTS-HD, TrueHD))<br></div><div style="font-size:small"><br></div><div style="font-size:small">2022-05-31 22:40:32.104090 I  Found ALSA:hdmi:CARD=PCH,DEV=0 (HDA Intel PCH, HDMI 0<br>HDMI Audio Output (marantz-AVR connected to HDMI)<br>Device supports up to 2.0 (LPCM, AC3, DTS, E-AC3, DTS-HD, TrueHD))<br></div><div style="font-size:small"><br></div><div style="font-size:small">I've tried all three (plus many others) without success. For reference, the logs prior to each are identical:</div><div style="font-size:small">2022-05-31 22:40:32.089221 I  AOS: Sample rate 32000 is supported<br>2022-05-31 22:40:32.089225 I  AOS: Sample rate 44100 is supported<br>2022-05-31 22:40:32.089228 I  AOS: Sample rate 48000 is supported<br>2022-05-31 22:40:32.089231 I  AOS: Sample rate 88200 is supported<br>2022-05-31 22:40:32.089233 I  AOS: Sample rate 96000 is supported<br>2022-05-31 22:40:32.089236 I  AOS: Sample rate 176400 is supported<br>2022-05-31 22:40:32.089239 I  AOS: Sample rate 192000 is supported<br>2022-05-31 22:40:32.089241 I  AOS: Format signed 16 bit is supported<br>2022-05-31 22:40:32.089243 I  AOS: Format signed 32 bit is supported<br>2022-05-31 22:40:32.089249 I  AOS: 2 channel(s) are supported<br>2022-05-31 22:40:32.089255 I  AOS: 4 channel(s) are supported<br>2022-05-31 22:40:32.089259 I  AOS: 6 channel(s) are supported<br>2022-05-31 22:40:32.089264 I  AOS: 8 channel(s) are supported<br>2022-05-31 22:40:32.089406 I  ALSA: Successfully retrieved ELD data<br>2022-05-31 22:40:32.089412 I  ELDUTILS: Detected monitor marantz-AVR at connection type HDMI<br>2022-05-31 22:40:32.089416 I  ELDUTILS: available speakers: FL/FR LFE FC RL/RR RC RLC/RRC<br>2022-05-31 22:40:32.089418 I  ELDUTILS: max LPCM channels = 8<br>2022-05-31 22:40:32.089419 I  ELDUTILS: max channels = 8<br>2022-05-31 22:40:32.089422 I  ELDUTILS: supported codecs = LPCM, AC3, DTS, E-AC3, DTS-HD, TrueHD<br>2022-05-31 22:40:32.089430 I  ELDUTILS: supports coding type LPCM: channels = 8, rates = 32000 44100 48000 96000 176400 192000, bits = 16 20 24<br>2022-05-31 22:40:32.089433 I  ELDUTILS: supports coding type AC3: channels = 6, rates = 32000 44100 48000, max bitrate = 640000<br>2022-05-31 22:40:32.089436 I  ELDUTILS: supports coding type DTS: channels = 6, rates = 44100 48000 96000 176400, max bitrate = 1536000<br>2022-05-31 22:40:32.089438 I  ELDUTILS: supports coding type E-AC3: channels = 8, rates = 44100 48000<br>2022-05-31 22:40:32.089441 I  ELDUTILS: supports coding type DTS-HD: channels = 8, rates = 44100 48000 96000 176400 192000<br>2022-05-31 22:40:32.089443 I  ELDUTILS: supports coding type TrueHD: channels = 8, rates = 44100 48000 96000 176400 192000<br>2022-05-31 22:40:32.104076 I  AOBase: Killing AudioOutputDSP<br>2022-05-31 22:40:32.104078 I  AOBase: m_outputSettings != m_outputSettingsDigital : 0<br>2022-05-31 22:40:32.104079 I  AOBase: m_outputSettingsRaw != m_outputSettings 0<br></div><div style="font-size:small"><br></div><div style="font-size:small">...which seems OK to me.</div><div style="font-size:small"><br></div><div style="font-size:small">I installed VLC on the same box and played some sample videos with various multi-channel digital audio formats. All played audio out of all 5.1 speakers correctly and VLC reported as much.</div><div style="font-size:small"><br></div><div style="font-size:small">Note also that I already have another mythtv box (2015 vintage) running 32 fixes on Ubuntu desktop 20.04 which plays multi-channel digital through the same receiver (and TV) fine. This box has an nVidia GT610 graphics card with HDMI out.</div><div style="font-size:small"><br></div><div style="font-size:small">Does anyone have any idea of what may be wrong with my setup?</div><div style="font-size:small"><br></div><div style="font-size:small"><br></div><div style="font-size:small">Thanks,</div><div style="font-size:small">Justin.</div></div></blockquote><div><br></div><div>Just for comparison I have a  mythtv V32 system on:</div><div>OS: Kubuntu 22.04 LTS x86_64 <br>Kernel: 5.15.0-33-generic<br>Resolution: 3840x2160 <br>DE: Plasma 5.24.4 <br>Manufacturer: ASUSTeK COMPUTER INC.<br>Product Name: PRIME B460M-A<br>CPU: Intel i3-10100 (8) @ 4.300GHz <br>GPU: Intel CometLake-S GT2 [UHD Graphics 630] <br>Memory: 2674MiB / 15848MiB <br></div><div><br></div><div>My system is connected over HDMI to my Samsung TV.  The receiver is fed by a SPDIF optical cable from the TV out. I have 5.1 Audio. I first made sure I had 5.1 setup on my Kubuntu 22.04 settings and had it working on all 5 channels.  Then in mythfrontend setup, I set the check boxes for digital capability for Dolby and DTS.  Then I set up 5.1 instead of stereo. </div><div><br></div><div>Jim A</div><div><br></div></div></div>