Page 1 of 1

GPU not utilized

PostPosted: Thu Apr 22, 2021 10:36 am
by Fams
Just wondering why CefSharp.Wpf version 89.0.170 would utilize the GPU on some machines but not others.
One computer is an i7 and has a dedicated video card - GPU is utilized in this case.
Another computer is quite old with IntelĀ® CeleronĀ® Processor N2810 and it only consumes CPU (at 100%). GPU seems to be available on the machine (it has a dedicated video component on the mother board) but GPU is never used.
The GPU tab in task manager is also available, the CefSharp.BrowserSubprocess doesn't consume anything but CPU at 100%.
Just curious why that may be?

thanks

Re: GPU not utilized

PostPosted: Thu Apr 22, 2021 11:30 am
by magreenblatt
Your GPU may be blacklisted. Visiting about:gpu should point to one or more bug reports which are the reason why.

Re: GPU not utilized

PostPosted: Thu Apr 22, 2021 1:01 pm
by Fams
OK, looks to be the issue. Does this look correct?

Code: Select all
 settings.CefCommandLineArgs.Add("ignore-gpu-blocklist");


thanks!

Re: GPU not utilized

PostPosted: Thu Apr 22, 2021 1:50 pm
by magreenblatt
Yes, but make sure you first understand why your GPU is being blacklisted. You might be enabling crashes or other unexpected behavior.