You are not logged in.

#1 2015-03-17 10:53:57

ajc0
Member
Registered: 2015-03-16
Posts: 6

i965, 3 monitors. xrandr: unable to configure ctc2, Xorg: invalid 22

Hello!

Firstly, thankyou for your time if you're reading this question. I got one out of two external monitors working by connecting it via a VGA cable, and using xrandr, and I was hoping to be able to get the other one working using a DVI (monitor end) to HDMI (laptop end) cable, but no such luck.

Here's the corresponding output of lspci -v:

00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) (prog-if 00 [VGA controller])
	Subsystem: Pegatron Device 20c5
	Flags: bus master, fast devsel, latency 0, IRQ 24
	Memory at f7800000 (64-bit, non-prefetchable) [size=4M]
	Memory at e0000000 (64-bit, prefetchable) [size=256M]
	I/O ports at f000 [size=64]
	Expansion ROM at <unassigned> [disabled]
	Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [d0] Power Management version 2
	Capabilities: [a4] PCI Advanced Features
	Kernel driver in use: i915
	Kernel modules: i915

Here's the output of xrandr --props:

Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
LVDS1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
	EDID: 
		00ffffffffffff0030e48e0300000000
		00160103802213780a01a59c595a9b26
		18505400000001010101010101010101
		010101010101581b567e50000e302430
		350058c2100000190000000000000000
		00000000000000000000000000fe004c
		4720446973706c61790a2020000000fe
		004c503135365748342d544c4e3200c6
	BACKLIGHT: 4882 
		range: (0, 4882)
	Backlight: 4882 
		range: (0, 4882)
	scaling mode: Full aspect 
		supported: None, Full, Center, Full aspect
   1366x768      60.00*+
   1024x768      60.00  
   800x600       60.32    56.25  
   640x480       59.94  
DP1 disconnected (normal left inverted right x axis y axis)
	Broadcast RGB: Automatic 
		supported: Automatic, Full, Limited 16:235
	audio: auto 
		supported: force-dvi, off, auto, on
HDMI1 connected (normal left inverted right x axis y axis)
	EDID: 
		00ffffffffffff005a632e6601010101
		2918010380301b782e6665a854488725
		1a5054bfef80b300a940a9c095009040
		818081408100023a801871382d40582c
		4500dd0c1100001e000000ff00553759
		3134343134303533370a000000fd0032
		4b185211000a202020202020000000fc
		00565832323039205345524945530000
	aspect ratio: Automatic 
		supported: Automatic, 4:3, 16:9
	Broadcast RGB: Automatic 
		supported: Automatic, Full, Limited 16:235
	audio: auto 
		supported: force-dvi, off, auto, on
   1920x1080     60.00 +
   1600x1200     60.00  
   1680x1050     59.88  
   1400x1050     59.95  
   1600x900      59.98  
   1280x1024     75.02    60.02  
   1440x900      59.90  
   1280x960      60.00  
   1280x800      59.91  
   1152x864      75.00  
   1024x768      75.08    70.07    60.00  
   832x624       74.55  
   800x600       72.19    75.00    60.32    56.25  
   640x480       75.00    72.81    66.67    60.00  
   720x400       70.08  
VGA1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 477mm x 268mm
	EDID: 
		00ffffffffffff005a632e6601010101
		2918010308301b782e6665a854488725
		1a5054bfef80b300a940a9c095009040
		818081408100023a801871382d40582c
		4500dd0c1100001e000000ff00553759
		3134343134303634390a000000fd0032
		4b185211000a202020202020000000fc
		00565832323039205345524945530074
   1920x1080     60.00*+
   1600x1200     60.00  
   1680x1050     59.95  
   1400x1050     59.98  
   1600x900      59.98  
   1280x1024     75.02    60.02  
   1440x900      59.89  
   1280x960      60.00  
   1280x800      59.81  
   1152x864      75.00  
   1024x768      75.08    70.07    60.00  
   832x624       74.55  
   800x600       72.19    75.00    60.32    56.25  
   640x480       75.00    72.81    66.67    60.00  
   720x400       70.08  
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

I tried splitting out each EDID and decoding with edid-decode, and each one of them is invalid in some way. However, I've never had a problem with my laptop screen and the first display worked pretty much out of the box.

Here is the xrandr command I've been using to try and use HDMI1:

xrandr --output HDMI1 --mode 1920x1080 --left-of LVDS1 --output VGA1 --mode 1920x1080 --right-of LVDS1 --verbose

screen 0: 5206x1080 1373x285 mm  96.25dpi
crtc 0:     1366x768  60.00 +1920+0 "LVDS1"
crtc 1:    1920x1080  60.00 +3286+0 "VGA1"
crtc 2:    1920x1080  60.00 +0+0 "HDMI1"
xrandr: Configure crtc 2 failed
crtc 0: disable
crtc 1: disable
crtc 2: disable
crtc 3: disable
screen 0: revert
crtc 0: revert
crtc 1: revert
crtc 2: revert
crtc 3: revert

Here is the corresponding output from Xorg.0.log, from an xserver started with startx -logverbose 6 :2 ::

[ 44426.324] (II) intel(0): resizing framebuffer to 5206x1080
[ 44426.383] (II) intel(0): switch to mode 1366x768@60.0 on LVDS1 using pipe 0, position (1920, 0), rotation normal, reflection none
[ 44426.391] (II) intel(0): switch to mode 1920x1080@60.0 on VGA1 using pipe 1, position (3286, 0), rotation normal, reflection none
[ 44426.391] (II) intel(0): switch to mode 1920x1080@60.0 on HDMI1 using pipe 2, position (0, 0), rotation normal, reflection none
[ 44426.395] (EE) intel(0): failed to set mode: Invalid argument [22]
[ 44426.717] (II) intel(0): resizing framebuffer to 3286x1080
[ 44426.726] (II) intel(0): switch to mode 1366x768@60.0 on LVDS1 using pipe 0, position (0, 0), rotation normal, reflection none
[ 44427.138] (II) intel(0): switch to mode 1920x1080@60.0 on VGA1 using pipe 1, position (1366, 0), rotation normal, reflection none

Nothing that looks related in dmesg.

Next, I try:

xrandr --output HDMI1 --mode 1920x1080 --left-of LVDS1 --output VGA1 --mode 1920x1080 --left-of LVDS1 --verbose # Both in the same position

And HDMI1 starts mirroring VGA1, but I'd like to be able to spread my desktop across both monitors and the laptop screen, each with different output. What should I try next?

Last edited by ajc0 (2015-03-17 15:37:16)

Offline

#2 2015-09-28 17:49:47

jnhieber
Member
From: Germany
Registered: 2011-02-01
Posts: 23

Re: i965, 3 monitors. xrandr: unable to configure ctc2, Xorg: invalid 22

On your last command you put both, HDMI and VGA, left of LVDS1. So both displays are in the same place, thats why they mirror.

I would try two things:
1: You have no LVDS1 in your xrandr options, try something like this:

xrandr --output LVDS1 --auto --output HDMI1 --mode 1920x1080 --left-of LVDS1 --output VGA1 --mode 1920x1080 --right-of LVDS1

2: Use arandr to place the screens with a GUI. If that works, save the config as script and look at it.

Offline

Board footer

Powered by FluxBB