I can't use Hardware Acceleration with Plex ou Scrypted

vctgomes

New Member
Jul 4, 2023
13
1
3
I'm trying to set up hardware acceleration on my Proxmox.

root@plex:~# ls -l /dev/dri
total 0
drwxr-xr-x 2 root root 80 Jul 8 19:33 by-path
crw-rw---- 1 root kvm 226, 0 Jul 8 19:33 card0
crw-rw---- 1 root kvm 226, 128 Jul 8 19:33 renderD128
root@plex:~#
If I try to check the libraries, it looks to be shared perfectly. Trying with lspci -v it also is being showed

root@plex:~# lspci -v
00:00.0 Host bridge: Intel Corporation Device 461c
DeviceName: Onboard - Other
Flags: bus master, fast devsel, latency 0, IOMMU group 1
Capabilities: [e0] Vendor Specific Information: Len=14 <?>
lspci: Unable to load libkmod resources: error -2

00:02.0 VGA compatible controller: Intel Corporation Device 46d1 (prog-if 00 [VGA controller])
DeviceName: Onboard - Video
Subsystem: Device 0301:02f3
Flags: bus master, fast devsel, latency 0, IRQ 139, IOMMU group 0
Memory at 6000000000 (64-bit, non-prefetchable) [size=16M]
Memory at 4000000000 (64-bit, prefetchable) [size=256M]
I/O ports at 4000
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)
Capabilities: [320] Single Root I/O Virtualization (SR-IOV)
Kernel driver in use: i915


In my host I also got the similar message
root@minipc:~# lspci -v
00:00.0 Host bridge: Intel Corporation Device 461c
DeviceName: Onboard - Other
Flags: bus master, fast devsel, latency 0, IOMMU group 1
Capabilities: [e0] Vendor Specific Information: Len=14 <?>

00:02.0 VGA compatible controller: Intel Corporation Alder Lake-N [UHD Graphics] (prog-if 00 [VGA controller])
DeviceName: Onboard - Video
Subsystem: Device 0301:02f3
Flags: bus master, fast devsel, latency 0, IRQ 139, IOMMU group 0
Memory at 6000000000 (64-bit, non-prefetchable) [size=16M]
Memory at 4000000000 (64-bit, prefetchable) [size=256M]
I/O ports at 4000
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)
Capabilities: [320] Single Root I/O Virtualization (SR-IOV)
Kernel driver in use: i915
Kernel modules: i915


I'm using GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt i915.enable_guc=3 i915.max_vfs=7" as set up to my Intel N100 Alder Lake.

I also set up the nano /etc/modules
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd

kvmgt
exngt
vfio-mdev

Is there anything else I could do?
 

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!