Custom 'xrandr' resolutions show up totally blank

Hi,
I am trying to add a custom resolution to my laptop. I followed this which is the standard ‘cvt’, ‘xrandr --newmode’ and ‘xrandr --addmode’. I’ve successfully added the resolution, but when I try to apply it, using ‘xrandr --output’ or using the ‘Display Resolution’ app, my screen just goes blank/black. No custom resolutions seem to work. I have done a lot of searching to try solve this issue, but I am at a loss.

My laptop is a ‘HUAWEI MateBook D14’ (kpl-w0x), which has an ‘AMD Radeon RX Vega 8’.

This is the output of ‘xrandr --verbose’


Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP connected primary 1920x1080+0+0 (0x58) normal (normal left inverted right x axis y axis) 309mm x 173mm
        Identifier: 0x53
        Timestamp:  6249
        Subpixel:   unknown
        Gamma:      1.0:1.0:1.0
        Brightness: 1.0
        Clones:     
        CRTC:       0
        CRTCs:      0 1 2 3
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter:  
        EDID:  
                00ffffffffffff0009e53c0800000000
                291c0104a51f117802fb90955d599429
                23505400000001010101010101010101
                0101010101013c3780de703814403020
                360035ad1000001a0000000000000000
                0000000000000000001a000000fe0042
                4f452043510a202020202020000000fe
                00545631343046484d2d4e48300a00f1
        GAMMA_LUT_SIZE: 4096  
                range: (0, -1)
        DEGAMMA_LUT_SIZE: 4096  
                range: (0, -1)
        GAMMA_LUT: 0  
                range: (0, 65535)
        CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0  
                0 1  
        DEGAMMA_LUT: 0  
                range: (0, 65535)
        TearFree: auto  
                supported: off, on, auto
        HDCP Content Type: HDCP Type0  
                supported: HDCP Type0, HDCP Type1
        Content Protection: Undesired  
                supported: Undesired, Desired, Enabled
        vrr_capable: 0  
                range: (0, 1)
        max bpc: 16  
                range: (8, 16)
        underscan vborder: 0  
                range: (0, 128)
        underscan hborder: 0  
                range: (0, 128)
        underscan: off  
                supported: off, on, auto
        scaling mode: None  
                supported: None, Full, Center, Full aspect
        link-status: Good  
                supported: Good, Bad
        CONNECTOR_ID: 78  
                supported: 78
        non-desktop: 0  
                range: (0, 1)

When I try to set the output with ‘xrandr’ with ‘–verbose’ I get this


crtc 0: disable
screen 0: 1888x1080 498x285 mm  96.25dpi
crtc 0: 1888x1080_60.00  59.95 +0+0 "eDP"

Thanks,
Adam

What problem are you trying to solve by utilizing some random oddball mode your display apparently does not support?

Try instead

> xrandr --output eDP --mode 1920x1080 --scale-from 1888x1080
> xrandr | egrep 'onnect|creen|\*' | grep -v disconn | sort -r
Screen 0: minimum 320 x 200, current 3808 x 1200, maximum 16384 x 16384
HDMI connected 1888x1080+1920+0 (normal left inverted right x axis y axis) 160mm x 90mm
eDP connected primary 1920x1200+0+0 (normal left inverted right x axis y axis) 519mm x 324mm
   1920x1200     59.95*+
   1920x1080     60.00*+  59.94    30.00    24.00    29.97    23.98
>

.