<div dir="ltr">This site gives a lot of helpful information about this topic:<div><a href="http://whiteboard.ping.se/Linux/GLX">http://whiteboard.ping.se/Linux/GLX</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El mié., 25 de mar. de 2020 a la(s) 16:40, Pekka Paalanen (<a href="mailto:ppaalanen@gmail.com">ppaalanen@gmail.com</a>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, 25 Mar 2020 15:51:19 +0100<br>
Guillermo Hazebrouck <<a href="mailto:gahazebrouck@gmail.com" target="_blank">gahazebrouck@gmail.com</a>> wrote:<br>
<br>
> Hi Michael,<br>
> Thanks for the info. We have not tried that yet (I will try it as soon as<br>
> we are allowed to go back to our office :-/).<br>
> I find it strange that it would work for 2.0 since GLX does not seem to<br>
> implement glBindBuffer, glBufferData or any of the core profile calls. I<br>
> only see it can handle texture buffers...<br>
<br>
Hi,<br>
<br>
FYI, the NVIDIA proprietary drivers completely replace almost all of the<br>
graphics stack, including libGLX IIRC. So anything seen on NVIDIA says<br>
nothing about any other driver.<br>
<br>
To me it seems to have been trend for a decade or more now, that<br>
transmitting drawing commands is being replaced with transmitting<br>
images and video, both locally within a machine and across a network.<br>
Games as a service and so on. I suppose it is not uncommon nowadays that<br>
transmitting video takes less bandwidth than transmitting the drawing<br>
commands and the data needed by them.<br>
<br>
> The whole OpenGL + X11 world is very hard to digest for newbies like me. It<br>
> grew up like a snowball and seems to have mutated in the meanwhile. The<br>
> fact that the specification is broken in two parts (call it "compatibility"<br>
> and "core" profiles) is a big pain. And with Wayland I don't see it is<br>
> getting much better. This comes again as the promise of a new paradise, but<br>
> in fact it is just adding more wires to the already chaotic software<br>
> protoboard we have.<br>
<br>
Actually, Wayland completely removes the ability to go over the network<br>
at the display protocol level. This follows from the years of changes<br>
around X11 (and Xorg) where more and more functionality and especially<br>
performance relies on shared memory and shared file descriptors, which<br>
also cannot cross a network. Applications no longer submit X11 drawing<br>
requests, instead they draw locally and submit completed images of<br>
windows over X11. That needs a lot of bandwidth, but available<br>
bandwidth is infinite with shared memory - not good for a network.<br>
Wayland fully embraced that direction of development.<br>
<br>
I think the above largely explains why X11 is nowadays generally<br>
considered to be inefficient going over a network. Another thing about<br>
X11 is that it is fairly roundtrip-happy. My personal experience is<br>
that if you stick with ancient apps, X11 forwarding is somewhat usable.<br>
<br>
I've been lead to believe the future is VNC-like remoting, but in my<br>
very casual attempts it has left a lot to wish for. Transmitting video<br>
instead of data and commands does seem like the only strategy nowadays.<br>
<br>
> There are components plugged everywhere and very little documentation<br>
> explaining the bigger picture, as if the programmers would be so excited<br>
> about writing "the best software ever" that they never took the time to<br>
> explain in details what they were actually doing (sorry for this comment,<br>
> it is a personal frustration against this recurrent behavior of the open<br>
> source software community).<br>
<br>
Yet I find it quite accurate. I'm guilty as well, there is always<br>
something to improve or a product to ship, and it's not developer<br>
documentation at the top of a todo.<br>
<br>
A bag of random links:<br>
<a href="https://gitlab.freedesktop.org/freedesktop/freedesktop/issues/76" rel="noreferrer" target="_blank">https://gitlab.freedesktop.org/freedesktop/freedesktop/issues/76</a><br>
which might not be quite on topic for you, but just in case...<br>
<br>
<br>
Thanks,<br>
pq<br>
<br>
> El mié., 25 de mar. de 2020 a la(s) 15:05, Michael Saunders (<br>
> <a href="mailto:r.michael.saunders@gmail.com" target="_blank">r.michael.saunders@gmail.com</a>) escribió:<br>
> <br>
> > Guillermo,<br>
> ><br>
> > We have an engineering application that was written using the fixed<br>
> > function pipeline as well. We have experimented with moving to the<br>
> > programmable pipeline and noticed this same problem. What we did discover,<br>
> > however, is that OpenGL 2.0 was supported when using GLX. I can't say we<br>
> > tried it on a wide range of X11 platforms but at least between two Linux<br>
> > machines that had native (not nouveau drivers) NVidia drivers it worked. We<br>
> > had to make sure that we were using the older shader language that matched<br>
> > OpenGL 2. I would suggest assembling a simple "hello world" program that<br>
> > renders a gradated triangle where you can easily experiment with OpenGL<br>
> > versioning and shader language versioning.<br>
> ><br>
> > Michael<br>
> ><br>
> > On Wed, Mar 25, 2020 at 4:59 AM Guillermo Hazebrouck < <br>
> > <a href="mailto:gahazebrouck@gmail.com" target="_blank">gahazebrouck@gmail.com</a>> wrote: <br>
> > <br>
> >> Hello!<br>
> >> I am having troubles to export an OpenGL-based application through the<br>
> >> network using X11.<br>
> >> At the beginning I used only compatibility mode calls (OpenGL 1.2 -><br>
> >> lists + glBegin/glVertex/glEnd), and everything worked like a charm.<br>
> >> However, because a restriction on drivers and OS, I had to move the whole<br>
> >> application to Core Profile (version 3.3 to 4.5). The performance remained<br>
> >> good, but I was no longer able of exporting the application through X11!<br>
> >> I started searching for information and, to my astonishment, it seems<br>
> >> that the GLX library that is in charge of doing this (forwarding the OpenGL<br>
> >> calls through the network) is now becoming obsolete as it is only<br>
> >> compatible with legacy (compatibility mode) calls.<br>
> >> Why is GLX only compatible with OpenGL lists and not able of forwarding<br>
> >> the vertex buffers? Is there any development ongoing in that direction? Or<br>
> >> is there any known solution to this?<br>
> >> Thanks,<br>
> >> Guillermo<br>
> >><br>
> >> _______________________________________________<br>
> >> mesa-users mailing list<br>
> >> <a href="mailto:mesa-users@lists.freedesktop.org" target="_blank">mesa-users@lists.freedesktop.org</a><br>
> >> <a href="https://lists.freedesktop.org/mailman/listinfo/mesa-users" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/mesa-users</a><br>
> >> <br>
> > <br>
<br>
</blockquote></div>