Lettng me know what kind of budget you have for the upgrade would be a plus.
You will need a card that supports legacy BIOS.
Sapphiretechnology makes cards that support legacy and EFI BIOS.
A card such as the Sapphire Radeon Dual-X R7 2G D5 would work. A Sapphire Tri-X Radeon R9 390X 8G will as well.There are others, but the card you select as a candidate has to have legacy BIOS support .
A card with only EFI support will not boot with your motherboard. GeForce GTX 10xx series cards have only EFI BIOS support.
You will also need to upgrade your ATX PSU to one with 400W or more capacity and PCIe power connectors. I suggest usng a modular style PSU, perhaps a Corsair Builder PSU like the one in the link at NewEgg.com

I am not an HP Employee.
Don't forget to
click on Accept as Solution if my post or reply helped you resolve your issue.
You can say thanks by giving me a
Kudo if my reply helped. To give a Kudo just click on the
For laptops or desktop PCs, use the Fn+Esc keystroke while logged into Windows to locate the Product number (SKU)