Overview

Request 527363 accepted

- Add 0001-Disable-detection-of-OpenGL-for-GLES-platforms.patch
Disable OpenGL detection on embedded platforms (e.g. ARM)
Currently digikam depends on Desktop GL and fails to build when
using a Qt5OpenGL build with GLES, see kde#383715

So it would be nice to have this as an interim solution until someone ports the slideshow to a current OGL dialect.

Loading...


Stefan Brüns's avatar

There is some upstream work to make the code compatible with GLES, but no real progress so far


Stefan Brüns's avatar

Ping!


Dirk Mueller's avatar

I am just back from vacation today. Is there an issue with compiling without GLES support on aarch64? I think aarch64 isn't necessarily an embedded platform.

In general carrying around local patches that are arm specific isn't a nice thing to have :/


Luca Beltrame's avatar

This is exactly the same objection that was raised in the team, and the main reason this hasn't been accepted yet.


Stefan Brüns's avatar

This is an indirect result of Qt5 on aarch64 has the "-opengl es2" build flag set.

For VTK, I was able to create a patch which makes the generated library compatible with Desktop GL and GLES (all the differences handled by Qt itself at runtime), but the digikam screensaver code uses the old deprecated OpenGL 1.3 immediate mode, which necessitates a complete rewrite of the code.


Stefan Brüns's avatar

s/screensaver/slideshow/


Dirk Mueller's avatar

would have been nice to raise the objection of the team to the maintainers team so that I know about it ;) (or simply add a comment here, for everyones pleasure)


Luca Beltrame's avatar

Fair point. ;) But I was on holiday myself and with limited connectivity.


Stefan Brüns's avatar

You mean compiling Qt with Desktop OpenGL instead of GLES? This would probably solve the compilation problems here (and in VTK, CSXCAD, ...), but on the other hand would generate libraries only able to run on some Aarch64 platforms.

If you have a "big" system where you plug in a graphics card via PCIe, you have both Desktop GL (4.x) and GLES (3.x).

On RPi(1,2,3), the VC4 driver supports ~ OGL 2.1 and GLES 2.x, AFAIK.

Etnaviv (for Vivante found on iMX.6) supports OpenGL 2.1 and GLES ?.?.

Freedreno has support for both OGL and GLES.

Now Mali, the only option is the binary blob driver, which only supports GLES. It does not work out of the box with openSUSE provided images. The only OOTB support is Mesa llvmpipe. I have lost hope for Lima to reappear any time soon.


Dirk Mueller's avatar

Stefan, it looks like Mesa can do a OGL 2.1 on VC4: https://github.com/anholt/mesa/wiki/VC4-OpenGL-support

is that enough?

I have submitted a change to libqt5-base for this:

https://build.opensuse.org/request/show/521569


Request History
Stefan Brüns's avatar

StefanBruens created request

- Add 0001-Disable-detection-of-OpenGL-for-GLES-platforms.patch
Disable OpenGL detection on embedded platforms (e.g. ARM)
Currently digikam depends on Desktop GL and fails to build when
using a Qt5OpenGL build with GLES, see kde#383715

So it would be nice to have this as an interim solution until someone ports the slideshow to a current OGL dialect.


Antonio Larrosa's avatar

alarrosa accepted request

thanks!

openSUSE Build Service is sponsored by