Skip to content

Commit

Permalink
feat: add i915 microcode
Browse files Browse the repository at this point in the history
Adds the microcode for the Graphics microcontroller (GuC) and H265/HEVC
microcontroller (HuC). These binaries are required in order to enable
low-power encoding, which is required for hardware transcoding on 9th
and 11th generation Intel GPUs. More details are available here:

https://jellyfin.org/docs/general/administration/hardware-acceleration/#intel-gen9-and-gen11-igpus

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
Signed-off-by: Brandon McNama <brandonmcnama@outlook.com>
  • Loading branch information
DWSR authored and smira committed Feb 6, 2023
1 parent b378a46 commit 1d9465c
Show file tree
Hide file tree
Showing 6 changed files with 60 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .conform.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
policies:
- type: commit
spec:
dco: true
gpg:
required: true
identity:
gitHubOrganization: siderolabs
spellcheck:
locale: US
maximumOfOneCommit: true
header:
length: 89
imperative: true
case: lower
invalidLastCharacters: .
body:
required: true
conventional:
types:
- chore
- docs
- perf
- refactor
- test
- release
scopes:
- .*
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ TARGETS = \
gasket-driver \
gvisor \
hello-world-service \
i915-ucode \
intel-ucode \
iscsi-tools \
nut-client \
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ All system extensions provided by Sidero Labs can be found in the [ghcr.io regis
| Name | Image | Description | Version Format |
| ------------------------------------ | ----------------------------------------------------------------------------------------------------- | --------------------------- | ------------------------ |
| [amd-ucode](firmware/amd-ucode/) | [ghcr.io/siderolabs/amd-ucode](https://github.com/siderolabs/extensions/pkgs/container/amd-ucode) | AMD CPU microcode updates | `linux firmware version` |
| [i915-ucode](firmware/i915-ucode/) | [ghcr.io/siderolabs/amd-ucode](https://github.com/siderolabs/extensions/pkgs/container/i915-ucode) | Intel GPU firmware | `linux firmware version` |
| [bnx2-bnx2x](firmware/bnx2-bnx2x/) | [ghcr.io/siderolabs/bnx2-bnx2x](https://github.com/siderolabs/extensions/pkgs/container/bnx2-bnx2x) | Broadcom NetXtreme firmware | `linux firmware version` |
| [intel-ucode](firmware/intel-ucode/) | [ghcr.io/siderolabs/intel-ucode](https://github.com/siderolabs/extensions/pkgs/container/intel-ucode) | Intel CPU microcode updates | `upstream version` |

Expand Down
10 changes: 10 additions & 0 deletions firmware/i915-ucode/manifest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: v1alpha1
metadata:
name: i915-ucode
version: "$VERSION"
author: Sidero Labs
description: |
This system extension provides Intel GPU microcode binaries.
compatibility:
talos:
version: ">= v1.0.0"
19 changes: 19 additions & 0 deletions firmware/i915-ucode/pkg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: i915-ucode
variant: scratch
shell: /toolchain/bin/bash
dependencies:
- stage: base
- image: "{{ .PKGS_PREFIX }}/linux-firmware:{{ .PKGS_VERSION }}"
steps:
- prepare:
- |
sed -i 's#$VERSION#{{ .VERSION }}#' /pkg/manifest.yaml
install:
- |
mkdir -p /rootfs/lib/firmware
cp -R -p /lib/firmware/i915 /rootfs/lib/firmware
finalize:
- from: /rootfs
to: /rootfs
- from: /pkg/manifest.yaml
to: /
1 change: 1 addition & 0 deletions firmware/i915-ucode/vars.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VERSION: "{{ .LINUX_FIRMWARE_VERSION }}"

0 comments on commit 1d9465c

Please sign in to comment.