2024-08-27, 07:21 AM
I tried playback with i915.enable_guc=3 and without it in the kernel parameters. Both ways gave me "Playback failed due to a fatal player error".
With i915.enable_guc=3
Without guc.
The transcode fails with:
Pastebin: https://pastebin.com/a0Bc5y7M
I figure maybe it's easier to try to configure hardware acceleration without i915.enable_guc=3 since I don't really need Low-Power Encoding... yet.
With i915.enable_guc=3
Code:
$ sudo dmesg | grep i915
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-6.9.7+bpo-amd64 root=UUID=d32981a3-b49d-424c-aa78-ea43b2daa336 ro quiet i915.enable_guc=3
[ 0.017292] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.9.7+bpo-amd64 root=UUID=d32981a3-b49d-424c-aa78-ea43b2daa336 ro quiet i915.enable_guc=3
[ 2.896045] i915 0000:03:00.0: [drm] VT-d active for gfx access
[ 2.896222] i915 0000:03:00.0: vgaarb: deactivate vga console
[ 2.896230] i915 0000:03:00.0: [drm] Can't resize LMEM BAR - platform support is missing
[ 2.896240] i915 0000:03:00.0: [drm] Using a reduced BAR size of 256MiB. Consider enabling 'Resizable BAR' or similar, if available in the BIOS.
[ 2.912825] i915 0000:03:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[ 2.916213] i915 0000:03:00.0: [drm] Finished loading DMC firmware i915/dg2_dmc_ver2_08.bin (v2.8)
[ 3.170277] i915 0000:03:00.0: [drm] GT0: GuC firmware i915/dg2_guc_70.bin (70.12.1) is recommended, but only i915/dg2_guc_70.bin (70.5.1) was found
[ 3.170282] i915 0000:03:00.0: [drm] GT0: Consider updating your linux-firmware pkg or downloading from https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915
[ 3.170677] i915 0000:03:00.0: firmware: failed to load i915/dg2_huc_gsc.bin (-2)
[ 3.170761] i915 0000:03:00.0: firmware: failed to load i915/dg2_huc_gsc.bin (-2)
[ 3.170763] i915 0000:03:00.0: [drm] *ERROR* GT0: HuC firmware i915/dg2_huc_gsc.bin: fetch failed -ENOENT
[ 3.170769] i915 0000:03:00.0: [drm] GT0: HuC firmware(s) can be downloaded from https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915
[ 3.174841] i915 0000:03:00.0: [drm] GT0: GuC firmware i915/dg2_guc_70.bin version 70.5.1
[ 3.188274] i915 0000:03:00.0: [drm] GT0: GUC: submission enabled
[ 3.188279] i915 0000:03:00.0: [drm] GT0: GUC: SLPC enabled
[ 3.188533] i915 0000:03:00.0: [drm] GT0: GUC: RC enabled
[ 3.225835] [drm] Initialized i915 1.6.0 20230929 for 0000:03:00.0 on minor 0
[ 3.272471] i915 0000:03:00.0: [drm] Cannot find any crtc or sizes
[ 3.272588] snd_hda_intel 0000:04:00.0: bound 0000:03:00.0 (ops i915_audio_component_bind_ops [i915])
[ 3.288076] mei i915.mei-gscfi.768-46e0c1fb-a546-414f-9170-b7f46d57b4ad: Could not read FW version ret = -19
[ 3.288080] mei i915.mei-gscfi.768-46e0c1fb-a546-414f-9170-b7f46d57b4ad: FW version command failed -5
[ 3.296478] i915 0000:03:00.0: [drm] Cannot find any crtc or sizes
Without guc.
Code:
$ sudo dmesg | grep i915
[ 2.609512] i915 0000:03:00.0: [drm] VT-d active for gfx access
[ 2.616628] i915 0000:03:00.0: vgaarb: deactivate vga console
[ 2.616927] i915 0000:03:00.0: [drm] Can't resize LMEM BAR - platform support is missing
[ 2.616939] i915 0000:03:00.0: [drm] Using a reduced BAR size of 256MiB. Consider enabling 'Resizable BAR' or similar, if available in the BIOS.
[ 2.632133] i915 0000:03:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[ 2.635220] i915 0000:03:00.0: [drm] Finished loading DMC firmware i915/dg2_dmc_ver2_08.bin (v2.8)
[ 2.890739] i915 0000:03:00.0: [drm] GT0: GuC firmware i915/dg2_guc_70.bin (70.12.1) is recommended, but only i915/dg2_guc_70.bin (70.5.1) was found
[ 2.890744] i915 0000:03:00.0: [drm] GT0: Consider updating your linux-firmware pkg or downloading from https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915
[ 2.891139] i915 0000:03:00.0: firmware: failed to load i915/dg2_huc_gsc.bin (-2)
[ 2.891223] i915 0000:03:00.0: firmware: failed to load i915/dg2_huc_gsc.bin (-2)
[ 2.891225] i915 0000:03:00.0: [drm] *ERROR* GT0: HuC firmware i915/dg2_huc_gsc.bin: fetch failed -ENOENT
[ 2.891232] i915 0000:03:00.0: [drm] GT0: HuC firmware(s) can be downloaded from https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915
[ 2.895164] i915 0000:03:00.0: [drm] GT0: GuC firmware i915/dg2_guc_70.bin version 70.5.1
[ 2.907766] i915 0000:03:00.0: [drm] GT0: GUC: submission enabled
[ 2.907769] i915 0000:03:00.0: [drm] GT0: GUC: SLPC enabled
[ 2.908008] i915 0000:03:00.0: [drm] GT0: GUC: RC enabled
[ 2.945846] [drm] Initialized i915 1.6.0 20230929 for 0000:03:00.0 on minor 0
[ 2.968522] i915 0000:03:00.0: [drm] Cannot find any crtc or sizes
[ 2.979634] mei_gsc i915.mei-gscfi.768: cl:host=01 me=33 fw disconnect request received
[ 2.979663] mei i915.mei-gscfi.768-e2c2afa2-3817-4d19-9d95-06b16b588a5d: Could not read FW version ret = -19
[ 2.979664] mei i915.mei-gscfi.768-e2c2afa2-3817-4d19-9d95-06b16b588a5d: FW version command failed -5
[ 2.982840] mei i915.mei-gscfi.768-46e0c1fb-a546-414f-9170-b7f46d57b4ad: Could not read FW version ret = -19
[ 2.982842] mei i915.mei-gscfi.768-46e0c1fb-a546-414f-9170-b7f46d57b4ad: FW version command failed -5
[ 2.992516] i915 0000:03:00.0: [drm] Cannot find any crtc or sizes
[ 3.016511] snd_hda_intel 0000:04:00.0: bound 0000:03:00.0 (ops i915_audio_component_bind_ops [i915])
[ 3.040456] i915 0000:03:00.0: [drm] Cannot find any crtc or sizes
The transcode fails with:
Code:
[av1_vaapi @ 0x55be95d2ec80] Failed to map output buffers: 24 (internal encoding error).
[av1_vaapi @ 0x55be95d2ec80] Output failed: -5.
[vost#0:0/av1_vaapi @ 0x55be95d3bec0] Error submitting video frame to the encoder
Pastebin: https://pastebin.com/a0Bc5y7M
I figure maybe it's easier to try to configure hardware acceleration without i915.enable_guc=3 since I don't really need Low-Power Encoding... yet.