Split from #1260, see also #1308 (10-bit). Saves us doing the CSC conversion using CUDA - though we may still want to keep this code around for older cards / drivers.
Makes sense to deal with this one at the same time as #1317 and #1308.
Done:
We also gained:
XPRA_NVENC_NATIVE_RGB=0
, XPRA_NVENC_YUV420P=0
and XPRA_NVENC_YUV444P=0
.
Tested on MS Windows only with NVFBC (#1317) because the NVENC encoder refuses to run on my Linux system: with the GTX 1070 it crashes, with other cards it errors out (and the exact same card and code work on MS Windows!)
I am keeping this ticket open because I would like to test RGB upload on Linux. (maybe try a different card, or diff the long list of API call arguments with a working example: ffmpeg or the samples provided)
Not sure how I got it to work on MS Windows in the past, but since it just refuses to work with the latest code, r16455 disables it on win32. See ticket:1552#comment:4 for details. No big loss since we often get the buffers from NVFBC anyway (#1317) so doing the CSC via CUDA is cheap.
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1347