OSR: Swapped red and blue channel on Intel HD

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.

OSR: Swapped red and blue channel on Intel HD

Postby Jusonex » Thu Sep 15, 2016 6:01 am

Hello!

I'm currently dealing with a weird issue I experienced with CEF in OSR mode. Apparently, the red and blue channels are swapped on some integrated Intel HD graphics cards while it works fine on all other graphics cards.

Screenshots:
Intel HD: https://dl.dropboxusercontent.com/u/144 ... rated1.png
Dedicaded NVIDIA: https://dl.dropboxusercontent.com/u/144 ... ernal1.png

This is our texture-copying/-creation code:

We're using CEF 3.2743.1444.g7c94121 at the moment, it is reproducable with older CEF versions as well though. However, the people who are experiencing the bug are not able to reproduce it with the latest cefclient with offscreen-rendering enabled.
Also, turning on "Windows XP SP3" compatibility mode fixed it for one of our users at least.

More details:

Kind Regards
Last edited by Jusonex on Sat Sep 17, 2016 2:01 pm, edited 3 times in total.
Jusonex
Techie
 
Posts: 13
Joined: Sun Apr 27, 2014 2:17 pm

Re: OSR: Swapped red and blue channel on Intel HD

Postby amaitland » Thu Sep 15, 2016 6:10 am

Have you disabled GPU acceleration when you detect an Intel GPU?
Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1292
Joined: Wed Jan 14, 2015 2:35 am

Re: OSR: Swapped red and blue channel on Intel HD

Postby Jusonex » Thu Sep 15, 2016 7:30 am

Yes. See https://github.com/multitheftauto/mtasa ... pp.cpp#L33

This is the CEF log of one guy having the problem: https://pastebin.mtasa.com/108092875

The following lines look suspicious:
Code: Select all
[0914/153513:ERROR:angle_platform_impl.cc(33)] ANGLE Display::initialize error 5: DXGI 1.2 required to present to HWNDs owned by another process.
[0914/153513:ERROR:gl_surface_egl.cc(434)] eglInitialize D3D11 failed with error EGL_NOT_INITIALIZED, trying next display type
Jusonex
Techie
 
Posts: 13
Joined: Sun Apr 27, 2014 2:17 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 58 guests