Ubuntu 20.04 – Run monitors only IGFX and OC Nvidia GPU without offloading

I would like to run my two monitors in the Intel HD card and run the mining software in the GPU, with OC.

However Ubuntu 20.04 offload the video to the Nvidia card by default, when running the mining software my display freezes from time to time due to the load.

I can successfully avoid this by following some instructions to run the kernel with nogpumanager and adding just the intel driver in xorg.conf

That works great EXCEPT that I can’t OC the card any more, as PowerMizer becomes unusable.

Any tips on how to configure this setup? thank you

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 630 (rev 04)
01:00.0 VGA compatible controller: NVIDIA Corporation Device 2486 (rev a1)
01:00.1 Audio device: NVIDIA Corporation Device 228b (rev a1)