Score:0

How can I enumerate the available KMS modes using open syscall?

bd flag

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?

cn flag
The `fbset` utility can do that. I've tried finding a manual page describing the ioctls, but couldn't find one immediately.
Momoko avatar
bd flag
@SimonRichter I tried “fbset -g 1920 1080 1920 1080 32”, the command ran without error, but nothing on my screen seems changed, what have I done wrong?
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.