mirror of
https://github.com/Zagitta/gpu-unlock.git
synced 2026-12-03 19:44:49 +07:00
[GH-ISSUE #284] Boot hang / Black screen on Fedora 44 with Secure Boot (sbctl + UKI + akmods) #260
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Zagitta/gpu-unlock#260
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @a012-alex on GitHub (Nov 1, 2026).
Original GitHub issue: https://github.com/Zagitta/gpu-unlock/issues/284
Result
Unlock failed (error in the log)
Card
NVIDIA GeForce RTX 3060 Lite Hash Rate 12 GB
PCI IDs
VBIOS version
00000000:01:00.0, 94.06.25.00.FC
Is the card modified?
Not sure
Distribution
Fedora Linux 44 (KDE Plasma Desktop Edition)
Kernel
7.2.13-200.fc44.x86_64
NVIDIA driver
615.71.09(Source: terra-nvidia repository)
Initramfs generator
Other or not sure
gpu-unlock version and install method
7eb51bc, Installed viamake install(RPM package).Kernel command line
(At the time of the failing boot)root=UUID=8c3ce378-990a-4e74-8dd9-5f138730c99e ro rootflags=subvol=root rd.luks.uuid=luks-f698ea19-607d-41ad-8464-3b6262f52fde rhgb quiet plymouth.use-simpledrm=1 audit=1 rd.driver.blacklist=nouveau rd.driver.blacklist=nova-core gpu_unlock.targets=all
Setup
My system uses a strict, custom Secure Boot chain managed by
sbctl:sbctl create-keysandsbctl enroll-keys -m.systemd-boot+ UKI. The UKI.efifile is signed bysbctl.akmodsto build and sign out-of-tree modules (NVIDIA, v4l2loopback, VirtualBox) using my customdbkey. This pipeline has been stable for other modules.dracut+ukify(Unified Kernel Image)Configured via
/etc/kernel/install.conf:/usr/lib/dracut/dracut.conf.d/99-nvidia.confwhich omits NVIDIA drivers from the initramfs (omit_drivers+=" nvidia ...").Kernel log
Benchmark before and after
N/A (The system never successfully booted with the unlock active).
Suspend and resume
Not tested
Anything else
The installation process followed the standard
make install->kernel-install add-all->rebootflow.The failure mode was immediate: after selecting the entry in
systemd-boot, the screen went black, no LUKS prompt appeared, and no video signal was sent to the monitor, although the system remained powered on (fans spinning).Critical Context regarding Module Signing:
I was unaware that
gpu-unlockrelies on DKMS for module management. Consequently, I did not configure any DKMS-specific signing config. In my environment, all other out-of-tree modules are strictly built and signed via theakmodspipeline using my custom Secure Bootdbkey.Additionally, my dracut configuration explicitly omits NVIDIA drivers from the initramfs (
omit_drivers+=" nvidia ...").@a012-alex commented on GitHub (Nov 3, 2026):
The computer fails to boot. The console output stops after "Starting dracut-pre-udev.service", and the screen then goes black with no HDMI signal.
@a012-alex commented on GitHub (Nov 3, 2026):
After the screen went black and the HDMI signal was lost, I had to force the computer to shut down using the power button. I then booted into GParted Live via GRUB, chrooted into my Fedora installation, and ran the following command:
journalctl -k -b | grep -i gpu_unlock
However, no logs were returned.
@a012-alex commented on GitHub (Nov 4, 2026):
My system boots fine with the gpu_unlock module loaded, as long as I don't pass gpu_unlock.targets=all in the kernel command line. Adding that parameter prevents booting. Tested without secure boot enabled at this time.