Plex hardware transcoding issues

mightygaz

Cadet
Joined
Apr 3, 2024
Messages
1
I've got a new setup that refuses to use hardware transcoding. While my linux knowledge is very little, i work in IT so i'm not entirely useless. Details are below, please ask if there's anything important i'm missing.

First off, i'm on TrueNAS-SCALE-23.10.2 with the CPU being an N3450. GPU use is enabled on the container (i selected the option for 1, even though it goes up to 5, since i only have the one. I assume this is correct?) and is listed as gpu.intel.com/i915 GPU.

it's also set in plex to use this rather than leaving it on Auto.

among the things i have read is this thread, and while its a different CPU, theirs is Jasper Lake v my Apollo Lake, it's the same GPU, so i assume would be the same, or similar, process.

the below says its booting with enable_guc=2 rather than 3 advised in that thread, but it didn't work with 3. I can reset it to get the exact error if needed but i'm pretty sure it was complaining about guc submission being disabled.

Code:
admin@truenas[~]$ sudo dmesg | grep i915
[sudo] password for admin:
[    0.000000] Command line: BOOT_IMAGE=/ROOT/23.10.2@/boot/vmlinuz-6.1.74-production+truenas root=ZFS=boot-pool/ROOT/23.10.2 ro libata.allow_tpm=1 amd_iommu=on iommu=pt kvm_amd.npt=1 kvm_amd.avic=1 intel_iommu=on zfsforce=1 nvme_core.multipath=N i915.enable_guc=2
[    0.049072] Kernel command line: BOOT_IMAGE=/ROOT/23.10.2@/boot/vmlinuz-6.1.74-production+truenas root=ZFS=boot-pool/ROOT/23.10.2 ro libata.allow_tpm=1 amd_iommu=on iommu=pt kvm_amd.npt=1 kvm_amd.avic=1 intel_iommu=on zfsforce=1 nvme_core.multipath=N i915.enable_guc=2
[   11.806137] i915 0000:00:02.0: vgaarb: deactivate vga console
[   11.806624] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[   11.811091] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/bxt_dmc_ver1_07.bin (v1.7)
[   12.080812] i915 0000:00:02.0: [drm] failed to retrieve link info, disabling eDP
[   12.097746] i915 0000:00:02.0: [drm] GuC firmware i915/bxt_guc_70.1.1.bin version 70.1.1
[   12.097770] i915 0000:00:02.0: [drm] HuC firmware i915/bxt_huc_2.0.0.bin version 2.0.0
[   12.113897] i915 0000:00:02.0: [drm] HuC authenticated
[   12.113918] i915 0000:00:02.0: [drm] GuC submission disabled
[   12.113923] i915 0000:00:02.0: [drm] GuC SLPC disabled
[   12.116653] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
[   12.119058] snd_hda_intel 0000:00:0e.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[   12.121153] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
[   12.122944] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
[   12.124461] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes


guc info shows -

Code:
admin@truenas[~]$ sudo cat /sys/kernel/debug/dri/0/gt/uc/guc_info
GuC firmware: i915/bxt_guc_70.1.1.bin
        status: RUNNING
        version: found 70.1.1
        uCode: 206080 bytes
        RSA: 256 bytes

GuC status 0x8003f0ed:
        Bootrom status = 0x76
        uKernel status = 0xf0
        MIA Core status = 0x3

Scratch registers:
         0:     0xf0000000
         1:     0x1
         2:     0x1000
         3:     0x0
         4:     0x40
         5:     0x3ca
         6:     0x5a85000b
         7:     0x0
         8:     0x0
         9:     0x0
        10:     0x0
        11:     0x0
        12:     0x0
        13:     0x0
        14:     0x0
        15:     0x0

GuC logging stats:
        Relay full count: 0
        DEBUG:  flush count          0, overflow count          0
        CRASH:  flush count          0, overflow count          0
        CAPTURE:        flush count          0, overflow count          0


huc info shows -

Code:
admin@truenas[~]$ admin@truenas[~]$ sudo cat /sys/kernel/debug/dri/0/gt/uc/huc_info
zsh: no matches found: admin@truenas[~]$


Since i think that was different before, lets reset it to guc=3 and see what it says.

Code:
admin@truenas[~]$ sudo cat /sys/kernel/debug/dri/0/gt/uc/huc_info
[sudo] password for admin:
HuC firmware: i915/bxt_huc_2.0.0.bin
        status: RUNNING
        version: found 2.0.0
        uCode: 149440 bytes
        RSA: 256 bytes
HuC status: 0x00006080


Though this isn't really running with guc=3 as the below shows.

Code:
admin@truenas[~]$ sudo dmesg | grep i915
[    0.000000] Command line: BOOT_IMAGE=/ROOT/23.10.2@/boot/vmlinuz-6.1.74-production+truenas root=ZFS=boot-pool/ROOT/23.10.2 ro libata.allow_tpm=1 amd_iommu=on iommu=pt kvm_amd.npt=1 kvm_amd.avic=1 intel_iommu=on zfsforce=1 nvme_core.multipath=N i915.enable_guc=3
[    0.049960] Kernel command line: BOOT_IMAGE=/ROOT/23.10.2@/boot/vmlinuz-6.1.74-production+truenas root=ZFS=boot-pool/ROOT/23.10.2 ro libata.allow_tpm=1 amd_iommu=on iommu=pt kvm_amd.npt=1 kvm_amd.avic=1 intel_iommu=on zfsforce=1 nvme_core.multipath=N i915.enable_guc=3
[   11.810276] i915 0000:00:02.0: [drm] Incompatible option enable_guc=3 - GuC submission is N/A
[   11.814601] i915 0000:00:02.0: vgaarb: deactivate vga console
[   11.821743] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[   11.825371] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/bxt_dmc_ver1_07.bin (v1.7)
[   12.100477] i915 0000:00:02.0: [drm] failed to retrieve link info, disabling eDP
[   12.135388] i915 0000:00:02.0: [drm] GuC firmware i915/bxt_guc_70.1.1.bin version 70.1.1
[   12.135414] i915 0000:00:02.0: [drm] HuC firmware i915/bxt_huc_2.0.0.bin version 2.0.0
[   12.151264] i915 0000:00:02.0: [drm] HuC authenticated
[   12.151286] i915 0000:00:02.0: [drm] GuC submission disabled
[   12.151292] i915 0000:00:02.0: [drm] GuC SLPC disabled
[   12.154534] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
[   12.157981] snd_hda_intel 0000:00:0e.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[   12.160128] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
[   12.161740] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
[   12.163222] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes


firmware list is shown below.

Code:
admin@truenas[~]$ ls /lib/firmware/i915
adlp_dmc.bin          bxt_dmc_ver1_07.bin        cml_guc_33.0.0.bin   dg1_guc_70.bin       ehl_guc_62.0.0.bin   glk_huc_ver03_01_2893.bin  kbl_dmc_ver1_01.bin        mtl_dmc.bin          skl_guc_70.1.1.bin         tgl_guc_35.2.0.bin
adlp_dmc_ver2_09.bin  bxt_guc_32.0.3.bin         cml_guc_49.0.1.bin   dg1_huc.bin          ehl_guc_69.0.3.bin   icl_dmc_ver1_07.bin        kbl_dmc_ver1_04.bin        rkl_dmc_ver2_02.bin  skl_guc_ver1.bin           tgl_guc_49.0.1.bin
adlp_dmc_ver2_10.bin  bxt_guc_33.0.0.bin         cml_guc_62.0.0.bin   dg1_huc_7.7.1.bin    ehl_guc_70.1.1.bin   icl_dmc_ver1_09.bin        kbl_guc_32.0.3.bin         rkl_dmc_ver2_03.bin  skl_guc_ver4.bin           tgl_guc_62.0.0.bin
adlp_dmc_ver2_12.bin  bxt_guc_49.0.1.bin         cml_guc_69.0.3.bin   dg1_huc_7.9.3.bin    ehl_huc_9.0.0.bin    icl_guc_32.0.3.bin         kbl_guc_33.0.0.bin         skl_dmc_ver1.bin     skl_guc_ver6.bin           tgl_guc_69.0.3.bin
adlp_dmc_ver2_14.bin  bxt_guc_62.0.0.bin         cml_guc_70.1.1.bin   dg2_dmc_ver2_06.bin  glk_dmc_ver1_04.bin  icl_guc_33.0.0.bin         kbl_guc_49.0.1.bin         skl_dmc_ver1_23.bin  skl_guc_ver6_1.bin         tgl_guc_70.1.1.bin
adlp_dmc_ver2_16.bin  bxt_guc_69.0.3.bin         cml_huc_4.0.0.bin    dg2_dmc_ver2_07.bin  glk_guc_32.0.3.bin   icl_guc_49.0.1.bin         kbl_guc_62.0.0.bin         skl_dmc_ver1_26.bin  skl_guc_ver9_33.bin        tgl_guc_70.bin
adlp_guc_62.0.3.bin   bxt_guc_70.1.1.bin         cnl_dmc_ver1_07.bin  dg2_dmc_ver2_08.bin  glk_guc_33.0.0.bin   icl_guc_62.0.0.bin         kbl_guc_69.0.3.bin         skl_dmc_ver1_27.bin  skl_huc_2.0.0.bin          tgl_huc.bin
adlp_guc_69.0.3.bin   bxt_guc_ver8_7.bin         dg1_dmc_ver2_02.bin  dg2_guc_70.1.2.bin   glk_guc_49.0.1.bin   icl_guc_69.0.3.bin         kbl_guc_70.1.1.bin         skl_guc_32.0.3.bin   skl_huc_ver01_07_1398.bin  tgl_huc_7.0.12.bin
adlp_guc_70.1.1.bin   bxt_guc_ver9_29.bin        dg1_guc_49.0.1.bin   dg2_guc_70.4.1.bin   glk_guc_62.0.0.bin   icl_guc_70.1.1.bin         kbl_guc_ver9_14.bin        skl_guc_33.0.0.bin   tgl_dmc_ver2_04.bin        tgl_huc_7.0.3.bin
adlp_guc_70.bin       bxt_huc_2.0.0.bin          dg1_guc_62.0.0.bin   dg2_guc_70.bin       glk_guc_69.0.3.bin   icl_huc_9.0.0.bin          kbl_guc_ver9_39.bin        skl_guc_49.0.1.bin   tgl_dmc_ver2_06.bin        tgl_huc_7.5.0.bin
adls_dmc_ver2_01.bin  bxt_huc_ver01_07_1398.bin  dg1_guc_69.0.3.bin   ehl_guc_33.0.4.bin   glk_guc_70.1.1.bin   icl_huc_ver8_4_3238.bin    kbl_huc_4.0.0.bin          skl_guc_62.0.0.bin   tgl_dmc_ver2_08.bin        tgl_huc_7.9.3.bin
bxt_dmc_ver1.bin      bxt_huc_ver01_8_2893.bin   dg1_guc_70.1.1.bin   ehl_guc_49.0.1.bin   glk_huc_4.0.0.bin    kbl_dmc_ver1.bin           kbl_huc_ver02_00_1810.bin  skl_guc_69.0.3.bin   tgl_dmc_ver2_12.bin


I'm hoping someone can point out what is going on here, and how i can resolve it.

Thanks
 
Top