You are not logged in.

#1 2017-01-17 03:32:15

yanzx6
Member
Registered: 2017-01-17
Posts: 3

When adding undetected resolution: xrandr: Configure crtc 0 failed

I used these code below to add undetected resolution to my external monitor:

> gtf 1440 900 60 -x
> xrandr --newmode "1440x900_60.00"  106.47  1440 1520 1672 1904  900 901 904 932  -HSync +Vsync
> xrandr --addmode XWAYLAND0 "1440x900_60.00"
> xrandr --output XWAYLAND0 --mode "1440x900_60.00"

But it gives

 xrandr: Configure crtc 0 failed 

to me.
These command work well in other linux os like ubuntu.

I am working on my laptop with external monitor. And it can detect resolution well in laptop monitor.

I find some solutions but they not work for me. Such as:
Reducing frequency.
Installing other graphic drivers.
....
My graphic card is

00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)

And I install driver

xf86-video-intel

Hope someone can help me.
given by "lspci -k | grep VGA"
And I am sure my monitor support 1440x900 resolutons.

Following is some informations:

> xrandr
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 8192 x 8192
XWAYLAND0 connected
   1024x768      59.92 +
   1440x900_60.00  59.89  
   1440x900_55.00  54.84  
   1440x900_30.00  29.91  
   1440x900_24.00  23.91  
   1440x900_50.00  50.00

These 1440x900 resolutions were added by me. Originally, it only has 1024x768
And it give same thing

> xrandr --verbose
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 8192 x 8192
XWAYLAND0 connected (normal)
	Identifier: 0x21
	Timestamp:  9519485
	Subpixel:   unknown
	Clones:    
	CRTCs:      0
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
  1024x768 (0x22) 63.500MHz -HSync +VSync +preferred
        h: width  1024 start 1072 end 1176 total 1328 skew    0 clock  47.82KHz
        v: height  768 start  771 end  775 total  798           clock  59.92Hz
// AND some 1440x900 resolutions added by me

Hope someone can help me.

Last edited by yanzx6 (2017-01-17 03:36:19)

Offline

#2 2017-01-17 10:45:08

yanzx6
Member
Registered: 2017-01-17
Posts: 3

Re: When adding undetected resolution: xrandr: Configure crtc 0 failed

What's more, I found somethings strange when i run command

 xrandr --verbose 

it displays

XWAYLAND0 connected 1024x768+0+0 (0x22) normal (normal) 0mm x 0mm
	Identifier: 0x21
	Timestamp:  127510
	Subpixel:   unknown
	Gamma:      1.0:1.0:1.0
	Brightness: 0.0
	Clones:    
	CRTC:       0
	CRTCs:      0
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
  1024x768 (0x22) 63.500MHz -HSync +VSync *current +preferred
        h: width  1024 start 1072 end 1176 total 1328 skew    0 clock  47.82KHz
        v: height  768 start  771 end  775 total  798           clock  59.92Hz

The subpixel is unknown. Does it matter?

Offline

#3 2017-01-18 10:35:58

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: When adding undetected resolution: xrandr: Configure crtc 0 failed

Xrandr will not work on wayland, your compositor needs to set the mode.

Offline

#4 2017-01-18 14:28:07

yanzx6
Member
Registered: 2017-01-17
Posts: 3

Re: When adding undetected resolution: xrandr: Configure crtc 0 failed

T_T..... So, What should I do? how can i configure it?

Offline

Board footer

Powered by FluxBB