Announcement

Collapse
No announcement yet.

Waypipe Is Successfully Working For This Network-Transparent Wayland Apps/Games Proxy

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Waypipe Is Successfully Working For This Network-Transparent Wayland Apps/Games Proxy

    Phoronix: Waypipe Is Successfully Working For This Network-Transparent Wayland Apps/Games Proxy

    Waypipe is off to the races as the newest network transparency effort in the Wayland space. Waypipe provides a network transparent Wayland proxy for running native Wayland programs/games over a network similar to X11's capabilities and forwarding X over an SSH connection...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    How does the network transparency compare between X11, Plan 9 from Bell Labs (uses rio) and Wayland with Waypipe?

    Comment


    • #3
      Originally posted by uid313 View Post
      How does the network transparency compare between X11, Plan 9 from Bell Labs (uses rio) and Wayland with Waypipe?
      I don't know about the performance but reading up on it, it looks like it has a bit more context than just sending across a compressed or lossy raster. It sends across "protocol data" but I am not quite sure what that includes, it doesn't seem to be well defined.

      I don't quite know how it compares to the following. I am hoping it is more than just raster.

      Plan 9 / DrawTerm - Appears as a device block, send shapes, pixels
      X11 - Send shapes, pixels, upload groups of pixels to be reused (pixmaps)
      RDP - Context of what a button is so can "send buttons" (not portable for this reason), also send pixels, shapes.
      VNC - Send compressed / lossy raster
      NoMachine/X11 - Basically X11 with many optimisations
      Waypipe - ?

      From reading it seems it involves shared memory buffers (which is not great for remote work). Does it send GL commands like indirect drawing? It surely would have to to provide an "image" in a format suitable for all the many compositors. It is also my understanding that all individual compositors have to implement this; it isnt like in X11 where a window manager will just benefit "for free" information from the X server.

      It would be nice to not have to sit an X11 server ontop of Wayland for the network graphics. Anyone know more about this project?
      Last edited by kpedersen; 30 August 2019, 09:46 AM.

      Comment


      • #4
        >Does it send GL commands like indirect drawing?

        No, it sends pixels on the wire in an optimized manner.

        Note that most X11 clients don't use X11 to draw nowadays. Hence Waypipe should perform better than X11 forwarding.

        >It is also my understanding that all individual compositors have to implement this; it isnt like in X11 where a window manager will just benefit "for free" information from the X server.

        It acts as a proxy, no need for compositors to do anything special. Just run it under any compositor!

        Comment


        • #5
          The blog post is quite impressive. Running SuperTuxKart:

          Using the new --hwvideo flag to enable VAAPI encoding and decoding with a generation 8 Intel iGPU, the framerate goes up to 80 FPS, and bandwidth drops to 4 MB/second.
          Gaming over ssh is quite a benchmark for remote protocols. Nice work!

          Comment


          • #6
            Originally posted by kpedersen View Post
            Does it send GL commands like indirect drawing?
            wayland knows nothing about gl so why wayland proxy should know anything about gl? client does gl or whatever without wayland and just gives wayland complete frame
            It is also my understanding that all individual compositors have to implement this
            server having to implement proxy should be a sign of flaw in understanding
            on the other hand, x11-like builtin networking does indeed require each server to implement it, so that wouldn't be a disadvantage vs x11
            Last edited by pal666; 30 August 2019, 01:52 PM.

            Comment


            • #7
              Originally posted by emersion View Post
              No, it sends pixels on the wire in an optimized manner.
              What a shame. Brute forcing a raster across, no matter how optimised it will be will never be great across a network; especially for large resolutions.

              It will also cause issue for VMs because the rendering will have to be done in software (or weak passthrough drivers).

              It will be interesting to measure this solution against X11 with a decent GUI toolkit. I imagine even Windows NT 4.0's old RDP implementation will blow them both out of the water.

              Hopefully a smart and modern solution will come in the future

              Comment


              • #8
                Originally posted by kpedersen View Post
                What a shame. Brute forcing a raster across, no matter how optimised it will be will never be great across a network; especially for large resolutions.
                lol, i've found someone not aware of youtube in 2019
                Originally posted by kpedersen View Post
                Hopefully a smart and modern solution will come in the future
                this solution is already smarter than your imagination

                Comment


                • #9
                  How is Citrix doing it in comparison?

                  Comment


                  • #10
                    So can this thing do AV1?

                    Comment

                    Working...
                    X