Xrandr rotate left right faild

xrandr

I have an X1 Yoga with a 14'' WQHD and I want to rotate the screen to use it with the stylus but xrandr fails to rotate.

xrandr --output eDP1 --rotate <orientation>

works for normal and inverted, but returns the following error for left and right :

xrandr: Configure crtc 0 failed

Idem for

xrandr -o <number>

it works properly for 0 and 2 but returns the error :

Failed to change the screen configuration!

for the values 1 and 3.
If re-run xrandr -o 1 a second time it crash with a blank screen.

update
My graphics unit is IntelĀ® HD Graphics 520 (Skylake GT2).
As driver I installed the package xserver-xorg-video-intel

Best Answer

After I upgrade Xorg to X.Org X Server 1.19.5, it solved that issue. to get the version of Xorg

Xorg -version

and to upgrade Xorg on ubuntu 16.04

sudo apt install xserver-xorg-hwe-16.04