-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Desktops
- Desktop Hardware and Upgrade Questions
- HP Z6 G5A + NVIDIA RTX 5090 + Linux black screen

Create an account on the HP Community to personalize your profile and ask a question
04-04-2025 04:20 PM - edited 04-04-2025 04:28 PM
Hello everyone,
I'm currently running an HP Z6 G5A with an RTX 5090 and running Ubuntu 24, and it appears there might be a PCIe 5.0 compatibility issue affecting Nvidia Blackwell GPUs (and possibly others with PCIe 5.0). Here’s what I experienced and how I resolved it:
The Issue:
When swapping in the RTX 5090, Windows boots without issue, but Linux (Ubuntu 24 or any Linux ISO from a USB stick) hangs during kernel initialization.
Workaround Steps:
1. BIOS Update:
- Update your HP Z6 G5A to the latest BIOS version.
2. Kernel & Drivers:
- Install the latest Linux kernel and drivers (I'm currently on kernel version 6.13.7-061307-generic) along with the latest Nvidia driver from the official website.
3. PCIe Port Configuration:
- Insert the RTX 5090 into a PCIe 5.0 port (tested on both PCIe 1 and PCIe 4).
- In the BIOS, change the maximum speed from Auto to Gen4 and enable BAR resize for that port.
- Save and attempt to boot. It will still hang - this is expected.
4. Reset Process:
- Use Ctrl+Alt+Del to reboot.
- Go back into the BIOS and disable BAR resize.
- Save and try booting again; it should now boot up successfully.
5. Final BIOS Adjustment:
- Once booted, re-enter the BIOS and set the PCIe port back to Gen5. No further BIOS changes are required.
I hope this detailed workaround helps anyone encountering a similar issue.