Bug 1407 - Re-enable Raspberry Pi armv6hf Broadcom DispmanX incl. its X11 Overlay
Summary: Re-enable Raspberry Pi armv6hf Broadcom DispmanX incl. its X11 Overlay
Alias: None
Product: Jogl
Classification: JogAmp
Component: embedded (show other bugs)
Version: 2.4.0
Hardware: embedded_arm linux
: P4 major
Assignee: Sven Gothel
Depends on:
Reported: 2019-12-04 16:15 CET by Sven Gothel
Modified: 2019-12-04 16:18 CET (History)
1 user (show)

See Also:
SCM Refs:
d3f454a3d8d608f9efe90987af3f08db89ad6e25 164db661e2688bfbc53fec3357fc6885b14ab893
Workaround: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Sven Gothel 2019-12-04 16:15:48 CET
VC4: Broadcom uses libbrcmEGL.so, libbrcmGLESv2.so, libbrcmOpenVG.so and libbrcmWFC.so since 7 Jul 2016

Raspbian integration (two libGLES side-by-side)

Old library names before 7 Jul 2016 can not be included because it would pull in libEGL.so.1 and cause JogAmp to choose software rendering using "llvm pipe" from mesa.


VC4: Only load Broadcom EGL driver when guessVCIVUsed

Broadcom VC IV can be used from
both console and from inside X11

When used from inside X11
rendering is done on an DispmanX overlay surface
while keeping an X11 nativewindow under as input.

When Broadcom VC IV is guessed
only the Broadcom DispmanX EGL driver is loaded.
Therefore standard TYPE_X11 EGL can not be used.


Above authored by Xerxes https://github.com/sgothel/jogl/pull/106
Comment 1 Sven Gothel 2019-12-04 16:18:35 CET
Merged Xerxes pull request, which he tested manually on said configuration.