Samsung ViewFinity S9 with 2017 27" iMac
I just purchased a Samsung ViewFinity S9 5K and I cannot get it to work at 60Hz. It connects via USB-C Thunderbolt at 30Hz, but I just get garbage at 60Hz. This would be my second monitor with the iMac 27" as my main monitor. I have tried the USB-C cable that came with the Apple Monitor and the (shorter) USB-C cable that came with the Samsung.
I had been using the Apple 5K as my second monitor and it works great. But I purchased this S9 so that I can have a second monitor when I upgrade to a Mac Mini.
Is this an issue with my older iMac? Or is the S9 defective? The iMac has a Radeon Pro 570 4 GB, 3.4 GHz Quad-Core Intel Core i5, and is running Monterey.
iMac 27″ 5K, macOS 12.7