Skip to content
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

Add support for NSSupportsAutomaticGraphicsSwitching #194

Merged

Conversation

marcoesters
Copy link
Contributor

Description

Some MacBooks have two GPUs, a discrete and an integrated GPU. While the former is more powerful, it also consumes more power. By default, the discrete GPU is used.

To allow apps using OpenGL to use the integrated GPU and be more energy-efficient, the NSSupportsAutomaticGraphicsSwitching needs to be set to true.

menuinst currently does not support this flag - this PR adds this property to the schema.

Checklist - did you ...

  • Add a file to the news directory (using the template) for the next release's release notes?
  • Add / update necessary tests?
  • Add / update outdated documentation?

@conda-bot conda-bot added the cla-signed [bot] added once the contributor has signed the CLA label Apr 25, 2024
@marcoesters marcoesters marked this pull request as ready for review April 26, 2024 01:14
@marcoesters marcoesters requested a review from a team as a code owner April 26, 2024 01:14
@jaimergp
Copy link
Contributor

Thanks! Can we add a link to the NS* keys documentation in line 180?
This will have to be added to the CEP schema, either via a new CEP or a small edit because the change is not too drastic.

@marcoesters
Copy link
Contributor Author

Thanks! Can we add a link to the NS* keys documentation in line 180? This will have to be added to the CEP schema, either via a new CEP or a small edit because the change is not too drastic.

The NS* keys do not have a neat list like the CF* and LS* keys - or at least, I haven't been able to find them. In fact, some NS* keys are part of the CF*documentation (not this key though).

@jaimergp jaimergp merged commit e8a1f9f into conda:main May 6, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed [bot] added once the contributor has signed the CLA
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants