Thanks for the quick reply.
Yes. The automatic switching is randomly not working. I have whitelisted my allowed resolutions.
My TV is 4k and I have an entry by using xrandr to switch 1920x1080@60 at startup.
When watching movies it works and switches to 24hz, 25hz. etc but switching back fails from time to time and GUI stays at 24hz or 25hz and the menus stutter. Sometimes it also switches to 50hz and I have to go into settings to switch back to 60hz.