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

JabRef switches on macOS to discrete graphics which is not necessary #5935

Closed
dheckl opened this issue Feb 11, 2020 · 6 comments · Fixed by #5986
Closed

JabRef switches on macOS to discrete graphics which is not necessary #5935

dheckl opened this issue Feb 11, 2020 · 6 comments · Fixed by #5986

Comments

@dheckl
Copy link

dheckl commented Feb 11, 2020

JabRef version 5.0-beta.388 on macOS 10.15.3

The issue resolved in #4070 is recurring. JabRef switches after start directly to the discrete graphics, which is not necessary.

@Siedlerchr
Copy link
Member

Thanks for the report.
As a workaround you can manually modifiy the Info.plist file and add
the following key to the dict properties:

<key>NSSupportsAutomaticGraphicsSwitching</key>
  <true/>

We are trying to integrate this in our deployment (see #5986 )

@Siedlerchr
Copy link
Member

Siedlerchr commented Apr 26, 2020

@dheckl Could you please test the latest master version? Should be ready in half an hour or so and check if that works now? I manually checked the dmg contents and the files got copied over/the info.plist contains the above key
https://builds.jabref.org/master/

@dheckl
Copy link
Author

dheckl commented Apr 27, 2020

@Siedlerchr I just re-tested with the build from 27.04.2020 13.58 and macOS still switches to the dedicated GPU. Also, I cannot confirm that the key was copied. The Info.plist inside JabRef.app does not contain the above key. When I set the key by hand, macOS does not switch to the dedicated GPU. Sorry for this update...

@Siedlerchr Siedlerchr reopened this Apr 27, 2020
@Siedlerchr
Copy link
Member

Thanks again for your feedback. Indeed. I looked at the wrong location.
I noticed that the "Runtime-Info".plist seems to got copied over only:
JabRef-5.1.dmg\JabRef\JabRef.app\Contents\runtime\Contents\

Hm. this is odd

Siedlerchr added a commit that referenced this issue Apr 27, 2020
@Siedlerchr
Copy link
Member

@dheckl I just commited a new fix which seems to have worked (I checked the contents of the dmg file)
A new build is now running and should be ready in roughly half an hour

@dheckl
Copy link
Author

dheckl commented Apr 27, 2020

@Siedlerchr Now it works. Thanks for that!

koppor pushed a commit that referenced this issue Apr 25, 2022
76b4268 Style for Acta Physica Sinica (物理学报) (#6009)
604de6f MLA Publication Date update (#5927)
41ce2d4 Update netherlands-journal-of-geosciences-geologie-en-mijnbouw.csl (#6027)
ad08f5d Adds space after title writing in ABNT style file (#6031)
0b5c1c2 Create CRCAO Light (#5935)
2f42b8c Create annals-of-laboratory-medicine.csl (#5959)
80a9506 Create annual-review-of-linguistics (#5992)
0fb9c40 Update the-journal-of-egyptian-archaeology.csl (#6028)
5ff53b1 Update guide-des-citations-references-et-abreviations-juridiques.csl (#6002)
c1c0212 Update society-for-american-archaeology.csl (#5919)
129ef3c Update administrative-science-quarterly.csl (#5991)
8bc22bd Create multilingual-matters.csl (#5955)
aca84fd Create expert-reviews-in-molecular-medicine.csl (#5961)
3c4ddc0 Create ethnobiology-letters.csl (#5986)
c301e04 Update heidelberg-university-faculty-of-medicine.csl (#5932)
a8c4396 Update tyndale-bulletin.csl (#5949)
c18cbcf Bluebook hotfix
d950b2b  Create incontext-studies-in-translation-and-interculturalism.csl (#5907)
7cfc106 Bump nokogiri from 1.13.2 to 1.13.4 (#6016)
0baa43a Liebert update (#6026)
41ca2b3 Bluebook Add space for ibid  (#6025)
6707a37 Update american-journal-of-botany.csl (#5954)
926fad5 Update boletin-de-pediatria.csl (#6024)

git-subtree-dir: buildres/csl/csl-styles
git-subtree-split: 76b4268
Jonathan-Oliveira pushed a commit to Jonathan-Oliveira/jabref that referenced this issue May 7, 2022
76b4268 Style for Acta Physica Sinica (物理学报) (JabRef#6009)
604de6f MLA Publication Date update (JabRef#5927)
41ce2d4 Update netherlands-journal-of-geosciences-geologie-en-mijnbouw.csl (JabRef#6027)
ad08f5d Adds space after title writing in ABNT style file (JabRef#6031)
0b5c1c2 Create CRCAO Light (JabRef#5935)
2f42b8c Create annals-of-laboratory-medicine.csl (JabRef#5959)
80a9506 Create annual-review-of-linguistics (JabRef#5992)
0fb9c40 Update the-journal-of-egyptian-archaeology.csl (JabRef#6028)
5ff53b1 Update guide-des-citations-references-et-abreviations-juridiques.csl (JabRef#6002)
c1c0212 Update society-for-american-archaeology.csl (JabRef#5919)
129ef3c Update administrative-science-quarterly.csl (JabRef#5991)
8bc22bd Create multilingual-matters.csl (JabRef#5955)
aca84fd Create expert-reviews-in-molecular-medicine.csl (JabRef#5961)
3c4ddc0 Create ethnobiology-letters.csl (JabRef#5986)
c301e04 Update heidelberg-university-faculty-of-medicine.csl (JabRef#5932)
a8c4396 Update tyndale-bulletin.csl (JabRef#5949)
c18cbcf Bluebook hotfix
d950b2b  Create incontext-studies-in-translation-and-interculturalism.csl (JabRef#5907)
7cfc106 Bump nokogiri from 1.13.2 to 1.13.4 (JabRef#6016)
0baa43a Liebert update (JabRef#6026)
41ca2b3 Bluebook Add space for ibid  (JabRef#6025)
6707a37 Update american-journal-of-botany.csl (JabRef#5954)
926fad5 Update boletin-de-pediatria.csl (JabRef#6024)

git-subtree-dir: buildres/csl/csl-styles
git-subtree-split: 76b4268
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants