Re: X11 forwarding issue
Pekka Paalanen <[email protected]>
| Newsgroups | gmane.comp.video.mesa3d.user |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 25 Mar 2020 15:51:19 +0100 Guillermo Hazebrouck <[email protected]> wrote: > 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... Hi, FYI, the NVIDIA proprietary drivers completely replace almost all of the graphics stack, including libGLX IIRC. So anything seen on NVIDIA says nothing about any other driver. To me it seems to have been trend for a decade or more now, that transmitting drawing commands is being replaced with transmitting images and video, both locally within a machine and across a network. Games as a service and so on. I suppose it is not uncommon nowadays that transmitting video takes less bandwidth than transmitting the drawing commands and the data needed by them. > 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. Actually, Wayland completely removes the ability to go over the network at the display protocol level. This follows from the years of changes around X11 (and Xorg) where more and more functionality and especially performance relies on shared memory and shared file descriptors, which also cannot cross a network. Applications no longer submit X11 drawing requests, instead they draw locally and submit completed images of windows over X11. That needs a lot of bandwidth, but available bandwidth is infinite with shared memory - not good for a network. Wayland fully embraced that direction of development. I think the above largely explains why X11 is nowadays generally considered to be inefficient going over a network. Another thing about X11 is that it is fairly roundtrip-happy. My personal experience is that if you stick with ancient apps, X11 forwarding is somewhat usable. I've been lead to believe the future is VNC-like remoting, but in my very casual attempts it has left a lot to wish for. Transmitting video instead of data and commands does seem like the only strategy nowadays. > 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). Yet I find it quite accurate. I'm guilty as well, there is always something to improve or a product to ship, and it's not developer documentation at the top of a todo. A bag of random links: https://gitlab.freedesktop.org/freedesktop/freedesktop/issues/76 which might not be quite on topic for you, but just in case... Thanks, pq > El mié., 25 de mar. de 2020 a la(s) 15:05, Michael Saunders ( > [email protected]) 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 < > > [email protected]> 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 > >> [email protected] > >> https://lists.freedesktop.org/mailman/listinfo/mesa-users > >> > > _______________________________________________ mesa-users mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-users
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEJQjwWQChkWOYOIONI1/ltBGqqqcFAl57e4IACgkQI1/ltBGq qqfOQw/+K4ipgOfPbYjuimlroELXO74uotAPl9kXaCsPPxicd5UBQ3Z0NhDhIYFt Em1y/WkRnEJ9Tv9HWBWTZb8Na2Gk2r2jBvpOPHKdTav+ckGhQv5eSW0GrLGYliT2 +t7HkB5ALKh8dEOh+l1sSk87WXRn/vS53f30SU3LdIO2uH4DQhbOHXpEvMJlGaC3 jwAH7I5X77+6wDbL+HEsJNteaB/foSGSAowtyvlOV7/dXS8eJsNDkwY4tYEfoVqJ VIhTtFY9jqMBQre+1aze4X6k97hgLY92j4QDZ+FXXqNOHl5CNjxjrFymT0309q7K e33V63rvZrQ+b9xEwUXuoPRLVHeOeVLBm90fSu99HZIyQQaL1hha35cc36Qg7wa/ k6QukgcgJvoCMHRf+uiEv7LsFjYkFzWfrCx+3ht9WkiPRSM9f15D01WeSr0/8Fcs T7HQW53/E6fmBEBYIOUlhvVqktrreimZ1s1aNJziVzZH54z/psPX0sxr0nJLUfpG 0VGOwWZeiTbBg05KkpmblHoUZxFBIMiQTPr8/VOQ8nZV4FYRUoYlz1qo4BRi0QbT MzF/gcrKnRjFfJR8xS9reuCJ59uQtnvGXxAyWZy9bqRSouBUclQH1wHTdZBl/bpK dErYHHp7xLGpThy943afTbP7LOpb2YNHfGaHuU07+ZQMqzl1LXM= =QRjL -----END PGP SIGNATURE-----