[Development] Dynamic OpenGL option on Linux?

Laszlo Agocs laszlo.agocs at qt.io
Fri Dec 7 11:43:31 CET 2018


Hi Dimitry,


It should be perfectly possible to get a solution similar to what we have an Windows, there may be some complications when it comes to the details, however. There are currently no plans to work on this in the near future, so contributions are welcome. Added some details in Jira.


Best regards,

Laszlo


________________________________
From: Dmitry Shachnev <mitya57 at gmail.com> on behalf of Dmitry Shachnev <mitya57.ml at gmail.com>
Sent: Thursday, December 6, 2018 10:48 PM
To: Laszlo Agocs
Cc: development at qt-project.org
Subject: Re: Dynamic OpenGL option on Linux?

Hi Laszlo!

You are listed as the maintainer of OpenGL integration, can you please comment
on this?

Sorry for pinging you directly, but nobody else seems to know the situation.

On Thu, Nov 29, 2018 at 11:26:21PM +0300, Dmitry Shachnev wrote:
> Hi all,
>
> I filed https://bugreports.qt.io/browse/QTBUG-72128 today, but some people
> suggested that it’s better to discuss this on the mailing list first.
>
> In Debian we are having a long discussion [1] on whether to build Qt with
> ‘-opengl desktop’ or ‘-opengl es2’ on ARM64 (aarch64) and some other
> architectures.
>
> There are users who want the desktop implementation (for desktops and some
> boards), and there are users who want the OpenGL ES implementation (for
> mobile devices and other boards).
>
> We are currently considering shipping two (conflicting) sets of Qt libraries,
> but that is a hacky and not ideal solution. It would be much better if Qt
> had an option to select OpenGL version at runtime (via dlopen or some other
> mechanism), similar to what is provided on Windows with ‘-opengl dynamic’
> option [2].
>
> Is there a chance to have such an option? It would allow Linux distributions
> to offer best-in-class support for both mobile- and desktop-class computers.
>
> Maybe I will be happy to help with implementing this if someone tells me that
> it is possible and what will need to be done in the code to allow it.
>
> [1]: https://lists.debian.org/debian-devel/2018/11/thrd2.html#00457
> [2]: https://doc.qt.io/qt-5/windows-requirements.html#dynamically-loading-graphics-drivers

--
Dmitry Shachnev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20181207/518b77ef/attachment.html>


More information about the Development mailing list