Trouble Booting Linux with Secure Boot and TPM Enabled on RTX 5090

0
4
Asked By TechWhizKid42 On

I'm running Ubuntu with kernel version 6.14 on my dual-boot system alongside Windows. My setup includes an AMD platform and an NVIDIA RTX 5090 with 32 GB of VRAM. Here's the kicker: when both Secure Boot and TPM are enabled, Linux fails to boot. However, if I disable TPM, Linux starts up without a hitch. When TPM is on, I keep getting PCIe BAR allocation errors in the kernel log, such as messages about the inability to assign memory sizes for the GPU. Despite trying various options, including editing grub and boot parameters, I'm stuck. The NVIDIA driver also doesn't initialize at all. I really want to keep TPM enabled for Windows functionality, but I'm not sure what else I can do. Any advice would be greatly appreciated!

4 Answers

Answered By TechGuru88 On

This situation is a tricky one, given your hardware and firmware combo. The errors you're seeing typically stem from conflicts between Secure Boot, TPM, and the NVIDIA driver. The kernel's ability to allocate sufficient memory for your high VRAM GPU is hindered by these security features. It might be worth updating your firmware and exploring newer kernel options. That could potentially resolve the allocation issues you're facing.

Answered By FutureProofDev On

You might want to consider switching to a more up-to-date Linux distro. Newer GPUs, like your RTX 5090, often require special drivers, and using sbctl for secure boot could avoid some of the headaches you're facing with mokutil. Just a thought!

Answered By TheKernelWhisperer On

I think there's a solid chance that the current issues you're encountering are closely tied to the large memory demands of your card combined with Secure Boot and TPM's restrictions. The errors about PCIe BAR allocations suggest the kernel can't find the right memory block for your GPU. Keeping that in mind, check for firmware updates and try out a newer kernel version if you can!

Answered By LinuxLover72 On

Honestly, just disable the Secure Boot and TPM features entirely. It's more trouble than it's worth and can often lead to a ton of issues like what you’re experiencing. Some folks believe it’s all about making it harder for you to use your machine without extra hassles.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.