Jabref: JabRef switches on macOS to discrete graphics which is not necessary

Created on 11 Feb 2020  路  6Comments  路  Source: JabRef/jabref

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.

build-system macOS

Most helpful comment

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 )

All 6 comments

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 )

@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/

@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...

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

@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

@Siedlerchr Now it works. Thanks for that!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tobiasdiez picture tobiasdiez  路  4Comments

oscargus picture oscargus  路  3Comments

Siedlerchr picture Siedlerchr  路  3Comments

Siedlerchr picture Siedlerchr  路  3Comments

jonasstein picture jonasstein  路  3Comments