Flickering screen and losing connection to TB3 dock when gaming on external monitor

I am using a Legion Go with CachyOS HE and a Lenovo Thunderbolt 3 Dock.

The issue I am facing is recurring basically consistently, on the same games no less. If I try to play a few more demanding games, the connection to the Thunderbolt 3 Dock simply stops. Sometimes to the point I can’t even use the mouse I plugged in there anymore (although the screen may resume functioning after some time) but more often than that, I get screen flickers.

That so far has happened with basically every dock or USB dongle I have tried hooking the thing up to, and I have not seen it occur on Windows in the same way, so I am wondering if it may have something to do with the kernel rather than the system.

Wondering here, can this be a software issue rather than a hardware issue, and if so, is there something I can do to diagnose it? It most often happens in gamescope, but sometimes also in Desktop mode. Normal operation btw functions without a hitch, but for example I have not been able to finish a round of Deadlock without some kind of recurring issue.