Anyone have been able to HW transcode on an Intel NUC 11 (Iris Xe)?

Whatever package we install, we always have the same crash, so don’t bother install third-party packages outside Plex itself.
To follow at least a path, follow this:

  1. Install Ubuntu Server 20.04 LTS (focal and hirsute have same issues, even if hirsute is on more up to date packages)
  2. Install linux-image-oem-20.04 kernel package (the most suitable for a NUC, IMHO)
  3. Install intel-media-va-driver-non-free and intel-opencl-icd from regular focal apt source
  4. add enable_guc=2 i915 kernel module option for low-power encoding, as instructed by Intel: sudo echo options i915 enable_guc=2 > /etc/modprobe.d/i915.conf
  5. sudo update-initramfs -u (safety measure)
  6. Install Plex
  7. Ensure in Transcoder options that Use hardware acceleration when available and Use hardware-accelerated video encoding are checked, leave Enable HDR tone mapping and Disable video stream transcoding unchecked (tone-mapping issues are out of the scope)
  8. Create a new library, Scanner Plex Video Files Scanner and Agent Personal Media
  9. Put your own test file (it crashes all the time) in the folder of your new library
  10. Play the file in a browser (Edge and Chrome are fine), and chose to transcode it to 1080p High
  11. Watch for errors in dmesg --follow in a terminal
  12. If no crash happens, loop over your file several times, select a different output resolution

Thanks in advance for your time spent on this.
We can discuss more about ffmpeg stuff later, but I feel that Plex’s forked version of it could be related to our crashes as regular ffmpeg don’t shows any issue.

1 Like

No it’s not.

1 Like

Edit: Ignore all the below… I’ve just crashed it again :frowning:

I don’t know if it’s just me… but I’ve done a few things and I think/hope hw transcoding is now working for me on an NUC11 running Ubuntu Server 21.04 hirsuite and kernel GNU/Linux 5.11.0-25-generic x86_64.

What I’ve done:

  1. I installed intel-media-va-driver-non-free as suggested by @geeooff a couple of posts up
  2. Install the latest compute-runtime packages from here: Releases · intel/compute-runtime · GitHub
  3. Update Plex Media Server to the latest plex pass release: 1.24.0.4897
  4. There were some updates for my system which just came through:
The following package was automatically installed and is no longer required:
  libllvm11
Use 'sudo apt autoremove' to remove it.
The following NEW packages will be installed:
  libllvm12
The following packages will be upgraded:
  libgbm1 libgl1-mesa-dri libglapi-mesa libglx-mesa0 mesa-va-drivers mesa-vdpau-drivers mesa-vulkan-drivers

I’ve just tried a few 4K HEVC 10 files on a 1080p TV which before all of the above would crash PMS. They are now showing as transcoding (hw). HDR Tone Mapping is still not working, if I enable it then it falls back to software transcode. Can anyone else verify???

Hey @ChuckPa - any updates on your end?

I will learn more in tomorrow’s Engineering meeting

3 Likes

How’d the meeting go @ChuckPa ?

We have followup on one thing today. It is early morning for me.
I am waiting for California to wake up.

1 Like

Late to the party, but invested in the topic of discussion. I’ve got a 1165g7 asrock nuc that is platform-equivalent to the intel nuc 11. May be a less expensive or more accessible (in-stock) way to enter the ecosystem.

I’m also willing to test whatever is needed. I’ll monitor this thread.

FOLKS –

I found the snag.

SimplyNUC is back-order status PAHi5

Will this do the job or do I need I5/i7 ?

If we need to “build you own”, Please list the parts :slight_smile:

1 Like

This is the right NUC generation, the right CPU generation too.

BUT Intel is listing this NUC11TNKi3 as an Intel® UHD Graphics for 11th Gen Intel® Processors iGPU instead of the Intel® Iris® Xe Graphics iGPU.

I don’t know if it’s a typo, but if you really want to reproduce the issues we have, you should stick to the “Iris Xe Graphics” iGPUs.

Here are the full difference between the NUC systems (mine and your candidate), and their CPU:

My parts:

  • Intel NUC 11 Performance Kit (model NUC11PAHi7)
  • Western Digital WD BLACK SN850 NVMe M.2 2280 500GB (model WDS500G1X0E)
  • G.SKILL Ripjaws Series 32GB (2 x 16GB) 3200 MHz (model F4-3200C22D-32GRS)

Not sure if you really need 500GB of storage and 32GB of RAM (i’m hosting virtual machines) though. The SN850 and these specific memory have zero issues with the NUC11 platform, as far as I know and experience with my own NUC.

Hello, yes Intel® Iris® Xe Graphics is i5 & i7 not i3

Thanks, That’s what I thought. I wanted to make certain before I go a-la-carte at Simply NUC :slight_smile:

Time to get :smiling_imp:

Confirm please:

  1. NUC11i7TZ
    https://simplynuc.com/nuc11i7tz/

  2. 8GB RAM

  3. 512GB SSD

And it’s Backorder :frowning:

Options / Alternatives ?

@ChuckPa does it help if I open a remote SSH access on my NUC11 for you to debug or test ?

Or maybe you also need physical access ?

1 Like

@etienne_blanchet_soverin_net

That is very gracious of you.

It would mean that our Engineer (Ridley) would be the one doing the work and would likely need to install some development packages plus run some things as root or sudo.

Would that be an issue if arrangements could be made in private ?

@ChuckPa

Sure let me know how we can chat in private :slight_smile:

I’m also more than willing to exclusively let plex remote access my 1165g7/intel xe equipped nuc for debugging/diagnosis purposes. I can provision whatever environment is required.

Also, if you would like to obtain one, this is in stock and has the right hardware:

@pmraiders

Do I need add memory and SSD to that?

It looks like I do

Yes, you do. It needs ddr4 laptop memory and a m.2 ssd or 2.5" drive. That NUC is the one I own. If you need access to an environment that can reproduce the issue let me know. I’m willing to let plex devs use it for as long as needed.

1 Like

Thank you all.

I’ve forwarded everything, including parts lists, so they can alternate source a NUC.

3 Likes

I have a Intel NUC11TNHv50L 11th Gen Core I5 System, vPro, Dual GLAN, TPM 2.0, 32GB DDR4 outfitted with a pcie gen 4 Samsung nvme and a SATA 1tb Samsung 870 that I’d either be willing to allow remote access (ssh or otherwise) or I’m willing to also ship it somewhere stateside for testing (as long as I get it back eventually afterwards) I see others have offered as well, just message me and let me know. If it’ll help out the community, I’m all for it.

1 Like