Cannot change screen resolution after monitor replace

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!

The fact the laptop detects the 1366x768 resolution suggests that’s the native resolution of the panel.

Probably worth asking him to fix it properly, and replace the panel with one that works (or the correct part, rather than a cheaper one) rather than expecting you to fix it yourself?

I think that answer is about nvidia and installing an older driver. How did you follow that, while using amdgpu? :smiley:

It seems you know what the problem is and just don’t want to believe it! :rofl:
Monitors emit their EDID with their technical/HW characteristics, and the system just believes it. Something is obviously different between those two pieces of hardware.
In any case, we can do only little, when we have certain report from xrandr, and that is what you have already tried (add and use a new resolution). Are you sure you did it correctly?

The most we could do IMHO is to review (the full) Xorg log, for any hint from messages, while you had tried changing resolution, but it is just a hope, not expecting much…

This issue sounds like a hardware issue, and I would suggest you request for a new replacement :person_shrugging:

I think that answer is about nvidia and installing an older driver. How did you follow that, while using amdgpu? :smiley:

Sorry, should’ve been more specific! I just tried adding dkms.

Hahaha. Actually I have an old, slightly more embarrassing laptop that I know runs at 1366x768, and my laptop did seem to be more HD-ier than the other - or it might just be like you said. I want to believe so.

As for how I did it, I used this and I’m sure that I did it correctly because I did it like 6 times. I’m dumb but I’m not that dumb :stuck_out_tongue_closed_eyes:

As for the Xorg log file, /var/log/Xorg.0.log seems to be empty and there’s nothing else. Am I doing it wrong?

Ahh no! I’ve imprinted hard on my laptop and would hate to change it hahah. Is there a way I can ascertain what the hardware resolution is without spending a day to count pixels?

Unfortunately no, he said he has no idea how Linux works and that it’s mostly Linux’s fault. I have stopped interacting with him since then /s

xrandr --output eDP --mode auto

does work?

What resolution is the display when it’s in the BIOS/UEFI? If it’s 1366x768 then you can rule out the OS completely and say pretty categorically that it’s a hardware issue.

You can also tell if it’s running at a resolution lower than native because things being displayed won’t be sharp, i.e. text, UI lines, icons, etc. will look blurred.

It basically sounds to me like this technician is fobbing you off with some pretty poor excuses. I hope you haven’t paid yet.

1 Like

xrandr: cannot find mode auto

Did you mean xrandr --output eDP auto ?
In which case, the resolution did not change, it stayed at 1366x768.

I never thought to check the BIOS! Sadly it is 1366x768 :frowning_face:
I did pay (what he said was) the full price of the panel. Thanks for the idea of checking out the BIOS :slight_smile:

As a follow up, I’m very used to the scale of things as before, would it be possible to change the display scaling to 0.8?

Thank you to everyone who checked this out! Although didn’t work the way I hoped, I really appreciate your time!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.