xrandr: Configure crtc 0 failed
#1
Hi,

I've been grinding away after 23 years away from Unix trying to 86 windows from my life.

So Far I've got Armbian/Ubuntu/Mate working overcoming various issues along the way.

This is a solid 6 days now and I'm stuck so if someone could point me in the right direction I'd really appreciate it....

I'm using an iiyama E2783QSU on HDMI-1, and trying new modes using xrandr

After getting seriously bored manually going through the options I wrote a little script to help.....

Code:
text=$(gtf $1 $2 $3)
search="\""

rest=${text#*$search}
rest=${rest#*$search}

xrandr --newmode $4 $rest
xrandr --addmode HDMI-1 $4
xrandr --output HDMI-1 --mode $4

Usage is therefore...

Code:
bash x.sh 1920 1080  60 "test-0001"

The current mode is...

Code:
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 4096 x 4096
HDMI-1 connected primary 1920x1080+0+0 (0x43) normal (normal left inverted right x axis y axis) 597mm x 336mm
    Identifier: 0x41
    Timestamp:  204213
    Subpixel:   unknown
    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:
        00ffffffffffff0026cd1e66cd050000
        081c0103803c2278eaa191a65650a026
        0d5054254b009500a9c0a900a940b300
        d1c0d100e100565e00a0a0a029503020
        350055502100001a000000ff00313134
        33313830383131343835000000fd0032
        4b1e591b000a202020202020000000fc
        00504c32373833510a2020202020011e
        020322f14f1005040302011112131406
        0715161f230907078301000065030c00
        1000023a801871382d40582c45005550
        2100001e011d8018711c1620582c2500
        55502100009e011d007251d01e206e28
        550055502100001e8c0ad08a20e02d10
        103e9600555021000018000000000000
        000000000000000000000000000000cd
    max bpc: 0
        range: (8, 16)
    link-status: Good
        supported: Good, Bad
    CONNECTOR_ID: 49
        supported: 49
    non-desktop: 0
        range: (0, 1)
  1920x1080 (0x43) 148.500MHz +HSync +VSync *current
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  67.50KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  60.00Hz

but if I try to create a duplicate mode or a higher res mode I just get an error but as you can see below "gtf" is not creating a matching mode to the current one that is working....

Code:
test-0001 (0x25e) 172.800MHz -HSync +VSync
        h: width  1920 start 2040 end 2248 total 2576 skew    0 clock  67.08KHz
        v: height 1080 start 1081 end 1084 total 1118           clock  60.00Hz

All the tests I have done 60 odd in total all fail with

Code:
xrandr: Configure crtc 0 failed

I am probably doing something obvious wrong but to be fair I am now losing the will to live Smile

If anyone can help point me in the right direction on this extensive voyage of discovery I would really really appreciate it. :pray:
  Reply


Messages In This Thread
xrandr: Configure crtc 0 failed - by rrowles2000 - 05-11-2021, 04:12 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)