Mnemosyne and MacBook Pro's discrete GPU

14 views
Skip to first unread message

manut...@gmail.com

unread,
Jan 26, 2018, 12:33:10 AM1/26/18
to mnemosyne-proj-users
Every time I start Mnemosyne, the discrete GPU will kick in. Activity Monitor also shows that the app requires discrete GPU. I have to use gfxCardStatus to force the OS to use only the Intel card, and then it still seems to use more battery than usual.

Peter Bienstman

unread,
Jan 26, 2018, 2:57:52 AM1/26/18
to mnemosyne-...@googlegroups.com, Devin Howard

Hi,

 

Some googling turned up this:

 

https://bugreports.qt.io/browse/QTBUG-29897

 

I put Devin, our Mac developer in CC. Devin, is this editing of Info.plist something that could be added to the Mac installer or does this require user intervention?

 

Cheers,

 

Peter

--
You received this message because you are subscribed to the Google Groups "mnemosyne-proj-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mnemosyne-proj-u...@googlegroups.com.
To post to this group, send email to mnemosyne-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mnemosyne-proj-users/dd999332-cbe9-4c5f-b40e-a9b579e9117e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Devin Howard

unread,
Feb 4, 2018, 8:13:57 PM2/4/18
to mnemosyne-proj-users
Hi,

I've posted https://github.com/mnemosyne-proj/mnemosyne/pull/39/files which will add this key to the list. Before merging, can you please verify that this change actually fixes the problem?

That is, edit /Applications/Mnemosyne.app/Contents/Info.plist with a text editor and add these lines:

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

Mine then looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
  <key>CFBundleDisplayName</key>
  <string>Mnemosyne</string>
  <key>CFBundleName</key>
  <string>Mnemosyne</string>
  <key>CFBundleIdentifier</key>
  <string>org.qt-project.Qt.QtWebEngineCore</string>
  <key>CFBundleExecutable</key>
  <string>MacOS/Mnemosyne</string>
  <key>CFBundleIconFile</key>
  <string>mnemosyne.icns</string>
  <key>CFBundleInfoDictionaryVersion</key>
  <string>6.0</string>
  <key>CFBundlePackageType</key>
  <string>APPL</string>
  <key>CFBundleShortVersionString</key>
  <string>0.0.0</string>
  <key>NSSupportsAutomaticGraphicsSwitching</key>
  <true/>
  <key>LSBackgroundOnly</key>
  <string>0</string>
</dict>
</plist>

Let me know if you're able to do that or if you need more guidance, and then once that's done if it solves the problem for you
Reply all
Reply to author
Forward
0 new messages