Xpra-org / xpra

Persistent remote applications for X11; screen sharing for X11, MacOS and MSWindows.
https://xpra.org/
GNU General Public License v2.0
1.87k stars 161 forks source link

(de)compress on the GPU #3408

Open totaam opened 2 years ago

totaam commented 2 years ago

Especially for decompression: we could upload the RGB(A) lz4 compressed data to the GPU, use nvcomp to decompress it then pass the RGB data to the OpenGL renderer.

Vssblt commented 2 years ago

Hi, It is possible to use this in xpra-html5? The current version html5 client using too much CPU to decoding the data.

totaam commented 2 years ago

Hi, It is possible to use this in xpra-html5?

@Vssblt definitely not.

The current version html5 client using too much CPU to decoding the data.

You can set a higher min-speed, but this will use more bandwidth.

Vssblt commented 2 years ago

Thank! it works.

totaam commented 6 months ago

From https://github.com/NVIDIA/nvcomp : "From version 2.3 onwards, the compression / decompression source code will not be released." What are they hiding now?


Anyway, the throughput isn't great for lz4: 3 0nvCOMPResults compared to the CPU implementation. Especially considering that they're testing with large buffers.