[GH-ISSUE #126] Remove GPU Dependency #104

Closed
opened 2026-05-05 04:55:33 -06:00 by gitea-mirror · 6 comments
Owner

Originally created by @Wdavery on GitHub (Oct 4, 2018).
Original GitHub issue: https://github.com/keycastr/keycastr/issues/126

Originally assigned to: @akitchen on GitHub.

The app runs with a GPU dependency on Macs with multiple GPUs installed, like MacBook Pros. It should not need this.

Originally created by @Wdavery on GitHub (Oct 4, 2018). Original GitHub issue: https://github.com/keycastr/keycastr/issues/126 Originally assigned to: @akitchen on GitHub. The app runs with a GPU dependency on Macs with multiple GPUs installed, like MacBook Pros. It should not need this.
Author
Owner

@akitchen commented on GitHub (Oct 4, 2018):

hi @Wdavery could you please elaborate? Much of this code is quite old and in need of modernization.

Thanks for opening an issue!

<!-- gh-comment-id:427203417 --> @akitchen commented on GitHub (Oct 4, 2018): hi @Wdavery could you please elaborate? Much of this code is quite old and in need of modernization. Thanks for opening an issue!
Author
Owner

@Wdavery commented on GitHub (Oct 4, 2018):

I should've used standard macOS terminology, it "Requires high-performance GPU" in activity monitor.

I don't know the exact fix but I believe it's a very simple one line thing.
A lot of old apps have this problem, because it was only added to macOS in the last 5 versions or so.

screen shot 2018-10-04 at 7 52 52 pm
<!-- gh-comment-id:427205590 --> @Wdavery commented on GitHub (Oct 4, 2018): I should've used standard macOS terminology, it "Requires high-performance GPU" in activity monitor. I don't know the exact fix but I believe it's a very simple one line thing. A lot of old apps have this problem, because it was only added to macOS in the last 5 versions or so. <img width="1072" alt="screen shot 2018-10-04 at 7 52 52 pm" src="https://user-images.githubusercontent.com/12989893/46509239-8a96bf80-c80f-11e8-9cd6-6804e82918bf.png">
Author
Owner

@Wdavery commented on GitHub (Oct 5, 2018):

I've found these two articles which I believe are the fixes.

https://developer.apple.com/library/archive/qa/qa1734/_index.html
"Adding the NSSupportsAutomaticGraphicsSwitching key in Info.plist."
I think this may be all that is needed.

This is probably unnecessary, but further reading:
https://developer.apple.com/library/archive/technotes/tn2229/_index.html

<!-- gh-comment-id:427360251 --> @Wdavery commented on GitHub (Oct 5, 2018): I've found these two articles which I believe are the fixes. https://developer.apple.com/library/archive/qa/qa1734/_index.html "Adding the `NSSupportsAutomaticGraphicsSwitching` key in Info.plist." I think this may be all that is needed. This is probably unnecessary, but further reading: https://developer.apple.com/library/archive/technotes/tn2229/_index.html
Author
Owner

@gitConel commented on GitHub (Jun 20, 2019):

edit info.plist
Used GPU memory: 0%

Thanks You!

<!-- gh-comment-id:504132387 --> @gitConel commented on GitHub (Jun 20, 2019): edit info.plist Used GPU memory: 0% Thanks You!
Author
Owner

@Wdavery commented on GitHub (Jun 21, 2019):

Just fixed it for myself too, works great.
Two lines in the info.plist

<key>NSSupportsAutomaticGraphicsSwitching</key>
<string>True</string>

<!-- gh-comment-id:504269996 --> @Wdavery commented on GitHub (Jun 21, 2019): Just fixed it for myself too, works great. Two lines in the info.plist `<key>NSSupportsAutomaticGraphicsSwitching</key>` `<string>True</string>`
Author
Owner

@akitchen commented on GitHub (Oct 27, 2019):

Fixed in v0.9.8

<!-- gh-comment-id:546741387 --> @akitchen commented on GitHub (Oct 27, 2019): Fixed in v0.9.8
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/keycastr#104
No description provided.