Monday, 3 February 2025

Ubuntu 24.04 No Xorg GUI

 Just had an issue where I started seeing errors with X applications when using Ubuntu 24.0.4 The error was "libGL error: did not find extension DRI_Mesa version 1".

I saw this error when trying to start the Gridcoinresearch client, but also with some test programs such as glxgears. It seemed to be an issue with a mesa update, but as it's wasn't causing major issues, I thought I'd wait for an update to addresses.

Sometime today, my laptop shutoff for reasons unknown, and when I tried to restart it I was getting a white screen stating "Oh, no! Something has gone wrong. Contact a system administrator.".

I could use Alt+F2 to login to a TTY but couldn't see anything obvious in the logs.

I looked to see what "sudo apt update" showed, and I could see several X\Mesa related updates held back so I manually installed these and a reboot got things working, including gridcoinresearch and glxgears.

I expect a bug slipped out in one of these apt packages, so might be work "sudo apt-get install ..." to manually install them if needed?

The packages I installed to update were:

  • libegl-mesa0
  • libegl-mesa0:i386
  • libgbm1
  • libgbm1:i386
  • libglapi-mesa
  • libglapi-mesa:i386
  • libglx-mesa0
  • libglx-mesa0:i386