I have encountered a weird issue. My game is dropping frames (from 60fps to 55 to 60 to 50 and so on) with visible micro stutters.
The thing is, it is only occuring if I have running Netflix on my second screen at the same time.
It does not make a difference if there are 100 animated objects on the screen additionally or not. As soon as I close the browser tab with the video the stuttering is gone. Tested with Google Chrome and MS Edge.
Is MonoGame (an OpenGL project in my case) and the browser using the same ressources somewhere maybe?
GPU is a GTX 1070, and I can play any AAA game during Netflix. There is basically no load on the harware, so I guess it must be some software issue? No?
Browsers use Hardware Acceleration (for video decoding), so they are using your GPU.
You can turn that off in Browser Options or - maybe - send their workload to the internal GPU instead (if you have one)
(well, I donāt know, why itās not noticeable with AAA games ⦠maybe they use triple buffering or some other techniques to āhideā the stutter)
I donāt think there is an easy solution to this - if you search the internet youāll find the same issue with many other games (including Unity games). There may be advanced techniques to overcome the framedrop (adaptive FPS, triple buffering) but in the end youāre still sharing the resources of the GPU with the netflix stream decoding. You canāt stop it from doing so inside your game
Also be aware that nowadays there are some AAA games which were developed Console-First and therefore run at 30 FPS (gamers dislike that fact but itās less prone to framedrop)