I recently installed Ubuntu 24.04 on a HP Elite Desk. I have run into a problem where I am unable to restart Ubuntu but I have no problems shutting it down or cold booting it from shutdown.

Context about my setup:
HP Elite Desk with an HDMI connection to a television running Ubuntu 24.04

Context about occurrence of the problem:
The problem is whenever I try to restart using multiple different scenarios my computer never fully restarts and I end up in a situation where the computer is started but my television says there's no HDMI signal. Each time this happens I power the machine off holding the power button and then power back on and everything starts up fine.

All of the following scenarios have failed to restart for me:

  • after installation when it prompts you to remove the USB installation media and hit enter
  • after running Software Updater and click restart now
  • after clicking the restart button from the top right corner of the desktop (clicking Power off work fine)
  • after entering
    Code:
    sudo shutdown -r
    in terminal


Diagnosis so far:

I think on restart the X server is failing to start and I end up with my computer turned on but no HDMI signal out to the tv.

I am basing this on the following logs.

From
Code:
/var/log/syslog.log
I see the following:

Code:
2024-08-13T10:49:07.998071-06:00 /usr/libexec/gdm-x-session[1217]: (EE) no screens found(EE)
2024-08-13T10:49:07.998173-06:00 /usr/libexec/gdm-x-session[1217]: (EE) Please also check the  log file at "/var/log/Xorg.0.log" for additional information.
2024-08-13T10:49:07.998193-06:00 /usr/libexec/gdm-x-session[1217]: (EE)
2024-08-13T10:49:07.998467-06:00 /usr/libexec/gdm-x-session[1217]: (EE) Server terminated with  error (1). Closing log file.
2024-08-13T10:49:07.999551-06:00 /usr/libexec/gdm-x-session[1215]: Unable to run X server
2024-08-13T10:49:08.001786-06:00 gdm3: Gdm: GdmDisplay: Session never registered, failing
From
Code:
/var/log/Xorg.0.log
I see it try to match multiple settings to autoconfigured driver but none seem to match. I also see entries in the log like
Code:
[ 17.845] (EE) open /dev/dri/card0: No such file or directory
but don't see any other cards it tries which is also curious cause when my system is running I see the following:
Code:
$ ls -al /dev/dri
total 0
drwxr-xr-x 3 root root 100 Aug 13 11:01 .
drwxr-xr-x 20 root root 4300 Aug 13 13:14 ..
drwxr-xr-x 2 root root 80 Aug 13 11:01 by-path
crw-rw----+ 1 root video 226, 1 Aug 13 11:01 card1
crw-rw----+ 1 root render 226, 128 Aug 13 11:01 renderD128
and
Code:
$ ls -al /dev/dri/by-path/
total 0
drwxr-xr-x 2 root root  80 Aug 13 11:01 .
drwxr-xr-x 3 root root 100 Aug 13 11:01 ..
lrwxrwxrwx 1 root root   8 Aug 13 11:01 pci-0000:00:02.0-card -> ../card1
lrwxrwxrwx 1 root root  13 Aug 13 11:01 pci-0000:00:02.0-render -> ../renderD128
Does it look like the X server failing to start would cause this problem? If so, why would it be a problem on restarts but not cold boots? Any help would be appreciated.