Hi, since about a week I’m not able to run any sketches anymore in P3D mode on my Windows machine with Intel i5 6200U and HD 520 onboard graphics card. It has probably to do with the graphics driver after an automatic Windows Update but I can’t find a solution for it. I tried different versions of Processing (from 3.5.3 back to 3.4). I tried other versions of the graphics driver without luck so far.
Last time I checked (a week ago) the problem still persisted. I will check if your solution works for me. The weird thing is that it worked fine until at some day it stopped working.