AMD GPU Reset bug and Vendor Reset kernal module

I have an older Radeon rx 570 that I’m passing through to a vm. I need to make use of a kernel module called Vendor Reset.

I was told in a different group that DKMS isn’t compatible with rpmostree and that I would need an akmods-based rpm.

Since I can’t install this fix in Bazzite/Bluefin/Silverblue, doesn’t anyone know an alternate way to implement it? Or someone that knows how to create a akmod .spec file.

That kernel module is already available as a dkms module, so you could install it in a custom image by converting it into a kmod. I’m afraid I don’t know of any existing ones.

We cannot ship that hack by default however, would have to remain custom image territory.

Thank you for explaining that. I’m now searching for info on how to convert dkms to kmod. I’ll keep looking.

you can look at how i made the spec file for the kvmfr module here, the approach should be almost identical

and then integrate that with https://copr.fedorainfracloud.org/