-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial Atomic KMS platform #3525
base: MIRENG-653/platform-specific-options
Are you sure you want to change the base?
Initial Atomic KMS platform #3525
Conversation
config.add_options() | ||
(quirks_option_name, | ||
boost::program_options::value<std::vector<std::string>>(), | ||
"[platform-specific] Driver quirks to apply (may be specified multiple times; multiple quirks are combined)"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This same option is added by gbm-kms
- and that spells trouble if both platforms are available. (Similar to #885)
34f45ee
to
8bf1aca
Compare
8bf1aca
to
280f6ed
Compare
415a9c3
to
9367dc7
Compare
a20a6cf
to
ae1a6ac
Compare
5297983
to
7fd62d0
Compare
ae1a6ac
to
d172bfa
Compare
This is initially a copy of the display half of `gbm-kms`, quickly ported to use only the atomic KMS APIs. It shall be further developed to usefully use the atomic APIs to fix various TODOs, and provide support for extra performance features
d172bfa
to
6e64d62
Compare
Hmm with dual outputs I get:
And an occasional SIGABRT after. Yes. I. Have. Disk. Space. |
@tarek-y-ismail's ploughed through drm debug logs and found:
This suggests there's a problem with cloning, as it tries to map the smaller buffer onto a higher resolution display. |
By "dual outputs", do you mean builtin-monitor + external monitor, or two external monitors? |
Bulting + external.
As discussed, to get output through your Nvidia GPU, you'll need |
Just tried it, both monitors work fine. I assume this is because the second output is not using atomic-kms and thus not triggering the bug |
Yup, that could well be it - they're not sharing the platform like in my case. |
`DisplayConfigurationOutput.pixel_formats` now contains the list of accepted pixel formats (or, at least, those pixel formats that are representable in the `MirPixelFormats` enum; many aren't). --------- Co-authored-by: tarek-y-ismail <[email protected]> Co-authored-by: Alan Griffiths <[email protected]>
This is a minimal-changes copy of the display half of the
gbm-kms
platform, switched over to all Atomic KMS API.It's parallel installable with the existing
gbm-kms
platform, and will be preferentially used on devices with atomic support.Currently, over the existing
gbm-kms
display platform it only has improved gamma support.Immediate missing features: