View Single Post
Old 01-06-2017, 11:05 AM   #1
atul
Junior Member
 
Join Date: Jan 2017
Posts: 4
Default xrandr: Configure crtc 2 failed

Hi,
I'd be very grateful if someone/ anyone can help me please ...

1. I have a triple-head display on 3 identical lenovo monitors using 2 DVI outputs from graphics card and 1 DisplayLink USB to DVI adapter.
2. Till a few days ago it was all working fine on Xubuntu and AFAIK all distribution & package updates applied, ie kernel was probably 4.4.0-57 and os was probably 16.04.
3. System crashed ... reinstalled using same media as the original install for the Xubunut iso.
4. Re-installed the same DisplayLink driver v 1.1.62 but when I tried to use the 3rd monitor (applications > settings > display) it kept saying monitor disabled.
5. Tried several solutions but the furthest I can get is ... "XRandR failed: XRandR returned error code 1: xrandr: Configure crtc 2 failed"

I've tried all the commands/ steps below but no luck.
The oddest looking thing to me is that the monitor is recognised as "DVI-I-1-3" but IIRC it used to be something like "DVI-1-3" (and none of the references I googled said anything about "DVI-I-xxx").

thanks in advance
Atul

##### xrandr --listproviders
Code:
Providers: number : 2
Provider 0: id: 0x54 cap: 0x9, Source Output, Sink Offload crtcs: 2 outputs: 3 associated providers: 1 name:ATI Radeon HD3870 @ pci:0000:01:00.0
Provider 1: id: 0x4ed cap: 0x2, Sink Output crtcs: 1 outputs: 1 associated providers: 1 name:modesetting
##### xrandr --setprovideroutputsource 1 0
##### modprobe udl
##### dmesg | egrep -i displaylink
##### xrandr --current
##### xrandr --output DVI-I-1-0 --mode 1920x1080 ##which is one of the modes supported on the monitor
##### xrandr --verbose
Code:
Screen 0: minimum 320 x 200, current 3840 x 1080, maximum 8192 x 8192
DVI-0 connected primary 1920x1080+0+0 (0x56) normal (normal left inverted right x axis y axis) 476mm x 267mm
	Identifier: 0x51
	Timestamp:  33408304
	Subpixel:   horizontal rgb
	Gamma:      1.0:1.0:1.0
	Brightness: 1.0
	Clones:    
	CRTC:       0
	CRTCs:      0 1
	Transform:  1.000000 0.000000 0.000000
				0.000000 1.000000 0.000000
				0.000000 0.000000 1.000000
			   filter: 
	EDID: 
		00ffffffffffff0030aecb6000000000
		2e19010380301b78eaebf5a656519c26
		105054afef00714f8180818a9500a9c0
		a9cfb3000101023a801871382d40582c
		4500dc0b1100001e000000fc00543232
		32347a440a2020202020000000fd0032
		4b1e5110000a202020202020000000ff
		0056393032344c42370affffffff014f
		02031ef14b9005040302011f12131411
		23090f078301000065030c0010006621
		56aa51001e30468f3300dc0b1100001e
		7c2e90a0601a1e4030203600dc0b1100
		001cab22a0a050841a3030203600dc0b
		1100001c000000000000000000000000
		00000000000000000000000000000000
		000000000000000000000000000000fa
	load detection: 1 
		range: (0, 1)
	audio: auto 
		supported: off, on, auto
	scaling mode: None 
		supported: None, Full, Center, Full aspect
	dither: off 
		supported: off, on
	underscan vborder: 0 
		range: (0, 128)
	underscan hborder: 0 
		range: (0, 128)
	underscan: off 
		supported: off, on, auto
	coherent: 1 
		range: (0, 1)
<< MULTIPLE LINES LIST OF MODES >> 

DIN disconnected (normal left inverted right x axis y axis)
	Identifier: 0x52
	Timestamp:  33408304
	Subpixel:   no subpixels
	Clones:    
	CRTCs:      0 1
	Transform:  1.000000 0.000000 0.000000
				0.000000 1.000000 0.000000
				0.000000 0.000000 1.000000
			   filter: 
	tv standard: ntsc 
		supported: ntsc, pal, pal-m, pal-60, ntsc-j, scart-pal, pal-cn, secam
	load detection: 1 
		range: (0, 1)

DVI-1 connected 1920x1080+1920+0 (0x55) normal (normal left inverted right x axis y axis) 476mm x 267mm
	Identifier: 0x53
	Timestamp:  33408304
	Subpixel:   horizontal rgb
	Gamma:      1.0:1.0:1.0
	Brightness: 1.0
	Clones:    
	CRTC:       1
	CRTCs:      0 1
	Transform:  1.000000 0.000000 0.000000
				0.000000 1.000000 0.000000
				0.000000 0.000000 1.000000
			   filter: 
	EDID: 
		00ffffffffffff0030aecb6000000000
		0c1a010380301b78eaebf5a656519c26
		105054afef00714f8180818a9500a9c0
		a9cfb3000101023a801871382d40582c
		4500dc0b1100001e000000fc00543232
		32347a440a2020202020000000fd0032
		4b1e5110000a202020202020000000ff
		0056393032425841370affffffff0157
		02031ef14b9005040302011f12131411
		23090f078301000065030c0010006621
		56aa51001e30468f3300dc0b1100001e
		7c2e90a0601a1e4030203600dc0b1100
		001cab22a0a050841a3030203600dc0b
		1100001c000000000000000000000000
		00000000000000000000000000000000
		000000000000000000000000000000fa
	load detection: 1 
		range: (0, 1)
	audio: auto 
		supported: off, on, auto
	scaling mode: None 
		supported: None, Full, Center, Full aspect
	dither: off 
		supported: off, on
	underscan vborder: 0 
		range: (0, 128)
	underscan hborder: 0 
		range: (0, 128)
	underscan: off 
		supported: off, on, auto
	coherent: 1 
		range: (0, 1)
<< MULTIPLE LINES LIST OF MODES >> 

DVI-I-1-3 connected (normal)
	Identifier: 0x4ec
	Timestamp:  33066949
	Subpixel:   unknown
	Clones:    
	CRTCs:      2
	Transform:  1.000000 0.000000 0.000000
				0.000000 1.000000 0.000000
				0.000000 0.000000 1.000000
			   filter: 
	EDID: 
		00ffffffffffff0030aecb6000000000
		2e19010380301b78eaebf5a656519c26
		105054afef00714f8180818a9500a9c0
		a9cfb3000101023a801871382d40582c
		4500dc0b1100001e000000fc00543232
		32347a440a2020202020000000fd0032
		4b1e5110000a202020202020000000ff
		0056393032344c42330affffffff0054
	dirty: On 
		supported: Off, On, Annotate
<< MULTIPLE LINES LIST OF MODES >>
##### dmesg | egrep -i -B 4 -A 7 displaylink

Code:
[   41.108018] usb 1-3: device descriptor read/64, error -110
[   41.344842] usb 1-3: New USB device found, idVendor=17e9, idProduct=0290
[   41.344847] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   41.344850] usb 1-3: Product: DL-165 Adapter
[   41.344852] usb 1-3: Manufacturer: DisplayLink
[   41.344855] usb 1-3: SerialNumber: 105770
[   41.347840] [drm] vendor descriptor length:22 data:22 5f 01 00 20 05 00 01 03 04 02
[   41.433019] udl 1-3:1.0: fb1: udldrmfb frame buffer device
[   41.433024] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[   41.433026] [drm] No driver support for vblank timestamp query.
[   41.433028] [drm] Initialized udl on minor 1
##### lsmod | egrep -i 'video|evdi|radeon|udl'
Code:
evdi                   40960  0
uvcvideo               77824  0
videobuf2_vmalloc      16384  1 uvcvideo
videobuf2_memops       16384  1 videobuf2_vmalloc
videobuf2_v4l2         28672  1 uvcvideo
videobuf2_core         36864  2 uvcvideo,videobuf2_v4l2
v4l2_common            16384  1 videobuf2_v4l2
videodev              155648  4 uvcvideo,v4l2_common,videobuf2_core,videobuf2_v4l2
media                  24576  2 uvcvideo,videodev
radeon               1466368  9
i2c_algo_bit           16384  1 radeon
ttm                    90112  1 radeon
drm_kms_helper        139264  3 udl,evdi,radeon
syscopyarea            16384  2 evdi,drm_kms_helper
sysfillrect            16384  2 evdi,drm_kms_helper
sysimgblt              16384  2 evdi,drm_kms_helper
drm                   311296  10 udl,ttm,evdi,drm_kms_helper,radeon
##### sudo lshw -C video
Code:
  *-display
	   description: VGA compatible controller
	   product: RV670 [Radeon HD 3870]
	   vendor: Advanced Micro Devices, Inc. [AMD/ATI]
	   physical id: 0
	   bus info: pci@0000:01:00.0
	   version: 00
	   width: 64 bits
	   clock: 33MHz
	   capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
	   configuration: driver=radeon latency=0
	   resources: irq:28 memory:d0000000-dfffffff memory:fe9f0000-fe9fffff ioport:dc00(size=256) memory:fea00000-fea1ffff
##### installed & used arandr
##### uninstalled then DisplayLinkDriver then re-installed v1.2.65 (both manually and using AdnanHodzic's tool on github)
##### extract of hardinfo ...
Code:
-Computer-
Processor		: 4x Intel(R) Core(TM)2 Quad  CPU   Q8200  @ 2.33GHz
Memory			: 4066MB (1536MB used)
Operating System		: Ubuntu 16.04.1 LTS
User Name		: REDACTED
Date/Time		: Fri 06 Jan 2017 11:00:26 GMT
-Display-
Resolution		: 3840x1080 pixels
OpenGL Renderer		: Gallium 0.4 on AMD RV670 (DRM 2.43.0, LLVM 3.8.0)
X11 Vendor		: The X.Org Foundation
HDA ATI HDMI HDMI/DP,pcm		: 3=
Operating System
----------------
-Version-
Kernel		: Linux 4.4.0-57-generic (i686)
Compiled		: #78-Ubuntu SMP Fri Dec 9 23:46:51 UTC 2016
C Library		: Unknown
Default C Compiler		: GNU C Compiler version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 
Distribution		: Ubuntu 16.04.1 LTS
-Current Session-
Computer Name		: Dell
User Name		: REDACTED 
Home Directory		: /home/a
Desktop Environment		: XFCE 4

Kernel Modules
--------------------- 
uvcvideo		: USB Video Class driver
videobuf2_vmalloc		: vmalloc memory handling routines for videobuf2
videobuf2_memops		: common memory handling routines for videobuf2
videobuf2_v4l2		: Driver helper framework for Video for Linux 2
videobuf2_core		: Driver helper framework for Video for Linux 2
v4l2_common		: misc helper functions for v4l2 device drivers
snd_hda_codec_idt		: IDT/Sigmatel HD-audio codec
videodev		: Device registrar for Video4Linux drivers v2

usbhid		: USB HID core driver
hid
radeon		: ATI Radeon

Display
-------
-Display-
Resolution		: 3840x1080 pixels
Vendor		: The X.Org Foundation
Version		: 1.18.4
-Monitors-
Monitor 0		: 1920x1080 pixels
Monitor 1		: 1920x1080 pixels
-Extensions-
BIG-REQUESTS
Composite
DAMAGE
DOUBLE-BUFFER
DPMS
DRI2
GLX
Generic Event Extension
MIT-SCREEN-SAVER
MIT-SHM
Present
RANDR
RECORD
RENDER
SECURITY
SGI-GLX
SHAPE
SYNC
X-Resource
XC-MISC
XFIXES
XFree86-DGA
XFree86-VidModeExtension
XINERAMA
XInputExtension
XKEYBOARD
XTEST
XVideo
XVideo-MotionCompensation
-OpenGL-
Vendor		: X.Org
Renderer		: Gallium 0.4 on AMD RV670 (DRM 2.43.0, LLVM 3.8.0)
Version		: 3.0 Mesa 11.2.0
Direct Rendering		: Yes
atul is offline   Reply With Quote