[Mesa-users] X11 forwarding issue

Guillermo Hazebrouck gahazebrouck at gmail.com
Wed Mar 25 14:51:19 UTC 2020


Hi Michael,
Thanks for the info. We have not tried that yet (I will try it as soon as
we are allowed to go back to our office :-/).
I find it strange that it would work for 2.0 since GLX does not seem to
implement glBindBuffer, glBufferData or any of the core profile calls. I
only see it can handle texture buffers...
The whole OpenGL + X11 world is very hard to digest for newbies like me. It
grew up like a snowball and seems to have mutated in the meanwhile. The
fact that the specification is broken in two parts (call it "compatibility"
and "core" profiles) is a big pain. And with Wayland I don't see it is
getting much better. This comes again as the promise of a new paradise, but
in fact it is just adding more wires to the already chaotic software
protoboard we have.
There are components plugged everywhere and very little documentation
explaining the bigger picture, as if the programmers would be so excited
about writing "the best software ever" that they never took the time to
explain in details what they were actually doing (sorry for this comment,
it is a personal frustration against this recurrent behavior of the open
source software community).

El mié., 25 de mar. de 2020 a la(s) 15:05, Michael Saunders (
r.michael.saunders at gmail.com) escribió:

> Guillermo,
>
> We have an engineering application that was written using the fixed
> function pipeline as well. We have experimented with moving to the
> programmable pipeline and noticed this same problem. What we did discover,
> however, is that OpenGL 2.0 was supported when using GLX. I can't say we
> tried it on a wide range of X11 platforms but at least between two Linux
> machines that had native (not nouveau drivers) NVidia drivers it worked. We
> had to make sure that we were using the older shader language that matched
> OpenGL 2. I would suggest assembling a simple "hello world" program that
> renders a gradated triangle where you can easily experiment with OpenGL
> versioning and shader language versioning.
>
> Michael
>
> On Wed, Mar 25, 2020 at 4:59 AM Guillermo Hazebrouck <
> gahazebrouck at gmail.com> wrote:
>
>> Hello!
>> I am having troubles to export an OpenGL-based application through the
>> network using X11.
>> At the beginning I used only compatibility mode calls (OpenGL 1.2 ->
>> lists + glBegin/glVertex/glEnd), and everything worked like a charm.
>> However, because a restriction on drivers and OS, I had to move the whole
>> application to Core Profile (version 3.3 to 4.5). The performance remained
>> good, but I was no longer able of exporting the application through X11!
>> I started searching for information and, to my astonishment, it seems
>> that the GLX library that is in charge of doing this (forwarding the OpenGL
>> calls through the network) is now becoming obsolete as it is only
>> compatible with legacy (compatibility mode) calls.
>> Why is GLX only compatible with OpenGL lists and not able of forwarding
>> the vertex buffers? Is there any development ongoing in that direction? Or
>> is there any known solution to this?
>> Thanks,
>> Guillermo
>>
>> _______________________________________________
>> mesa-users mailing list
>> mesa-users at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/mesa-users
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-users/attachments/20200325/eda199cf/attachment.htm>


More information about the mesa-users mailing list