Not an expert, but to me it sounds like the issue is that "on demand" uses the iGPU for regular desktop parts and calls for the dGPU when you switch to something requiring more horsepower
The problem with this might be that the execution of this is slow and there's a few seconds between the iGPU switching off and the dGPU switching on
I have no mouth and I must scream