I have the same issue on a Dell Latitude 5490 running Ubuntu 22.04.1 LTS.
The Dell is connected via USB-C to DisplayPort (DisplayPort alt mode) to an 
external monitor (Dell Alienware aw3821dw).
After the screen locks and display went to sleep mode and I return to my desk, 
the screen always has a resolution of 1024x768 and I can see the following in 
my syslog:

Nov 25 13:05:03 latitude-5490 kernel: [17418.633249] i915 0000:00:02.0: [drm] 
*ERROR* failed to enable link training
Nov 25 13:04:59 latitude-5490 rtkit-daemon[1842]: message repeated 29 times: [ 
Supervising 11 threads of 6 processes of 1 users.]
Nov 25 13:05:03 latitude-5490 /usr/libexec/gdm-x-session[3009]: (EE) 
modeset(0): failed to set mode: Invalid argument
Nov 25 13:05:03 latitude-5490 /usr/libexec/gdm-x-session[3009]: (EE) 
modeset(0): failed to set mode: Invalid argument
Nov 25 13:05:03 latitude-5490 dbus-daemon[1165]: [system] Activating via 
systemd: service name='net.reactivated.Fprint' unit='fprintd.service' requested 
by ':1.100' (uid=1000 pid=3348 comm="/usr/bin/gnome-shell " label="unconfined")
Nov 25 13:05:03 latitude-5490 systemd[1]: Starting Fingerprint Authentication 
Daemon...
Nov 25 13:05:03 latitude-5490 dbus-daemon[1165]: [system] Successfully 
activated service 'net.reactivated.Fprint'
Nov 25 13:05:03 latitude-5490 systemd[1]: Started Fingerprint Authentication 
Daemon.
Nov 25 13:05:04 latitude-5490 /usr/libexec/gdm-x-session[3009]: (EE) 
modeset(0): failed to set mode: Invalid argument
Nov 25 13:05:04 latitude-5490 /usr/libexec/gdm-x-session[3009]: (WW) 
modeset(0): hotplug event: connector 112's link-state is BAD, tried resetting 
the current mode. You may be leftwith a black screen if this fails...
Nov 25 13:05:04 latitude-5490 /usr/libexec/gdm-x-session[3009]: (II) 
modeset(0): EDID vendor "DEL", prod id 41343
Nov 25 13:05:04 latitude-5490 /usr/libexec/gdm-x-session[3009]: (II) 
modeset(0): Using hsync ranges from config file
Nov 25 13:05:04 latitude-5490 /usr/libexec/gdm-x-session[3009]: (II) 
modeset(0): Using vrefresh ranges from config file
Nov 25 13:05:04 latitude-5490 /usr/libexec/gdm-x-session[3009]: (II) 
modeset(0): Printing DDC gathered Modelines:
Nov 25 13:05:04 latitude-5490 /usr/libexec/gdm-x-session[3009]: (II) 
modeset(0): Modeline "3840x1600"x0.0  397.40  3840 3888 3920 4000  1600 1603 
1608 1656 +hsync -vsync (99.3 kHz eP)
Nov 25 13:05:04 latitude-5490 /usr/libexec/gdm-x-session[3009]: (II) 
modeset(0): Modeline "3840x1600"x0.0  566.25  3840 3888 3920 4000  1600 1603 
1608 1666 +hsync -vsync (141.6 kHz e)
Nov 25 13:05:04 latitude-5490 /usr/libexec/gdm-x-session[3009]: (II) 
modeset(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 
+hsync +vsync (37.9 kHz e)
Nov 25 13:05:04 latitude-5490 /usr/libexec/gdm-x-session[3009]: (II) 
modeset(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 
-hsync -vsync (31.5 kHz e)
Nov 25 13:05:04 latitude-5490 /usr/libexec/gdm-x-session[3009]: (II) 
modeset(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 
806 -hsync -vsync (48.4 kHz e)
Nov 25 13:05:04 latitude-5490 /usr/libexec/gdm-x-session[3009]: (EE) 
modeset(0): failed to set mode: Invalid argument
Nov 25 13:05:04 latitude-5490 gnome-shell[3348]: Failed to use stored monitor 
configuration: Invalid mode 3840x1600 (59,993961) for monitor 'DEL Dell 
AW3821DW'


Linux latitude-5490 5.15.0-53-generic #59-Ubuntu SMP Mon Oct 17 18:53:30 UTC 
2022 x86_64 x86_64 x86_64 GNU/Linux

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1978980

Title:
  [amdgpu] Wrong external screen resolution after wake up from sleep

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1978980/+subscriptions


_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to