alanbork wrote: ↑Sat Jul 25, 2020 6:23 pm
jamesh wrote:
It is ugly, but I believe that is the decision that the DRM/KMS designers have taken.
Ouch. Double ouch given that drm/kms is the future (at least for the Pi4)

. probably the programmers responsible never use TVs where overscan is quite common and as such don't realize how poor that choice is.
It's a tough call, so I can see why they went for scaled.
How do you define overscan margins when you also support changing resolution? Do you chop the same amount off on all modes, or make it a percentage, or something else?
And how would the user react if you listed out all the resolutions as things like 1860x1008 instead of 1920x1080?
DRM/KMS allows the client to create a plane to their chosen dimensions for display on the screen. For full screen that needs to match the size of the output mode, so that really needs to be pre-cropped.
Reducing the size of the emulated frame buffer is easy enough, but that only sorts the console and console based apps, not X, and X is the main use case for the majority of users.
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.