I don't have a 4K monitor. The max resolution of the U3415W is 3440 x 1440, with HiDPI on the max it will push is 1720 x 720.
I have HiDPI turned on via this Terminal command...
Code:sudo defaults write /Library/Preferences/com.apple.windowserver.plist DisplayResolutionEnabled -bool true
...do you know a better/alternative way?
Use ResXtreme, pick the 3440x1440 scale x2 resolution.