Sublime Forum

Force use of integrated GPU on macos?

#1

Using ST4126 on macos 10.15 with both discrete and integrated GPU. Sometimes ST4 is very smooth, and sometimes lags severely, especially noticeable during scrolling. I suspect the discrete GPU is to blame. Is there a way to force opengl rendering on one or the other? thanks :slightly_smiling_face:

0 Likes

#2

OK, I can force mac to use discrete GPU system wide via
sudo pmset -c gpuswitch 1 and this solves the problem!

note: use gpuswitch 0 to force integrated, gpuswitch 1 to force discrete, and gpuswitch 2 to allow macos to auto toggle between them.

0 Likes