Integrated i915 failing to pass to Plex app after power outage

So we recently had a power outage in our apartment and my Truenas box didn’t power on by itself anymore. Plugging in a screen i found out the BIOS went into a state where i had to either reload default settings or open bios. So i opened, everything looked fine, and i just saved it. Aight, fine now it boots also when i just turn off the box and reboots.

However, apps services was stuck at initialization, and restarts didn’t work. After some time i got to the conclusion that disabling GPU support helped the app service to start. Now all apps was stuck in deploying, but a few restarts later and they all went up, except for Plex. It complained about;

0/1 nodes are available: 1 Insufficient gpu.intel.com/i915. preemption: 0/1 nodes are available: 1 No preemption victims found for incoming pod..

Aight, that makes sense, I’ll re-enable GPU support and restart. All apps went up fine again - except for plex. Still stuck.

After editing the plex app and removing the GPU resource it starts fine.

So what is happening here? I can’t see my integrated GPU (Intel 4790K) under Isolated GPU Device(s), but this command;

midclt call device.get_gpus | jq .
[
  {
    "addr": {
      "pci_slot": "0000:00:02.0",
      "domain": "0000",
      "bus": "00",
      "slot": "02"
    },
    "description": "Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller",
    "devices": [
      {
        "pci_id": "8086:0C00",
        "pci_slot": "0000:00:00.0",
        "vm_pci_slot": "pci_0000_00_00_0"
      },
      {
        "pci_id": "8086:0412",
        "pci_slot": "0000:00:02.0",
        "vm_pci_slot": "pci_0000_00_02_0"
      },
      {
        "pci_id": "8086:0C0C",
        "pci_slot": "0000:00:03.0",
        "vm_pci_slot": "pci_0000_00_03_0"
      },
      {
        "pci_id": "8086:8CB1",
        "pci_slot": "0000:00:14.0",
        "vm_pci_slot": "pci_0000_00_14_0"
      },
      {
        "pci_id": "8086:8CBA",
        "pci_slot": "0000:00:16.0",
        "vm_pci_slot": "pci_0000_00_16_0"
      },
      {
        "pci_id": "8086:153B",
        "pci_slot": "0000:00:19.0",
        "vm_pci_slot": "pci_0000_00_19_0"
      },
      {
        "pci_id": "8086:8CAD",
        "pci_slot": "0000:00:1a.0",
        "vm_pci_slot": "pci_0000_00_1a_0"
      },
      {
        "pci_id": "8086:8CA0",
        "pci_slot": "0000:00:1b.0",
        "vm_pci_slot": "pci_0000_00_1b_0"
      },
      {
        "pci_id": "8086:8C90",
        "pci_slot": "0000:00:1c.0",
        "vm_pci_slot": "pci_0000_00_1c_0"
      },
      {
        "pci_id": "8086:8C96",
        "pci_slot": "0000:00:1c.3",
        "vm_pci_slot": "pci_0000_00_1c_3"
      },
      {
        "pci_id": "1969:1091",
        "pci_slot": "0000:02:00.0",
        "vm_pci_slot": "pci_0000_02_00_0"
      },
      {
        "pci_id": "8086:8C98",
        "pci_slot": "0000:00:1c.4",
        "vm_pci_slot": "pci_0000_00_1c_4"
      },
      {
        "pci_id": "8086:08B1",
        "pci_slot": "0000:03:00.0",
        "vm_pci_slot": "pci_0000_03_00_0"
      },
      {
        "pci_id": "8086:8CA6",
        "pci_slot": "0000:00:1d.0",
        "vm_pci_slot": "pci_0000_00_1d_0"
      },
      {
        "pci_id": "8086:8CC6",
        "pci_slot": "0000:00:1f.0",
        "vm_pci_slot": "pci_0000_00_1f_0"
      },
      {
        "pci_id": "8086:8C82",
        "pci_slot": "0000:00:1f.2",
        "vm_pci_slot": "pci_0000_00_1f_2"
      },
      {
        "pci_id": "8086:8CA2",
        "pci_slot": "0000:00:1f.3",
        "vm_pci_slot": "pci_0000_00_1f_3"
      }
    ],
    "vendor": "INTEL",
    "uses_system_critical_devices": true,
    "available_to_host": true
  }
]

Looks like it’s working?

Also this looks fine;

root@truenas[~]# lspci                             
00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06)
00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06)
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
00:14.0 USB controller: Intel Corporation 9 Series Chipset Family USB xHCI Controller
00:16.0 Communication controller: Intel Corporation 9 Series Chipset Family ME Interface #1
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I217-V
00:1a.0 USB controller: Intel Corporation 9 Series Chipset Family USB EHCI Controller #2
00:1b.0 Audio device: Intel Corporation 9 Series Chipset Family HD Audio Controller
00:1c.0 PCI bridge: Intel Corporation 9 Series Chipset Family PCI Express Root Port 1 (rev d0)
00:1c.3 PCI bridge: Intel Corporation 9 Series Chipset Family PCI Express Root Port 4 (rev d0)
00:1c.4 PCI bridge: Intel Corporation 9 Series Chipset Family PCI Express Root Port 5 (rev d0)
00:1d.0 USB controller: Intel Corporation 9 Series Chipset Family USB EHCI Controller #1
00:1f.0 ISA bridge: Intel Corporation H97 Chipset LPC Controller
00:1f.2 SATA controller: Intel Corporation 9 Series Chipset Family SATA Controller [AHCI Mode]
00:1f.3 SMBus: Intel Corporation 9 Series Chipset Family SMBus Controller
02:00.0 Ethernet controller: Qualcomm Atheros AR8161 Gigabit Ethernet (rev 10)
03:00.0 Network controller: Intel Corporation Wireless 7260 (rev 73)

Any help is appreciated :slight_smile: