At work, I have an HP laptop with Thunderbolt 4, DP alt-mode, etc.
I use an external screen and kb/mouse, so I have an HP USB-C G5 dock. It has a USB-C connector, only supports up to USB 3, but that's fine. It supports DP 1.4 and HDMI 2.0.
Its cable is fixed, so I'd expect it to be "up to standard". Also, HP Dock, HP laptop, Windows 11 as recommended by HP, you'd expect all this to just work, right?
Wrong! If I want 4k@60Hz on the monitor, I have to do a stupid dance of plugging the monitor on HDMI in addition to DP (doesn't work if DP isn't plugged in), unplug de DP, replug the DP, unplug the HDMI. It then works as expected. Colors are weird on HDMI (doesn't do 4:4:4 coding for some reason) so I insist on a DP connection.
Once this setup gets going, it will usually survive a sleep / wake cycle (if the PC wakes up, but that's a different story). However, there's a pretty good chance the image will be partially messed up: most often crazy colors and moving lines, sometimes the image will be OK, only somewhat misaligned (think old LCDs with VGA connectors before "auto-adjusting" them) and the monitor will complain of frequency mismatch or something. If I switch inputs on the monitor, it will come back OK. It will not survive a reboot (have to do the dance again). The BIOS has a special "use high definition" entry, that warns against reducing the USB bandwidth. Didn't make a difference.
At home, I have an HP desktop with Thunderbolt 3, DP out, etc. I have a USB-C monitor which works fine up until the Windows login screen when it goes blank (no signal). Windows install worked fine. It works if I force the resolution to less than 4k@60Hz. I only got to see the Windows desktop once with this. Didn't survive a reboot and never worked again.
None of this happens with Linux/X11, everything works as expected on the same hardware.
I fancy myself fairly technical, but I have to admit I have no idea what's going on. Not even where to start looking for issues. I've tried updating the BIOS/firmware across all devices, no luck.