graphics-switcher icon indicating copy to clipboard operation
graphics-switcher copied to clipboard

Fix detection of active GPU

Open Windwoes opened this issue 4 years ago • 3 comments

Fixes detection of active GPU by using nvidia's prime-select query command

Windwoes avatar Jul 17 '20 03:07 Windwoes

Hi @FROGbots-4634 , your contribution is much appreciated, I am just curious to ask you whether this implementation would change the current requirements? I see that you are using "prime-select" instead of "glxinfo".

bauca avatar Jul 17 '20 08:07 bauca

Hi, yes, I think that mesa-utils is not required with this change. Btw, my machine is a Dell Latitude E6530 with an Nvidia NVS 5200M on Ubuntu 18.04.

Windwoes avatar Jul 17 '20 14:07 Windwoes

I can't test myself since I'm not actively using my old laptop anymore, however, I'll leave it open until another person can test and confirm that mesa-utils is not required anymore.

bauca avatar Dec 01 '20 21:12 bauca