The “Switch to 30 frames per second” button appears

  1. First check that it really goes over the cable: in the “Extended display” section, next to the device, it should say “Thunderbolt” or “Ethernet”, not “Wi-Fi”.
  2. Then open the gear next to the device and set “Frames per second” to 30 (it applies over the cable): an older Mac acting as a display may not manage to show 60 in 4K or 5K, and when that happens MacDisplay tells you with a “Switch to 30 frames per second” button.