Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(de)compress on the GPU #3408

Open
totaam opened this issue Jan 3, 2022 · 4 comments
Open

(de)compress on the GPU #3408

totaam opened this issue Jan 3, 2022 · 4 comments
Labels
encoding enhancement New feature or request

Comments

@totaam
Copy link
Collaborator

totaam commented Jan 3, 2022

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.

@totaam totaam added enhancement New feature or request encoding labels Jan 3, 2022
@Vssblt
Copy link

Vssblt commented Jan 12, 2022

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

@totaam
Copy link
Collaborator Author

totaam commented Jan 12, 2022

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
Copy link

Vssblt commented Jan 12, 2022

Thank! it works.

totaam added a commit to Xpra-org/xpra-html5 that referenced this issue Jul 18, 2023
@totaam
Copy link
Collaborator Author

totaam commented Jan 29, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
encoding enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants