When using wine, all applications and games requiring WineD3D crash upon launch. The backtrace of wine's crash log shows that libgl is always near the top of the stack when the application crashes. All the applications I have tested work on my other linux (dual boot) without any problems. When compiling wine, ./configure says that no OpenGL library is found on my system. All my steam games work fine, glxgears reports that it is using the nvidia card and both wine-32bit and nvidia-glx-driver-32bit are installed.
https://bugs.winehq.org/show_bug.cgi?id=43530
i7-7700HQ
GTX 1050m Optimus