how to set the resolution for "vive pro"?

Hello ,

What do you mean the value does not fit?

vr.PixelDensity 1 should set the resolution to the default no matter what device you’re using. You will be able to see a difference when setting pixel density to 2 since you’d then be oversampling.

From 4.19 onward screen percentage should be set to 100.