For what it’s worth, I’m on a 2016 MBP with the Radeon Pro 460 and I’m experiencing the same kind of issues; as soon as an app is tasking the GPU I get GPU black-outs (the screen is not updating at all).
Other examples:
The app switcher being drawn over the UI, but the windows not switching between the apps for a second or more (seems like the window manager froze up).
The already mentioned lag when typing in Web views, like Safari or Slack. The typing itself is registered, it’s just that the text shows up at once after a few seconds instead of character-by-character.
QuickLook preview caching; in a folder full of images running through images (arrow keys) will work smoothly for a few images, and then switch to low-res previews (basically finder icons scaled up). But even stepping back through images that were just viewed will again only show the low res version before rendering the high res preview, as if QL can’t even cache the last few images).
Periods when the screen is generally updating with just a couple of frames per second.
Things like mouse or keyboard input all register fine during that period, so it’s not a complete computer freeze, but likely the window server acting up.
This happens when GPU-intensive apps are open (Adobe CC suite, for example), independent of external/internal screens (less so with the internal, but still noticeable). Using the XRG app I can see the GPU RAM all being used, as well as all CPU cores running at 100% in those situation.
However, contrary to what people with NVIDIA GPUs experience(d), I’ve had this issue since I got the laptop, in 10.12 and 10.13. Now, I think I have read someplace that Apple does their AMD GPU drivers while NVIDIA works on the ones for the NVIDIA GPUs, which could explain why my AMD GPU had issues from the get-go, while NVIDIA GPUs suffered from the switch to Metal 2 (which, from my understanding, is also developed by Apple).
To me it all sounds like a pure driver issue. I don’t mind the traditionally lower gaming performance on macOS vs Windows on the same machine. But the stuttering and freezes are ridiculous for what is supposed to be a "pro" machine, and extremely frustrating when deadlines are looming.