2024-08-27, 03:11 PM
(This post was last modified: 2024-08-27, 05:10 PM by iif2fo. Edited 1 time in total.)
Huh, I just noticed I installed "firmware-misc-nonfree" previously. I have not
installed "firmware-linux-nonfree", as per the LE instructions.
https://jellyfin.org/docs/general/admini...e-on-linux
I tried that first.
Then I added i915.enable_guc=3 back in my kernel parameters in /etc/default/grub.
and then
Still got the message about the old GuC firmware.
I wasn't sure if firmware-misc-nonfree or firmware-linux-nonfree installed i915
firmware. I didn't want to overwrite the files when I did the git clone later.
This dpkg command gives me an empty result, so I think I'm ok on that front.
Next, I downloaded the firmware.
Since I already had a /usr/lib/firmware/i915 directory, I decided to back that
up first because I noticed the new firmware files are different from my
existing files.
Next I ran
Cool, output looks good.
I found the guc and huc info files!
I went to the dashboard transcoding page, /dashboard/playback/transcoding.
And enabled these Hardware encoding options
And now playback works! 🙌 Huzzah! Thanks, TheDreadPirate and nyanmisaka!
installed "firmware-linux-nonfree", as per the LE instructions.
https://jellyfin.org/docs/general/admini...e-on-linux
I tried that first.
Code:
sudo apt install firmware-linux-nonfree
Then I added i915.enable_guc=3 back in my kernel parameters in /etc/default/grub.
Code:
GRUB_CMDLINE_LINUX_DEFAULT="quiet i915.enable_guc=3"
sudo update-grub
and rebooted.Still got the message about the old GuC firmware.
I wasn't sure if firmware-misc-nonfree or firmware-linux-nonfree installed i915
firmware. I didn't want to overwrite the files when I did the git clone later.
This dpkg command gives me an empty result, so I think I'm ok on that front.
Code:
$ dpkg -L firmware-misc-nonfree | grep "/usr/lib/firmware"
$ dpkg -L firmware-linux-nonfree | grep "/usr/lib/firmware"
Next, I downloaded the firmware.
Code:
git clone --depth=1 git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
Since I already had a /usr/lib/firmware/i915 directory, I decided to back that
up first because I noticed the new firmware files are different from my
existing files.
Code:
# backup current
sudo cp -r /usr/lib/firmware/i915/ ./i915-bak
# delete current
sudo rm -rf /usr/lib/firmware/i915/
# install new
sudo cp -r linux-firmware/i915/ /usr/lib/firmware/
Next I ran
Code:
sudo update-initramfs -u
sudo update-grub
sudo reboot
Cool, output looks good.
Code:
$ grep "i915" dmesg-07-47.txt
[ 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.017325] 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.610689] i915 0000:03:00.0: [drm] VT-d active for gfx access
[ 2.610855] i915 0000:03:00.0: vgaarb: deactivate vga console
[ 2.610863] i915 0000:03:00.0: [drm] Can't resize LMEM BAR - platform support is missing
[ 2.610874] 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.625674] i915 0000:03:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[ 2.628553] i915 0000:03:00.0: [drm] Finished loading DMC firmware i915/dg2_dmc_ver2_08.bin (v2.8)
[ 2.894668] i915 0000:03:00.0: [drm] GT0: GuC firmware i915/dg2_guc_70.bin version 70.29.2
[ 2.894672] i915 0000:03:00.0: [drm] GT0: HuC firmware i915/dg2_huc_gsc.bin version 7.10.16
[ 2.903743] i915 0000:03:00.0: [drm] GT0: GUC: submission enabled
[ 2.903757] i915 0000:03:00.0: [drm] GT0: GUC: SLPC enabled
[ 2.903963] i915 0000:03:00.0: [drm] GT0: GUC: RC enabled
[ 2.941522] [drm] Initialized i915 1.6.0 20230929 for 0000:03:00.0 on minor 0
[ 2.988526] i915 0000:03:00.0: [drm] Cannot find any crtc or sizes
[ 2.988570] snd_hda_intel 0000:04:00.0: bound 0000:03:00.0 (ops i915_audio_component_bind_ops [i915])
[ 3.004904] mei i915.mei-gscfi.768-46e0c1fb-a546-414f-9170-b7f46d57b4ad: Could not read FW version ret = -19
[ 3.004907] mei i915.mei-gscfi.768-46e0c1fb-a546-414f-9170-b7f46d57b4ad: FW version command failed -5
[ 3.016486] i915 0000:03:00.0: [drm] Cannot find any crtc or sizes
[ 3.684665] i915 0000:03:00.0: [drm] GT0: HuC: authenticated for all workloads
[ 3.684671] mei_pxp i915.mei-gsc.768-fbf6fcf1-96cf-4e2e-a6a6-1bab8cbe36b1: bound 0000:03:00.0 (ops i915_pxp_tee_component_ops [i915])
I found the guc and huc info files!
Code:
sudo ls /sys/kernel/debug/dri/0000:03:00.0/gt0/uc/guc_info
sudo ls /sys/kernel/debug/dri/0000:03:00.0/gt0/uc/huc_info
I went to the dashboard transcoding page, /dashboard/playback/transcoding.
And enabled these Hardware encoding options
Code:
Enable hardware encoding
Enable Intel Low-Power H.264 hardware encoder
Enable Intel Low-Power HEVC hardware encoder
And now playback works! 🙌 Huzzah! Thanks, TheDreadPirate and nyanmisaka!