HP LP3065 monitor USB-C to DVI-D on a Mac Mini M4 connection quality

I’m trying to connect the HP LP3065 monitor to a Mac Mini M4 using a USB-C(M)->DVI-D(24+1)(M) cable and I’m getting distortion as follows:

https://youtu.be/fLUKaZ7Hdvg

screenshot of distortion of image

I’m trying my second new cable now. It seems it’s somewhat dependent on the input socket used (better on other sockets than no. 1), but I can never get consistent clean image. Deoxited the sockets.
Any ideas? Is the monitor faulty? I have no way, at the moment, to check it with other machine (source).

Now I see previously somebody suggested elsewhere a shorter cable, but I went with 1.8m again, unfortunately.

Please advise. Thanks!