AMDGPU correct clock and power settings

So the AMDGPU driver has a problem: it sets clock speeds and power limits above what the GPUs actually support, causing unnecesary overclocking and system instability (https://gitlab.freedesktop.org/drm/amd/-/issues/3131).

You can set limits by reviewing your card’s info online and using something like CoreCtrl to cap them, or manually as the Gentoo wiki says (AMDGPU - Gentoo wiki). But even then, your card might not be limiting itself when setting these values (Applying settings through the sysfs interface is unreliable in RX 7000 series (#3625) · Issues · drm / amd · GitLab).

So if the solution to a driver problem is to manually check a database and set the corresponding values based on a vendor ID and device ID, couldn’t this be automated somehow? I mean, wouldn’t it be better to set these values in the driver itself?

Clearly. I read the 3131 issue you linked too, thank for finding it.

Near the end of the replies I see comments from Alex Deucher explaining why the driver is hard to fix in linux compared to Windows.

Give the AMD devs know about the issue I’m not sure what you are asking for here? Did you want the workaround to be automated maybe?

Not looking for a solution or anything really, just wanted to talk about it (hence why I posted in the water cooler and not te issue itself).

I would guess that an option would be for te solution to be automated, but that would be a patch on a patch.

Another solution would be for the driver to set these values from a database they handled. But I don’t know if this would be maintainable in the future.

I really wish this would be automated / fixed because it negatively impacts the experience using Linux with an AMD GPU.