https://kotlinlang.org logo
Title
o

orangy

12/25/2020, 10:56 PM
How do I disable GPU on my dual-video macBook? When developing, it’s so annoying when mac goes to switch video card…
r

romainguy

12/25/2020, 11:06 PM
You can use something like https://gfx.io/
b

Big Chungus

12/25/2020, 11:06 PM
Install windows or linux 😃
🐧 1
o

orangy

12/25/2020, 11:17 PM
I mean, can I configure skia under the hood to use integrated GPU?
r

romainguy

12/25/2020, 11:52 PM
I don’t think that’s possible without writing extra code in Skia (and the way to do this is different per platform). It’s easier to just use something like gfx.io to force the system to always us the integrated GPU
o

orangy

12/26/2020, 12:00 AM
I can’t ask users (if there will be any) to use external tools. I’d rather let them select the GPU
I know it is complicated (http://supermegaultragroovy.com/2016/12/10/auto-graphics-switching/), I’ve been there with SDL2 and Kotlin/Native previously. I was hoping it has something, since Chrome itself has an option to switch off dGPU