Display freezes on switch to iGPU (Advanced Optimus)

My PC freezes almost everytime Advanced Optimus switches back to Intel İris Xe Graphics. The whole system freezes, as opposed to screen-only, as it seems irresponsive to spamming any combination of alt+f4 and enter commands.

I have suspicion it might be because of Iris XE Graphics my system is using: The stock build had a single channel RAM and naturally weren't using Iris XE graphics. But I added another stick to make it dual channel and it also switched to Iris as a result. Is it possible that Iris has some untested instabilities during GPU switching, and it wasn't tested by Acer because the stock PC didn't use Iris?

Additionally, I read that Asus ROG's also had a similar issue and that it was fixed with a driver update from Nvidia. So, is this also a driver fault then? Do you guys have this problem too, please write.

PC Specs:

Acer Nitro 16 an16-51

4050

i5 13500H

16x2 User installed RAM

P.S. in case you're confused, Iris XE Graphics are used instead of UHD Graphics when there's dual channel ram installed in the system.

Also, there are no other instabilities in the system.

Edit: format