Skip to content

KnowledgeBase

Czarek Tomczak edited this page Feb 8, 2016 · 13 revisions

Knowledge Base

Black/White browser screen

If you get a black or white screen then this may be caused by incompatible GPU (video card) drivers. There are following solutions to this:

  1. When CEF Python is updated to a newer Chrome version then the problem may be fixed. Check with current Google Chrome if this is the case.

  2. Try updating your video card drivers to the latest version available.

  3. You can disable GPU hardware acceleration by adding the "disable-gpu" and "disable-gpu-compositing" command line switches. See the CommandLineSwitches wiki page. Note that this will degrade performance if you're using any advanced 3D features. It will affect 2d accelerated content as well.

Note that when web page uses WebGL then the black screen may still appear even after disabling GPU hardware acceleration. However that shouldn't be a concern as it's not supposed to work anyway. Though you may not see a nice message about WebGL not being supported. All other websites that do not use webgl will work fine.

Windows XP support

On XP you should disable GPU acceleration by using the "disable-gpu" and "disable-gpu-compositing" switches. See the Command line switches wiki page.

Feature X works in Google Chrome, but doesn't work in CEF Python

CEF Python embeds Chromium Embedded Framework which is based on Chromium browser. Functionality may differ a bit from Google Chrome. The browser from Google is a proprietary software that for example includes MPEG-4/H.264 codecs that aren't included in the open source Chromium. CEF also doesn't support Chrome Extensions.

To see if some feature is working or a bug is fixed in newer CEF release perform the following steps:

  1. Go to http://www.cefbuilds.com/
  2. Choose a branch
  3. Download TestApp binaries
  4. Run cefclient.exe
Clone this wiki locally