"No good OpenGL visual found" problem in MACOS

Hi experts,
I want to use cmsShow to see the graph in macos, and meet the same problem. what can I do?
Continuing the discussion from ROOT graphics over X11: No good OpenGL visual found!:

Continuing the discussion from ROOT graphics over X11: No good OpenGL visual found!:

It seems @matevz provided some hints. Do they work for you?