Hello,
Recently I (accidentally) broke my laptop screen so I had it replaced for the exact part number, as claimed by the technician. However, the default resolution it is set to is 1366x768, which is weird because I looked at the screen with a magnifying glass and I’m almost sure it is Full HD (I didn’t count each individual pixel, apologies). The technician seemed confused as, according to him the laptop shouldn’t even know the difference.
All attempts to change the resolution have failed. I tried to change it using the GNOME (I mostly use i3wm though) settings app, as well as xrandr. I also multi boot Alpine and Void and changing the resolution failed using every method I’ve tried. Using either Xorg or Wayland doesn’t make a difference.
xrandr:
Screen 0: minimum 320 x 200, current 1366 x 768, maximum 16384 x 16384
eDP connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
1366x768 60.00*+
1280x720 60.00
1024x768 60.00
800x600 60.00
640x480 60.00
1920x1080_60.00 59.96
HDMI-A-0 disconnected (normal left inverted right x axis y axis)
➤ xrandr --verbose
Screen 0: minimum 320 x 200, current 1366 x 768, maximum 16384 x 16384
eDP connected primary 1366x768+0+0 (0x55) normal (normal left inverted right x axis y axis) 344mm x 194mm
Identifier: 0x52
Timestamp: 37954379
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:
00ffffffffffff0009e5ef0800000000
011d010495221378020245945c589229
21505400000001010101010101010101
010101010101c71d56e250001e303020
360058c21000001a0000000000000000
0000000000000000001a000000fe0042
4f452043510a202020202020000000fe
004e5431353657484d2d4e34340a0096
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: on
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)
1366x768 (0x55) 76.230MHz +HSync -VSync *current +preferred
h: width 1366 start 1414 end 1446 total 1592 skew 0 clock 47.88KHz
v: height 768 start 771 end 777 total 798 clock 60.00Hz
1280x720 (0x56) 76.230MHz +HSync -VSync
h: width 1280 start 1414 end 1446 total 1592 skew 0 clock 47.88KHz
v: height 720 start 771 end 777 total 798 clock 60.00Hz
1024x768 (0x57) 76.230MHz +HSync -VSync
h: width 1024 start 1414 end 1446 total 1592 skew 0 clock 47.88KHz
v: height 768 start 771 end 777 total 798 clock 60.00Hz
800x600 (0x58) 76.230MHz +HSync -VSync
h: width 800 start 1414 end 1446 total 1592 skew 0 clock 47.88KHz
v: height 600 start 771 end 777 total 798 clock 60.00Hz
640x480 (0x59) 76.230MHz +HSync -VSync
h: width 640 start 1414 end 1446 total 1592 skew 0 clock 47.88KHz
v: height 480 start 771 end 777 total 798 clock 60.00Hz
1920x1080_60.00 (0x6bb) 173.000MHz -HSync +VSync
h: width 1920 start 2048 end 2248 total 2576 skew 0 clock 67.16KHz
v: height 1080 start 1083 end 1088 total 1120 clock 59.96Hz
HDMI-A-0 disconnected (normal left inverted right x axis y axis)
Identifier: 0x53
Timestamp: 37954379
Subpixel: unknown
Clones:
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:
GAMMA_LUT_SIZE: 4096
range: (0, -1)
DEGAMMA_LUT_SIZE: 4096
range: (0, -1)
GAMMA_LUT: 0
range: (0, 65535)
CTM: 0
DEGAMMA_LUT: 0
range: (0, 65535)
TearFree: on
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: 8
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: 85
supported: 85
non-desktop: 0
range: (0, 1)
I added a new mode (which already existed before the calamity), and tried to set it. I ran each command as root as well (just in case). Each time the screen flickers for a second and reverts itself.
➤ xrandr --output eDP --mode "1920x1080_60.00"
xrandr: Configure crtc 0 failed
➤ xrandr --output eDP --crtc 1 --mode "1920x1080_60.00"
xrandr: Configure crtc 1 failed
➤ xrandr --output eDP --crtc 2 --mode "1920x1080_60.00"
xrandr: Configure crtc 2 failed
➤ xrandr --output eDP --crtc 3 --mode "1920x1080_60.00"
xrandr: Configure crtc 3 failed
When trying to change resolution using GNOME settings app, it shows the popup asking the user if they wish to save the new setting, but nothing changes at all.
journactl -f
Jul 07 17:21:01 x505za /usr/lib/gdm-x-session[867]: (EE) AMDGPU(0): failed to set mode: Cannot allocate memory
Jul 07 17:21:01 x505za /usr/lib/gdm-x-session[867]: (II) AMDGPU(0): EDID vendor "BOE", prod id 2287
Jul 07 17:21:01 x505za /usr/lib/gdm-x-session[867]: (II) AMDGPU(0): Printing DDC gathered Modelines:
Jul 07 17:21:01 x505za /usr/lib/gdm-x-session[867]: (II) AMDGPU(0): Modeline "1366x768"x0.0 76.23 1366 1414 1446 1592 768 771 777 798 +hsync -vsync (47.9 kHz eP)
I also tried following the answer on https://bbs.archlinux.org/viewtopic.php?id=271864 but to no avail.
➤ lspci -knn | grep -iA3 'vga\|3d\|display'
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] [1002:15dd] (rev c4)
Subsystem: ASUSTeK Computer Inc. Device [1043:1091]
Kernel driver in use: amdgpu
Kernel modules: amdgpu
Please let me know if any more information is required.
Thank you!