Weird issue with 7900XT and Ubuntu 24.04.02 LTS - Black screen intermittent and sometimes boot without display

Soldato
Joined
29 Dec 2014
Posts
2,506
Location
The "North"
Hey all,

I've been using Ubuntu for a while for my servers and on my laptop without any major issues or oddities however last month I took the jump and installed it on my main desktop rig and for some reason it just doesn't seem to be "gelling" like it did with the other systems,

The system I have is:
  • AMD Ryzen 7 5800X3D
  • Gigabyte X570 Aorus Elite (ATX)
  • Sapphire Pulse 7900XT
Initially when I installed the system I tried using the TPM based encryption option (Which admittedly is experimental) and it installed fine but for some reason could not access the TPM to decrypt the system after install however after re-installing with LUKS I noticed that I could get no display out of either of the HDMI ports on the card.

I managed to get output from the DisplayPort so I installed the AMD drivers which then allowed the system to output via HDMI but after a few other quirks I decided to re-install the system and use DisplayPort so I could use my KVM.

I've left the drivers as is as with the default setup it works just fine in terms of refresh rates etc however I am getting a really weird issue where at random the system seems to have a black screen for 1-2 seconds at random once or twice, it operates completely normally other than this and it can happen multiple times throughout the evening or not at all.

I've checked the connections to the display and all the cables seem fine, I use a KVM however I have bypassed this and it still seems to do it but only in Ubuntu, when Windows is installed there are zero issues with or without the KVM.

Potentially related is that if the system is powered on without the monitor being powered out it won't detect the display without a complete reboot, same goes if it idles and the display turns off, when it comes back on the system seems to have no awareness that their is a display connected and needs to be hard rebooted to detect a display.

On my laptop I have no issues like this, it worked out of the box and can idle, sleep etc without any issues so I'm leaning towards it being some sort of weird driver anomaly. I would say it could be a defective GPU or PSU except both have been working with Windows 11 for over a year and several features updates without any glitches like this.

Any help or advice would be appreciated as whilst I have seen some info online it all points to being solved in kernel updates for older versions
 
My setup is a bit different to yours, but I did new build recently (except for old GPU) and installed Ubuntu 24.04 from scratch. I struggled with so many issues with Ubuntu 24.04 and at one stage I was pretty certain my GPU was defective however it wasn't. Then more recently Ubuntu changed the kernel from 6.8 to 6.11 and with that the monitors wouldn't wake up after sleep (+ other instability in games) and going back to 6.8 was way harder than it should have been. I've had a lot less issues with Ubuntu 22, 20 and 18 in the past.
That makes me feel better as I thought I was doing something really daft which is why it wasn't working.

Bit annoying though as the GPU has been out a few years now so I would have thought it would be relatively stable with it's implementation :D
 
Back
Top Bottom