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?
iGPU? and are you not looking at Task Manager for resources?
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?
Are you on Windows 8? you need to update your OS, not seen Task Manager like that for some months now…
Is your app a Desktop App?
Try running it as a DirectX app and see if it still happens…
Also, what CPU have you got?
It’s the default Win10 task manager ^^
CPU is i7 4790k
Its a OpenGL Project (MonoGame Cross Platform Desktop Project to be precise)
Tested it with DirectX. Same issue.
I have the same problem. 4790k 16gb ram and 1070. The game can be running at 600fps and with netflix open every second or so get major frame stutters.
Closing netflix is an instant fix
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)
Is there an “in-engine” solution for that?
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)