Computer takes 20 minutes to shutdown with new 5070

Good evening everyone,

I’ve had this issue for a little bit and haven’t found a fix for it.

Ever since I bought myself an asus RTX 5070 my computer takes a good while to shut down (i believe close to 20 minutes on the dot). A friend told me this may likely be because of a program hanging at shutdown. When i launch through Windows 10 it shuts down right away, so it makes me think it’s something in Fedora itself.

I also went ahead and updated my bios to the most up to date version to hopefully try to fix this a bit ago.

Hopefully there’s some way this can be troubleshooted.

Thanks.

I think if you switch to one of the VTs with, e.g., Ctrl+Alt+F3 and then reboot with Ctrl+Alt+Del, you should be able to watch the shutdown/reboot messages. If a graphic pops up and conceals the messages, try pressing the Esc key to dismiss it.

Hey Greg,

I’ll give this a try today and get some errors hopefully posted.

Thanks.

Not quite friendly/easy, but you may find what took time by using journalctl -o short-delta

For example: journalctl -b -1 -o short-delta | less
search first for /The system will reboot now Enter
that would look like:

   [274832.854803 <   21.531880 >] HOST systemd-logind[PID]: The system will reboot now!
   [274832.870915 <    0.016112 >] HOST audit[...]

then search for a delta greater than 1 with: /< *[1-9] Enter
go to the next match by hitting n, iterate

Or automate this with:

journalctl --no-hostname -b -1 -o short-delta \
  | sed -n '/The system will reboot now/,$p' \
  | grep -1 '< *[1-9]'

That gives on my machine:

[274832.854803 <   21.531880 >] systemd-logind[1038]: The system will reboot now!
[274832.870915 <    0.016112 >] audit[9806]: [...]
--
[274833.257095 <    0.000009 >] systemd[1]: sys-devices-pci0000:00-0000:00:14.0-usb1-1\x2d6-1\x2d6:1.0-sound-card0-controlC0.device: Failed to enqueue SYSTEMD_WANTS job, ignoring: Transaction for sound.target/start is destructive (shutdown.target has 'start' job queued, but 'stop' is included in transaction).
[274835.891272 <    2.634177 >] systemd[1]: session-3.scope: Deactivated successfully.
[274835.891836 <    0.000564 >] systemd[1]: Stopped session-3.scope - Session 3 of User fm.

The last line is:

[274837.127081 <    0.000067 >] systemd-journald[649]: Journal stopped

Less than 5 seconds to stop (the system)

To catch this last line, you can run:

( journalctl --no-hostname -b -1 -o short-delta; echo '< 1'; ) \
  | sed -n '/The system will reboot now/,$p' \
  | grep -1 '< *[1-9]'