I have 2 graphics in my laptop: Intel and Nvidia. I have installed Nvidia drivers like this:
sudo apt install nvidia-340 # Nowadays nvidia-driver-nnn
I have selected Nvidia in PRIME profile in Nvidia-x-server. My Steam games are now using Nvidia card. But when I run games in playonlinux, they are still using Intel because they are running slow. How to force playonlinux games to use Nvidia?