"Samsung claims that I have to use DP-cable, but in the manuel HDMI with 7160/120Hz is supported. I believe the problem is the mac and not the monitor, because I can restart the monitor without solving the problem. I can restart the mac and the problem is solved."
-------
Device Not Working with macOS:
A. Single-Out this User:
See if you can install this using a new user. If so, then it is an issue with your current user. If not, then it is an issue with the entire MacOS.
B. Single-Out this Mac:
What do other devices give you for this connection? If this Mac is only that is giving you this error, then it's an issue why your device --not the entire network.
C. Try Safe Mode:
In Safe Mode, login items do not run, and corrupt system files(i.e. caches) are intentionally reset as a way to fix issues
- Boot: in to Safe Mode
- Log in: as same user
- Wait: 30 seconds
- Restart; your Mac
- Log in: as same user
- Perform another login
D. Disable VPNs:
Are you connected to a VPN? If so, disconnect form it while logging in.
E. Restart your Router:
Power off your router for 30 seconds, and then power it back on. Try this once more.