I use prime-run to run application without any problem. (my laptop has intel and nvidia 940mx graphic )
Yesterday I used it to run a game, and it showed black window (the window supposedly shows screen of the game). These were the two command that I used in terminal (I tried both).
prime-run ./start.sh prime-run sh start.sh
Interestingly, if I just use these command without
prime-run the window screen of the game showed up.
Note: I played this game on windows once. When I played this game using intel graphic, It was horrible experience, that's why I need to play it using nvidia graphic.