Comments (3)
How about adding a mode that monitors the dependencies and switches back to internal only if there are no dependencies for some time, like 30 seconds? That way you don't have to monitor for specific events but solve the generic case of returning to the internal only mode after a forced switch to dynamic switching.
from gswitch.
How about, it sounds like you can detect when the monitor is plugged in, and know which device it is? So:
- if gSwitch was set to 'integrated' when display plugged in, then note this down, note down the display device, and switch to dynamic/gpu
- when the display device is disconnected, check against the previous notes, and notice that at the time the display device was connected, gSwitch was set to 'integrated only', and so switch back to integrated only.
- of course there is an edge-case here for people who were in integrated only, then attach a display, then start somethign that does need gpu, and then disconnect the monitor
- such people could simply switch to dynamic mode first though, or not disconnect the monitor. (or you could set the new behavior as an option perhaps)
from gswitch.
The initial comment was really just a mental note for myself but I appreciate your responses! I forgot about this issue, but I encountered it the other day and it annoyed me so I'll fix it lol.
@hughperkins Yep that's pretty much exactly how I'll do it. Thanks for doing all the thinking for me ;)
from gswitch.
Related Issues (20)
- Does it work on outdated Macs running macOS Ventura? HOT 5
- Will not work on iMac 2012 21.5" HOT 1
- remove the application HOT 1
- Not working on Ventura HOT 3
- Its still switching?
- Error disappearing from notifications
- Does not work with 2013 Late MacBook Pro. HOT 1
- Feature Request HOT 1
- Disable automatic switch for power adapter but not battery HOT 1
- Issue with Detecting Dual D700 GPU's HOT 1
- Doesn't work for old mac (fix plz) HOT 2
- Missing signature and iMac support? HOT 4
- Difference between gSwitch and gfxCardStatus HOT 1
- Native Mac M1/arm64 support. HOT 3
- Support for imac pro? HOT 1
- Will not launch on macOS Mojave 12.0.1
- will not find eGPU HOT 2
- Number On Dependencies HOT 1
- Monterey : "gSwitch" canβt be opened because Apple cannot check it for malicious software. HOT 1
- feature: would be cool if the taskbar icon indicated whether I'm currently using integrated or GPU HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gswitch.