OpenGL Accelerated HTML Overlay: Getting Started - Platform-Specific Details
|
OpenGL Accelerated HTML Overlay |
---|
Basics |
Getting Started |
Library User Manual |
GStreamer |
Examples |
Performance |
Contact Us |
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:
- Compile with
-Dplatform=jetson
- 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:
- Compile with
-Dplatform=vivante
- 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