Comment 11 for bug 1599775

Revision history for this message
Paul Sladen (sladen) wrote :

Further discussion at:

  https://irclogs.ubuntu.com/2016/07/12/%23ubuntu-devel.html#t15:20

with a pointer to:

  https://www.virtualbox.org/browser/vbox/trunk/src/VBox/Additions/common/crOpenGL/egl.c#L136

And side-discussion of possible better ways of how to detect client GL vs. server GL, which at the moment is using:

  getenv("DISPLAY") != NULL

and a quick look into how the Nvidia driver packaging is handling this in postinst using:

  update-alternatives --force --install /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf x86_64-linux-gnu_gl_conf /usr/lib/nvidia-361/ld.so.conf 8604