I’m trying to install some vGPU platform and I found the resolution is somehow locked, xrandr didn’t work, it returns “ Failed to get size of gamma”.
So I’m thinking maybe I can enumerate the available KMS modes if I can read from the KMS file descriptor using the open syscall.
By I’m not sure how to practice this. Can anyone tell me how I can access the KMS file descriptor, and enumerate the KMS modes?