Alder Lake GPU enablement not working

ericnotthered

Dabbler
Joined
Jan 2, 2023
Messages
15
UPDATE:

It appears that after applying the "tunable" that Truenas is actually booting (I did not previously check the GUI :rolleyes:). The console, however, freezes up. In addition, the Quicksync GPU is not made available in the drop-down in the app configs.

Running dmesg from the system shell, I see the block of messages below.
Per the bold text, it looks like the system is turning off the console for some reason. :confused: I suspect that may be occurring in anticipation of the enablement of the Intel GPU (which subsequently fails):
[ 18.197745] Console: switching to colour dummy device 80x25
[ 18.197774] i915 0000:00:02.0: vgaarb: deactivate vga console
[ 18.198454] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem

The trace is fairly lengthy and I'm not sure what's relevant, but I see these messages further down. It looks like the system is failing to load a firmware file.
[ 18.200111] i915 0000:00:02.0: Direct firmware load for i915/tgl_guc_62.0.0.bin failed with error -2
[ 18.200114] i915 0000:00:02.0: [drm] GuC firmware i915/tgl_guc_62.0.0.bin: fetch failed with error -2
[ 18.200115] 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
[ 18.200721] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/adls_dmc_ver2_01.bin (v2.1)

The GPU continues to be unavailable to apps.

Any help is welcome



Full block of relevant messages:
[ 18.195909] Setting dangerous option force_probe - tainting kernel
[ 18.197745] Console: switching to colour dummy device 80x25
[ 18.197774] i915 0000:00:02.0: vgaarb: deactivate vga console
[ 18.198454] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[ 18.198734] ------------[ cut here ]------------
[ 18.198735] i915 0000:00:02.0: drm_WARN_ON(!intel_gmbus_is_valid_pin(dev_priv, pin))
[ 18.198743] WARNING: CPU: 2 PID: 1137 at drivers/gpu/drm/i915/display/intel_gmbus.c:918 intel_gmbus_get_adapter+0x5f/0x70 [i915]
[ 18.198805] Modules linked in: drbg(E+) ansi_cprng(E) ecdh_generic(E+) rfkill(E) ecc(E) evdev(E) pcc_cpufreq(E-) fjes(E-) acpi_cpufreq(E-) crc16(E) i915(E+) ttm(E) drm_kms_helper(E) sg(E) cec(E) mei_me(E) rc_core(E) i2c_algo_bit(E) mei(E) intel_hid(E) sparse_keymap(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) ses(E) sd_mod(E) enclosure(E) hid_generic(E) uas(E) usbhid(E) hid(E) usb_storage(E) crc32_pclmul(E) crc32c_intel(E) ghash_clmulni_intel(E) md_mod(E) ahci(E) mpt3sas(E) ahciem(E) raid_class(E) nvme(E) libahci(E) scsi_transport_sas(E) xhci_pci(E) nvme_core(E) libata(E) xhci_hcd(E) t10_pi(E) aesni_intel(E)
[ 18.198824] crc_t10dif(E) crypto_simd(E) r8169(E) crct10dif_generic(E) cryptd(E) crct10dif_pclmul(E) usbcore(E) scsi_mod(E) realtek(E) mdio_devres(E) libphy(E) scsi_common(E) crct10dif_common(E) usb_common(E) fan(E) wmi(E) video(E)
[ 18.198834] CPU: 2 PID: 1137 Comm: systemd-udevd Tainted: P U OE 5.15.79+truenas #1
[ 18.198836] Hardware name: Gigabyte Technology Co., Ltd. Z790 UD AC/Z790 UD AC, BIOS F4 03/07/2023
[ 18.198838] RIP: 0010:intel_gmbus_get_adapter+0x5f/0x70 [i915]
[ 18.198878] Code: 4c 8b 67 50 4d 85 e4 75 03 4c 8b 27 e8 ea b4 04 d8 48 c7 c1 a8 3c 4d c1 4c 89 e2 48 c7 c7 a4 d7 4e c1 48 89 c6 e8 00 62 2f d8 <0f> 0b 31 c0 5b 5d 41 5c c3 cc cc cc cc 0f 1f 40 00 0f 1f 44 00 00
[ 18.198880] RSP: 0018:ffffbea3c13b3a20 EFLAGS: 00010282
[ 18.198882] RAX: 0000000000000000 RBX: 000000000000000a RCX: ffff9c30bf8a0448
[ 18.198883] RDX: 00000000ffffffd8 RSI: 0000000000000027 RDI: ffff9c30bf8a0440
[ 18.198884] RBP: ffff9c2181820000 R08: 0000000000000000 R09: ffffbea3c13b3848
[ 18.198885] R10: ffffbea3c13b3840 R11: ffffffff9a4d33e8 R12: ffff9c2151599f80
[ 18.198886] R13: 0000000000000004 R14: ffff9c2181820000 R15: 000000000000000a
[ 18.198887] FS: 00007f727b5bb8c0(0000) GS:ffff9c30bf880000(0000) knlGS:0000000000000000
[ 18.198888] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 18.198889] CR2: 00007fddd1d4b6f4 CR3: 000000011f9da001 CR4: 0000000000770ee0
[ 18.198890] PKRU: 55555554
[ 18.198891] Call Trace:
[ 18.198893] <TASK>
[ 18.198894] intel_hdmi_init_connector+0x19a/0x910 [i915]
[ 18.198931] ? intel_connector_alloc+0x3b/0x60 [i915]
[ 18.198978] ? kmem_cache_alloc_trace+0x2cd/0x3d0
[ 18.198981] intel_ddi_init+0x869/0xc10 [i915]
[ 18.199021] intel_modeset_init_nogem+0x920/0x1580 [i915]
[ 18.199065] ? gen12_fwtable_read32+0x96/0x1f0 [i915]
[ 18.199102] ? gen12_fwtable_read32+0x96/0x1f0 [i915]
[ 18.199132] i915_driver_probe+0x6ea/0xd20 [i915]
[ 18.199164] ? vga_switcheroo_client_probe_defer+0x23/0x50
[ 18.199167] ? i915_pci_probe+0x3f/0x150 [i915]
[ 18.199197] local_pci_probe+0x42/0x80
[ 18.199200] ? __cond_resched+0x16/0x50
[ 18.199202] pci_device_probe+0x101/0x1b0
[ 18.199203] really_probe+0x1f6/0x3f0
[ 18.199205] __driver_probe_device+0x105/0x180
[ 18.199206] driver_probe_device+0x1e/0x90
[ 18.199207] __driver_attach+0x9d/0x1e0
[ 18.199208] ? __device_attach_driver+0x110/0x110
[ 18.199209] ? __device_attach_driver+0x110/0x110
[ 18.199211] bus_for_each_dev+0x75/0xc0
[ 18.199212] bus_add_driver+0x13a/0x200
[ 18.199214] driver_register+0x8b/0xe0
[ 18.199215] i915_init+0x1d/0x93 [i915]
[ 18.199252] ? 0xffffffffc15ee000
[ 18.199253] do_one_initcall+0x41/0x1d0
[ 18.199256] ? __cond_resched+0x16/0x50
[ 18.199257] ? kmem_cache_alloc_trace+0x2cd/0x3d0
[ 18.199259] do_init_module+0x4c/0x250
[ 18.199261] __do_sys_finit_module+0xae/0x110
[ 18.199264] do_syscall_64+0x38/0xc0
[ 18.199266] entry_SYSCALL_64_after_hwframe+0x61/0xcb
[ 18.199267] RIP: 0033:0x7f727ba693a9
[ 18.199269] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d b7 8a 0d 00 f7 d8 64 89 01 48
[ 18.199271] RSP: 002b:00007ffc8cb27128 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[ 18.199273] RAX: ffffffffffffffda RBX: 000055914c678190 RCX: 00007f727ba693a9
[ 18.199274] RDX: 0000000000000000 RSI: 000055914c6788d0 RDI: 0000000000000013
[ 18.199275] RBP: 0000000000020000 R08: 0000000000000000 R09: 000055914bceb60e
[ 18.199276] R10: 0000000000000013 R11: 0000000000000246 R12: 000055914c6788d0
[ 18.199277] R13: 0000000000000000 R14: 000055914c675f10 R15: 000055914c678190
[ 18.199278] </TASK>
[ 18.199279] ---[ end trace 8f09d276da3229a6 ]---
[ 18.199331] ------------[ cut here ]------------
[ 18.199332] i915 0000:00:02.0: drm_WARN_ON(!intel_gmbus_is_valid_pin(dev_priv, pin))
[ 18.199337] WARNING: CPU: 2 PID: 1137 at drivers/gpu/drm/i915/display/intel_gmbus.c:918 intel_gmbus_get_adapter+0x5f/0x70 [i915]
[ 18.199389] Modules linked in: drbg(E+) ansi_cprng(E) ecdh_generic(E+) rfkill(E) ecc(E) evdev(E) pcc_cpufreq(E-) fjes(E-) acpi_cpufreq(E-) crc16(E) i915(E+) ttm(E) drm_kms_helper(E) sg(E) cec(E) mei_me(E) rc_core(E) i2c_algo_bit(E) mei(E) intel_hid(E) sparse_keymap(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) ses(E) sd_mod(E) enclosure(E) hid_generic(E) uas(E) usbhid(E) hid(E) usb_storage(E) crc32_pclmul(E) crc32c_intel(E) ghash_clmulni_intel(E) md_mod(E) ahci(E) mpt3sas(E) ahciem(E) raid_class(E) nvme(E) libahci(E) scsi_transport_sas(E) xhci_pci(E) nvme_core(E) libata(E) xhci_hcd(E) t10_pi(E) aesni_intel(E)
[ 18.199406] crc_t10dif(E) crypto_simd(E) r8169(E) crct10dif_generic(E) cryptd(E) crct10dif_pclmul(E) usbcore(E) scsi_mod(E) realtek(E) mdio_devres(E) libphy(E) scsi_common(E) crct10dif_common(E) usb_common(E) fan(E) wmi(E) video(E)
[ 18.199416] CPU: 2 PID: 1137 Comm: systemd-udevd Tainted: P U W OE 5.15.79+truenas #1
[ 18.199417] Hardware name: Gigabyte Technology Co., Ltd. Z790 UD AC/Z790 UD AC, BIOS F4 03/07/2023
[ 18.199418] RIP: 0010:intel_gmbus_get_adapter+0x5f/0x70 [i915]
[ 18.199458] Code: 4c 8b 67 50 4d 85 e4 75 03 4c 8b 27 e8 ea b4 04 d8 48 c7 c1 a8 3c 4d c1 4c 89 e2 48 c7 c7 a4 d7 4e c1 48 89 c6 e8 00 62 2f d8 <0f> 0b 31 c0 5b 5d 41 5c c3 cc cc cc cc 0f 1f 40 00 0f 1f 44 00 00
[ 18.199460] RSP: 0018:ffffbea3c13b3a20 EFLAGS: 00010282
[ 18.199462] RAX: 0000000000000000 RBX: 000000000000000b RCX: ffff9c30bf8a0448
[ 18.199463] RDX: 00000000ffffffd8 RSI: 0000000000000027 RDI: ffff9c30bf8a0440
[ 18.199464] RBP: ffff9c2181820000 R08: 0000000000000000 R09: ffffbea3c13b3848
[ 18.199465] R10: ffffbea3c13b3840 R11: ffffffff9a4d33e8 R12: ffff9c2151599f80
[ 18.199465] R13: 0000000000000005 R14: ffff9c2181820000 R15: 000000000000000b
[ 18.199466] FS: 00007f727b5bb8c0(0000) GS:ffff9c30bf880000(0000) knlGS:0000000000000000
[ 18.199468] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 18.199469] CR2: 00007fddd1d4b6f4 CR3: 000000011f9da001 CR4: 0000000000770ee0
[ 18.199470] PKRU: 55555554
[ 18.199470] Call Trace:
[ 18.199471] <TASK>
[ 18.199472] intel_hdmi_init_connector+0x19a/0x910 [i915]
[ 18.199510] ? __cond_resched+0x16/0x50
[ 18.199512] ? kmem_cache_alloc_trace+0x2cd/0x3d0
[ 18.199513] intel_ddi_init+0x869/0xc10 [i915]
[ 18.199555] intel_modeset_init_nogem+0x92d/0x1580 [i915]
[ 18.199603] ? gen12_fwtable_read32+0x96/0x1f0 [i915]
[ 18.199640] ? gen12_fwtable_read32+0x96/0x1f0 [i915]
[ 18.199670] i915_driver_probe+0x6ea/0xd20 [i915]
[ 18.199701] ? vga_switcheroo_client_probe_defer+0x23/0x50
[ 18.199702] ? i915_pci_probe+0x3f/0x150 [i915]
[ 18.199730] local_pci_probe+0x42/0x80
[ 18.199732] ? __cond_resched+0x16/0x50
[ 18.199734] pci_device_probe+0x101/0x1b0
[ 18.199735] really_probe+0x1f6/0x3f0
[ 18.199736] __driver_probe_device+0x105/0x180
[ 18.199737] driver_probe_device+0x1e/0x90
[ 18.199738] __driver_attach+0x9d/0x1e0
[ 18.199740] ? __device_attach_driver+0x110/0x110
[ 18.199741] ? __device_attach_driver+0x110/0x110
[ 18.199742] bus_for_each_dev+0x75/0xc0
[ 18.199744] bus_add_driver+0x13a/0x200
[ 18.199745] driver_register+0x8b/0xe0
[ 18.199746] i915_init+0x1d/0x93 [i915]
[ 18.199783] ? 0xffffffffc15ee000
[ 18.199784] do_one_initcall+0x41/0x1d0
[ 18.199786] ? __cond_resched+0x16/0x50
[ 18.199788] ? kmem_cache_alloc_trace+0x2cd/0x3d0
[ 18.199789] do_init_module+0x4c/0x250
[ 18.199791] __do_sys_finit_module+0xae/0x110
[ 18.199793] do_syscall_64+0x38/0xc0
[ 18.199795] entry_SYSCALL_64_after_hwframe+0x61/0xcb
[ 18.199796] RIP: 0033:0x7f727ba693a9
[ 18.199797] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d b7 8a 0d 00 f7 d8 64 89 01 48
[ 18.199799] RSP: 002b:00007ffc8cb27128 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[ 18.199801] RAX: ffffffffffffffda RBX: 000055914c678190 RCX: 00007f727ba693a9
[ 18.199802] RDX: 0000000000000000 RSI: 000055914c6788d0 RDI: 0000000000000013
[ 18.199803] RBP: 0000000000020000 R08: 0000000000000000 R09: 000055914bceb60e
[ 18.199804] R10: 0000000000000013 R11: 0000000000000246 R12: 000055914c6788d0
[ 18.199804] R13: 0000000000000000 R14: 000055914c675f10 R15: 000055914c678190
[ 18.199806] </TASK>
[ 18.199806] ---[ end trace 8f09d276da3229a7 ]---
[ 18.200111] i915 0000:00:02.0: Direct firmware load for i915/tgl_guc_62.0.0.bin failed with error -2
[ 18.200114] i915 0000:00:02.0: [drm] GuC firmware i915/tgl_guc_62.0.0.bin: fetch failed with error -2
[ 18.200115] 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
[ 18.200721] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/adls_dmc_ver2_01.bin (v2.1)

[ 18.201048] i915 0000:00:02.0: [drm] GuC is uninitialized
[ 18.212290] ------------[ cut here ]------------
[ 18.212293] i915 0000:00:02.0: drm_WARN_ON(!intel_gmbus_is_valid_pin(dev_priv, pin))
[ 18.212301] WARNING: CPU: 4 PID: 1137 at drivers/gpu/drm/i915/display/intel_gmbus.c:918 intel_gmbus_get_adapter+0x5f/0x70 [i915]
[ 18.212362] Modules linked in: drbg(E+) ansi_cprng(E) ecdh_generic(E+) rfkill(E) ecc(E) evdev(E) pcc_cpufreq(E-) fjes(E-) crc16(E) i915(E+) ttm(E) drm_kms_helper(E) sg(E) cec(E) mei_me(E) rc_core(E) i2c_algo_bit(E) mei(E) intel_hid(E) sparse_keymap(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) ses(E) sd_mod(E) enclosure(E) hid_generic(E) uas(E) usbhid(E) hid(E) usb_storage(E) crc32_pclmul(E) crc32c_intel(E) ghash_clmulni_intel(E) md_mod(E) ahci(E) mpt3sas(E) ahciem(E) raid_class(E) nvme(E) libahci(E) scsi_transport_sas(E) xhci_pci(E) nvme_core(E) libata(E) xhci_hcd(E) t10_pi(E) aesni_intel(E) crc_t10dif(E)
[ 18.212385] crypto_simd(E) r8169(E) crct10dif_generic(E) cryptd(E) crct10dif_pclmul(E) usbcore(E) scsi_mod(E) realtek(E) mdio_devres(E) libphy(E) scsi_common(E) crct10dif_common(E) usb_common(E) fan(E) wmi(E) video(E)
[ 18.212395] CPU: 4 PID: 1137 Comm: systemd-udevd Tainted: P U W OE 5.15.79+truenas #1
[ 18.212397] Hardware name: Gigabyte Technology Co., Ltd. Z790 UD AC/Z790 UD AC, BIOS F4 03/07/2023
[ 18.212399] RIP: 0010:intel_gmbus_get_adapter+0x5f/0x70 [i915]
[ 18.212451] Code: 4c 8b 67 50 4d 85 e4 75 03 4c 8b 27 e8 ea b4 04 d8 48 c7 c1 a8 3c 4d c1 4c 89 e2 48 c7 c7 a4 d7 4e c1 48 89 c6 e8 00 62 2f d8 <0f> 0b 31 c0 5b 5d 41 5c c3 cc cc cc cc 0f 1f 40 00 0f 1f 44 00 00
[ 18.212454] RSP: 0018:ffffbea3c13b3ac8 EFLAGS: 00010282
[ 18.212455] RAX: 0000000000000000 RBX: 000000000000000a RCX: ffff9c30bf920448
[ 18.212457] RDX: 00000000ffffffd8 RSI: 0000000000000027 RDI: ffff9c30bf920440
[ 18.212458] RBP: ffff9c2181820000 R08: 0000000000000000 R09: ffffbea3c13b38f0
[ 18.212459] R10: ffffbea3c13b38e8 R11: ffffffff9a4d33e8 R12: ffff9c2151599f80
[ 18.212460] R13: ffff9c2169372850 R14: ffff9c2154c4a6a0 R15: 0000000000000000
[ 18.212461] FS: 00007f727b5bb8c0(0000) GS:ffff9c30bf900000(0000) knlGS:0000000000000000
[ 18.212463] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 18.212464] CR2: 00007f0f78357017 CR3: 000000011f9da003 CR4: 0000000000770ee0
[ 18.212466] PKRU: 55555554
[ 18.212466] Call Trace:
[ 18.212468] <TASK>
[ 18.212469] intel_hdmi_connector_register+0x4b/0x90 [i915]
[ 18.212509] drm_connector_register.part.0+0x69/0xb0 [drm]
[ 18.212525] drm_connector_register_all+0x4e/0x110 [drm]
[ 18.212535] drm_modeset_register_all+0x63/0x80 [drm]
[ 18.212546] drm_dev_register+0x194/0x1c0 [drm]
[ 18.212556] i915_driver_probe+0x73d/0xd20 [i915]
[ 18.212591] ? vga_switcheroo_client_probe_defer+0x23/0x50
[ 18.212593] ? i915_pci_probe+0x3f/0x150 [i915]
[ 18.212623] local_pci_probe+0x42/0x80
[ 18.212626] ? __cond_resched+0x16/0x50
[ 18.212628] pci_device_probe+0x101/0x1b0
[ 18.212630] really_probe+0x1f6/0x3f0
[ 18.212632] __driver_probe_device+0x105/0x180
[ 18.212633] driver_probe_device+0x1e/0x90
[ 18.212634] __driver_attach+0x9d/0x1e0
[ 18.212635] ? __device_attach_driver+0x110/0x110
[ 18.212636] ? __device_attach_driver+0x110/0x110
[ 18.212637] bus_for_each_dev+0x75/0xc0
[ 18.212639] bus_add_driver+0x13a/0x200
[ 18.212641] driver_register+0x8b/0xe0
[ 18.212642] i915_init+0x1d/0x93 [i915]
[ 18.212678] ? 0xffffffffc15ee000
[ 18.212680] do_one_initcall+0x41/0x1d0
[ 18.212682] ? __cond_resched+0x16/0x50
[ 18.212684] ? kmem_cache_alloc_trace+0x2cd/0x3d0
[ 18.212686] do_init_module+0x4c/0x250
[ 18.212688] __do_sys_finit_module+0xae/0x110
[ 18.212690] do_syscall_64+0x38/0xc0
[ 18.212692] entry_SYSCALL_64_after_hwframe+0x61/0xcb
[ 18.212694] RIP: 0033:0x7f727ba693a9
[ 18.212695] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d b7 8a 0d 00 f7 d8 64 89 01 48
[ 18.212697] RSP: 002b:00007ffc8cb27128 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[ 18.212699] RAX: ffffffffffffffda RBX: 000055914c678190 RCX: 00007f727ba693a9
[ 18.212700] RDX: 0000000000000000 RSI: 000055914c6788d0 RDI: 0000000000000013
[ 18.212701] RBP: 0000000000020000 R08: 0000000000000000 R09: 000055914bceb60e
[ 18.212702] R10: 0000000000000013 R11: 0000000000000246 R12: 000055914c6788d0
[ 18.212703] R13: 0000000000000000 R14: 000055914c675f10 R15: 000055914c678190
[ 18.212704] </TASK>
[ 18.212705] ---[ end trace 8f09d276da3229a8 ]---
[ 18.212707] BUG: kernel NULL pointer dereference, address: 0000000000000070
[ 18.212708] #PF: supervisor read access in kernel mode
[ 18.212709] #PF: error_code(0x0000) - not-present page
[ 18.212710] PGD 0 P4D 0
[ 18.212711] Oops: 0000 [#1] SMP NOPTI
[ 18.212713] CPU: 4 PID: 1137 Comm: systemd-udevd Tainted: P U W OE 5.15.79+truenas #1
[ 18.212714] Hardware name: Gigabyte Technology Co., Ltd. Z790 UD AC/Z790 UD AC, BIOS F4 03/07/2023
[ 18.212715] RIP: 0010:intel_hdmi_connector_register+0x4f/0x90 [i915]
[ 18.212763] Code: 8b 83 a0 04 00 00 48 8b 2b 8b 50 78 83 fa 08 77 3a 83 fa 05 77 02 31 c0 8b b0 54 0f 00 00 48 89 ef e8 45 d2 ff ff 48 8b 7b 08 <48> 8b 50 70 48 8d 70 70 e8 b4 d6 d9 d7 85 c0 0f 85 ea f3 04 00 44
[ 18.212765] RSP: 0018:ffffbea3c13b3ae8 EFLAGS: 00010246
[ 18.212766] RAX: 0000000000000000 RBX: ffff9c2169372800 RCX: ffff9c30bf920448
[ 18.212767] RDX: 00000000ffffffd8 RSI: 0000000000000027 RDI: ffff9c21c0585400
[ 18.212768] RBP: ffff9c2181820000 R08: 0000000000000000 R09: ffffbea3c13b38f0
[ 18.212769] R10: ffffbea3c13b38e8 R11: ffffffff9a4d33e8 R12: 0000000000000000
[ 18.212770] R13: ffff9c2169372850 R14: ffff9c2154c4a6a0 R15: 0000000000000000
[ 18.212770] FS: 00007f727b5bb8c0(0000) GS:ffff9c30bf900000(0000) knlGS:0000000000000000
[ 18.212772] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 18.212773] CR2: 0000000000000070 CR3: 000000011f9da003 CR4: 0000000000770ee0
[ 18.212774] PKRU: 55555554
[ 18.212774] Call Trace:
[ 18.212775] <TASK>
[ 18.212776] drm_connector_register.part.0+0x69/0xb0 [drm]
[ 18.212788] drm_connector_register_all+0x4e/0x110 [drm]
[ 18.212798] drm_modeset_register_all+0x63/0x80 [drm]
[ 18.212808] drm_dev_register+0x194/0x1c0 [drm]
[ 18.212817] i915_driver_probe+0x73d/0xd20 [i915]
[ 18.212847] ? vga_switcheroo_client_probe_defer+0x23/0x50
[ 18.212848] ? i915_pci_probe+0x3f/0x150 [i915]
[ 18.212876] local_pci_probe+0x42/0x80
[ 18.212878] ? __cond_resched+0x16/0x50
[ 18.212880] pci_device_probe+0x101/0x1b0
[ 18.212881] really_probe+0x1f6/0x3f0
[ 18.212882] __driver_probe_device+0x105/0x180
[ 18.212883] driver_probe_device+0x1e/0x90
[ 18.212884] __driver_attach+0x9d/0x1e0
[ 18.212885] ? __device_attach_driver+0x110/0x110
[ 18.212886] ? __device_attach_driver+0x110/0x110
[ 18.212887] bus_for_each_dev+0x75/0xc0
[ 18.212889] bus_add_driver+0x13a/0x200
[ 18.212890] driver_register+0x8b/0xe0
[ 18.212891] i915_init+0x1d/0x93 [i915]
[ 18.212925] ? 0xffffffffc15ee000
[ 18.212926] do_one_initcall+0x41/0x1d0
[ 18.212928] ? __cond_resched+0x16/0x50
[ 18.212929] ? kmem_cache_alloc_trace+0x2cd/0x3d0
[ 18.212931] do_init_module+0x4c/0x250
[ 18.212932] __do_sys_finit_module+0xae/0x110
[ 18.212934] do_syscall_64+0x38/0xc0
[ 18.212936] entry_SYSCALL_64_after_hwframe+0x61/0xcb
[ 18.212937] RIP: 0033:0x7f727ba693a9
[ 18.212938] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d b7 8a 0d 00 f7 d8 64 89 01 48
[ 18.212940] RSP: 002b:00007ffc8cb27128 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[ 18.212941] RAX: ffffffffffffffda RBX: 000055914c678190 RCX: 00007f727ba693a9
[ 18.212942] RDX: 0000000000000000 RSI: 000055914c6788d0 RDI: 0000000000000013
[ 18.212943] RBP: 0000000000020000 R08: 0000000000000000 R09: 000055914bceb60e
[ 18.212944] R10: 0000000000000013 R11: 0000000000000246 R12: 000055914c6788d0
[ 18.212945] R13: 0000000000000000 R14: 000055914c675f10 R15: 000055914c678190
[ 18.212946] </TASK>
[ 18.212947] Modules linked in: drbg(E+) ansi_cprng(E) ecdh_generic(E+) rfkill(E) ecc(E) evdev(E) pcc_cpufreq(E-) fjes(E-) crc16(E) i915(E+) ttm(E) drm_kms_helper(E) sg(E) cec(E) mei_me(E) rc_core(E) i2c_algo_bit(E) mei(E) intel_hid(E) sparse_keymap(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) ses(E) sd_mod(E) enclosure(E) hid_generic(E) uas(E) usbhid(E) hid(E) usb_storage(E) crc32_pclmul(E) crc32c_intel(E) ghash_clmulni_intel(E) md_mod(E) ahci(E) mpt3sas(E) ahciem(E) raid_class(E) nvme(E) libahci(E) scsi_transport_sas(E) xhci_pci(E) nvme_core(E) libata(E) xhci_hcd(E) t10_pi(E) aesni_intel(E) crc_t10dif(E)
[ 18.212963] crypto_simd(E) r8169(E) crct10dif_generic(E) cryptd(E) crct10dif_pclmul(E) usbcore(E) scsi_mod(E) realtek(E) mdio_devres(E) libphy(E) scsi_common(E) crct10dif_common(E) usb_common(E) fan(E) wmi(E) video(E)
[ 18.212973] CR2: 0000000000000070
[ 18.212974] ---[ end trace 8f09d276da3229a9 ]---







----------------------------------------------------------------------------
Original Message
----------------------------------------------------------------------------

Overview

I have an issue related to enabling Alder Lake GPU support for Plex with my new Z790 motherboard

Background:
I originally enabled Quicksync for my Alder Lake i5-12600K on a H670 MB using the instruction on the Scale release notes page: https://www.truenas.com/docs/scale/scale22.12/#22121
midclt call system.advanced.update '{"kernel_extra_options": "i915.force_probe=4680" }'
(Note that the GPU number for this version of the CPU is 4680, as confirmed with sudo dmesg | grep i915).

Plex was then able to use the Quicksync GPUs for hardware transcoding.

Problem:
I recently moved my Truenas Scale install to a Z790 motherboard and DDR5 RAM (same procesor - full hardware listed below). On boot, this locked up with the message:
Setting dangerous option force_probe - tainting kernel
Here's the console view:
20230317_124918.jpg


Steps taken so far:
  1. I performed a fresh install, which successfully booted.
  2. I restored my previous config file and rebooted. The boot froze again with the above message.
  3. I did another fresh install, which successfully booted.
  4. I then ran the command to enable the Alder Lake GPU. On reboot, it again froze with this message.
This would appear to narrow it down to the command that enables the Alder Lake GPU.

Request for help:
Does anyone know how to avoid or override this behavior? I'm not sure if there is a BIOS setting, config change or other command that would help.


New System:
Truenas Scale 22.12.1
Intel i5-12600K CPU
64GB DDR 5 RAM
Gigabyte Z790 UD AX Motherboard
Motherboard SATA 3.0
- Samsung 500GB ATA SSD (Boot Disk)
LSI 9201-8i TI Mode
- 3xWD Red 6TB HD (Z1 Parity)
- 3xWD Red Plus 8TB HD (Z1 Parity)
Motherboard M.2 PCI 4.0
- M.2 Adata Premium 1TB HD (Stripe)
 
Last edited:

ericnotthered

Dabbler
Joined
Jan 2, 2023
Messages
15
I decided to try reverting to my previous 22.12.0 build.

With that, I am able to apply the midclt command to probe for the GPU without any dmesg complaints about missing kernel files.

midclt call system.advanced.update '{"kernel_extra_options": "nomodeset i915.modeset=0 i915.force_probe=4680" }'

Note that I added "nomodeset" (that I learned from other posts), which avoids the console freezing up during boot.

After reboot, dmseg looks a lot cleaner:
admin@truenas[~]# sudo dmesg | grep i915
[ 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 nomodeset i915.modeset=0 i915.force_probe=4680
[ 0.021871] 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 nomodeset i915.modeset=0 i915.force_probe=4680
[ 18.817099] snd_hda_codec_hdmi hdaudioC0D2: No i915 binding for Intel HDMI/DP codec

I'm not sure whether the snd_hda_codec_hdmi line is an issue, but regardless...

With this install, I now have options under the GPU Configuration for Plex. Unfortunately, clicking on the drop-down for the gpu.intel.com/i915 does not give any options other than that currently shown ("Allocate 0 gpu.intel.com/i915 GPU"). Note that I used to have an nVidia GPU before I migrated from a old i7-2600K, however that is no longer present.

1679167408384.png


The struggle continues...
 

ericnotthered

Dabbler
Joined
Jan 2, 2023
Messages
15
No progress on getting the GPU working with the 22.02.0 build, so I switched over to the 22.02.1 build again for now.

I tried the approach offered by t4corun in this thread.

- Installed missing kernel files:
wget "https://git.kernel.org/pub/scm/linu...e.git/snapshot/linux-firmware-20230117.tar.gz"
tar -xzvf linux-firmware-20230117.tar.gz
cp /root/linux-firmware-20230117/i915/tgl_guc_62.0.0.bin /lib/firmware/i915/
cp /root/linux-firmware-20230117/i915/tgl_huc_7.9.3.bin /lib/firmware/i915/

- Created "915.conf" file
nano /etc/modprobe.d/i915.conf
and entered the text
options i915 enable_guc=2

- Executed command to enable GPU and disable the display mode change. Note that I've tried this with and without "nomodeset". Without it, I get additional errors in the log.
midclt call system.advanced.update '{"kernel_extra_options": "nomodeset i915.force_probe=4680" }'

- Rebooted.

Resulting dmesg is the same as for 22.02.0
admin@truenas[~]$ sudo dmesg | grep i915
[sudo] password for admin:
[ 0.000000] Command line: BOOT_IMAGE=/ROOT/22.12.1-5@/boot/vmlinuz-5.15.79+truenas root=ZFS=boot-pool/ROOT/22.12.1-5 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 nomodeset i915.force_probe=4680
[ 0.022002] Kernel command line: BOOT_IMAGE=/ROOT/22.12.1-5@/boot/vmlinuz-5.15.79+truenas root=ZFS=boot-pool/ROOT/22.12.1-5 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 nomodeset i915.force_probe=4680
[ 18.842476] snd_hda_codec_hdmi hdaudioC0D2: No i915 binding for Intel HDMI/DP codec

However, in this case no GPU options are provided at all
1679176900012.png


I'm currently stumped. :frown:
 
Last edited:

ericnotthered

Dabbler
Joined
Jan 2, 2023
Messages
15
Final update on this.

I reverted to my Asus Prime H670-Plus D4 motherboard, reversed the above changes and used only the previously successful command for this platform:
midclt call system.advanced.update '{"kernel_extra_options": "i915.force_probe=4680" }'

After a couple of reboots, the Quicksync GPU options appeared again on the app edit screen (0-5 selectable). I selected 5 for Plex and re-deployed. I then verified that Plex showed hardware acceleration with two concurrent 4K transcodes, with CPU usage under 10%.
 
Last edited:

airninja

Cadet
Joined
Aug 28, 2023
Messages
3
I appreciate you documenting your journey! I'm having the same issue but with an Asus Pro WS W680-ACE IPMI motherboard.
 

underpickled

Contributor
Joined
Oct 1, 2013
Messages
167
I appreciate you documenting your journey! I'm having the same issue but with an Asus Pro WS W680-ACE IPMI motherboard.
Did you ever figure this out? I just rebuilt my system on Core with the SE version of that mb and a 12600K. Considering moving to Scale since it appears to support quick sync passthrough and maybe even the E cores, so I’m curious about your experience.
 
Top