Surface Pen 2 and new Microsoft Studio laptop is not pressure sensitive

I have a Microsoft studio laptop with Windows 11 with 32 GB, 64 bit and 11th generation Intel core 7, and the NVIDIA GeForce RTX (3.30)GHz) graphics card.  The pen works fine with all the microsoft apps but not with Painter 2020 or 2022. On this laptop there is no pressure or ankle sensitivity..  I have a similar experience using Painter 2022 and a Windows 10 studio 2.  Painter 2020 works fine on the latter. Has anyone had a similar experience