I give up trying to get MxGPU working on Xen (XCP-ng) 8.2. At this point I am just going to pass thru 1 GPU per machine but sadly I don't see any way to remove the Supplemental package. I've tried all kinds of ways to block GIM from running but this feels janky. There's got to be a more acceptable way of removing these drivers from running?
I know this is old but hopefully this will help somebody in the future as it was very difficult to figure out how. I was not able to get mxGPU to work either so I'm giving up and just passing through the GPUs. I found this page, https://xcp-ng.org/docs/develprocess.html#kernel-module-policy, which talks how to remove modules.
rmmod gim # to unload module if it is already loaded yum remove mxgpu-4.19.0+1-modules.x86_64 # then reboot server, supplemental pack should no longer be there now