%global nv 610.43.03 %bcond_with dkms Name: gpu-unlock Version: 2.0.0 Release: 1%{?dist} Summary: RTX 3090 BF16 unlock before the NVIDIA driver loads License: GPL-2.0-only BuildArch: noarch Source0: gpu-unlock-%{version}.tar.xz Source1: https://download.nvidia.com/XFree86/NVIDIA-kernel-module-source/NVIDIA-kernel-module-source-%{nv}.tar.xz Source2: https://download.nvidia.com/XFree86/Linux-x86_64/%{nv}/NVIDIA-Linux-x86_64-%{nv}-no-compat32.run BuildRequires: make BuildRequires: python3 BuildRequires: zstd %description Kernel module that unlocks RTX 3090 BF16 throughput before the unmodified NVIDIA driver binds, opted in on the kernel command line. %if %{with dkms} %package dkms Summary: RTX 3090 BF16 unlock kernel source Requires: dkms Requires(post): dkms Requires(preun): dkms Requires: gpu-unlock-firmware = %{version}-%{release} %description dkms DKMS source for gpu_unlock, loaded ahead of nvidia on every boot. It does nothing unless gpu_unlock.targets= is on the kernel command line. %endif %package firmware Summary: Locally generated pinned NVIDIA firmware for GPU unlock License: LicenseRef-NVIDIA AND GPL-2.0-only %description firmware Firmware assets generated locally from verified upstream inputs. %prep sha256sum -c - </dev/null && ! grep -qs '^post_transaction=.*dracut' /etc/dkms/framework.conf \ /etc/dkms/framework.conf.d/*.conf; then for d in /lib/modules/*/; do k=${d%/}; k=${k##*/} modinfo -k "$k" gpu_unlock >/dev/null 2>&1 && dracut --force --kver "$k" || : done fi %postun dkms if [ "$1" -eq 0 ]; then # A kernel package's weak-modules run can still have linked another # kernel's build into its weak-updates; such a link now dangles and # makes dracut fail for that kernel. for l in /lib/modules/*/weak-updates/gpu_unlock.ko*; do [ -L "$l" ] || continue rm -f "$l" k=${l%/weak-updates/*}; depmod -a "${k##*/}" || : done # Rebuild every initramfs that still loads the removed module. dkms # remove may already have regenerated them, but only while the dracut # drop-in was still there. if command -v lsinitrd >/dev/null; then for d in /lib/modules/*/; do k=${d%/}; k=${k##*/} lsinitrd --kver "$k" 2>/dev/null | grep -q gpu_unlock && dracut --force --kver "$k" || : done fi fi %endif %changelog * Tue Oct 27 2026 Zagitta - 2.0.0-1 - Add Turing and Ada Lovelace support. * Mon Sep 28 2026 Zagitta - 1.1.0-1 - Initial release.