Xrandr: Failed to get size of gamma for output default

Hello, I am using Khadas VIM 3 with Ubuntu 20 and when I want to change Display orientation from Settings to Portrait Left or Right nothing happens (default display orientation keeps), also I tried using xrandr from terminal and this error shows up.