Bug 394992

Summary: Falkon uses the wrong paths for loading OpenGL/OpenGL-ES libraries
Product: [Applications] Falkon Reporter: jm.ouwerkerk
Component: generalAssignee: David Rosca <nowrep>
Status: RESOLVED UPSTREAM    
Severity: crash    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description jm.ouwerkerk 2018-06-03 15:09:13 UTC
During startup Falkon attempts to load the following libraries:
 - /usr/bin/libEGL.so
 - /usr/bin/libGLESv2.so

On Debian these do not exist, not even as a symlink to a compatible .so. On Debian, the OpenGL libraries are located in /usr/lib/$machine-triplet e.g. /usr/lib/x86-linux-gnu and there may not be any symlink for compatibility so it is important SO versioning is honoured (i.e. there may not be any such thing as a libEGL.so anywhere on the system, instead there may be a libEGL.so.0 or something like it).

Additionally, adjusting LD_LIBRARY_PATH has no effect -- indicating that these paths may be "hardcoded" into Falkon.
Comment 1 David Rosca 2018-06-03 15:10:36 UTC
That's QtWebEngine bug, and only on wayland (which you forgot to mention), so use xcb platform instead.
Comment 2 jm.ouwerkerk 2018-06-03 20:18:04 UTC
Thanks for replying so quickly. Just a question though: which upstream bug? This one: https://bugreports.qt.io/browse/QTBUG-65682?gerritIssueType=IssueOnly ?