Wayland on hybrid laptop - GPU will not suspend after unplugging HDMI

nvidia-bug-report.log.gz (519.0 KB)

Environment: GNOME 48/Wayland

Steps to reproduce:

  1. Boot computer & log in without external display connected. Do not launch any additional applications that would utilize the Nvidia GPU.
  2. After a few seconds, run cat /sys/bus/pci/devices/0000:01:00.0/power/runtime_status.
  3. Note that it returns suspended.
  4. Connect an external display to the HDMI port. Runtime status switches to active as expected.
  5. Unplug the external display.
  6. Monitor runtime status.
  7. Note that it is stuck on active and will not return to suspended until the computer is rebooted.