Refresh Rate switching not working in latest nightly builds

As subject says. It does not actually change the refresh rate of the display, though the renderer does think it has changed, causing stuttering video of course.

Machine is a 2011 Mac mini with Intel graphics.

Debug log