When you want to use the beefier dGPU call it with DRI_PRIME=1
Special case for steam … dont launch steam itself with prime.
Instead edit each game launch options to be (assuming no other options):
DRI_PRIME=1 %command%
PS.
You have no SWAP. When you reach the limits of your physical RAM the system will lock up.
You have many options for SWAP, but I generally suggest zram these days.
Continuing the discussion from Awful performance since install: