Public bug reported: OS: Ubuntu Server 23.10.1 Filesystem: OpenZFS, latest version from Ubuntu Repo GPU: Intel ARC A380, Codename DG2
i915 driver for ARC GPU fails to load if the "zfs" module is loaded first during boot. I noticed this by installing the package "zfsutils-linux" and rebooting the server. Hardware acceleration in Jellyfin stopped working and "vainfo" command failed. See the following journalctl output: ``` Jan 08 14:34:04 schublade kernel: i915 0000:0c:00.0: [drm] VT-d active for gfx access Jan 08 14:34:04 schublade kernel: i915 0000:0c:00.0: vgaarb: deactivate vga console Jan 08 14:34:04 schublade kernel: i915 0000:0c:00.0: [drm] Can't resize LMEM BAR - platform support is missing Jan 08 14:34:04 schublade kernel: i915 0000:0c:00.0: [drm] Local memory IO size: 0x0000000010000000 Jan 08 14:34:04 schublade kernel: i915 0000:0c:00.0: [drm] Local memory available: 0x000000017c800000 Jan 08 14:34:04 schublade kernel: i915 0000:0c:00.0: [drm] Using a reduced BAR size of 256MiB. Consider enabling 'Resizable BAR' or similar, if available in the BIOS. Jan 08 14:34:04 schublade kernel: i915 0000:0c:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=none Jan 08 14:34:04 schublade kernel: i915 0000:0c:00.0: [drm] Finished loading DMC firmware i915/dg2_dmc_ver2_08.bin (v2.8) Jan 08 14:34:04 schublade kernel: i915 0000:0c:00.0: [drm] GT0: GuC firmware i915/dg2_guc_70.bin version 70.8.0 Jan 08 14:34:04 schublade kernel: i915 0000:0c:00.0: [drm] GT0: HuC firmware i915/dg2_huc_gsc.bin version 7.10.3 Jan 08 14:34:04 schublade kernel: i915 0000:0c:00.0: [drm] GT0: GUC: submission enabled Jan 08 14:34:04 schublade kernel: i915 0000:0c:00.0: [drm] GT0: GUC: SLPC enabled Jan 08 14:34:04 schublade kernel: i915 0000:0c:00.0: [drm] GT0: GUC: RC enabled Jan 08 14:34:04 schublade kernel: [drm] Initialized i915 1.6.0 20201103 for 0000:0c:00.0 on minor 0 Jan 08 14:34:04 schublade kernel: fbcon: i915drmfb (fb0) is primary device Jan 08 14:34:04 schublade kernel: i915 0000:0c:00.0: [drm] fb0: i915drmfb frame buffer device Jan 08 14:34:05 schublade kernel: mei_gsc i915.mei-gscfi.3072: FW not ready: resetting: dev_state = 2 pxp = 0 Jan 08 14:34:05 schublade kernel: mei_gsc i915.mei-gscfi.3072: unexpected reset: dev_state = ENABLED fw status = 00000345 84670000 00000000 00000000 E0020002 00000000 Jan 08 14:34:05 schublade kernel: mei_gsc i915.mei-gsc.3072: FW not ready: resetting: dev_state = 2 pxp = 2 Jan 08 14:34:05 schublade kernel: mei_gsc i915.mei-gsc.3072: unexpected reset: dev_state = ENABLED fw status = 00000345 84670000 00000000 00000000 E0020002 00000000 Jan 08 14:34:05 schublade kernel: snd_hda_intel 0000:0d:00.0: bound 0000:0c:00.0 (ops i915_audio_component_bind_ops [i915]) Jan 08 14:34:05 schublade kernel: i915 0000:0c:00.0: [drm] GT0: HuC: authenticated for all workloads Jan 08 14:34:05 schublade kernel: mei_pxp i915.mei-gsc.3072-fbf6fcf1-96cf-4e2e-a6a6-1bab8cbe36b1: bound 0000:0c:00.0 (ops i915_pxp_tee_component_ops [i915]) ``` I was able to "fix" it by configuring a soft dependency for the zfs module: 1. Create File '/etc/modprobe.d/i915_before_zfs.conf' 2. Add content: "softdep zfs pre: i915" 3. Reboot 4. Profit. Obviously this is not a permanent solution, but forces the i915 driver to load before the zfs module breaks it. Here is the log output after the above mentioned "fix": ``` Jan 08 14:57:37 schublade kernel: i915 0000:0c:00.0: [drm] VT-d active for gfx access Jan 08 14:57:37 schublade kernel: i915 0000:0c:00.0: vgaarb: deactivate vga console Jan 08 14:57:37 schublade kernel: i915 0000:0c:00.0: [drm] Can't resize LMEM BAR - platform support is missing Jan 08 14:57:37 schublade kernel: i915 0000:0c:00.0: [drm] Local memory IO size: 0x0000000010000000 Jan 08 14:57:37 schublade kernel: i915 0000:0c:00.0: [drm] Local memory available: 0x000000017c800000 Jan 08 14:57:37 schublade kernel: i915 0000:0c:00.0: [drm] Using a reduced BAR size of 256MiB. Consider enabling 'Resizable BAR' or similar, if available in the BIOS. Jan 08 14:57:37 schublade kernel: i915 0000:0c:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=none Jan 08 14:57:37 schublade kernel: i915 0000:0c:00.0: [drm] Finished loading DMC firmware i915/dg2_dmc_ver2_08.bin (v2.8) Jan 08 14:57:37 schublade kernel: i915 0000:0c:00.0: [drm] GT0: GuC firmware i915/dg2_guc_70.bin version 70.8.0 Jan 08 14:57:37 schublade kernel: i915 0000:0c:00.0: [drm] GT0: HuC firmware i915/dg2_huc_gsc.bin version 7.10.3 Jan 08 14:57:37 schublade kernel: i915 0000:0c:00.0: [drm] GT0: GUC: submission enabled Jan 08 14:57:37 schublade kernel: i915 0000:0c:00.0: [drm] GT0: GUC: SLPC enabled Jan 08 14:57:37 schublade kernel: i915 0000:0c:00.0: [drm] GT0: GUC: RC enabled Jan 08 14:57:37 schublade kernel: [drm] Initialized i915 1.6.0 20201103 for 0000:0c:00.0 on minor 0 Jan 08 14:57:37 schublade kernel: fbcon: i915drmfb (fb0) is primary device Jan 08 14:57:37 schublade kernel: i915 0000:0c:00.0: [drm] fb0: i915drmfb frame buffer device Jan 08 14:57:39 schublade kernel: mei_gsc i915.mei-gscfi.3072: FW not ready: resetting: dev_state = 2 pxp = 0 Jan 08 14:57:39 schublade kernel: mei_gsc i915.mei-gscfi.3072: unexpected reset: dev_state = ENABLED fw status = 00000345 84670000 00000000 00000000 E0020002 00000000 Jan 08 14:57:39 schublade kernel: mei_gsc i915.mei-gsc.3072: FW not ready: resetting: dev_state = 2 pxp = 2 Jan 08 14:57:39 schublade kernel: mei_gsc i915.mei-gsc.3072: unexpected reset: dev_state = ENABLED fw status = 00000345 84670000 00000000 00000000 E0020002 00000000 Jan 08 14:57:39 schublade kernel: snd_hda_intel 0000:0d:00.0: bound 0000:0c:00.0 (ops i915_audio_component_bind_ops [i915]) Jan 08 14:57:39 schublade kernel: i915 0000:0c:00.0: [drm] GT0: HuC: authenticated for all workloads ``` ** Affects: linux-firmware (Ubuntu) Importance: Undecided Status: Confirmed ** Tags: a380 dg2 i915 intelarc jellyfin openzfs zfs -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-firmware in Ubuntu. https://bugs.launchpad.net/bugs/2048679 Title: ARC GPU declared wedged when zfs Kernel Module is loaded Status in linux-firmware package in Ubuntu: Confirmed Bug description: OS: Ubuntu Server 23.10.1 Filesystem: OpenZFS, latest version from Ubuntu Repo GPU: Intel ARC A380, Codename DG2 i915 driver for ARC GPU fails to load if the "zfs" module is loaded first during boot. I noticed this by installing the package "zfsutils-linux" and rebooting the server. Hardware acceleration in Jellyfin stopped working and "vainfo" command failed. See the following journalctl output: ``` Jan 08 14:34:04 schublade kernel: i915 0000:0c:00.0: [drm] VT-d active for gfx access Jan 08 14:34:04 schublade kernel: i915 0000:0c:00.0: vgaarb: deactivate vga console Jan 08 14:34:04 schublade kernel: i915 0000:0c:00.0: [drm] Can't resize LMEM BAR - platform support is missing Jan 08 14:34:04 schublade kernel: i915 0000:0c:00.0: [drm] Local memory IO size: 0x0000000010000000 Jan 08 14:34:04 schublade kernel: i915 0000:0c:00.0: [drm] Local memory available: 0x000000017c800000 Jan 08 14:34:04 schublade kernel: i915 0000:0c:00.0: [drm] Using a reduced BAR size of 256MiB. Consider enabling 'Resizable BAR' or similar, if available in the BIOS. Jan 08 14:34:04 schublade kernel: i915 0000:0c:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=none Jan 08 14:34:04 schublade kernel: i915 0000:0c:00.0: [drm] Finished loading DMC firmware i915/dg2_dmc_ver2_08.bin (v2.8) Jan 08 14:34:04 schublade kernel: i915 0000:0c:00.0: [drm] GT0: GuC firmware i915/dg2_guc_70.bin version 70.8.0 Jan 08 14:34:04 schublade kernel: i915 0000:0c:00.0: [drm] GT0: HuC firmware i915/dg2_huc_gsc.bin version 7.10.3 Jan 08 14:34:04 schublade kernel: i915 0000:0c:00.0: [drm] GT0: GUC: submission enabled Jan 08 14:34:04 schublade kernel: i915 0000:0c:00.0: [drm] GT0: GUC: SLPC enabled Jan 08 14:34:04 schublade kernel: i915 0000:0c:00.0: [drm] GT0: GUC: RC enabled Jan 08 14:34:04 schublade kernel: [drm] Initialized i915 1.6.0 20201103 for 0000:0c:00.0 on minor 0 Jan 08 14:34:04 schublade kernel: fbcon: i915drmfb (fb0) is primary device Jan 08 14:34:04 schublade kernel: i915 0000:0c:00.0: [drm] fb0: i915drmfb frame buffer device Jan 08 14:34:05 schublade kernel: mei_gsc i915.mei-gscfi.3072: FW not ready: resetting: dev_state = 2 pxp = 0 Jan 08 14:34:05 schublade kernel: mei_gsc i915.mei-gscfi.3072: unexpected reset: dev_state = ENABLED fw status = 00000345 84670000 00000000 00000000 E0020002 00000000 Jan 08 14:34:05 schublade kernel: mei_gsc i915.mei-gsc.3072: FW not ready: resetting: dev_state = 2 pxp = 2 Jan 08 14:34:05 schublade kernel: mei_gsc i915.mei-gsc.3072: unexpected reset: dev_state = ENABLED fw status = 00000345 84670000 00000000 00000000 E0020002 00000000 Jan 08 14:34:05 schublade kernel: snd_hda_intel 0000:0d:00.0: bound 0000:0c:00.0 (ops i915_audio_component_bind_ops [i915]) Jan 08 14:34:05 schublade kernel: i915 0000:0c:00.0: [drm] GT0: HuC: authenticated for all workloads Jan 08 14:34:05 schublade kernel: mei_pxp i915.mei-gsc.3072-fbf6fcf1-96cf-4e2e-a6a6-1bab8cbe36b1: bound 0000:0c:00.0 (ops i915_pxp_tee_component_ops [i915]) ``` I was able to "fix" it by configuring a soft dependency for the zfs module: 1. Create File '/etc/modprobe.d/i915_before_zfs.conf' 2. Add content: "softdep zfs pre: i915" 3. Reboot 4. Profit. Obviously this is not a permanent solution, but forces the i915 driver to load before the zfs module breaks it. Here is the log output after the above mentioned "fix": ``` Jan 08 14:57:37 schublade kernel: i915 0000:0c:00.0: [drm] VT-d active for gfx access Jan 08 14:57:37 schublade kernel: i915 0000:0c:00.0: vgaarb: deactivate vga console Jan 08 14:57:37 schublade kernel: i915 0000:0c:00.0: [drm] Can't resize LMEM BAR - platform support is missing Jan 08 14:57:37 schublade kernel: i915 0000:0c:00.0: [drm] Local memory IO size: 0x0000000010000000 Jan 08 14:57:37 schublade kernel: i915 0000:0c:00.0: [drm] Local memory available: 0x000000017c800000 Jan 08 14:57:37 schublade kernel: i915 0000:0c:00.0: [drm] Using a reduced BAR size of 256MiB. Consider enabling 'Resizable BAR' or similar, if available in the BIOS. Jan 08 14:57:37 schublade kernel: i915 0000:0c:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=none Jan 08 14:57:37 schublade kernel: i915 0000:0c:00.0: [drm] Finished loading DMC firmware i915/dg2_dmc_ver2_08.bin (v2.8) Jan 08 14:57:37 schublade kernel: i915 0000:0c:00.0: [drm] GT0: GuC firmware i915/dg2_guc_70.bin version 70.8.0 Jan 08 14:57:37 schublade kernel: i915 0000:0c:00.0: [drm] GT0: HuC firmware i915/dg2_huc_gsc.bin version 7.10.3 Jan 08 14:57:37 schublade kernel: i915 0000:0c:00.0: [drm] GT0: GUC: submission enabled Jan 08 14:57:37 schublade kernel: i915 0000:0c:00.0: [drm] GT0: GUC: SLPC enabled Jan 08 14:57:37 schublade kernel: i915 0000:0c:00.0: [drm] GT0: GUC: RC enabled Jan 08 14:57:37 schublade kernel: [drm] Initialized i915 1.6.0 20201103 for 0000:0c:00.0 on minor 0 Jan 08 14:57:37 schublade kernel: fbcon: i915drmfb (fb0) is primary device Jan 08 14:57:37 schublade kernel: i915 0000:0c:00.0: [drm] fb0: i915drmfb frame buffer device Jan 08 14:57:39 schublade kernel: mei_gsc i915.mei-gscfi.3072: FW not ready: resetting: dev_state = 2 pxp = 0 Jan 08 14:57:39 schublade kernel: mei_gsc i915.mei-gscfi.3072: unexpected reset: dev_state = ENABLED fw status = 00000345 84670000 00000000 00000000 E0020002 00000000 Jan 08 14:57:39 schublade kernel: mei_gsc i915.mei-gsc.3072: FW not ready: resetting: dev_state = 2 pxp = 2 Jan 08 14:57:39 schublade kernel: mei_gsc i915.mei-gsc.3072: unexpected reset: dev_state = ENABLED fw status = 00000345 84670000 00000000 00000000 E0020002 00000000 Jan 08 14:57:39 schublade kernel: snd_hda_intel 0000:0d:00.0: bound 0000:0c:00.0 (ops i915_audio_component_bind_ops [i915]) Jan 08 14:57:39 schublade kernel: i915 0000:0c:00.0: [drm] GT0: HuC: authenticated for all workloads ``` To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/2048679/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp