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

  • That means your graphics driver is incomplete and buggy. What exact model of graphics card is it? If it's an Nvidia or ATI chip, which driver are you using (proprietary or free)? – Gilles Mar 3 '16 at 23:30
  • HD Graphics 520 and the package xserver-xorg-video-intel is installed. – Mario Geiger Mar 4 '16 at 17:54

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
  • This is the right answer for me. I don't have the configuration /usr/share/X11/xorg.conf.d/20-intel.conf, so the accepted answer doesn't apply to my case. Installing xserver-xorg-hwe-16.04 does the trick for me. – Sorawee Porncharoenwase May 14 '18 at 0:10
  • Same on 16.04 on Intel graphics. Initially second monitor would not display after rotation, installing this solved the issue. More info about HWE here: wiki.ubuntu.com/Kernel/LTSEnablementStack – Bar Jun 26 '18 at 17:51

Removing the configuration file /usr/share/X11/xorg.conf.d/20-intel.conf solved the problem.


I have exactly the same problem but without the file /usr/share/X11/xorg.conf.d/20-intel.conf . I find it is caused by the kernel 4.13.0-16. When I switch to the kernel 4.10.0-38, xrandr works perfectly.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.