Black screen and power button when waking computer

Sometimes when waking computer from suspension/sleep, the display is black, and the LED indicator on the case’ power button doesn’t turn back on. Rest of the system seem to be fine because the motherboard lights and fans are on.

Log shows nvidia-powerd sent message Found unsupported configuration. Exiting...

Operating System: Fedora Kinoite 40
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.8.9-300.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-7500 CPU @ 3.40GHz
Graphics Processor: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2

 lsmod | grep -E 'nvidia|nouveau'
nvidia_drm            131072  72
nvidia_modeset       1605632  19 nvidia_drm
video                  77824  2 i915,nvidia_modeset
nvidia_uvm           6778880  2
nvidia              60518400  694 nvidia_uvm,nvidia_modeset


 nvidia-settings -q DynamicBoostSupport


ERROR: Error resolving target specification '' (No targets match target specification), specified in query
       'DynamicBoostSupport'.



 nvidia-smi
Thu May 16 07:03:57 2024       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.78                 Driver Version: 550.78         CUDA Version: 12.4     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce GTX 1050 Ti     Off |   00000000:01:00.0  On |                  N/A |
| 45%   23C    P8             N/A /   75W |     682MiB /   4096MiB |      6%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A      6409      G   /usr/bin/kwalletd6                              1MiB |
|    0   N/A  N/A      6602      G   /usr/bin/kwin_wayland                          95MiB |
|    0   N/A  N/A      7132      G   /usr/bin/Xwayland                               1MiB |
|    0   N/A  N/A      7242      G   /usr/bin/ksmserver                              1MiB |
|    0   N/A  N/A      7248      G   /usr/bin/kded6                                  1MiB |
|    0   N/A  N/A      7276      G   /usr/bin/plasmashell                          122MiB |
|    0   N/A  N/A      7301      G   /usr/libexec/kactivitymanagerd                  1MiB |
|    0   N/A  N/A      7308      G   ...6/polkit-kde-authentication-agent-1          1MiB |
|    0   N/A  N/A      7309      G   /usr/libexec/org_kde_powerdevil                 1MiB |
|    0   N/A  N/A      7311      G   /usr/libexec/xdg-desktop-portal-kde             1MiB |
|    0   N/A  N/A      8123      G   /usr/libexec/kdeconnectd                        1MiB |
|    0   N/A  N/A      8157      G   /usr/bin/kaccess                                1MiB |
|    0   N/A  N/A      8161      G   /usr/libexec/DiscoverNotifier                   1MiB |
|    0   N/A  N/A     10041      G   ...ures=SpareRendererForSitePerProcess        190MiB |
|    0   N/A  N/A     12068      G   /usr/libexec/baloorunner                        1MiB |
|    0   N/A  N/A     12074      G   /usr/bin/drkonqi-coredump-gui                  81MiB |
|    0   N/A  N/A     12700      G   /app/bin/gnome-logs                            59MiB |
|    0   N/A  N/A     16745      G   /usr/bin/ptyxis                                56MiB |
+-----------------------------------------------------------------------------------------+


 systemctl status nvidia-powerd.service
○ nvidia-powerd.service - nvidia-powerd service
     Loaded: loaded (/usr/lib/systemd/system/nvidia-powerd.service; enabled; preset: enabled)
    Drop-In: /usr/lib/systemd/system/service.d
             └─10-timeout-abort.conf
     Active: inactive (dead) since Thu 2024-05-16 06:39:56 PDT; 28min ago
   Duration: 623ms
    Process: 2431 ExecStart=/usr/bin/nvidia-powerd (code=exited, status=1/FAILURE)
   Main PID: 2431 (code=exited, status=1/FAILURE)
        CPU: 7ms

May 16 06:39:55 k systemd[1]: Started nvidia-powerd.service - nvidia-powerd service.
May 16 06:39:55 k /usr/bin/nvidia-powerd[2431]: nvidia-powerd version:1.0(build 1)
May 16 06:39:55 k /usr/bin/nvidia-powerd[2431]: Found unsupported configuration. Exiting...
May 16 06:39:56 k systemd[1]: nvidia-powerd.service: Deactivated successfully.

 rpm -qa | grep xorg
xorg-x11-xauth-1.1.2-6.fc40.x86_64
xorg-x11-xinit-1.4.2-2.fc40.x86_64
xorg-x11-server-Xwayland-23.2.6-1.fc40.x86_64
xorg-x11-drv-nvidia-cuda-libs-550.78-1.fc40.x86_64
xorg-x11-server-common-1.20.14-35.fc40.x86_64
xorg-x11-drv-nvidia-kmodsrc-550.78-1.fc40.x86_64
xorg-x11-drv-nvidia-cuda-libs-550.78-1.fc40.i686
xorg-x11-drv-libinput-1.4.0-2.fc40.x86_64
xorg-x11-server-Xorg-1.20.14-35.fc40.x86_64
xorg-x11-drv-nvidia-libs-550.78-1.fc40.i686
xorg-x11-drv-nvidia-libs-550.78-1.fc40.x86_64
xorg-x11-drv-nvidia-power-550.78-1.fc40.x86_64
xorg-x11-drv-nvidia-550.78-1.fc40.x86_64
xorg-x11-drv-nvidia-cuda-550.78-1.fc40.x86_64
xorg-x11-drv-nvidia-devel-550.78-1.fc40.x86_64

Attached is the output of nvidia-bug-report.sh
nvidia-bug-report.log (5.6 MB)

The last message in journal was from suspending, so I guess the mainboard didn’t even try to resume. Please check for a bios update.

1 Like

Thanks for looking into this. According to https://www.gigabyte.com/Motherboard/GA-B250-HD3-rev-10/support#support-dl-bios, the bios is already the latest. The resume function works fine in Windows as a comparison.

That’s odd. Please create a full journal log after this happens on the next reboot running
sudo journalctl -e -b-1 >journal.txt

I just rebooted and created a full journal log. The system went into emergency rescue mode the first reboot, and I had to reboot for a second time.
journal.txt (112.4 KB)

And here is a newer log after the issue happened again today, in case it contains additional info. (This time the reboot was successful tho and didn’t go into emergency rescue mode)
journal.txt (111.9 KB)

Both logs were from a clean shutdown sio I suspect you used the wrong -b value. -1 is for the previous boot, -2 for the boot before that. You should get the point.

1 Like

I see. Here are the logs from the two reboots right before the one in my first journal.txt comment.
journal-15.txt (114.3 KB)
journal-16.txt (127.7 KB)

And here’s the reboot right after that one
journal-13.txt (113.6 KB)

journal 13 was the correct log but this only showed the same, the system went to deep sleep properly and never woke up again.

Update -

I found a more accurate way to describe the bug: when the computer is supposed to go to sleep/suspend, the monitor turns off correctly, the LED on the PC case’ power button also goes off fine. The only thing that’s still awake is the motherboard, as I can see the fans spinning and lights on the mobo.

The log may not show correctly because the computer didn’t actually go to sleep to begin with(?) Attached are the new logs.
journal-2.txt (128.0 KB)
journal-3.txt (118.8 KB)
journal-4.txt (119.9 KB)
journal-5.txt (110.7 KB)

The last message is always
May 19 01:02:32 k kernel: PM: suspend entry (deep)
so it’s failing at the kernel level.

I see. Should I report the bug to the kernel developers?

I guess you will have to debug suspend first
https://www.kernel.org/doc/html/v5.8/power/basic-pm-debugging.html
https://wiki.ubuntu.com/DebuggingKernelSuspend