Mar 1, 2019, 10:18 AM

@Ivan
Unfortunately, I do not have a laptop with linux and an Nvidia Optimus GPU now.

Do you have the Nouveau driver blacklisted or uninstalled? Because it causes some issues on Nvidia Optimus GPUs.
Does optimus/bumblebee work for you in other apps? What happens if you, for example, execute in the terminal:

optirun glxgears

Does primusrun work for you? optirun relies on VirtualGL which might cause the issue you have.