Xrandr trapezoid (keystone) correction on 2nd screen

Hi everybody, I’m trying to use xrandr to correct the distortion of my projector.
I found this python program which should do it

https://github.com/qurn/xrandr-keystone-helper

I set in the program the correct output (HDMI-1) but it gives me always the same error:

X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 26 (RRSetCrtcTransform)
Value in failed request: 0x520
Serial number of failed request: 28
Current serial number in output stream: 29

I tried also tu run the transofrmation matrix directly by terminal, but it’s the same:

xrandr --output HDMI-1 --transform 0.886719,0.000000,0.000000,0.000000,0.886719,0.000000,-0.000000,-0.000157,1.000000

Does anybody know how to solve? Please forgive if I made some error, I’m italian and not so fluent in speaking :upside_down_face: