GPU not utilized

Having problems with building or using the CefSharp .NET binding? Ask your CEF-related questions here. Please ask general usage questions on StackOverflow.

Moderator: amaitland

GPU not utilized

Postby Fams » Thu Apr 22, 2021 10:36 am

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
Fams
Newbie
 
Posts: 2
Joined: Thu Apr 22, 2021 10:28 am

Re: GPU not utilized

Postby magreenblatt » Thu Apr 22, 2021 11:30 am

Your GPU may be blacklisted. Visiting about:gpu should point to one or more bug reports which are the reason why.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: GPU not utilized

Postby Fams » Thu Apr 22, 2021 1:01 pm

OK, looks to be the issue. Does this look correct?

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


thanks!
Fams
Newbie
 
Posts: 2
Joined: Thu Apr 22, 2021 10:28 am

Re: GPU not utilized

Postby magreenblatt » Thu Apr 22, 2021 1:50 pm

Yes, but make sure you first understand why your GPU is being blacklisted. You might be enabling crashes or other unexpected behavior.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm


Return to CefSharp Forum

Who is online

Users browsing this forum: No registered users and 11 guests