On my work computer with a Ryzen 7 "Renoir" GPU the problem was not the drivers but the fact that the latest Ubuntu LTS ships with an older kernel, so having to run latest mainline.
I have a feeling this sort of situation will become more and more problematic, especially when new architectures are released. Somewhere the Linux community may have to step up for more easily having recent kernels.
The experience of running old hardware on Linux is much better than that of running new hardware.
Except for certain products at least (I run latest nvidia compute cards and the drivers just work).
- Upgrade to _the very latest_ kernels. I'm not kidding, you need to start following mainline stable builds. In Ubuntu or ubuntu-based derivatives check out the ubuntu-mainline-kernel script: https://wiki.ubuntu.com/Kernel/MainlineBuilds I'm on 5.10.4 right now but probably should uprade. You need a _minimum_ 5.4 kernel to fix some egregious instability issues, but in general keep your kernel bleeding edge updated.
- Disable MWAIT instructions. This was the final missing piece of making my machine stable. The TL;DR is that AMD put out errata recently that MWAIT is basically 100% broken on these early Ryzen processors: https://www.amd.com/system/files/TechDocs/55449_Fam_17h_M_00... You can read much more in this enormous kernel bug report: https://bugzilla.kernel.org/show_bug.cgi?id=196683 The fix is to add a "idle=nomwait" flag to your kernel startup.
It's a night and day difference with these fixes in place. I still sometimes get a touchpad lockup on wake from sleep, but it's maybe 1 out of every 50 times and kind of expected for linux. No longer do I have random kernel panic-level lockups every hour. The little laptop just flies and flies with these Ryzen processors.
Took 2 years for a BIOS update that solved the final problems allowing it to work without custom kernel perimeters.
Ubuntu 20.4 was the first version of Linux that was totally stable.
2 weeks after everything was perfect - the fan died :(
I got a RX 6900 XT in december and have not had any significant issues with the drivers. YMMV on less bleeding edge distros.
I've experienced the following issues on my laptop (Dell G5 SE):
* Crashes on suspend/resume. [1]
* Kernel warning on boot [2]
* It crashes for me without amdgpu.runpm=0 kernel config [3] (fixed?)
* Crashes when inserting and removing USB-C monitor (fixed?)
* The onboard GPU works, but the dedicated GPU crashes with vsync. (didn't test recently)
1. https://gitlab.freedesktop.org/drm/amd/-/issues/1222
2. https://gitlab.freedesktop.org/drm/amd/-/issues/912
3. https://gitlab.freedesktop.org/drm/amd/-/issues/1304