On Tue, May 10, 2022 at 09:08:04PM +1000, Jonathan Gray wrote: Hello Jonathan,
>>> I've had a Ryzen machine with a (basic!) Polaris GPU for about a year. >>> Over that time nearly all of the GPU related bugs have disappeared >>> (thanks Jonathan et al.!), except for the fact that I don't seem to be >>> able to reliably suspend/resume from X. >> I thought it might be worth noting that, unfortunately, despite amdgpu and >> mesa updates this machine still can't reliably suspend or resume once X is >> doing something. [From the non-X terminal, suspend/resume works fine.] >> >> Since I guess this machine is now fairly standard hardware, I wonder if >> there's some obvious X or BIOS setting that I should be tweaking, but >> nothing I've tried seems to help so far! > I can't think of anything besides the tpm bios settings on some intel based > laptops a while ago. > > "AMDIF030" at acpi0 not configured is a gpio device without a driver. > Perhaps that state needs to be restored? > Though that appears on a x470 board I can resume and unhibernate on with a > vega10 card. Maybe! Would that device have some sort of interaction with X one way or another? Because it seems that I can reliably suspend/resume if xenodm is on the login page, but after I've logged in via xenodm, suspend rarely works and, if it does, resume almost certainly doesn't. As that suggest, I haven't got a clue where to start with this! Laurie