HTPC build based on Zen5, 8700G. KVM virtualization. APU passthrough viable?

Hi folks. Long time follower of l1t, first time poster.

I recently got frustrated with a few things around my house:

  1. My TV - LG C9 (2019) doesn’t have the horsepower to pull a uncompressed bluray stream via DLNA.
  2. My poor Optiplex 780 absolutely can’t cut it anymore when it comes to hosting HomeAassistant, Samba and qBittorrent (because of full disk encryption and lack of AES)
  3. I want to add more services around my house while honing my helm-chart-fu, so I need a kubernetes cluster.

Why not go for a odroid cluster?

  1. Price. Looks like going a single box cluster with 128GB ECC memory is cheaper. Wild.
  2. Graphics on a Windows guest for emulation and light gaming (HDR, vsync and other considerations)

So, purpose of this new build I’m thinking about:

  • KVM linux host
  • Windows Media guest that uses the APU (jellyfin server, emulators, media in general)
  • Linux guest(s) - most likely a single-node k3s cluster

Ideal hardware setup:

  • Passthrough the APU to the windows guest
  • 3xNVME in raidz1 ZFS pool for the guests
  • 2xSSD in RAID1 for the Hypervisor OS

I’m playing around with this build (updated):

My primary asks here are:

  1. Is APU passthrough even possibe? (big ticket item)
  2. What MOBO Manufacturers and/or model series are known to have a good IOMMU layout?
  3. How reliable are mobo RAID modes (RAID1?)
  4. Can I get away with a B650 chipset? Maybe a better questiuon is what chipset should I go for given my previous questions and desired setup.

I would very much appreciate any feedback. Thanks folks!

As for motherboad choice, I took a look at the following thread. Specifically, this post is a good hint at what I should be looking at. Looks like B650 is the way to go for now:

I eagerly await the news of someone who can do that. I’ve tried with two different AM5 motherboards and Ryzen 7000 series CPUs without luck. The iGPU refuses to be passed through on Proxmox and in Ubuntu’s Virtual Machine Manager (both using underlying KVM).

1 Like

This is such a bummer. A lot of horse power and utility that’s available but unusable. I might have to go back to the drawing board and think of a different approach because it’s too risky to try and do something nobody has done yet.

My contingency plan (which haven’t attempted yet) is to use the iGPU from LXC containers (which do not require pass-through). That’d make use of the iGPU for non-GUI applications, though I’ve heard stranger things such as running Ubuntu desktop within an LXC container. That would obviously not help with running Windows using the iGPU, but depending on your use cases’ specifics, maybe you can! :slightly_smiling_face:

1 Like

Windows would be hooked up to the LG C9 TV which supports HDR/4k/120hz/gsync.

TV specs make it a better match for windows because I want to throw emulation, light gaming, media playback and media serving (with transcode) I think Linux is close to being a solid replacement, but I want something that works better with all those things bundled.

If someone says “you don’t need 4K OLED for emulation” - you haven’t seen the new HLSL/GLSL filters that emulate CRTs on 4K displays… my god. OLED helps because of the extra brightness it provides. gsync/freesnyc also helps with frame-perfect accuracy (on emulators where that’s a thing).

I will probably explore options on how to output picture from my gaming PC that’s located literally a floor above where the TV is mounted. One of those fiber optic solutions or copper if possible.

And then I’ll just build a low-power single cluster box where I really don’t care too much about IOMMU at all.

Bummer about the HDR support on Linux. It’s one of the areas Linux is still struggling mightily in.

1 Like

I pulled the trigger on the build (updated the topic, too):

I bought it with the risk it will 99% not work with iGPU passthrough. I will try regardless. Will report back

1 Like

Please let me know if the ECC support work as well, that makes the 8x00G a viable living room NAS media PC :slight_smile:

1 Like

I wil be really miffed if it doesn’t work because it’s the only Asus recommended ECC ram on the support page of the motherboard. (It also supports the 16GB per stick version)

Looks like I will start getting stuff in late February, early March.

1 Like

No support for ECC memory on the 8000 CPUs :frowning:

1 Like

Like you, I’m interested in this APU. Did you end up testing if it is possible to pass through the iGPU or did you give up after discovering ECC is not supported?
I am wondering if SR-IOV can be enabled at all.