xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Changes between Initial Version and Version 1 of Ticket #733


Ignore:
Timestamp:
11/09/14 08:36:21 (6 years ago)
Author:
Antoine Martin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #733

    • Property Owner changed from Antoine Martin to Antoine Martin
    • Property Status changed from new to assigned
  • Ticket #733 – Description

    initial v1  
    11Not sure if this is due to nvenc v4 (#653), the driver version, changes in our code, or what..  But it's pretty bad.
    22
    3 * r8085 adds some debugging to xpra info, it shows that when we resize a window, we go through many cycles of creating then destroying nvenc contexts before we settle down (pipeline scoring playing the yo-yo). This needs to be fixed, but in itself should not be critical... except:
     3* r8085 adds some debugging to xpra info, it shows that when we resize a window, we go through many cycles of creating then destroying nvenc contexts before we settle down (pipeline scoring playing the yo-yo). This needs to be fixed (but is actually quite useful for testing!), but in itself should not be critical... except that:
    44* nvenc leaks memory, to the tune of about ~50MB per context, resize the window once and you can go through 20 contexts and about 1GB of memory! This is pinned device memory by the looks of this error message: {{{MemoryError: cuCtxCreate failed: out of memory}}} which fires from the pycuda code {{{device.make_context(flags=cf.SCHED_YIELD | cf.MAP_HOST)}}}.
    55I've also seen it coming up as ''error during picture encoding - returned 10: ...'' during {{{self.functionList.nvEncEncodePicture}}}.
    66Once this happens, it is also possible to hit {{{AssertionError: no NVENC device found!}}} since there is no more memory available on the card!
    77
    8 This is blocker for #653, #466
     8I keep an eye on the server state using:
     9{{{
     10watch 'xpra info | egrep -e \
     11    "window\[[0-9]*\].encoder=|encoder_height|encoder_width|last_failure|context_count|device_count|generation|kernel"'
     12}}}
     13The memory does not go back down when we disconnect the client either..
     14
     15This is a blocker for #653, #466