Games have started blocking entering hibernation mode

Hi all, I have a desktop pc running 7800x3d and 7900xtx. Recently games have started blocking entering hibernation mode. It's getting ridiculous: after 20 minutes of closing the game, the computer immediately goes into hibernation mode. How to fix it?

Games in which this happens:
metaphor re:fantazio (no problems a week ago)
dead space remake

The only things I've done to the system are trying to change screen jitter settings, pinging the video card voltages, and creating distroboxes. However, I did all that a long time ago
Solution
addon Pause Game solved the problem
Was this page helpful?