PSA: How to Fix Quick Sync on newer Intel CPUs in SCALE

IDtheTarget

Dabbler
Joined
Oct 6, 2016
Messages
22
Okay, so this took awhile to figure out, and I want to thank @waqarahmed for giving me the command that ultimately got my Quick Sync working in TrueNAS SCALE and let me pass it through to my Apps.

This post does not apply for those with nvidia cards. It only applies to those of us who intentionally purchased an Intel CPU with "Quick Sync Video" (QSV) for transcoding purposes.


First of all, a little background. If you see 'i915' in documentation or forum posts, that's a kernel driver that lets Linux use the built-in graphics of Intel CPUs.

If, when you are installing an App (such as Plex), you don't see a drop-down under "GPU Configuration", then your QSV hasn't been recognized by the server. When I saw some forum posts saying "log in and look at /dev/dri", here's what I saw:

benjamin@athena:/$ ls -alh /dev/dri total 0 drwxr-xr-x 3 root root 80 Mar 19 09:40 . drwxr-xr-x 18 root root 4.1K Mar 19 09:41 .. drwxr-xr-x 2 root root 60 Mar 19 09:40 by-path crw-rw---- 1 root video 226, 0 Mar 19 09:40 card0

I saw "card0" and thought that that must be my QSV. But it wasn't. It was the graphics chip on my motherboard. You see, I was further fooled by running:

benjamin@athena:/$ lspci | grep -i vga 00:02.0 VGA compatible controller: Intel Corporation Device 4c9a (rev 04) 03:00.0 VGA compatible controller: ASPEED Technology, Inc. ASPEED Graphics Family (rev 52)

That "card0" was the SECOND VGA compatible controller, the ASPEED. That lspci command didn't tell me that the kernel wasn't able to use my QSV. (for those of us, like me, who didn't know, that "Intel Corporation Device" number changes based on the chip you have. I have a Xeon E-2356G, with UHD P750 graphics, hence the "4c9a". When you do the lspci and grep the VGA, look or the Intel line and search for the number after "Device" on the Internet).

So, what I didn't know was that the kernel being used by TrueNAS Scale (which you can find using 'uname -a') is not the latest kernel, and doesn't by default know how to use the Rocket Lake and newer CPU's. What finally gave it away was:

benjamin@athena:/$ sudo dmesg | grep i915 [ 12.537909] i915 0000:00:02.0: Your graphics device 4c9a is not properly supported by the driver in this kernel version. To force driver probe anyway, use i915.force_probe=4c9a

So, as you can see, during bootup the server is telling you what's wrong. And, thankfully, @waqarahmed gave me the command that told the kernel to use my internal graphics anyway:

benjamin@athena:/$ sudo midclt call system.advanced.update '{"kernel_extra_options": "i915.force_probe=4c9a"}'

One caveat: During my troubleshooting process, before I got the above bit of code, I manually updated to the latest nightly of TrueNAS SCALE hoping that it would have support for my Rocket Lake processer. Sadly it did not. But that means I'm not sure if the above command will work on the stable release of SCALE. But I can tell you that it DOES work on the latest nightly. I'm not sure how to revert back to nightly, hopefully when they release the next stable update I'll be back on that.

However, the above command will bring up a drop-down under "GPU Configuration" when installing or editing your apps, letting you allocate 0 or 1 GPU. It will also change your /dev/dri directory:

benjamin@athena:/$ ls -alh /dev/dri total 0 drwxr-xr-x 3 root root 120 Mar 23 06:26 . drwxr-xr-x 18 root root 4.2K Mar 23 06:28 .. drwxr-xr-x 2 root root 100 Mar 23 06:26 by-path crw-rw---- 1 root video 226, 0 Mar 23 06:26 card0 crw-rw---- 1 root video 226, 1 Mar 23 06:26 card1 crw-rw---- 1 root render 226, 128 Mar 23 06:26 renderD128

Those 'card1' and 'renderD128' folders mean that the server is seeing the QSV iGPU.

Hope this helps! It's been a tough couple of weeks for me as I've been trying to learn all of this stuff. Good Luck!
 

IDtheTarget

Dabbler
Joined
Oct 6, 2016
Messages
22
Note: The '4c9a' in the 'midclt' command above should be replaced with the results from the 'lspci | grep -i vga' command. The four characters directly after the "Intel Corporation Device" string.
 

rudeone

Cadet
Joined
Mar 22, 2022
Messages
2
I have a i5 12th gen with iGPU - when I run "ls -alh /dev/dri" the directory is empty - any tips / tricks?
 

Nathangorr

Cadet
Joined
Nov 28, 2020
Messages
2
I have a i5 12th gen with iGPU - when I run "ls -alh /dev/dri" the directory is empty - any tips / tricks?
I just updated to TrueNAS-SCALE-22.12, available here. I was able to get my UHD 730 running near-flawlessly. TrueNAS-Scale-22.12 updates from Linux v5.11 to v5.15, which adds official support for Rocket Lake iGPUs.

If you're willing to forgo the risks of running the highly unstable nightly train of SCALE, I would recommend giving it a try.
 

Santana-2

Cadet
Joined
Feb 16, 2023
Messages
3
I followed @IDtheTargets tutorial, and I do not get the error message when I type sudo dmesg | grep i915 in my shell. However, the iGPU does not show in the apps configuration menus under GPU Configuration...

I have an Intel i5 13600k, which is an a780 iGPU. I tried countless things now, but cannot get hardware acceleration within Jellyfin
 

oldmichael

Cadet
Joined
Feb 27, 2023
Messages
9
I have TrueNAS-22.12.0 (Bluefin?) and an i3 10100 should I be able to get quicksyn working with Plex?
 

oldmichael

Cadet
Joined
Feb 27, 2023
Messages
9
I do see "allocate 0 (or 1) gpu.intel.com i915 GPU" listed under GPU configuration... does that refer to my quicksync CPU?
 

greg hintz

Cadet
Joined
Feb 17, 2015
Messages
3
I have an intel 1240p and I get 0-5 and none of them get HW transcoding to work and I get this error

root@truenas[~]# lspci | grep -i vga
00:02.0 VGA compatible controller: Intel Corporation Device 4626 (rev 08)
root@truenas[~]# dmesg | grep i915
[ 0.000000] Command line: BOOT_IMAGE=/ROOT/22.12.1-1@/boot/vmlinuz-5.15.79+truenas root=ZFS=boot-pool/ROOT/22.12.1-1 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.force_probe=4626
[ 0.020999] Kernel command line: BOOT_IMAGE=/ROOT/22.12.1-1@/boot/vmlinuz-5.15.79+truenas root=ZFS=boot-pool/ROOT/22.12.1-1 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.force_probe=4626
[ 6.175638] i915 0000:00:02.0: [drm] VT-d active for gfx access
[ 6.176079] i915 0000:00:02.0: vgaarb: deactivate vga console
[ 6.176504] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[ 6.180579] i915 0000:00:02.0: Direct firmware load for i915/adlp_dmc_ver2_10.bin failed with error -2
[ 6.180585] i915 0000:00:02.0: [drm] Failed to load DMC firmware i915/adlp_dmc_ver2_10.bin. Disabling runtime power management.
[ 6.180587] i915 0000:00:02.0: [drm] DMC firmware homepage: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915
[ 6.845564] i915 0000:00:02.0: [drm] failed to retrieve link info, disabling eDP
[ 6.847378] i915 0000:00:02.0: Direct firmware load for i915/adlp_guc_62.0.3.bin failed with error -2
[ 6.847383] i915 0000:00:02.0: [drm] GuC firmware i915/adlp_guc_62.0.3.bin: fetch failed with error -2
[ 6.847385] i915 0000:00:02.0: [drm] GuC firmware(s) can be downloaded from https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915
[ 6.954525] i915 0000:00:02.0: GuC initialization failed -2
[ 6.954529] i915 0000:00:02.0: Enabling uc failed (-5)
[ 6.954530] i915 0000:00:02.0: Failed to initialize GPU, declaring it wedged!
[ 6.954685] i915 0000:00:02.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by intel_gt_init+0xb1/0x2f0 [i915]
[ 7.158477] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
[ 7.160547] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 7.192652] fbcon: i915drmfb (fb0) is primary device
[ 7.263028] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
[ 10.637838] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
root@truenas[~]#
 

imvi

Dabbler
Joined
Dec 16, 2022
Messages
16
Two minor notes that might help future readers
  • Intel has a mapping of PCI IDs to the GPU's full name, as well as Generation here
  • Depending on the model, the GPU might be referred to in lspci not as "VGA compatible controller" but rather "Display Controller". That one had me stumped for a minute. (Also pointed out on the Intel page above, actually, lspci -nn |grep -Ei 'VGA|DISPLAY')
 

Tom Jerry

Cadet
Joined
Jan 27, 2023
Messages
2
Looks like i got the furthest but still got stuck. I have an Intel 13500 on TrueNAS-SCALE-22.12.0. Maybe someone has an idea...
Running
Code:
lspci -k | grep -EA3 'VGA|3D|Display'
gave me the following:
Code:
00:02.0 VGA compatible controller: Intel Corporation AlderLake-S GT1 (rev 0c)
    Subsystem: ASRock Incorporation Device 4680
    Kernel modules: i915

In addition running
Code:
dmesg | grep i915
returned:
Code:
[    7.126656] i915 0000:00:02.0: Your graphics device 4680 is not properly supported by the driver in this
               kernel version. To force driver probe anyway, use i915.force_probe=4680

After that i executed
Code:
midclt call system.advanced.update '{"kernel_extra_options": "i915.force_probe=4680"}'
and restarted. After the system started i executed
Code:
dmesg | grep i915
This now returned:
Code:
[    0.000000] Command line: BOOT_IMAGE=/ROOT/22.12.0@/boot/vmlinuz-5.15.79+truenas root=ZFS=boot-pool/ROOT/22.12.0 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.force_probe=4680
[    0.020760] Kernel command line: BOOT_IMAGE=/ROOT/22.12.0@/boot/vmlinuz-5.15.79+truenas root=ZFS=boot-pool/ROOT/22.12.0 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.force_probe=4680
[    6.134491] i915 0000:00:02.0: [drm] VT-d active for gfx access
[    6.135446] i915 0000:00:02.0: vgaarb: deactivate vga console
[    6.136100] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[    6.136971] i915 0000:00:02.0: Direct firmware load for i915/tgl_guc_62.0.0.bin failed with error -2
[    6.136975] i915 0000:00:02.0: [drm] GuC firmware i915/tgl_guc_62.0.0.bin: fetch failed with error -2
[    6.136977] i915 0000:00:02.0: [drm] GuC firmware(s) can be downloaded from https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915
[    6.226101] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/adls_dmc_ver2_01.bin (v2.1)
[    6.226259] i915 0000:00:02.0: [drm] GuC is uninitialized
[    6.233704] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
[    6.262671] fbcon: i915drmfb (fb0) is primary device
[    6.324049] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
[   10.194780] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])

This made me a little bit optimistic. In addition running
Code:
lspci -k | grep -EA3 'VGA|3D|Display'
returned:
Code:
00:02.0 VGA compatible controller: Intel Corporation AlderLake-S GT1 (rev 0c)
    Subsystem: ASRock Incorporation Device 4680
    Kernel driver in use: i915
    Kernel modules: i915

So now the kernel driver was actually in use??

After that i opened the web UI and started to reconfigure my Jellyfin instance. After the change i made above an entry was present in the GPU Configuration and i could select my GPU Resource (gpu.intel.com/i915). Previously it was empty. But when i tried to save the new configuration a new error appeared...
Code:
Error: [EFAULT] Failed to update chart release: Error: UPGRADE FAILED: execution error at (jellyfin/templates/common.yaml:1:3): Container - Expected non-empty < scaleGPU > 


In my last attempt i looked into the
Code:
/lib/firmware/i915
directory and noticed that the
Code:
tgl_guc_62.0.0.bin
mentioned by
Code:
dmesg | grep i915
was missing. So i downloaded it with
Code:
wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915/tgl_guc_62.0.0.bin
and tried to create a new initrd by executing
Code:
update-initramfs -c -k all
But this failed with:
Code:
update-initramfs: Generating /boot/initrd.img-5.15.79+truenas
grep: /etc/initramfs-tools/modules: No such file or directory
grep: /etc/initramfs-tools/modules: No such file or directory
grep: /etc/initramfs-tools/modules: No such file or directory
grep: /etc/initramfs-tools/modules: No such file or directory
grep: /etc/initramfs-tools/modules: No such file or directory
grep: /etc/initramfs-tools/modules: No such file or directory
grep: /etc/initramfs-tools/modules: No such file or directory
grep: /etc/initramfs-tools/modules: No such file or directory
grep: /etc/initramfs-tools/modules: No such file or directory
grep: /etc/initramfs-tools/modules: No such file or directory
grep: /etc/initramfs-tools/modules: No such file or directory
grep: /etc/initramfs-tools/modules: No such file or directory
grep: /etc/initramfs-tools/modules: No such file or directory
grep: /etc/initramfs-tools/modules: No such file or directory
grep: /etc/initramfs-tools/modules: No such file or directory
grep: /etc/initramfs-tools/modules: No such file or directory
grep: /etc/initramfs-tools/modules: No such file or directory
cryptsetup: ERROR: Couldn't resolve device boot-pool/ROOT/22.12.0
cryptsetup: WARNING: Couldn't determine root device


It looks like the TrueNAS developers really do not want us to be able to update the system on our own.. which is understandable but frustrating... I hope someone has an idea because waiting until the kernel receives an update is a really unsatisfying solution...
 

bollar

Patron
Joined
Oct 28, 2012
Messages
411
The Intel E-2388G in my Reasonably Quiet Server is not recognized by TrueNAS-SCALE-22.12.2 at all. My understanding is that Rocket Lake chips are supported in this version, but no luck. See spoiler below for full system specs.

root@ozzy[~]# lspci -k | grep -EA3 'VGA|3D|Display' 05:00.0 VGA compatible controller: ASPEED Technology, Inc. ASPEED Graphics Family (rev 52) DeviceName: ASPEED Video AST2600 Subsystem: Super Micro Computer Inc ASPEED Graphics Family Kernel driver in use: ast

root@ozzy[~]# sudo dmesg | grep i915 root@ozzy[~]#

Does anyone have any ideas how to go about fixing this?
 
Last edited:

bollar

Patron
Joined
Oct 28, 2012
Messages
411
The Intel E-2388G in my Reasonably Quiet Server is not recognized by TrueNAS-SCALE-22.12.2 at all. My understanding is that Rocket Lake chips are supported in this version, but no luck. See spoiler below for full system specs.
I resolved this problem by enabling "Internal Graphics" in the BIOS:

Advanced Settings > Chipset Configuration > System Agent Configuration > Graphics Configuration > Internal Graphics {Enable}
 

pimposh

Cadet
Joined
Jun 11, 2023
Messages
6
In case of "Jasper Lake" chips, it's necessary to manually put tgl_guc_62.0.0.bin into libs, NOT update-initramfs, just reboot with guc=3 in i915.conf. With 22.13.1 release kernel (5.15.107) it works in contrary to 22.12.

[ 6.038767] i915 0000:00:02.0: [drm] VT-d active for gfx access

[ 6.038813] i915 0000:00:02.0: vgaarb: deactivate vga console

[ 6.063712] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem

[ 6.065832] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/icl_dmc_ver1_09.bin (v1.9)

[ 6.066421] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])

[ 6.238515] i915 0000:00:02.0: [drm] GuC firmware i915/ehl_guc_62.0.0.bin version 62.0 submission:enabled

[ 6.238529] i915 0000:00:02.0: [drm] GuC SLPC: disabled

[ 6.238531] i915 0000:00:02.0: [drm] HuC firmware i915/ehl_huc_9.0.0.bin version 9.0 authenticated:yes


[ 6.243546] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
 
Joined
Jul 30, 2023
Messages
6
I'm also having a beast of time getting TrueNas to recognize quicksync. I am running an Intel 12100 on TrueNAS Scale 22.12.3.2. I have the igpu activated in BIOS.

Code:
lspci -k | grep -EA3 'VGA|3D|Display'


generates

00:02.0 VGA compatible controller: Intel Corporation Device 4692 (rev 0c)
DeviceName: Onboard IGD
Subsystem: ASUSTeK Computer Inc. Device 8882
Kernel driver in use: i915

Code:
dmesg | grep i915


returns

[ 0.000000] Command line: BOOT_IMAGE=/ROOT/22.12.3.2@/boot/vmlinuz-5.15.107+truenas root=ZFS=boot-pool/ROOT/22.12.3.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.force_probe=4692
[ 0.012880] Kernel command line: BOOT_IMAGE=/ROOT/22.12.3.2@/boot/vmlinuz-5.15.107+truenas root=ZFS=boot-pool/ROOT/22.12.3.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.force_probe=4692
[ 7.067476] i915 0000:00:02.0: [drm] VT-d active for gfx access
[ 7.067975] i915 0000:00:02.0: vgaarb: deactivate vga console
[ 7.080960] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[ 7.081787] i915 0000:00:02.0: drm_WARN_ON(!intel_gmbus_is_valid_pin(dev_priv, pin))
[ 7.081810] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/adls_dmc_ver2_01.bin (v2.1)
[ 7.081810] WARNING: CPU: 0 PID: 894 at drivers/gpu/drm/i915/display/intel_gmbus.c:918 intel_gmbus_get_adapter+0x5f/0x70 [i915]
[ 7.081914] Modules linked in: snd_hda_intel(E) snd_intel_dspcfg(E) snd_intel_sdw_acpi(E) snd_hda_codec(E) eeepc_wmi(E) asus_nb_wmi(E) asus_wmi(E) platform_profile(E) snd_pcsp(E-) snd_hda_core(E) battery(E) sparse_keymap(E) wmi_bmof(E) pcspkr(E) snd_hwdep(E) snd_pcm(E) ecdh_generic(E+) pcc_cpufreq(E-) joydev(E) evdev(E) i915(E+) ecc(E) acpi_cpufreq(E-) snd_timer(E) crc16(E) iwlwifi(E) snd(E) ttm(E) soundcore(E) drm_kms_helper(E) sg(E) cfg80211(E) cec(E) mei_me(E) rc_core(E) mei(E) i2c_algo_bit(E) rfkill(E) fan(E) acpi_tad(E) intel_pmc_core(E) acpi_pad(E) button(E) fuse(E) drm(E) configfs(E) sunrpc(E) efivarfs(E) ip_tables(E) x_tables(E) autofs4(E) zfs(POE) zunicode(POE) zzstd(OE) zlua(OE) zcommon(POE) znvpair(POE) zavl(POE) icp(POE) spl(OE) raid10(E) raid456(E) async_raid6_recov(E) async_memcpy(E) async_pq(E) async_xor(E) async_tx(E) xor(E) raid6_pq(E) libcrc32c(E) crc32c_generic(E) raid0(E) multipath(E) linear(E) raid1(E) md_mod(E) crc32_pclmul(E) crc32c_intel(E) ses(E) sd_mod(E)
[ 7.081992] RIP: 0010:intel_gmbus_get_adapter+0x5f/0x70 [i915]
[ 7.082090] intel_hdmi_init_connector+0x19a/0x910 [i915]
[ 7.082176] ? intel_dp_init_connector+0x50d/0xc40 [i915]
[ 7.082247] intel_ddi_init+0x869/0xc10 [i915]
[ 7.082331] intel_modeset_init_nogem+0x913/0x1580 [i915]
[ 7.082424] ? gen12_fwtable_read32+0x96/0x1f0 [i915]
[ 7.082516] ? gen12_fwtable_read32+0x96/0x1f0 [i915]
[ 7.082596] i915_driver_probe+0x6ea/0xd20 [i915]
[ 7.082684] ? i915_pci_probe+0x3f/0x150 [i915]
[ 7.082788] i915_init+0x1d/0x93 [i915]
[ 7.082926] i915 0000:00:02.0: drm_WARN_ON(!intel_gmbus_is_valid_pin(dev_priv, pin))
[ 7.082934] WARNING: CPU: 0 PID: 894 at drivers/gpu/drm/i915/display/intel_gmbus.c:918 intel_gmbus_get_adapter+0x5f/0x70 [i915]
[ 7.083031] Modules linked in: snd_hda_intel(E) snd_intel_dspcfg(E) snd_intel_sdw_acpi(E) snd_hda_codec(E) eeepc_wmi(E) asus_nb_wmi(E) asus_wmi(E) platform_profile(E) snd_pcsp(E-) snd_hda_core(E) battery(E) sparse_keymap(E) wmi_bmof(E) pcspkr(E) snd_hwdep(E) snd_pcm(E) ecdh_generic(E+) pcc_cpufreq(E-) joydev(E) evdev(E) i915(E+) ecc(E) acpi_cpufreq(E-) snd_timer(E) crc16(E) iwlwifi(E) snd(E) ttm(E) soundcore(E) drm_kms_helper(E) sg(E) cfg80211(E) cec(E) mei_me(E) rc_core(E) mei(E) i2c_algo_bit(E) rfkill(E) fan(E) acpi_tad(E) intel_pmc_core(E) acpi_pad(E) button(E) fuse(E) drm(E) configfs(E) sunrpc(E) efivarfs(E) ip_tables(E) x_tables(E) autofs4(E) zfs(POE) zunicode(POE) zzstd(OE) zlua(OE) zcommon(POE) znvpair(POE) zavl(POE) icp(POE) spl(OE) raid10(E) raid456(E) async_raid6_recov(E) async_memcpy(E) async_pq(E) async_xor(E) async_tx(E) xor(E) raid6_pq(E) libcrc32c(E) crc32c_generic(E) raid0(E) multipath(E) linear(E) raid1(E) md_mod(E) crc32_pclmul(E) crc32c_intel(E) ses(E) sd_mod(E)
[ 7.083111] RIP: 0010:intel_gmbus_get_adapter+0x5f/0x70 [i915]
[ 7.083220] intel_hdmi_init_connector+0x19a/0x910 [i915]
[ 7.083333] intel_ddi_init+0x869/0xc10 [i915]
[ 7.083424] intel_modeset_init_nogem+0x920/0x1580 [i915]
[ 7.083520] ? gen12_fwtable_read32+0x96/0x1f0 [i915]
[ 7.083596] ? gen12_fwtable_read32+0x96/0x1f0 [i915]
[ 7.083679] i915_driver_probe+0x6ea/0xd20 [i915]
[ 7.083749] ? i915_pci_probe+0x3f/0x150 [i915]
[ 7.083852] i915_init+0x1d/0x93 [i915]
[ 7.087717] i915 0000:00:02.0: [drm] GuC firmware i915/tgl_guc_62.0.0.bin: unexpected header size: 2166189 != 128
[ 7.087725] i915 0000:00:02.0: [drm] GuC firmware i915/tgl_guc_62.0.0.bin: fetch failed with error -71
[ 7.087727] i915 0000:00:02.0: [drm] GuC firmware(s) can be downloaded from https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915
[ 7.173961] i915 0000:00:02.0: [drm] GuC is uninitialized
[ 7.174930] i915 0000:00:02.0: drm_WARN_ON(!intel_gmbus_is_valid_pin(dev_priv, pin))
[ 7.174940] WARNING: CPU: 4 PID: 894 at drivers/gpu/drm/i915/display/intel_gmbus.c:918 intel_gmbus_get_adapter+0x5f/0x70 [i915]
[ 7.175011] Modules linked in: snd_hda_intel(E) snd_intel_dspcfg(E) snd_intel_sdw_acpi(E) snd_hda_codec(E) eeepc_wmi(E) asus_nb_wmi(E) asus_wmi(E) platform_profile(E) snd_pcsp(E-) snd_hda_core(E) battery(E) sparse_keymap(E) wmi_bmof(E) pcspkr(E) snd_hwdep(E) snd_pcm(E) ecdh_generic(E+) joydev(E) evdev(E) i915(E+) ecc(E) acpi_cpufreq(E-) snd_timer(E) crc16(E) iwlwifi(E) snd(E) ttm(E) soundcore(E) drm_kms_helper(E) sg(E) cfg80211(E) cec(E) mei_me(E) rc_core(E) mei(E) i2c_algo_bit(E) rfkill(E) fan(E) acpi_tad(E) intel_pmc_core(E) acpi_pad(E) button(E) fuse(E) drm(E) configfs(E) sunrpc(E) efivarfs(E) ip_tables(E) x_tables(E) autofs4(E) zfs(POE) zunicode(POE) zzstd(OE) zlua(OE) zcommon(POE) znvpair(POE) zavl(POE) icp(POE) spl(OE) raid10(E) raid456(E) async_raid6_recov(E) async_memcpy(E) async_pq(E) async_xor(E) async_tx(E) xor(E) raid6_pq(E) libcrc32c(E) crc32c_generic(E) raid0(E) multipath(E) linear(E) raid1(E) md_mod(E) crc32_pclmul(E) crc32c_intel(E) ses(E) sd_mod(E) enclosure(E)
[ 7.175056] RIP: 0010:intel_gmbus_get_adapter+0x5f/0x70 [i915]
[ 7.175118] intel_hdmi_connector_register+0x4b/0x90 [i915]
[ 7.175210] i915_driver_probe+0x73d/0xd20 [i915]
[ 7.175250] ? i915_pci_probe+0x3f/0x150 [i915]
[ 7.175302] i915_init+0x1d/0x93 [i915]
[ 7.175379] RIP: 0010:intel_hdmi_connector_register+0x4f/0x90 [i915]
[ 7.175491] i915_driver_probe+0x73d/0xd20 [i915]
[ 7.175525] ? i915_pci_probe+0x3f/0x150 [i915]
[ 7.175573] i915_init+0x1d/0x93 [i915]
[ 7.175634] Modules linked in: snd_hda_intel(E) snd_intel_dspcfg(E) snd_intel_sdw_acpi(E) snd_hda_codec(E) eeepc_wmi(E) asus_nb_wmi(E) asus_wmi(E) platform_profile(E) snd_pcsp(E-) snd_hda_core(E) battery(E) sparse_keymap(E) wmi_bmof(E) pcspkr(E) snd_hwdep(E) snd_pcm(E) ecdh_generic(E+) joydev(E) evdev(E) i915(E+) ecc(E) acpi_cpufreq(E-) snd_timer(E) crc16(E) iwlwifi(E) snd(E) ttm(E) soundcore(E) drm_kms_helper(E) sg(E) cfg80211(E) cec(E) mei_me(E) rc_core(E) mei(E) i2c_algo_bit(E) rfkill(E) fan(E) acpi_tad(E) intel_pmc_core(E) acpi_pad(E) button(E) fuse(E) drm(E) configfs(E) sunrpc(E) efivarfs(E) ip_tables(E) x_tables(E) autofs4(E) zfs(POE) zunicode(POE) zzstd(OE) zlua(OE) zcommon(POE) znvpair(POE) zavl(POE) icp(POE) spl(OE) raid10(E) raid456(E) async_raid6_recov(E) async_memcpy(E) async_pq(E) async_xor(E) async_tx(E) xor(E) raid6_pq(E) libcrc32c(E) crc32c_generic(E) raid0(E) multipath(E) linear(E) raid1(E) md_mod(E) crc32_pclmul(E) crc32c_intel(E) ses(E) sd_mod(E) enclosure(E)
[ 7.245697] RIP: 0010:intel_hdmi_connector_register+0x4f/0x90 [i915]
[ 7.325091] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
[ 7.353585] snd_hda_codec_hdmi hdaudioC0D2: No i915 binding for Intel HDMI/DP codec

I downloaded "tgl_guc_62.0.0.bin" into /lib/firmware/i915 and restarted, but no dice.

Any ideas?
 
Joined
Jul 30, 2023
Messages
6
Update:

I followed t4corun's instructions here

It seems to have resolved with the tgl_guc_62.0.0.bin firmware not loading. However, now I am receiving new warnings.

Code:
dmesg | grep i915


now generates

[ 0.000000] Command line: BOOT_IMAGE=/ROOT/22.12.3.2@/boot/vmlinuz-5.15.107+truenas root=ZFS=boot-pool/ROOT/22.12.3.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.force_probe=4692
[ 0.013234] Kernel command line: BOOT_IMAGE=/ROOT/22.12.3.2@/boot/vmlinuz-5.15.107+truenas root=ZFS=boot-pool/ROOT/22.12.3.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.force_probe=4692
[ 7.114515] i915 0000:00:02.0: [drm] VT-d active for gfx access
[ 7.116557] i915 0000:00:02.0: vgaarb: deactivate vga console
[ 7.117520] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[ 7.118922] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
[ 7.119247] i915 0000:00:02.0: drm_WARN_ON(!intel_gmbus_is_valid_pin(dev_priv, pin))
[ 7.119262] WARNING: CPU: 1 PID: 857 at drivers/gpu/drm/i915/display/intel_gmbus.c:918 intel_gmbus_get_adapter+0x5f/0x70 [i915]

[ 7.119447] Modules linked in: snd_hda_codec(E) drbg(E+) snd_hda_core(E) kvm(E) ansi_cprng(E) i915(E+) irqbypass(E) eeepc_wmi(E) asus_nb_wmi(E) snd_hwdep(E) rapl(E) asus_wmi(E) snd_pcm(E) intel_cstate(E) platform_profile(E) ttm(E) ecdh_generic(E+) snd_timer(E) battery(E) ecc(E) mei_hdcp(E) evdev(E) crc16(E) intel_uncore(E) iwlwifi(E) drm_kms_helper(E) snd(E) pcspkr(E) sparse_keymap(E) wmi_bmof(E) soundcore(E) sg(E) cec(E) cfg80211(E) mei_me(E) rc_core(E) mei(E) i2c_algo_bit(E) rfkill(E) fan(E) intel_pmc_core(E) acpi_tad(E) acpi_pad(E) button(E) fuse(E) drm(E) configfs(E) sunrpc(E) efivarfs(E) ip_tables(E) x_tables(E) autofs4(E) zfs(POE) zunicode(POE) zzstd(OE) zlua(OE) zcommon(POE) znvpair(POE) zavl(POE) icp(POE) spl(OE) raid10(E) raid456(E) async_raid6_recov(E) async_memcpy(E) async_pq(E) async_xor(E) async_tx(E) xor(E) raid6_pq(E) libcrc32c(E) crc32c_generic(E) raid0(E) multipath(E) linear(E) raid1(E) md_mod(E) crc32_pclmul(E) crc32c_intel(E) hid_generic(E) ses(E) enclosure(E)
[ 7.119578] RIP: 0010:intel_gmbus_get_adapter+0x5f/0x70 [i915]
[ 7.119797] intel_hdmi_init_connector+0x19a/0x910 [i915]
[ 7.119936] ? intel_dp_init_connector+0x50d/0xc40 [i915]
[ 7.120091] intel_ddi_init+0x869/0xc10 [i915]
[ 7.120223] intel_modeset_init_nogem+0x913/0x1580 [i915]
[ 7.120375] ? gen12_fwtable_read32+0x96/0x1f0 [i915]
[ 7.120499] ? gen12_fwtable_read32+0x96/0x1f0 [i915]
[ 7.120589] i915_driver_probe+0x6ea/0xd20 [i915]
[ 7.120701] ? i915_pci_probe+0x3f/0x150 [i915]
[ 7.120865] i915_init+0x1d/0x93 [i915]
[ 7.122108] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/adls_dmc_ver2_01.bin (v2.1)
[ 7.122141] i915 0000:00:02.0: drm_WARN_ON(!intel_gmbus_is_valid_pin(dev_priv, pin))
[ 7.122152] WARNING: CPU: 1 PID: 857 at drivers/gpu/drm/i915/display/intel_gmbus.c:918 intel_gmbus_get_adapter+0x5f/0x70 [i915]

[ 7.122331] Modules linked in: snd_intel_sdw_acpi(E) snd_hda_codec(E) drbg(E+) snd_hda_core(E) kvm(E) ansi_cprng(E) i915(E+) irqbypass(E) eeepc_wmi(E) asus_nb_wmi(E) snd_hwdep(E) rapl(E) asus_wmi(E) snd_pcm(E) intel_cstate(E) platform_profile(E) ttm(E) ecdh_generic(E+) snd_timer(E) battery(E) ecc(E) mei_hdcp(E) evdev(E) crc16(E) intel_uncore(E) iwlwifi(E) drm_kms_helper(E) snd(E) pcspkr(E) sparse_keymap(E) wmi_bmof(E) soundcore(E) sg(E) cec(E) cfg80211(E) mei_me(E) rc_core(E) mei(E) i2c_algo_bit(E) rfkill(E) fan(E) intel_pmc_core(E) acpi_tad(E) acpi_pad(E) button(E) fuse(E) drm(E) configfs(E) sunrpc(E) efivarfs(E) ip_tables(E) x_tables(E) autofs4(E) zfs(POE) zunicode(POE) zzstd(OE) zlua(OE) zcommon(POE) znvpair(POE) zavl(POE) icp(POE) spl(OE) raid10(E) raid456(E) async_raid6_recov(E) async_memcpy(E) async_pq(E) async_xor(E) async_tx(E) xor(E) raid6_pq(E) libcrc32c(E) crc32c_generic(E) raid0(E) multipath(E) linear(E) raid1(E) md_mod(E) crc32_pclmul(E) crc32c_intel(E) hid_generic(E)
[ 7.122473] RIP: 0010:intel_gmbus_get_adapter+0x5f/0x70 [i915]
[ 7.122651] intel_hdmi_init_connector+0x19a/0x910 [i915]
[ 7.122840] intel_ddi_init+0x869/0xc10 [i915]
[ 7.122995] intel_modeset_init_nogem+0x920/0x1580 [i915]
[ 7.123162] ? gen12_fwtable_read32+0x96/0x1f0 [i915]
[ 7.123311] ? gen12_fwtable_read32+0x96/0x1f0 [i915]
[ 7.123428] i915_driver_probe+0x6ea/0xd20 [i915]
[ 7.123561] ? i915_pci_probe+0x3f/0x150 [i915]
[ 7.123751] i915_init+0x1d/0x93 [i915]
[ 7.180537] snd_hda_codec_hdmi hdaudioC0D2: No i915 binding for Intel HDMI/DP codec
[ 7.252813] i915 0000:00:02.0: [drm] GuC firmware i915/tgl_guc_62.0.0.bin version 62.0 submission:disabled
[ 7.252820] i915 0000:00:02.0: [drm] GuC SLPC: disabled
[ 7.252821] i915 0000:00:02.0: [drm] HuC firmware i915/tgl_huc_7.9.3.bin version 7.9 authenticated:yes
[ 7.253790] i915 0000:00:02.0: drm_WARN_ON(!intel_gmbus_is_valid_pin(dev_priv, pin))
[ 7.253811] WARNING: CPU: 6 PID: 857 at drivers/gpu/drm/i915/display/intel_gmbus.c:918 intel_gmbus_get_adapter+0x5f/0x70 [i915]

[ 7.253903] Modules linked in: acpi_cpufreq(E-) x86_pkg_temp_thermal(E) intel_powerclamp(E) btusb(E) btrtl(E) btbcm(E) btintel(E) bluetooth(E) jitterentropy_rng(E) snd_hda_codec_hdmi(E) snd_hda_codec_realtek(E) snd_hda_codec_generic(E) coretemp(E) ledtrig_audio(E) sha512_ssse3(E) snd_hda_intel(E) sha512_generic(E) snd_intel_dspcfg(E) snd_intel_sdw_acpi(E) kvm_intel(E) snd_hda_codec(E) drbg(E) snd_hda_core(E) kvm(E) ansi_cprng(E) i915(E+) irqbypass(E) eeepc_wmi(E) asus_nb_wmi(E) snd_hwdep(E) rapl(E) asus_wmi(E) snd_pcm(E) intel_cstate(E) platform_profile(E) ttm(E) ecdh_generic(E) snd_timer(E) battery(E) ecc(E) mei_hdcp(E) evdev(E) crc16(E) intel_uncore(E) iwlwifi(E) drm_kms_helper(E) snd(E) pcspkr(E) sparse_keymap(E) wmi_bmof(E) soundcore(E) sg(E) cec(E) cfg80211(E) mei_me(E) rc_core(E) mei(E) i2c_algo_bit(E) rfkill(E) fan(E) intel_pmc_core(E) acpi_tad(E) acpi_pad(E) button(E) fuse(E) drm(E) configfs(E) sunrpc(E) efivarfs(E) ip_tables(E) x_tables(E) autofs4(E) zfs(POE) zunicode(POE)
[ 7.253996] RIP: 0010:intel_gmbus_get_adapter+0x5f/0x70 [i915]
[ 7.254106] intel_hdmi_connector_register+0x4b/0x90 [i915]
[ 7.254203] i915_driver_probe+0x73d/0xd20 [i915]
[ 7.254245] ? i915_pci_probe+0x3f/0x150 [i915]
[ 7.254300] i915_init+0x1d/0x93 [i915]
[ 7.254373] RIP: 0010:intel_hdmi_connector_register+0x4f/0x90 [i915]
[ 7.254493] i915_driver_probe+0x73d/0xd20 [i915]
[ 7.254533] ? i915_pci_probe+0x3f/0x150 [i915]
[ 7.254584] i915_init+0x1d/0x93 [i915]
[ 7.254641] Modules linked in: acpi_cpufreq(E-) x86_pkg_temp_thermal(E) intel_powerclamp(E) btusb(E) btrtl(E) btbcm(E) btintel(E) bluetooth(E) jitterentropy_rng(E) snd_hda_codec_hdmi(E) snd_hda_codec_realtek(E) snd_hda_codec_generic(E) coretemp(E) ledtrig_audio(E) sha512_ssse3(E) snd_hda_intel(E) sha512_generic(E) snd_intel_dspcfg(E) snd_intel_sdw_acpi(E) kvm_intel(E) snd_hda_codec(E) drbg(E) snd_hda_core(E) kvm(E) ansi_cprng(E) i915(E+) irqbypass(E) eeepc_wmi(E) asus_nb_wmi(E) snd_hwdep(E) rapl(E) asus_wmi(E) snd_pcm(E) intel_cstate(E) platform_profile(E) ttm(E) ecdh_generic(E) snd_timer(E) battery(E) ecc(E) mei_hdcp(E) evdev(E) crc16(E) intel_uncore(E) iwlwifi(E) drm_kms_helper(E) snd(E) pcspkr(E) sparse_keymap(E) wmi_bmof(E) soundcore(E) sg(E) cec(E) cfg80211(E) mei_me(E) rc_core(E) mei(E) i2c_algo_bit(E) rfkill(E) fan(E) intel_pmc_core(E) acpi_tad(E) acpi_pad(E) button(E) fuse(E) drm(E) configfs(E) sunrpc(E) efivarfs(E) ip_tables(E) x_tables(E) autofs4(E) zfs(POE) zunicode(POE)
[ 7.326159] RIP: 0010:intel_hdmi_connector_register+0x4f/0x90 [i915]
 

notanumba

Dabbler
Joined
Jan 8, 2023
Messages
15
The Intel E-2388G in my Reasonably Quiet Server is not recognized by TrueNAS-SCALE-22.12.2 at all. My understanding is that Rocket Lake chips are supported in this version, but no luck. See spoiler below for full system specs.

root@ozzy[~]# lspci -k | grep -EA3 'VGA|3D|Display' 05:00.0 VGA compatible controller: ASPEED Technology, Inc. ASPEED Graphics Family (rev 52) DeviceName: ASPEED Video AST2600 Subsystem: Super Micro Computer Inc ASPEED Graphics Family Kernel driver in use: ast

root@ozzy[~]# sudo dmesg | grep i915 root@ozzy[~]#

Does anyone have any ideas how to go about fixing this?

Hi,

I`ve got the same issue on an Intel(R) Xeon(R) CPU E3-1285L v4 @ 3.40GHz running in a supermicro X10SL7-F.

root@nas[~]# lspci -k | grep -EA3 'VGA|3D|Display'
04:00.0 VGA compatible controller: ASPEED Technology, Inc. ASPEED Graphics Family (rev 30)
DeviceName: Onboard VGA
Subsystem: Super Micro Computer Inc ASPEED Graphics Family
Kernel driver in use: ast
Kernel modules: ast

root@nas[~]# ls /dev/dri
by-path card0

Any chance to switch used drivers from ast to i915?

A modprobe i915 loaded the module successfully without any errors. But also without getting a renderD128 entry or output in dmesg. The device ID from the intel gfx card isnt listed via lspci -k and the 2nd VGA entry is missing too. There are no options in the bios to enable the gfx card.

Any help appreciated :)

Kind regards

NaN
 

help!

Explorer
Joined
Aug 3, 2023
Messages
57
I'm also having a beast of time getting TrueNas to recognize quicksync. I am running an Intel 12100 on TrueNAS Scale 22.12.3.2. I have the igpu activated in BIOS.

Code:
lspci -k | grep -EA3 'VGA|3D|Display'


generates



Code:
dmesg | grep i915


returns



I downloaded "tgl_guc_62.0.0.bin" into /lib/firmware/i915 and restarted, but no dice.

Any ideas?
check my post about jasper lake, in there there is a keep on boot function for i915

might work for you
 
Joined
Jul 30, 2023
Messages
6
check my post about jasper lake, in there there is a keep on boot function for i915

might work for you
I'm running an Alder Lake desktop processor, and so I'm currently using guc=2 in the i915.conf file per this page. I may try guc=3 in a few days after I complete a large data migration.

I fear the motherboard chipset (b760) may not be supported on the kernel included in the 22.12.3.3. (I know, I know - no need to lecture me about using consumer hardware with TrueNAS). If I can't get Bluefin to work, I will try the beta of Cobia when it releases later this month. I understand Cobia runs on a newer kernel.
 
Joined
Jul 30, 2023
Messages
6
Confirmed: guc=3 does not work either. I'm convinced the b760 motherboard simply isn't supported by the kernel. I will try out the Cobia beta in a few days.
 
Top