OpenGL Accelerated HTML Overlay: Getting Started - Platform-Specific Details

From RidgeRun Developer Wiki



Previous: Getting_Started/Building_HTML_Overlay Index Next: Library_User_Manual




Plaform-Specific Details

HTML Overlay is capable of running on several platforms, including x86, NVIDIA Jetson and NXP i.MX 8. In these platforms, HTML Overlay has specific optimisations for building and executing. This wiki covers those optimisations and options.

Executing

x86

For any generic x86 device equipped with GPU, the project and the compilation can be done without any requirement. The most common option is to force the execution of composition in WebKit, so you might need to export:

export  WEBKIT_FORCE_COMPOSITING_MODE=1

NVIDIA Jetson

WebKit may present issues with composition, so the recommendation is:

  1. Compile with -Dplatform=jetson
  2. Disable the composition by doing:
export WEBKIT_DISABLE_COMPOSITING_MODE =1

i.MX 8 (new!)

WebKit may present issues with composition as well as the GDK backend, so the recommendation is:

  1. Compile with -Dplatform=vivante
  2. Configure the execution with:
export GDK_BACKEND=x11
export GST_GL_PLATFORM=egl
export GST_GL_API=gles2
export WEBKIT_DISABLE_COMPOSITING_MODE=1

Common issues

If you are running remotely, you may need to define a display:

export DISPLAY=0



Previous: Getting_Started/Building_HTML_Overlay Index Next: Library_User_Manual