Is there a reason you want to go full nvidia instead of hybrid? Maybe hybrid is more ideal for you,everything render on your intel/amd and when you want to game is render on the nvidia,maybe that also can fix that error.
For example to use the nvidia card in hybrid mode,you type prime-run [name of the app]
prime-run steam
But I recommend you go to the game on steam,right click on the game and in the launch options you type
prime-run %command%
,that way the game will automatically use the nvidia card,quit the window and try launching the game,that way the game wil auto the nvidia card automatically.