xpra icon
Bug tracker and wiki

Opened 4 years ago

Last modified 18 months ago

#538 assigned enhancement

nvenc improvements: fast resize / reconfigure, rgb modes, max grid sizes, etc

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: minor Milestone: future
Component: core Version:
Keywords: Cc:

Description (last modified by Antoine Martin)

Split from #466, see also #564:

  • handle resize without re-init? (don't think so, I think this would require client side support)
  • handle reconfiguration: swapping NV12 mode for YUV444P on the fly with speed/quality changes
  • maybe do parallel upload with encode for YUV444P mode? (save latency)
  • upload pixels in place? (skip inputBuffer)
  • deal with GPU suspend-resume cycles (see r5110 for opencl in #422) - here is the CUDA error with nvenc:
      File "encoder.pyx", line 1588, in xpra.codecs.nvenc.encoder.Encoder.compress_image (xpra/codecs/nvenc/encoder.c:12085)
      File "encoder.pyx", line 1624, in xpra.codecs.nvenc.encoder.Encoder.do_compress_image (xpra/codecs/nvenc/encoder.c:12598)
    LogicError: cuMemcpyHtoD failed: invalid/unknown error code
    

Minor / easy:

  • honouring max_block_sizes, max_grid_sizes and max_threads_per_block - doesn't seem to be causing problems yet
  • handle other RGB modes in kernel (easy - allows us to run in big endian servers)
  • try using nvenc on win32 for shadow servers
  • access nvenc encoder statistics info?

Change History (4)

comment:1 Changed 4 years ago by Antoine Martin

Description: modified (diff)
Milestone: 0.131.0
Status: newassigned

comment:2 Changed 2 years ago by Antoine Martin

Milestone: 1.01.1

Milestone renamed

comment:3 Changed 2 years ago by Antoine Martin

Milestone: 1.12.0

Milestone renamed

comment:4 Changed 18 months ago by Antoine Martin

Milestone: 2.0future
Note: See TracTickets for help on using tickets.