I had similar issues after updating Windows 11 to 24h2.
- Discord would sometimes only update half of it’s window, or simply not update it’s window at all, when scrolling through channels or changing to another
- Games, WoW in particular, would freeze when changing to another window
- Videos would flicker when played in the background
https://nvidia.custhelp.com/app/answers/detail/a_id/5157/~/after-updating-to-nvidia-game-ready-driver-461.09-or-newer%2C-some-desktop-apps
The root cause seems to be MPO, disabling this with the method provided by NVIDIA seems to have fixed this issue.