You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
what about automatic switch of programs, using some of LD_PRELOAD ways?
If we inject .so library, that will analyze calls, and if it detect access to 3D -- automatically runs optimus & replace ENV variables to use secondary video card?
That will allows automatic switch by heuristics, with allowance to override using ~/.bumblebee, /etc/bumblebee.conf in somethinkg like:
[/usr/bin/glxgears]
force=intel
[/usr/bin/glxspheres]
force=nvidia
The text was updated successfully, but these errors were encountered:
This would be a very nice thing to have and also take some efforts to implement. Maybe someone with a background on OpenGL programming can do something here?
A proof-of-concept was implemented in October 2012 as https://github.com/amonakov/libgl-switcheroo, but even back then the interest was minimal (understandably, I guess: explicit per-run control via optirun would satisfy most practical needs, and of course the approach used there, LD_LIBRARY_PATH pointing to a FUSE tree, is far from ideal).
Hello!
what about automatic switch of programs, using some of LD_PRELOAD ways?
If we inject .so library, that will analyze calls, and if it detect access to 3D -- automatically runs optimus & replace ENV variables to use secondary video card?
That will allows automatic switch by heuristics, with allowance to override using ~/.bumblebee, /etc/bumblebee.conf in somethinkg like:
[/usr/bin/glxgears]
force=intel
[/usr/bin/glxspheres]
force=nvidia
The text was updated successfully, but these errors were encountered: