Problem:
When I lock my screen using the OS key + L shortcut while connected to an external display via HDMI, I can't get the display to show up again afterwards. The screen remains blank no matter what I do.
What I've tried:
Disconnecting and reconnecting the HDMI cableWaiting for an extended periodPressing various key combinations
Current workaround:The only solution I've found is to force restart the system, which is inconvenient and disruptive to my workflow.System details:
Operating System: Ubuntu 24.04 LTS (64-bit)
Graphics card:
> sudo lshw -C display*-display
description: VGA compatible controllerproduct: GA103M [GeForce RTX 3080 Ti Laptop GPU]vendor: NVIDIA Corporationphysical id: 0bus info: pci@0000:01:00.0logical name: /dev/fb0version: a1width: 64 bitsclock: 33MHzcapabilities: pm msi pciexpress vga_controller bus_master cap_list rom fbconfiguration: depth=32 driver=nvidia latency=0 mode=2560x1600 visual=truecolor xres=2560 yres=1600resources: iomemory:600-5ff iomemory:640-63f irq:236 memory:6f000000-6fffffff memory:6000000000-63ffffffff memory:6400000000-6401ffffff ioport:5000(size=128) memory:70080000-700fffff*-displaydescription: VGA compatible controllerproduct: Alder Lake-P GT2 [Iris Xe Graphics]vendor: Intel Corporationphysical id: 2bus info: pci@0000:00:02.0logical name: /dev/fb0version: 0cwidth: 64 bitsclock: 33MHzcapabilities: pciexpress msi pm vga_controller bus_master cap_list rom fbconfiguration: depth=32 driver=i915 latency=0 resolution=2560,1600resources: iomemory:640-63f iomemory:400-3ff irq:235 memory:642f000000-642fffffff memory:4000000000-400fffffff ioport:6000(size=64) memory:c0000-dffff memory:4010000000-4016ffffff memory:4020000000-40ffffffff
> xrandr | grep " connected"eDP-1 connected (normal left inverted right x axis y axis)HDMI-1-0 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 698mm x 393mm