Originally posted by Gusar
View Post
With plain VESA, you usually have to guess a "magic number" for a video mode (or at least pick it from a 10-page long list. As mentionned, GPU can sometime have additional resolutions, and on some graphic cards, this list can get quite long).
then you give that mode number to the vesa driver at boot time, which will switch into this mode, attach a framebuffer to it, and don't touch it any more.
At least as SimpleDRM follows the RandR specifications, it would be possible to use the standard XRandR to set video modes as one likes, and the drivers will abstract all the VESA specifics.
This could be even driven further with some VESA extensions:
- AFAIK (I haven't been directly playing with VESA since my DOS days, a long time ago) there are already VESA extensions to access DDC (and thus get info about the monitor attached).
- perhaps some extensions to help basic functions like mode settings to an arbitrary resolution (AFAIK this doesn't exist yet. Or at least didn't exist in the latest SPEC I've read, but perhaps it has moved on a bit since last time).
Leave a comment: