Pardon me if I misunderstood anything, but I'd try using the cable directly without any switch or hub. I'd also try changing cables to see if it's a bad cable (also, maybe the current cable doesn't support the bandwidth you're trying to drive through it, e.g. HDMI 1.4 vs HDMI 2.0, DP 1.4 vs DP 2.0, etc).
Another thing I'd check for is maybe check how you're powering your GPU. Do you have two separate power cables going into it, or are you using a single cable and daisy-chaining the connections on it? Two separate cables would be better. I doubt that's the issue but it would be worth looking into it. Also make sure your GPU is fully seated into the PCIe slot.
Last thing to try would be drivers. Use DDU to get rid of everything (AMD AND Nvidia) and then install the latest drivers.
If you still get issues after trying everything, then I wonder if there's an issue with the GPU itself. Hopefully not, though. Best of luck! I upvoted your post for visibility.
Edit: wording