I recently got a laptop that uses Nvidia Optimus, and one of the things I have noticed is that when I set the browser (any browser: Chrome, Edge...) to be executed via dGPU (in Windows preferences), all goes perfectly fine (using Google Earth web, for example, is way better), but when a webpage contains a video it is way worse than with the iGPU.
When scrolling to videos, or watching them (a Youtube video, for example), it lags, stutters... Also, I noticed that with the browser in dGPU mode, videos are being decoded with de dGPU like it should, so I don't understand what is happening.
This is not only happening in web browser but on other applications too, like when the Spotify app displays a video.
My question: Why is this happening, and is there a way to get rid of this lag without having to disable the use of dGPU on these applications?
Thanks