nVidia GTX 1050 Ti and GTX 1060 blacklisted on CEF?

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

nVidia GTX 1050 Ti and GTX 1060 blacklisted on CEF?

Postby uhmk » Mon May 16, 2022 12:46 pm

Hi! First time user here. I'm using CEF through Xojo2022r1.1 and I have found what I think is a compatibility issue or even perhaps a bug?

When CEF is launched from my Xojo app, it enables OpenGL and Canvas graphics acceleration and runs flawlessly under W7 64-bit with an AMD Radeon R9 graphics card. This runs perfect.

However, the same app under a more modern computer under W10 64-bit with a nVidia GTX 1060 6GB GDDR5 graphics card does not enable OpenGL nor Canvas graphics acceleration. I have tried the same app under 3 different W10 PC's all with a dedicated nVidia graphics card (the 2 other PC's had a nVidia GTX 1050 ti 2GB GDDR5) and none of them had the graphics acceleration enabled under CEF.

Every single one of those PC's run WebGL with graphics acceleration perfectly smoothly under Firefox and Edge but they don't in CEF for some obscure reason. It looks like their GPU is blacklisted by CEF or something?

Please ask me more questions to see if we can get this resolved or not.

Thanks
uhmk
Newbie
 
Posts: 3
Joined: Mon May 16, 2022 12:37 pm

Re: nVidia GTX 1050 Ti and GTX 1060 blacklisted on CEF?

Postby magreenblatt » Mon May 16, 2022 1:37 pm

What CEF version? How does it behave in Google Chrome at the same version? Visit chrome://gpu in the browser for more information.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: nVidia GTX 1050 Ti and GTX 1060 blacklisted on CEF?

Postby uhmk » Mon May 16, 2022 1:42 pm

magreenblatt wrote:What CEF version? How does it behave in Google Chrome at the same version? Visit chrome://gpu in the browser for more information.


The one that is embedded in Xojo 2022r1.1. How can I find that out?

EDIT: Sorry, this?
Version Information
Data exported 2022-05-15T21:21:56.690Z
Chrome version Chrome/90.0.4430.212
Operating system Windows NT 10.0.19044

I've just installed Google Chrome on one of the W10 PC whose graphics card seems to be blocked by CEF and the same URL runs at 144fps, extremely smoothly, no issue there at all. Only in CEF it runs at 5fps and the hardware acceleration is disabled.

I can tell because chrome://gpu returns this in CEF:

Graphics Feature Status
Canvas: Software only, hardware acceleration unavailable
Compositing: Software only. Hardware acceleration disabled
Multiple Raster Threads: Enabled
Out-of-process Rasterization: Disabled
OpenGL: Disabled
Rasterization: Software only. Hardware acceleration disabled
Skia Renderer: Enabled
Video Decode: Software only. Hardware acceleration disabled
Vulkan: Disabled
WebGL: Software only, hardware acceleration unavailable
WebGL2: Software only, hardware acceleration unavailable
Problems Detected
Gpu compositing has been disabled, either via blocklist, about:flags or the command line. The browser will fall back to software compositing and hardware acceleration will be unavailable.
Disabled Features: gpu_compositing

Version Information
Data exported 2022-05-15T21:21:56.690Z
Chrome version Chrome/90.0.4430.212
Operating system Windows NT 10.0.19044
uhmk
Newbie
 
Posts: 3
Joined: Mon May 16, 2022 12:37 pm

Re: nVidia GTX 1050 Ti and GTX 1060 blacklisted on CEF?

Postby magreenblatt » Mon May 16, 2022 2:24 pm

Try the CEF Sample App at version 90 from here: https://cef-builds.spotifycdn.com/index ... ndows32:90.

If you have the same GPU disabled problem, try the Sample App at version 101.

If the Sample App works then it may be a problem with Xojo, and you should contact their support channel.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: nVidia GTX 1050 Ti and GTX 1060 blacklisted on CEF?

Postby amaitland » Mon May 16, 2022 3:29 pm

If Windows 10 behaves differently to Windows 7 then the app might be missing the windows 10 compatibility entries from the app.manifest
Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1290
Joined: Wed Jan 14, 2015 2:35 am

Re: nVidia GTX 1050 Ti and GTX 1060 blacklisted on CEF?

Postby uhmk » Mon May 16, 2022 4:31 pm

amaitland wrote:If Windows 10 behaves differently to Windows 7 then the app might be missing the windows 10 compatibility entries from the app.manifest


It's unrelated to W10. I grabbed an old laptop with W10 that has an integrated Intel GPU chipset and the same app is hardware accelerated under CEF, so it's unrelated to W10. It's related to nVidia GTX 10 series graphics cards. I own 3 of them as listed in the first post and they all do that under CEF.

I would like to point out an erratum in my previous post. The current CEF version embedded in my Xojo app is based on Chrome/95.0 not Chrome/90.0. I had compiled with a slightly older Xojo release yesterday. Either way, with CEF based off Chrome/95.0 it's still the exact same situation.

EDIT: Welp, the downloads are finished and I launched CEF Sample App 95.0 and what do you know: 144fps and every single thing is hardware accelerated. So... I think me and Xojo need to have a little discussion on their CEF implementation.

Thanks for your advice guys.
uhmk
Newbie
 
Posts: 3
Joined: Mon May 16, 2022 12:37 pm


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 37 guests