Xorg issues with Ubuntu 24.04

Hi,

I am trying to debug an issue with my Xorg xserver. Previously, I was running Ubuntu 24.04 on Linux kernel 6.8 with no issues, with an Nvidia RTX 4090. I used the NVIDIA.run installer to install the CUDA drivers, which allowed me to use the CUDA libraries but broke my display manager and now I can only tty / ssh into the system. I am now trying to fix my display manager so I can start using a new monitor.

List of things I have tried:

  • reinstalling nvidia-driver-535, 550
  • uninstalling (sudo apt purge *nvidia*) drivers
  • switching display manager from gdm to lightdm/sddm (all display managers don’t start)
  • using NVIDIA.run -uninstall(said no drivers installed, might’ve already ran this once before)
  • use the iGPU on my mobo (doesn’t give displayport output; I suspect underlying issue with xserver)
  • run X -configure (gives error: number of created screens does not match number of detected devices)
  • delete /etc/X11/xorg.conf (doesn’t do anything)
  • run nvidia-xconfig (still same issue)
  • run dpkg-reconfigure xorg-xserver (generated xorg.conf file doesn’t fix it)
  • create custom xorg.conf (X -configure on Ubuntu 24.04 keeps defaulting to /root/xorg.conf.new)
  • update kernel to 6.9 liquorix (kernel didn’t work)
  • switch back to nouveau drivers (didn’t even give systemd output anymore when booting up)

I am trying to figure out how to fix the issue without completely reinstalling Ubuntu, as I am trying to keep my progress so far with custom systemd files, etc…

My current error is that it shows “gdm.service failed to start” when booting up, and I haven’t been able to get past it. I ran a hardware probe and it seems like the hardware is working fine: HW probe of MSI MAG Z590 TORPEDO Desktop Computer (MS-7D08) #ce291a2490. I’ve attached the most recent Xorg log file below.

xorg.txt (7.9 KB)
nvidia-bug-report.log.gz (1.1 MB)

Any help would be great, thank you.

Ended up resolving the issue by the good ol’ reinstall Ubuntu.

Moral of the story… don’t use the NVIDIA .run installer with Linux.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.