I upgraded from Core to Scale, but now hardware transcoding in Plex is no longer working.
I think the problem has something to do with "Allocatable: nvidia.com/gpu = 0", but I'm stuck now.
Does anyone have any suggestions or ideas on how to fix this?
I think the problem has something to do with "Allocatable: nvidia.com/gpu = 0", but I'm stuck now.
Does anyone have any suggestions or ideas on how to fix this?
root@truenas[~]# lspci
00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5)
00:1c.2 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 (rev d5)
00:1c.4 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #5 (rev d5)
00:1c.5 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #6 (rev d5)
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation Z87 Express LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05)
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
01:00.0 VGA compatible controller: NVIDIA Corporation GK107 [GeForce GT 740] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GK107 HDMI Audio Controller (rev a1)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
04:00.0 Serial Attached SCSI controller: Broadcom / LSI SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)
root@truenas[~]# k3s kubectl describe nodes
Name: ix-truenas
Roles: control-plane,master
Labels: beta.kubernetes.io/arch=amd64
beta.kubernetes.io/os=linux
kubernetes.io/arch=amd64
kubernetes.io/hostname=ix-truenas
kubernetes.io/os=linux
node-role.kubernetes.io/control-plane=true
node-role.kubernetes.io/master=true
openebs.io/nodeid=ix-truenas
openebs.io/nodename=ix-truenas
Annotations: csi.volume.kubernetes.io/nodeid: {"zfs.csi.openebs.io":"ix-truenas"}
k3s.io/node-args:
["server","--flannel-backend","none","--disable","traefik,metrics-server,local-storage","--disable-kube-proxy","--disable-network-policy",...
k3s.io/node-config-hash: 6JB3YSFQHC3JVPU7XDB7K5B4YRPPPIUMD4Q3IKJGIV37YI6PKKTA====
k3s.io/node-env: {"K3S_DATA_DIR":"/var/lib/rancher/k3s/data/94499178817b4c5ce4973492f034bfaed731d47d3de22485bfc180619d2a1cc7"}
node.alpha.kubernetes.io/ttl: 0
volumes.kubernetes.io/controller-managed-attach-detach: true
CreationTimestamp: Mon, 01 Nov 2021 02:24:31 -0700
Taints: <none>
Unschedulable: false
Lease:
HolderIdentity: ix-truenas
AcquireTime: <unset>
RenewTime: Mon, 21 Mar 2022 03:11:12 -0700
Conditions:
Type Status LastHeartbeatTime LastTransitionTime Reason Message
---- ------ ----------------- ------------------ ------ -------
MemoryPressure False Mon, 21 Mar 2022 03:10:22 -0700 Wed, 05 Jan 2022 22:43:28 -0800 KubeletHasSufficientMemory kubelet has sufficient memory available
DiskPressure False Mon, 21 Mar 2022 03:10:22 -0700 Wed, 05 Jan 2022 22:43:28 -0800 KubeletHasNoDiskPressure kubelet has no disk pressure
PIDPressure False Mon, 21 Mar 2022 03:10:22 -0700 Wed, 05 Jan 2022 22:43:28 -0800 KubeletHasSufficientPID kubelet has sufficient PID available
Ready True Mon, 21 Mar 2022 03:10:22 -0700 Mon, 21 Mar 2022 02:33:52 -0700 KubeletReady kubelet is posting ready status. AppArmor enabled
Addresses:
InternalIP: 192.168.1.138
Hostname: ix-truenas
Capacity:
cpu: 8
ephemeral-storage: 4853213952Ki
gpu.intel.com/i915: 0
hugepages-1Gi: 0
hugepages-2Mi: 0
memory: 32832972Ki
nvidia.com/gpu: 1
pods: 110
Allocatable:
cpu: 8
ephemeral-storage: 4721206528803
gpu.intel.com/i915: 0
hugepages-1Gi: 0
hugepages-2Mi: 0
memory: 32832972Ki
nvidia.com/gpu: 0
pods: 110
System Info:
Machine ID: 03272844cdf44b0885ab4933059fec58
System UUID: 03272844cdf44b0885ab4933059fec58
Boot ID: a314a541-6e0f-4f88-aef4-8d4d983ed2b4
Kernel Version: 5.10.93+truenas
OS Image: Debian GNU/Linux 11 (bullseye)
Operating System: linux
Architecture: amd64
Container Runtime Version: docker://20.10.12
Kubelet Version: v1.21.0-k3s1
Kube-Proxy Version: v1.21.0-k3s1
PodCIDR: 172.16.0.0/16
PodCIDRs: 172.16.0.0/16
Non-terminated Pods: (4 in total)
Namespace Name CPU Requests CPU Limits Memory Requests Memory Limits Age
--------- ---- ------------ ---------- --------------- ------------- ---
kube-system coredns-7448499f4d-z9vh6 100m (1%) 0 (0%) 70Mi (0%) 170Mi (0%) 38m
kube-system nvidia-device-plugin-daemonset-xhvr5 0 (0%) 0 (0%) 0 (0%) 0 (0%) 37m
kube-system openebs-zfs-node-pbj2m 0 (0%) 0 (0%) 0 (0%) 0 (0%) 37m
kube-system openebs-zfs-controller-0 0 (0%) 0 (0%) 0 (0%) 0 (0%) 37m
Allocated resources:
(Total limits may be over 100 percent, i.e., overcommitted.)
Resource Requests Limits
-------- -------- ------
cpu 100m (1%) 0 (0%)
memory 70Mi (0%) 170Mi (0%)
ephemeral-storage 0 (0%) 0 (0%)
hugepages-1Gi 0 (0%) 0 (0%)
hugepages-2Mi 0 (0%) 0 (0%)
gpu.intel.com/i915 0 0
nvidia.com/gpu 0 0
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Starting 41m kubelet Starting kubelet.
Normal NodeHasSufficientMemory 41m kubelet Node ix-truenas status is now: NodeHasSufficientMemory
Normal NodeHasNoDiskPressure 41m kubelet Node ix-truenas status is now: NodeHasNoDiskPressure
Normal NodeHasSufficientPID 41m kubelet Node ix-truenas status is now: NodeHasSufficientPID
Normal NodeAllocatableEnforced 41m kubelet Updated Node Allocatable limit across pods
Warning Rebooted 41m kubelet Node ix-truenas has been rebooted, boot id: a314a541-6e0f-4f88-aef4-8d4d983ed2b4
Normal NodeNotReady 41m kubelet Node ix-truenas status is now: NodeNotReady
Normal NodeReady 41m kubelet Node ix-truenas status is now: NodeReady
Normal Starting 37m kubelet Starting kubelet.
Normal NodeHasSufficientMemory 37m kubelet Node ix-truenas status is now: NodeHasSufficientMemory
Normal NodeHasNoDiskPressure 37m kubelet Node ix-truenas status is now: NodeHasNoDiskPressure
Normal NodeHasSufficientPID 37m kubelet Node ix-truenas status is now: NodeHasSufficientPID
Normal NodeAllocatableEnforced 37m kubelet Updated Node Allocatable limit across pods
Normal NodeNotReady 37m kubelet Node ix-truenas status is now: NodeNotReady
Normal NodeReady 37m kubelet Node ix-truenas status is now: NodeReady
root@truenas[~]# nvidia-smi
Mon Mar 21 03:15:55 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 460.91.03 Driver Version: 460.91.03 CUDA Version: 11.2 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 GeForce GT 740 Off | 00000000:01:00.0 N/A | N/A |
| 40% 22C P8 N/A / N/A | 0MiB / 4034MiB | N/A Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+