USB-C to DisplayPort 1.2 cable is good enough for 4K60.
USB-C to DisplayPort 1.4 cable for higher resolutions and refresh rates. Backwards compatible with DisplayPort 1.2.
USB-C to DisplayPort 2.1 cable should also work. Probably only useful for Thunderbolt 5 Macs and Thunderbolt 5 hubs/docks. It should work with DisplayPort 1.2 and 1.4 sources (backwards compatible). It should be better quality than DisplayPort 1.2 or 1.4 cables.
What display do you have?
Some USB-C ports or cables are only for charging (they might support USB 2.0 but that's all).
USB-C full featured means it does video and data and power. DisplayPort 1.4 means the USB-C cable should be at least 10 Gbps (USB 3.1 gen 2) or 20 Gbps (USB 3.1 gen 2x2) which are actually the same (USB 3.1 just uses one lane while USB 3.2 x2 uses two lanes).
The USB-C input of the display probably allows DisplayPort 1.4 and one lane of USB 3.x. USB 3.x uses two of the four super speed lines of the USB-C cable, leaving only 2 for DisplayPort 1.4. 2 lanes of DisplayPort 1.4 allows for 4K60 8bpc without DSC. Some displays have a switch in the menu to allow 4 lanes of DisplayPort over USB-C which limits USB speeds to USB 2.0 which is good enough for mouse/keyboard.
Your display probably supports DSC so you should be ok with 2 lanes of DisplayPort 1.4 up to 4K120.
Your display has USB-A ports which you can connect a keyboard and mouse.
KVM stands for keyboard, video, mouse. A KVM switch lets you switch the keyboard, video, and mouse between two computers. It requires a video and USB inputs from each computer. USB-C is used for USB from one computer and can also be used for video from the same computer. USB-B is used for USB from the other computer. One of the HDMI or DisplayPort ports must be used for video from that other computer.
The USB-B port (Standard B) of your display is compatible with USB 2.0 USB-B and USB 3.x USB-B.
The flat USB-B ports (Micro B) is compatible with USB 2.0 Micro B and USB 3.x Micro B.
https://en.wikipedia.org/wiki/USB
True. They would both be DisplayPort 1.4. However, you would need to switch the USB-C port to 4 lanes of DisplayPort + USB 2.0 instead of 2 lanes of DisplayPort + USB 3.x to make them exactly the same.
Yes, non Thunderbolt displays don't have Thunderbolt outputs because they have no Thunderbolt inputs. Why would it have a Thunderbolt output?
Only USB-C ports with USB-C DisplayPort Alt Mode capability will output video. Thunderbolt ports support USB-C DisplayPort Alt Mode. Some Macs have USB-C (non-Thunderbolt) ports that don't support USB-C DisplayPort Alt Mode. Some docks may have USB-C ports that don't support USB-C DisplayPort Alt Mode.
https://en.wikipedia.org/wiki/USB-C
The HP Thunderbolt Dock G2 is an example of a dock with a USB-C port that supports USB-C DisplayPort Alt Mode. It also has USB-C ports that don't support USB-C DisplayPort Alt Mode.
What Macs / docks do you have that have USB-C ports that are not Thunderbolt ports?
better one what?
You can add more Thunderbolt ports using a Thunderbolt 4/5 hub/dock.
A USB 3.2 Gen 2 USB-C cable should be sufficient for the USB-C DisplayPort Alt Mode input of a DisplayPort 1.4 display.
Why would you not use the cable that comes with the display? What are you trying to achieve/improve by switching cables?
If the display is not TB4 that you don't need to waste a TB4 cable on it.
I can connect a USB-C cable to a USB-C NVMe SSD to determine if it supports gen 2 speed (10 Gbps which also implies gen 2x2 20 Gbps), or gen 1 speed (5 Gbps which implies gen 1x2 speed 10 Gbps) or USB 2.0 speed (basically a cable that is only good for charging).
That seems like a broken cable - no better than a USB 3.1 gen 2 cable (which can work fine for Thunderbolt at 20 Gbps). Did you test it on an Intel Mac's Thunderbolt port?
TB4 cables may be backward compatible with USB 3.x while TB3 cables are not? I forget all the details.
If the display is not advertised as a Thunderbolt display, then it's probably not a Thunderbolt Display. It's just a USB-C DisplayPort Alt Mode display.
Leave it at 1.4 unless there's a compatibility problem with a really old computer or something.
You shouldn't connect more than one output from the same Mac to a display unless you're doing some experiments.