PC keeps restarting with Painter 2021 optimization process or using AI Styles

My PC (with 6 cores i7 5820 K CPU and 3.3 Ghz and Nvidia 950 GTX Video card, Cintiq 22HD ) using Windows 10 crashes each time Painter 2021 tries to optimize for Graphic acceleration. Also, cannot use AI styles as this restarts my PC each time. Painter was reset, uninstalled and reinstalled without improvement. Ran Painter 2019 and runs Photoshop 2020 without problems. Any suggestions would help. Thanks.