OpenCore doesn't show anything on my HP 510-p007l

I have a desktop PC (Hp pavilion desktop 510-p007l) which i would like to install macOS on. Its specs: Pentium G4400T, 8GB DDR4 2133MHz and a Gigabyte GTX 1050 2GB

I made an EFI using OpenCore 0.7.0 and also made a macOS High Sierra installer (Pascal GPUs don't work on Mojave and newer) and i couldn't get the machine to boot. The display turned on but without anything, just pitch black. I tried deleting the config.plist and OpenCore still shows OC: error that config.plist was not found but when i put the valid config.plist back in it just shows the black screen again (I also tried with Opencanopy and theme). Any help? (I also tried on the iGPU - the HD 510 and also tried older versions of OC but still no help)

And yes the iGPU will be disabled when a dGPU is detected on HP pavilion desktop

submitted by /u/qtpctechhxd
[link] [comments]