[TUTORIAL] 13th Gen Intel Proxmox/TrueNAS/Plex hardware transcoding guide

These seems more to do with your hardware, maybe BIOS settings? I have no idea, referencing a driver?

I'm still burning in my new system, I have moved some files from my QNAP, I have also downloaded some ISO, all working well

Worst problem I have had is a defective APC which resulted in a few dirty shutdowns, so bummed about that.

Have you updated all your firmware?

Have you tried UNRAID or TrueNAS Scale? Maybe install Windows and see how that works? I would test your hardware against other OS, also make sure you update Bios, etc.
 
Last edited:
These seems more to do with your hardware, maybe BIOS settings? I have no idea, referencing a driver?

I'm still burning in my new system, I have moved some files from my QNAP, I have also downloaded some ISO, all working well

Worst problem I have had is a defective APC which resulted in a few dirty shutdowns, so bummed about that.

Have you updated all your firmware?

Have you tried UNRAID or TrueNAS Scale? Maybe install Windows and see how that works? I would test your hardware against other OS, also make sure you update Bios, etc.
Works fine under windows. Zero issues with windows. Plex transcode just sucks under windows or I would stick to windows. I like the NTFS drive format better then ZFS. I can take a drive owned by one machine stick in another machine and reclaim with the new machine 99% of the time. If your OS drive crashes in linux your ZFS drives are also hosed you can try to import onto a new machine and say a small prayer that the import works. If it doesn't you lose. Or if your forget to export your pool before reinstalling a new OS you can also get hosed.

I'm sure there are some benefits to ZFS just the likelihood of total failure seems higher.

I disabled C-states in Bios which is what activates the driver in my picture. Mine always crashes after long periods of being idle. If its being used no issues. So I suspect processor C-states is causing it.
 
Last edited:
So appears the crashing issue is a C-state issue. I turned off C-states in the bios and am able to run 6.2.9-1 for multiple days. I'll probably start a different thread to see if we can narrow down the problem.
 
Just wanted to comment and say I appreciate this guide. I'm working with a 12th gen CPU and although I've followed this guide along with many others before this (which you consildated a coulpe) I'm still unable to get it to work. After 3 days I'm getting pretty burnt out.

It's quite frustrating because another poster who as an identical machine has identical configs to myself and I'm still unable to get it to work. The key difference is that I haveb a Qnap NFS share bind mounted to a local folder in the LXC container. Open to any suggestions before I package this up and try something else or return the minisforum nab6
 
Just wanted to comment and say I appreciate this guide. I'm working with a 12th gen CPU and although I've followed this guide along with many others before this (which you consildated a coulpe) I'm still unable to get it to work. After 3 days I'm getting pretty burnt out.

It's quite frustrating because another poster who as an identical machine has identical configs to myself and I'm still unable to get it to work. The key difference is that I haveb a Qnap NFS share bind mounted to a local folder in the LXC container. Open to any suggestions before I package this up and try something else or return the minisforum nab6
What issue are you having?
 
  • Like
Reactions: Dataninja
Just wanted to comment and say I appreciate this guide. I'm working with a 12th gen CPU and although I've followed this guide along with many others before this (which you consildated a coulpe) I'm still unable to get it to work. After 3 days I'm getting pretty burnt out.

It's quite frustrating because another poster who as an identical machine has identical configs to myself and I'm still unable to get it to work. The key difference is that I haveb a Qnap NFS share bind mounted to a local folder in the LXC container. Open to any suggestions before I package this up and try something else or return the minisforum nab6
you are unable to get hw transcoding to work?
 
  • Like
Reactions: Dataninja
you are unable to get hw transcoding to work?
Feeling defeated, I went to bed and shutdown my Proxmox. Woke up, booted it up to try to get things going again and for some odd reason it's working now. I've modified my configuration so much that I don't even know what I needed or not needed from your post. But none the less, thank you for the guide. Hope mine doesn't break.
 
What issue are you having?
Everything was visible, all settings and configs matched this guide. I just catered most to my intel 12th gen CPU. I replied to adresner that I power down Proxmox from burnout and booted back up this morning to try again and voila, everything seems to be working now. Not sure what, who or why. But thanks for replying to assist.
 
  • Like
Reactions: adresner
Everything was visible, all settings and configs matched this guide. I just catered most to my intel 12th gen CPU. I replied to adresner that I power down Proxmox from burnout and booted back up this morning to try again and voila, everything seems to be working now. Not sure what, who or why. But thanks for replying to assist.
I'm very interested in how you did this, any chance you could hit me up with a discord or something, i'm lost in all this.
 
If you cannot follow the steps I took my time to share with the community then you should use UNRAID, it’s a lot more simple to use. Space invader one has a good channel on YouTube
 
Update:

Just tried the 6.2.11-2 kernel and again, a new kernel breaks hw transcoding. Rolled back to 6.2.6-1 and hw transcoding back to work again. Magic kernel is 6.2.6-1 for my hardware and this guide.

Will be nice in a few years when all this new hardware is fully baked in
 
I struggled with getting this to work for some time with my Alder Lake iGPU. Tried a number of options, from running Plex in a privileged (works, but cannot passthrough iGPU to Windows VMs) and unprivileged container and had various things that worked and others that didn't work. In the end, followed the steps to add kernel customization with DKMS following steps outlined here. This worked for me with kernel versions from 6.1 through my currently installed 6.2.11-2-pve. With each new kernel version I had to add the DKMS modules. Plex Hardware Decoding is working with Plex installed in an unprivileged LXC and I have not had any issues so far. CPUs tested Alder Lake i5-12500 and i7-12700 (both HP Elite Mini 800 G9). Note that other options (e.g. split iGPU passthrough, or iGPU passthrough using GVT-g) do not work with iGPUs newer than 11th Gen
 
  • Like
Reactions: panchuz
Update:

Just tried the 6.2.11-2 kernel and again, a new kernel breaks hw transcoding. Rolled back to 6.2.6-1 and hw transcoding back to work again. Magic kernel is 6.2.6-1 for my hardware and this guide.

Will be nice in a few years when all this new hardware is fully baked in
Had no issue with 6.2.11-2 and HW transcode.

Mine just still crashes it would appear when proxmox starts cron jobs.
 
Hi,

Very interesting topic!!!!

Is there any chance this guide works on an Intel N6005 (Gen 11th, google dixit) ???

Code:
root@peludo:~# lspci -v -s 00:02.0
00:02.0 VGA compatible controller: Intel Corporation Device 4e61 (rev 01) (prog-if 00 [VGA controller])
        DeviceName: Onboard - Video
        Subsystem: Intel Corporation Device 2212
        Flags: bus master, fast devsel, latency 0, IRQ 156
        Memory at 6000000000 (64-bit, non-prefetchable) [size=16M]
        Memory at 4000000000 (64-bit, prefetchable) [size=256M]
        I/O ports at 3000 [size=64]
        Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
        Capabilities: [40] Vendor Specific Information: Len=0c <?>
        Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
        Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable+ 64bit-
        Capabilities: [d0] Power Management version 2
        Capabilities: [100] Process Address Space ID (PASID)
        Capabilities: [200] Address Translation Service (ATS)
        Capabilities: [300] Page Request Interface (PRI)
        Kernel driver in use: i915
        Kernel modules: i915

Please note the absence of Capabilities: [320] Single Root I/O Virtualization (SR-IOV)

Thanks in advance
 
Last edited:
I ran into the same problem and want to verify that kernel is the problem. Without Tone Mapping, HW works but not with Tone Mapping enabled.
Currently I'm running kernel: 6.2.16-12-pve.

Is this a known issue?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!