Nvidia drivers on a hybrid system, OpenGL renderer

Hi everyone, I migrated from ManjaroOS not long ago, the only thing that I can’t get to work is related to nvidia graphs, I see a bit of lag when I have my external monitor on, I think it has to do with the OpenGL renderer that is always set to Mesa Intel, I tried with optimus manager and Envy Control. Those work (I mean, I am able to use my external monitor and using envycontrol --query tells me that I am on nvidia but even then I see the OpenGL renderer as Mesa Intel and my fps on Ufo test don’t go past 70 despite my external screen supporting up to 144. I don’t know what to do, it all worked well on manjaro and optimus manager. Thank you.