<div dir="ltr">I just went through the process of setting up MythTV on a NUC 11 PAHi5 running Ubuntu 20.04 LTS, and wanted to share some of the pain points I ran into in case anyone else is trying to do the same.<div><br></div><div><a href="https://ark.intel.com/content/www/us/en/ark/products/205040/intel-nuc-11-performance-kit-nuc11pahi5.html">https://ark.intel.com/content/www/us/en/ark/products/205040/intel-nuc-11-performance-kit-nuc11pahi5.html</a><br><div><br></div><div>1. Getting IR to work</div><div>There's a BIOS setting to enable/disable the IR receiver. If this is unchecked -- mine was my default -- you won't see your receiver, and ir-keytable will tell you there's no IR receiver available. Make sure to enable it in the BIOS.</div><div><br></div><div>If you're using inputlirc make sure to use a udev rule to create a uniquely named symlink. E.g., in /etc/udev/rules.d/10-persistent-ir.rules have:</div><div>KERNEL=="event*",ATTRS{name}=="ITE8708 CIR transceiver",SYMLINK="input/irremote"<br></div><div>And retrigger the udev processing. Otherwise if you have a keyboard attached and you try and use it, you'll get double key presses.</div><div><br></div><div>2. Getting sound to work</div><div>I couldn't get it working out of the gate. Apparently it is (was) a common issue:</div><div><a href="https://community.intel.com/t5/Intel-NUCs/NUC-11-Performance-No-audio-on-any-Ubuntu-based-OS/m-p/1277346">https://community.intel.com/t5/Intel-NUCs/NUC-11-Performance-No-audio-on-any-Ubuntu-based-OS/m-p/1277346</a><br></div><div>I installed the linux-image-oem-20.04d package (kernel 5.14.0-1018-oem) and booted into it. That fixed the sound issue.</div><div><br></div><div>3. Getting video to work on a 4k display</div><div><a href="https://askubuntu.com/questions/1364236/4k-graphics-problems-with-intel-nuc11-with-ubuntu-20-04-lts">https://askubuntu.com/questions/1364236/4k-graphics-problems-with-intel-nuc11-with-ubuntu-20-04-lts</a></div><div>My NUC runs through a Denon receiver and into a 4k TV. All the hardware and cables should support 4k@60fps, but my screen was going blank every time I tried to go above 1920x1080@60fps. It turns out that by default Ubuntu will use the maximum possible color depth, which in my case was 12. 4k@60fps @ 12 bits is above the maximum data rate for HDMI 2.0:</div><div><a href="https://wiki.ubuntu.com/DeepColourDepthSupportPlan">https://wiki.ubuntu.com/DeepColourDepthSupportPlan</a><br></div><div><a href="https://en.wikipedia.org/wiki/HDMI#Refresh_frequency_limits_for_standard_video">https://en.wikipedia.org/wiki/HDMI#Refresh_frequency_limits_for_standard_video</a> (uses 8 bits, so multiply by 1.5 to get 12 bit data rate)<br></div><div>Once I set the bit depth to 8, it started working again:</div><div><a href="https://www.soi.pw/posts/10-bit-color-on-ubuntu-20.04-with-amdgpu-driver/">https://www.soi.pw/posts/10-bit-color-on-ubuntu-20.04-with-amdgpu-driver/</a><br></div></div><div><br></div><div>4. [unsolved] Getting 1920x1080@24 fps video to not tear</div><div>I have a bunch of movies in my video directory, and for the life of me I couldn't get them to play without tearing when I was driving my video display at 4k. I tried the "TearFree" option but it looked like this, and playback kept blacking out:</div><div><a href="https://i.stack.imgur.com/gDOkX.jpg">https://i.stack.imgur.com/gDOkX.jpg</a><br></div><div>I also tried various combinations of DRI3, triple buffering, and Wayland, but none of those seemed to work.</div><div><br></div><div>Ultimately I set my desktop and display to 1920x1080@120Hz@8bits and that seems to have solved the tearing problem. I don't have a bunch of 4k content but I was hoping to have this NUC be my future-proofed 4k@60fps and full surround sound system. It's ... mostly there, but not fully.</div><div><br></div><div>Hopefully this email is useful to anyone looking to get a NUC 11 system as a frontend, and if anyone figures out how to get 24fps video to not tear I'd be thrilled. :)</div><div><br></div><div>Thanks to all the MythTV devs who have made this an awesome system over the years!</div><div>-justin</div></div>