xpra icon
Bug tracker and wiki

Ticket #422: opencl-forcewait.patch

File opencl-forcewait.patch, 530 bytes (added by Antoine Martin, 6 years ago)

introduces a 10 second delay in the encoding to make it easier to suspend with a live context

  • xpra/codecs/csc_opencl/colorspace_converter.py

     
    722722        kend = time.time()
    723723        debug("%s took %.1fms", self.kernel_function_name, 1000.0*(kend-kstart))
    724724
     725        #force wait to test for context bugs:
     726        time.sleep(10)
     727
    725728        #read back:
    726729        pixels = []
    727730        for i in range(3):