Skip to contentSkip to conversation

xrandr: cannot find crtc for output eDP1

regression Oleksij Rempel (fishor) 1 participant 2 messages Mar 9, 2012

lore
Share & tools
lore
#0 lore raw

Hallo all,

i get this error if try to use external monitor with my laptop (Asus zenbook ux31e). Usually it is configured automatically or with gui. But not it is not working. I got this regression for some weeks after some of updates. I assume it was one of xorg/intel driver updates. I use ubuntu 12.04,

I tested:
- kernel versions 3.2.0-12-generic, 3.2.0-17-generic and vanilla git 3.3.0-rc6-00164-g4f262ac.
- X.Org X Server 1.12.0
- xserver-xorg-video-intel i tested default precise version 2:2.17.0-1ubuntu4 and xorg-edgers version 2:2.18.0+git20120308.aa7a2bd7-0ubuntu0sarvatt

without any luck :(

suddenly i can't get old working version to "bisect" it.

if i run this command:
xrandr --output eDP1 --auto --output VGA1 --auto --same-as eDP1 i get:
xrandr: cannot find crtc for output eDP1

here is output of xrandr:
xrandr
Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 8192 x 8192 eDP1 connected (normal left inverted right x axis y axis)

   1600x900       60.0 +
   1440x900       59.9
   1360x768       59.8     60.0
   1152x864       60.0
   1024x768       60.0
   800x600        60.3     56.2
   640x480        59.9
VGA1 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 338mm x 270mm
   1280x1024      60.0*+   75.0
   1280x960       60.0
   1152x864       75.0
   1024x768       75.1     70.1     60.0
   832x624        74.6
   800x600        72.2     75.0     60.3     56.2
   640x480        72.8     75.0     66.7     60.0
   720x400        70.1

HDMI1 disconnected (normal left inverted right x axis y axis) DP1 disconnected (normal left inverted right x axis y axis)

if you need more info you can find it in my bug report here
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/946311

Thank you for any help

Regards,
Alexey

#1 lore raw
Quoted 40 lines · Oleksij Rempel (fishor)

Hallo all,

i get this error if try to use external monitor with my laptop (Asus zenbook ux31e). Usually it is configured automatically or with gui. But not it is not working. I got this regression for some weeks after some of updates. I assume it was one of xorg/intel driver updates. I use ubuntu 12.04,

I tested:
- kernel versions 3.2.0-12-generic, 3.2.0-17-generic and vanilla git 3.3.0-rc6-00164-g4f262ac.
- X.Org X Server 1.12.0
- xserver-xorg-video-intel i tested default precise version 2:2.17.0-1ubuntu4 and xorg-edgers version 2:2.18.0+git20120308.aa7a2bd7-0ubuntu0sarvatt

without any luck :(

suddenly i can't get old working version to "bisect" it.

if i run this command:
xrandr --output eDP1 --auto --output VGA1 --auto --same-as eDP1 i get:
xrandr: cannot find crtc for output eDP1

here is output of xrandr:
xrandr
Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 8192 x 8192 eDP1 connected (normal left inverted right x axis y axis) 1600x900 60.0 +
1440x900 59.9
1360x768 59.8 60.0
1152x864 60.0
1024x768 60.0
800x600 60.3 56.2
640x480 59.9
VGA1 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 338mm x 270mm
1280x1024 60.0*+ 75.0
1280x960 60.0

Quoted 8 lines

1152x864 75.0
1024x768 75.1 70.1 60.0
832x624 74.6
800x600 72.2 75.0 60.3 56.2
640x480 72.8 75.0 66.7 60.0
720x400 70.1
HDMI1 disconnected (normal left inverted right x axis y axis) DP1 disconnected (normal left inverted right x axis y axis)

more info:
interesting part of dmesg:

[  681.003441] [drm:pch_irq_handler] *ERROR* PCH poison interrupt
[  764.024988] [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on [CRTC:5]
[ 1120.654342] [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on [CRTC:5]

part of xorg:

[  1120.426] (II) intel(0): Allocated new frame buffer 1600x1024 stride 6656, tiled
[  1120.493] (EE) intel(0): failed to set mode: Invalid argument
[  1120.603] (II) intel(0): Allocated new frame buffer 1280x1024 stride 5120, tiled