tabby icon indicating copy to clipboard operation
tabby copied to clipboard

Terminus uses dGPU by default

Open benvddriessche opened this issue 7 years ago • 11 comments

On a Surface Book 2, which has an integrated Intel GPU and a discrete Nvidia GPU, terminus uses the dGPU by default which seems unnecessary. It is possible to manually override this but it shouldn't be the default behavior.

benvddriessche avatar Feb 11 '19 14:02 benvddriessche

I've added the Chrome option to force the app onto the integrated GPU (related: https://github.com/electron/electron/issues/9842)

I won't be able to test it though as I haven't got any dual-GPU hardware, but you should be able to grab the build here shortly: https://ci.appveyor.com/project/Eugeny/terminus/build/artifacts

Eugeny avatar Feb 11 '19 14:02 Eugeny

I've added the Chrome option to force the app onto the integrated GPU (related: electron/electron#9842)

I won't be able to test it though as I haven't got any dual-GPU hardware, but you should be able to grab the build here shortly: https://ci.appveyor.com/project/Eugeny/terminus/build/artifacts

This build works for me, no discrete GPU triggering.

artsilenkov avatar May 16 '19 22:05 artsilenkov

Thanks for confirming @artsilenkov

Eugeny avatar May 17 '19 06:05 Eugeny

Hello, sorry for posting on a closed issue, but leaving this here in case anyone else is wondering why this is happening:

I was experiencing similar issue OP reported, but I think I know why it defaults to dGPU (as far as nvidia drivers go):

terminus.exe is the name of the executable for PC game Ash of Gods, and nvidia drivers think its the game, and therefore, by default, enables dGPU for it instead of integrated graphics. I had to set it to use Integrated Graphics like so:

image

cchulo avatar Mar 02 '20 09:03 cchulo

Thanks - good catch. I need to look into whether changing the binary name will cause any issues with autoupdating.

Eugeny avatar Mar 02 '20 09:03 Eugeny

I noticed on two different laptops with Intel CPU's (Kaby Lake and Haswell respectively) and Nvidia dGPU's that terminus would activate the dGPU even when it is explicitly stated in the Nvidia control panel to use the integrated graphics.

If anyone encounters this issue, I fixed it on Windows 10 (ver. 20H2) by going into the graphic settings of the OS itself, and specifically setting the graphics settings performance of terminus.exe (located in %AppData%/Local/Programs/Terminus) to power saving, as denoted in the screenshot. I hope this helps.

power_saving_terminus

Hariama avatar Nov 12 '20 10:11 Hariama

I noticed on two different laptops with Intel CPU's (Kaby Lake and Haswell respectively) and Nvidia dGPU's that terminus would activate the dGPU even when it is explicitly stated in the Nvidia control panel to use the integrated graphics.

If anyone encounters this issue, I fixed it on Windows 10 (ver. 20H2) by going into the graphic settings of the OS itself, and specifically setting the graphics settings performance of terminus.exe (located in %AppData%/Local/Programs/Terminus) to power saving, as denoted in the screenshot. I hope this helps.

power_saving_terminus

This worked for me. Thanks.

PePoDev avatar Dec 18 '20 03:12 PePoDev

Thanks for the tip @Hariama. I'll see if I can automatically set this on first run.

Note to self: https://stackoverflow.com/questions/59732181/programmatically-set-graphics-performance-for-an-app

Stack Overflow
There is an option in Windows control panel that allows to set a app to "high performance". Control Panel -> System -> Display -> Graphics Settings.

On adding my application there, I noticed that,...

Eugeny avatar Dec 18 '20 09:12 Eugeny

@Eugeny, Thanks man, glad to help out, I use your program every day! :) I was wondering if you managed to look into issue #2122 though, since it really messes up the user-experience of Weechat.

Hariama avatar Dec 18 '20 09:12 Hariama

Unfortunately not. Shortcut handling in Windows terminal system is terrible and although there's a ton of workaround in Terminus not everything is covered. I'll try to check it out next week. Also, check if toggling ConPTY mode in Settings -> Shell helps.

Eugeny avatar Dec 18 '20 10:12 Eugeny

Reference : https://github.com/dotnet/wpf/issues/9286

lindexi avatar Jun 25 '24 05:06 lindexi