GTA 5 not using optirun

I have an old alienware M14xR1 with a gtx555m and 2nd gen intel graphics, how do I set GTA 5 to use Nvidia card and not the Intel?

I am using MX Linux 19 (yes it is updated) I got the game to run using Lutris Launch settings, but running game on the Intel sucks lol 9~15fps lol, Help please

So far I launched Lutris with Optirun but not sure how to add GTA to it

Sorry, if this won’t help.

Do you try DRI_PRIME=1 before command (edit launcher)? It should work on open source Intel/AMD drivers, but probably you use closed-source.