Dude I had the same problem, go on the monitor menu using the button below it and set the 144hz option: Menu->Games->Refresh rate->144Hz
Done this set it on NVIDIA control panel or in windows settings.
https://eu.community.samsung.com/t5/gaming-club/odyssey-g5-stuck-at-60hz/td-p/3020242