Project

General

Profile

App fails due to missing GLES support

Added by Jesper Pedersen over 5 years ago

Hi, I have been using the free software application Document Viewer [1] on my previous devices and installed it to my replicant device. But the application fails with a message about missing GLES support [2]. I reported it to the application maintainer but he has closed the issue for now with the explination that it is Replicant that needs further work with regards to OpenGL support.

I'm not sure how to procede in order to make the application work and was hoping you could provide me with a few hints.

It is my understanding that OpenGL ES can be supported through software run on the CPU alone (i.e. without involving the GPU), but I'm not sure if that is correct.

The hardware is a Samsung Galaxy Tab 2 7.0 (GT-P3110) with Replicant 4.0 0005 installed.

[1] https://f-droid.org/repository/browse/?fdfilter=document%20viewer&fdid=org.sufficientlysecure.viewer
[2] see the bug report here: https://github.com/dschuermann/document-viewer/issues/11

By the way, thank you for maintaining Replicant.


Replies (10)

RE: App fails due to missing GLES support - Added by Paul Kocialkowski over 5 years ago

The OpenGL implementation currently used in Replicant is indeed incomplete and makes quite many apps crash (including Firefox). You can use VuDroid, as a workaround.

RE: App fails due to missing GLES support - Added by Danny. O. over 5 years ago

Wait...Firefox crashes? What browser do you recommend instead?

RE: App fails due to missing GLES support - Added by Paul Kocialkowski over 5 years ago

Yes it does crash. The default Android browser is the one I use. Hopefully, using mesa instead of the Google EGL implementation will make it possible to use firefox on Replicant 4.2.

RE: App fails due to missing GLES support - Added by Linus Drumbler over 5 years ago

When I tried Firefox it didn't crash; it just displayed all pages as blank.

RE: App fails due to missing GLES support - Added by Paul Kocialkowski over 5 years ago

I worked on mesa yesterday, on Replicant 4.2, and the result with swrast + softpipe is quite a disaster: the interface doesn't reach 1 fps, there are about 5 second gaps between the moment you touch the screen and anything happens. The Android EGL (which is incomplete) is definitely a lot faster, making the Nexus S slow but usable on 4.2. If mesa keeps being that slow, there is now way we are going to be able to use it on devices. I'll try to make llvmpipe work soon, so that we can see whether it's better than the Android EGL or not.

On the other hand, exynos4 devices (Galaxy S2/3/Note) have a DRM interface on the kernel, that we could make work and use with mesa and DRM, so we could use mesa for these devices. Moreover, if we ever support a snapdragon SoC, it'll be nice to have mesa for Freedreno.

RE: App fails due to missing GLES support - Added by Jesper Pedersen over 5 years ago

I found this page regarding performance tips for mesa software rendering: http://mesa3d.org/perf.html
You might of course have seen it already but if not I thought it might give you a few hints in the right direction.

RE: App fails due to missing GLES support - Added by Michael S almost 5 years ago

Can anyone confirm whether Firefox works on Replicant 4.2? (If so, that may give me sufficient reason to upgrade my Samsung Galaxy Tab 2 7.0 from Replicant 4.0).

RE: App fails due to missing GLES support - Added by Michael S almost 5 years ago

Thanks for confirming this, Paul.

RE: App fails due to missing GLES support - Added by My Self over 4 years ago

Danny. O. wrote:

Wait...Firefox crashes? What browser do you recommend instead?

I'm happy with: https://github.com/anthonycr/Lightning-Browser
also available on F-Droid: https://f-droid.org/repository/browse/?fdfilter=lightning&fdid=acr.browser.lightning

    (1-10/10)