2018-11-03 15:42:01,025 Error: cannot enable SSH socket upgrades: 2018-11-03 15:42:01,025 No module named paramiko 2018-11-03 15:42:01,029 cannot access python uinput module: 2018-11-03 15:42:01,029 No module named uinput X.Org X Server 1.19.5 Release Date: 2017-10-12 X Protocol Version 11, Revision 0 Build Operating System: 3.10.0-693.17.1.el7.x86_64 Current Operating System: Linux curry 4.4.162-1.el7.elrepo.x86_64 #1 SMP Sat Oct 20 11:33:06 EDT 2018 x86_64 Kernel command line: BOOT_IMAGE=/vmlinuz-4.4.162-1.el7.elrepo.x86_64 root=UUID=91b25c4f-181a-48fb-90f5-2f305c5e16a6 ro rd.driver.blacklist=nouveau nouveau.modeset=0 nomodeset rhgb quiet LANG=en_US.UTF-8 Build Date: 11 April 2018 04:40:54PM Build ID: xorg-x11-server 1.19.5-5.el7 Current version of pixman: 0.34.0 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (++) Log file: "/run/user/250/xpra/Xorg.:57.log", Time: Sat Nov 3 15:42:01 2018 (++) Using config file: "/etc/xpra/xorg.conf" (==) Using system config directory "/usr/share/X11/xorg.conf.d" 2018-11-03 15:42:01,480 created unix domain socket: /run/user/250/xpra/curry-57 2018-11-03 15:42:01,480 cannot create group socket '/run/xpra/curry-57' 2018-11-03 15:42:01,480 [Errno 13] Permission denied 2018-11-03 15:42:01,481 Warning: missing sound module 2018-11-03 15:42:01,631 pointer device emulation using XTest 2018-11-03 15:42:02,380 OpenGL is supported on this display 2018-11-03 15:42:02,496 serving html content from: /usr/share/xpra/www 2018-11-03 15:42:02,599 VideoHelper.set_modules(nvenc, swscale, ) video encoders=nvenc, csc=swscale, video decoders= 2018-11-03 15:42:02,612 D-Bus notification forwarding is available 2018-11-03 15:42:02,873 Warning: webcam forwarding is disabled 2018-11-03 15:42:02,874 the virtual video directory '/sys/devices/virtual/video4linux' was not found 2018-11-03 15:42:02,874 make sure that the 'v4l2loopback' kernel module is installed and loaded 2018-11-03 15:42:02,874 found 0 virtual video devices for webcam forwarding 2018-11-03 15:42:03,063 CUDA initialization (this may take a few seconds) 2018-11-03 15:42:03,087 CUDA driver version=10000 2018-11-03 15:42:03,088 get_prefs() will try to load cuda.conf from: ['/etc/xpra', '/usr/local/etc/xpra', '/etc/xdg/xpra', '~/.xpra', '~/.config/xpra'] 2018-11-03 15:42:03,088 get_prefs() '/usr/local/etc/xpra/cuda.conf' does not exist! 2018-11-03 15:42:03,088 get_prefs() '/etc/xdg/xpra/cuda.conf' does not exist! 2018-11-03 15:42:03,089 get_prefs() '/home/nathan/.xpra/cuda.conf' does not exist! 2018-11-03 15:42:03,089 get_prefs() '/home/nathan/.config/xpra/cuda.conf' does not exist! 2018-11-03 15:42:03,089 + testing device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:03,331 created context= 2018-11-03 15:42:03,331 api version=3020 2018-11-03 15:42:03,331 memory: free=5961MB, total=6077MB 2018-11-03 15:42:03,332 multi-processors: 10, clock rate: 1708500 2018-11-03 15:42:03,332 max block sizes: (1024, 1024, 64) 2018-11-03 15:42:03,332 max grid sizes: (2147483647, 65535, 65535) 2018-11-03 15:42:03,332 maximum texture size: 131072x65536 2018-11-03 15:42:03,332 max pitch: 2147483647 2018-11-03 15:42:03,332 compute capability: 0x61 (6.1) 2018-11-03 15:42:03,332 CUDA 9.2.0 / PyCUDA 2018.1, found 1 device: 2018-11-03 15:42:03,333 + GeForce GTX 1060 6GB @ 0000:AF:00.0 (memory: 98% free, compute: 6.1) 2018-11-03 15:42:03,410 NVidia driver version 410.73 2018-11-03 15:42:03,410 will test 0 devices from failing list: [] 2018-11-03 15:42:03,410 will test 1 device from OK list: [0] 2018-11-03 15:42:03,411 select_device: testing device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:03,597 created context= 2018-11-03 15:42:03,597 memory: free=5961MB, total=6077MB 2018-11-03 15:42:03,597 device matches preferred device id 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:03,938 will test 0 devices from failing list: [] 2018-11-03 15:42:03,939 will test 1 device from OK list: [0] 2018-11-03 15:42:03,939 select_device: testing device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:04,148 created context= 2018-11-03 15:42:04,149 memory: free=5961MB, total=6077MB 2018-11-03 15:42:04,149 device matches preferred device id 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:04,383 get_CUDA_function(0, ARGB_to_NV12) cubin file=/usr/share/xpra/cuda/ARGB_to_NV12.fatbin 2018-11-03 15:42:04,384 loaded 49400 bytes 2018-11-03 15:42:04,384 get_CUDA_function(0, ARGB_to_NV12) module= 2018-11-03 15:42:04,386 loading function ARGB_to_NV12 from pre-compiled cubin took 1.7ms 2018-11-03 15:42:04,484 will test 0 devices from failing list: [] 2018-11-03 15:42:04,485 will test 1 device from OK list: [0] 2018-11-03 15:42:04,485 select_device: testing device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:04,681 created context= 2018-11-03 15:42:04,682 memory: free=5961MB, total=6077MB 2018-11-03 15:42:04,682 device matches preferred device id 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:04,966 get_CUDA_function(0, ARGB_to_NV12) module= 2018-11-03 15:42:04,966 loading function ARGB_to_NV12 from pre-compiled cubin took 0.5ms 2018-11-03 15:42:05,060 NVENC v8 successfully initialized with codecs: h264, h265 2018-11-03 15:42:05,060 cuda_context.reset_state() 2018-11-03 15:42:05,100 swscale pixel formats: {u'XRGB': CSCPixelFormat(GBRP), u'YUV422P': CSCPixelFormat(GBRP), u'BGR': CSCPixelFormat(GBRP), u'BGRX': CSCPixelFormat(GBRP), u'GBRP': CSCPixelFormat(GBRP), u'RGB': CSCPixelFormat(GBRP), u'YUV420P': CSCPixelFormat(GBRP), u'RGBX': CSCPixelFormat(GBRP), u'XBGR': CSCPixelFormat(GBRP), u'YUV444P': CSCPixelFormat(GBRP)} 2018-11-03 15:42:05,100 colorspaces: [u'RGB', u'BGR', u'XRGB', u'BGRX', u'RGBX', u'XBGR', u'YUV420P', u'YUV422P', u'YUV444P', u'GBRP'] 2018-11-03 15:42:05,100 speed=30 BICUBIC=4 2018-11-03 15:42:05,100 speed=40 BICUBLIN=64 2018-11-03 15:42:05,100 speed=60 BILINEAR=2 2018-11-03 15:42:05,101 speed=80 FAST_BILINEAR=1 2018-11-03 15:42:05,101 swscale flags: [(30, BICUBIC), (40, BICUBLIN), (60, BILINEAR), (80, FAST_BILINEAR)] 2018-11-03 15:42:05,101 csc_swscale.init_module() 2018-11-03 15:42:05,101 swscale.ColorspaceConverter.init_context(24, 16, u'YUV420P', 24, 16, u'BGRX', 100) 2018-11-03 15:42:05,101 source format=CSCPixelFormat(GBRP) 2018-11-03 15:42:05,101 destination format=CSCPixelFormat(GBRP) 2018-11-03 15:42:05,102 sws context=0x3515a40 2018-11-03 15:42:05,102 swscale(YUV420P 24x16 - BGRX 24x16) took 0.1ms 2018-11-03 15:42:05,102 swscale.ColorspaceConverter.clean() sws context=0x3515a40 2018-11-03 15:42:05,102 swscale.ColorspaceConverter.init_context(24, 16, u'BGRX', 24, 16, u'YUV420P', 100) 2018-11-03 15:42:05,103 source format=CSCPixelFormat(GBRP) 2018-11-03 15:42:05,103 destination format=CSCPixelFormat(GBRP) 2018-11-03 15:42:05,103 sws context=0x3515a40 2018-11-03 15:42:05,103 swscale(BGRX 24x16 - YUV420P 24x16) took 0.1ms 2018-11-03 15:42:05,103 swscale.ColorspaceConverter.clean() sws context=0x3515a40 2018-11-03 15:42:05,103 swscale.ColorspaceConverter.init_context(24, 16, u'YUV422P', 24, 16, u'BGRX', 100) 2018-11-03 15:42:05,104 source format=CSCPixelFormat(GBRP) 2018-11-03 15:42:05,104 destination format=CSCPixelFormat(GBRP) 2018-11-03 15:42:05,104 sws context=0x3515a40 2018-11-03 15:42:05,104 swscale(YUV422P 24x16 - BGRX 24x16) took 0.0ms 2018-11-03 15:42:05,104 swscale.ColorspaceConverter.clean() sws context=0x3515a40 2018-11-03 15:42:05,104 swscale.ColorspaceConverter.init_context(24, 16, u'BGRX', 24, 16, u'YUV422P', 100) 2018-11-03 15:42:05,105 source format=CSCPixelFormat(GBRP) 2018-11-03 15:42:05,105 destination format=CSCPixelFormat(GBRP) 2018-11-03 15:42:05,105 sws context=0x3515a40 2018-11-03 15:42:05,105 swscale(BGRX 24x16 - YUV422P 24x16) took 0.0ms 2018-11-03 15:42:05,105 swscale.ColorspaceConverter.clean() sws context=0x3515a40 2018-11-03 15:42:05,105 swscale.ColorspaceConverter.init_context(24, 16, u'YUV444P', 24, 16, u'BGRX', 100) 2018-11-03 15:42:05,106 source format=CSCPixelFormat(GBRP) 2018-11-03 15:42:05,106 destination format=CSCPixelFormat(GBRP) 2018-11-03 15:42:05,106 sws context=0x3515a40 2018-11-03 15:42:05,106 swscale(YUV444P 24x16 - BGRX 24x16) took 0.0ms 2018-11-03 15:42:05,106 swscale.ColorspaceConverter.clean() sws context=0x3515a40 2018-11-03 15:42:05,107 swscale.ColorspaceConverter.init_context(24, 16, u'BGRX', 24, 16, u'YUV444P', 100) 2018-11-03 15:42:05,107 source format=CSCPixelFormat(GBRP) 2018-11-03 15:42:05,107 destination format=CSCPixelFormat(GBRP) 2018-11-03 15:42:05,107 sws context=0x3515a40 2018-11-03 15:42:05,107 swscale(BGRX 24x16 - YUV444P 24x16) took 0.0ms 2018-11-03 15:42:05,107 swscale.ColorspaceConverter.clean() sws context=0x3515a40 2018-11-03 15:42:05,108 swscale.ColorspaceConverter.init_context(24, 16, u'GBRP', 24, 16, u'BGRX', 100) 2018-11-03 15:42:05,108 source format=CSCPixelFormat(GBRP) 2018-11-03 15:42:05,108 destination format=CSCPixelFormat(GBRP) 2018-11-03 15:42:05,108 sws context=0x3515a40 2018-11-03 15:42:05,108 swscale(GBRP 24x16 - BGRX 24x16) took 0.0ms 2018-11-03 15:42:05,108 swscale.ColorspaceConverter.clean() sws context=0x3515a40 2018-11-03 15:42:05,109 swscale.ColorspaceConverter.init_context(24, 16, u'BGRX', 24, 16, u'GBRP', 100) 2018-11-03 15:42:05,109 source format=CSCPixelFormat(GBRP) 2018-11-03 15:42:05,109 destination format=CSCPixelFormat(GBRP) 2018-11-03 15:42:05,109 sws context=0x3515a40 2018-11-03 15:42:05,109 swscale(BGRX 24x16 - GBRP 24x16) took 0.0ms 2018-11-03 15:42:05,109 swscale.ColorspaceConverter.clean() sws context=0x3515a40 2018-11-03 15:42:05,109 csc_swscale.cleanup_module() 2018-11-03 15:42:05,110 init_encodings() adding video encodings: () 2018-11-03 15:42:05,110 allowed encodings=['h264', 'vp9', 'vp8', 'mpeg4', 'mpeg4+mp4', 'h264+mp4', 'vp8+webm', 'vp9+webm', 'png', 'png/P', 'png/L', 'webp', 'rgb', 'rgb24', 'rgb32', 'jpeg', 'h265', 'jpeg2000', 'mpeg1', 'mpeg2'], encodings=['rgb', 'png', 'png/L', 'png/P', 'jpeg', 'webp'], core encodings=['rgb24', 'rgb32', 'png', 'png/L', 'png/P', 'jpeg', 'webp'], lossless encodings=['rgb24', 'rgb32', 'png', 'png/L', 'png/P', 'webp'] 2018-11-03 15:42:05,115 xpra X11 version 2.5-r20858 64-bit 2018-11-03 15:42:05,116 uid=250 (nathan), gid=200 (staff) 2018-11-03 15:42:05,117 running with pid 180794 on Linux CentOS 7.5.1804 Core 2018-11-03 15:42:05,117 connected to X11 display :57 with 24 bit colors 2018-11-03 15:42:05,290 xpra is ready. WARNING: no 'numpy' module, HyBi protocol will be slower 2018-11-03 15:42:06,759 Error loading '/usr/local/cuda-10.0/libnsight/icon.xpm' 2018-11-03 15:42:06,759 Error loading desktop entry 'Nsight Eclipse Edition': 2018-11-03 15:42:06,759 cannot read this XPM file 2018-11-03 15:42:06,760 Error loading '/usr/local/cuda-10.0/libnvvp/icon.xpm' 2018-11-03 15:42:06,760 Error loading desktop entry 'NVIDIA Visual Profiler': 2018-11-03 15:42:06,760 cannot read this XPM file 2018-11-03 15:42:07,077 printer forwarding enabled using postscript and pdf 2018-11-03 15:42:07,089 VideoHelper.init() 2018-11-03 15:42:07,089 VideoHelper.init() initialized=False 2018-11-03 15:42:07,089 init_video_encoders_options() 2018-11-03 15:42:07,089 will try video encoders: nvenc 2018-11-03 15:42:07,089 modules for nvenc: nvenc 2018-11-03 15:42:07,090 init_video_encoder_option(nvenc) 2018-11-03 15:42:07,090 module= 2018-11-03 15:42:07,090 will test 0 devices from failing list: [] 2018-11-03 15:42:07,090 will test 1 device from OK list: [0] 2018-11-03 15:42:07,091 select_device: testing device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:07,233 created context= 2018-11-03 15:42:07,234 memory: free=5961MB, total=6077MB 2018-11-03 15:42:07,234 device matches preferred device id 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:07,536 will test 0 devices from failing list: [] 2018-11-03 15:42:07,537 will test 1 device from OK list: [0] 2018-11-03 15:42:07,537 select_device: testing device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:07,717 created context= 2018-11-03 15:42:07,717 memory: free=5961MB, total=6077MB 2018-11-03 15:42:07,718 device matches preferred device id 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:07,918 get_CUDA_function(0, ARGB_to_NV12) module= 2018-11-03 15:42:07,918 loading function ARGB_to_NV12 from pre-compiled cubin took 0.4ms 2018-11-03 15:42:08,017 will test 0 devices from failing list: [] 2018-11-03 15:42:08,017 will test 1 device from OK list: [0] 2018-11-03 15:42:08,018 select_device: testing device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:08,235 created context= 2018-11-03 15:42:08,235 memory: free=5961MB, total=6077MB 2018-11-03 15:42:08,235 device matches preferred device id 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:08,435 get_CUDA_function(0, ARGB_to_NV12) module= 2018-11-03 15:42:08,435 loading function ARGB_to_NV12 from pre-compiled cubin took 0.4ms 2018-11-03 15:42:08,546 nvenc encodings=h264, h265 2018-11-03 15:42:08,546 nvenc input colorspaces for h264: ARGB, XRGB, BGRA, BGRX 2018-11-03 15:42:08,547 nvenc input colorspaces for h265: ARGB, XRGB, BGRA, BGRX 2018-11-03 15:42:08,547 video encoder options: {u'h264': {u'ARGB': [video_spec(nvenc)], u'XRGB': [video_spec(nvenc)], u'BGRA': [video_spec(nvenc)], u'BGRX': [video_spec(nvenc)]}, u'h265': {u'ARGB': [video_spec(nvenc)], u'XRGB': [video_spec(nvenc)], u'BGRA': [video_spec(nvenc)], u'BGRX': [video_spec(nvenc)]}} 2018-11-03 15:42:08,547 found 2 video encoders: h264, h265 2018-11-03 15:42:08,547 init_csc_options() 2018-11-03 15:42:08,547 will try csc modules: swscale 2018-11-03 15:42:08,547 init_csc_option(csc_swscale) 2018-11-03 15:42:08,547 module= 2018-11-03 15:42:08,548 csc_swscale.init_module() 2018-11-03 15:42:08,548 swscale output colorspaces for RGB: BGR, XRGB, BGRX, RGBX, XBGR, YUV420P, YUV422P, YUV444P, GBRP 2018-11-03 15:42:08,548 swscale output colorspaces for BGR: RGB, XRGB, BGRX, RGBX, XBGR, YUV420P, YUV422P, YUV444P, GBRP 2018-11-03 15:42:08,549 swscale output colorspaces for XRGB: RGB, BGR, BGRX, RGBX, XBGR, YUV420P, YUV422P, YUV444P, GBRP 2018-11-03 15:42:08,549 swscale output colorspaces for BGRX: RGB, BGR, XRGB, RGBX, XBGR, YUV420P, YUV422P, YUV444P, GBRP 2018-11-03 15:42:08,549 swscale output colorspaces for RGBX: RGB, BGR, XRGB, BGRX, XBGR, YUV420P, YUV422P, YUV444P, GBRP 2018-11-03 15:42:08,549 swscale output colorspaces for XBGR: RGB, BGR, XRGB, BGRX, RGBX, YUV420P, YUV422P, YUV444P, GBRP 2018-11-03 15:42:08,550 swscale output colorspaces for YUV420P: RGB, BGR, XRGB, BGRX, RGBX, XBGR, YUV422P, YUV444P 2018-11-03 15:42:08,550 swscale output colorspaces for YUV422P: RGB, BGR, XRGB, BGRX, RGBX, XBGR, YUV420P, YUV444P 2018-11-03 15:42:08,550 swscale output colorspaces for YUV444P: RGB, BGR, XRGB, BGRX, RGBX, XBGR, YUV420P, YUV422P, GBRP 2018-11-03 15:42:08,550 swscale output colorspaces for GBRP: RGB, BGR, XRGB, BGRX, RGBX, XBGR, YUV420P, YUV422P, YUV444P 2018-11-03 15:42:08,550 csc specs: XRGB, YUV422P, BGR, BGRX, GBRP, RGB, YUV420P, RGBX, XBGR, YUV444P 2018-11-03 15:42:08,551 BGR - 9 options: 2018-11-03 15:42:08,551 * BGRX via: swscale 2018-11-03 15:42:08,551 * GBRP via: swscale 2018-11-03 15:42:08,551 * RGB via: swscale 2018-11-03 15:42:08,551 * RGBX via: swscale 2018-11-03 15:42:08,551 * XBGR via: swscale 2018-11-03 15:42:08,551 * XRGB via: swscale 2018-11-03 15:42:08,551 * YUV420P via: swscale 2018-11-03 15:42:08,551 * YUV422P via: swscale 2018-11-03 15:42:08,551 * YUV444P via: swscale 2018-11-03 15:42:08,551 BGRX - 9 options: 2018-11-03 15:42:08,551 * BGR via: swscale 2018-11-03 15:42:08,551 * GBRP via: swscale 2018-11-03 15:42:08,552 * RGB via: swscale 2018-11-03 15:42:08,552 * RGBX via: swscale 2018-11-03 15:42:08,552 * XBGR via: swscale 2018-11-03 15:42:08,552 * XRGB via: swscale 2018-11-03 15:42:08,552 * YUV420P via: swscale 2018-11-03 15:42:08,552 * YUV422P via: swscale 2018-11-03 15:42:08,552 * YUV444P via: swscale 2018-11-03 15:42:08,552 GBRP - 9 options: 2018-11-03 15:42:08,552 * BGR via: swscale 2018-11-03 15:42:08,552 * BGRX via: swscale 2018-11-03 15:42:08,552 * RGB via: swscale 2018-11-03 15:42:08,552 * RGBX via: swscale 2018-11-03 15:42:08,552 * XBGR via: swscale 2018-11-03 15:42:08,553 * XRGB via: swscale 2018-11-03 15:42:08,553 * YUV420P via: swscale 2018-11-03 15:42:08,553 * YUV422P via: swscale 2018-11-03 15:42:08,553 * YUV444P via: swscale 2018-11-03 15:42:08,553 RGB - 9 options: 2018-11-03 15:42:08,553 * BGR via: swscale 2018-11-03 15:42:08,553 * BGRX via: swscale 2018-11-03 15:42:08,553 * GBRP via: swscale 2018-11-03 15:42:08,553 * RGBX via: swscale 2018-11-03 15:42:08,553 * XBGR via: swscale 2018-11-03 15:42:08,553 * XRGB via: swscale 2018-11-03 15:42:08,553 * YUV420P via: swscale 2018-11-03 15:42:08,553 * YUV422P via: swscale 2018-11-03 15:42:08,554 * YUV444P via: swscale 2018-11-03 15:42:08,554 RGBX - 9 options: 2018-11-03 15:42:08,554 * BGR via: swscale 2018-11-03 15:42:08,554 * BGRX via: swscale 2018-11-03 15:42:08,554 * GBRP via: swscale 2018-11-03 15:42:08,554 * RGB via: swscale 2018-11-03 15:42:08,554 * XBGR via: swscale 2018-11-03 15:42:08,554 * XRGB via: swscale 2018-11-03 15:42:08,554 * YUV420P via: swscale 2018-11-03 15:42:08,554 * YUV422P via: swscale 2018-11-03 15:42:08,554 * YUV444P via: swscale 2018-11-03 15:42:08,554 XBGR - 9 options: 2018-11-03 15:42:08,554 * BGR via: swscale 2018-11-03 15:42:08,554 * BGRX via: swscale 2018-11-03 15:42:08,555 * GBRP via: swscale 2018-11-03 15:42:08,555 * RGB via: swscale 2018-11-03 15:42:08,555 * RGBX via: swscale 2018-11-03 15:42:08,555 * XRGB via: swscale 2018-11-03 15:42:08,555 * YUV420P via: swscale 2018-11-03 15:42:08,555 * YUV422P via: swscale 2018-11-03 15:42:08,555 * YUV444P via: swscale 2018-11-03 15:42:08,555 XRGB - 9 options: 2018-11-03 15:42:08,555 * BGR via: swscale 2018-11-03 15:42:08,555 * BGRX via: swscale 2018-11-03 15:42:08,555 * GBRP via: swscale 2018-11-03 15:42:08,555 * RGB via: swscale 2018-11-03 15:42:08,555 * RGBX via: swscale 2018-11-03 15:42:08,556 * XBGR via: swscale 2018-11-03 15:42:08,556 * YUV420P via: swscale 2018-11-03 15:42:08,556 * YUV422P via: swscale 2018-11-03 15:42:08,556 * YUV444P via: swscale 2018-11-03 15:42:08,556 YUV420P - 8 options: 2018-11-03 15:42:08,556 * BGR via: swscale 2018-11-03 15:42:08,556 * BGRX via: swscale 2018-11-03 15:42:08,556 * RGB via: swscale 2018-11-03 15:42:08,556 * RGBX via: swscale 2018-11-03 15:42:08,556 * XBGR via: swscale 2018-11-03 15:42:08,556 * XRGB via: swscale 2018-11-03 15:42:08,556 * YUV422P via: swscale 2018-11-03 15:42:08,556 * YUV444P via: swscale 2018-11-03 15:42:08,556 YUV422P - 8 options: 2018-11-03 15:42:08,557 * BGR via: swscale 2018-11-03 15:42:08,557 * BGRX via: swscale 2018-11-03 15:42:08,557 * RGB via: swscale 2018-11-03 15:42:08,557 * RGBX via: swscale 2018-11-03 15:42:08,557 * XBGR via: swscale 2018-11-03 15:42:08,557 * XRGB via: swscale 2018-11-03 15:42:08,557 * YUV420P via: swscale 2018-11-03 15:42:08,557 * YUV444P via: swscale 2018-11-03 15:42:08,557 YUV444P - 9 options: 2018-11-03 15:42:08,557 * BGR via: swscale 2018-11-03 15:42:08,557 * BGRX via: swscale 2018-11-03 15:42:08,557 * GBRP via: swscale 2018-11-03 15:42:08,557 * RGB via: swscale 2018-11-03 15:42:08,558 * RGBX via: swscale 2018-11-03 15:42:08,558 * XBGR via: swscale 2018-11-03 15:42:08,558 * XRGB via: swscale 2018-11-03 15:42:08,558 * YUV420P via: swscale 2018-11-03 15:42:08,558 * YUV422P via: swscale 2018-11-03 15:42:08,558 csc options: {u'XRGB': {u'YUV422P': [video_spec(swscale)], u'BGR': [video_spec(swscale)], u'RGBX': [video_spec(swscale)], u'GBRP': [video_spec(swscale)], u'RGB': [video_spec(swscale)], u'YUV420P': [video_spec(swscale)], u'BGRX': [video_spec(swscale)], u'XBGR': [video_spec(swscale)], u'YUV444P': [video_spec(swscale)]}, u'YUV422P': {u'XRGB': [video_spec(swscale)], u'BGR': [video_spec(swscale)], u'BGRX': [video_spec(swscale)], u'RGB': [video_spec(swscale)], u'YUV420P': [video_spec(swscale)], u'RGBX': [video_spec(swscale)], u'XBGR': [video_spec(swscale)], u'YUV444P': [video_spec(swscale)]}, u'BGR': {u'XRGB': [video_spec(swscale)], u'YUV422P': [video_spec(swscale)], u'RGBX': [video_spec(swscale)], u'GBRP': [video_spec(swscale)], u'RGB': [video_spec(swscale)], u'YUV420P': [video_spec(swscale)], u'BGRX': [video_spec(swscale)], u'XBGR': [video_spec(swscale)], u'YUV444P': [video_spec(swscale)]}, u'BGRX': {u'XRGB': [video_spec(swscale)], u'YUV422P': [video_spec(swscale)], u'BGR': [video_spec(swscale)], u'RGBX': [video_spec(swscale)], u'GBRP': [video_spec(swscale)], u'RGB': [video_spec(swscale)], u'YUV420P': [video_spec(swscale)], u'XBGR': [video_spec(swscale)], u'YUV444P': [video_spec(swscale)]}, u'GBRP': {u'XRGB': [video_spec(swscale)], u'YUV422P': [video_spec(swscale)], u'BGR': [video_spec(swscale)], u'BGRX': [video_spec(swscale)], u'RGB': [video_spec(swscale)], u'YUV420P': [video_spec(swscale)], u'RGBX': [video_spec(swscale)], u'XBGR': [video_spec(swscale)], u'YUV444P': [video_spec(swscale)]}, u'RGB': {u'XRGB': [video_spec(swscale)], u'YUV422P': [video_spec(swscale)], u'RGBX': [video_spec(swscale)], u'GBRP': [video_spec(swscale)], u'BGR': [video_spec(swscale)], u'YUV420P': [video_spec(swscale)], u'BGRX': [video_spec(swscale)], u'XBGR': [video_spec(swscale)], u'YUV444P': [video_spec(swscale)]}, u'YUV420P': {u'XRGB': [video_spec(swscale)], u'YUV422P': [video_spec(swscale)], u'BGR': [video_spec(swscale)], u'BGRX': [video_spec(swscale)], u'RGB': [video_spec(swscale)], u'RGBX': [video_spec(swscale)], u'XBGR': [video_spec(swscale)], u'YUV444P': [video_spec(swscale)]}, u'RGBX': {u'XRGB': [video_spec(swscale)], u'YUV422P': [video_spec(swscale)], u'BGR': [video_spec(swscale)], u'BGRX': [video_spec(swscale)], u'GBRP': [video_spec(swscale)], u'RGB': [video_spec(swscale)], u'YUV420P': [video_spec(swscale)], u'XBGR': [video_spec(swscale)], u'YUV444P': [video_spec(swscale)]}, u'XBGR': {u'YUV422P': [video_spec(swscale)], u'BGR': [video_spec(swscale)], u'BGRX': [video_spec(swscale)], u'GBRP': [video_spec(swscale)], u'RGB': [video_spec(swscale)], u'YUV420P': [video_spec(swscale)], u'RGBX': [video_spec(swscale)], u'XRGB': [video_spec(swscale)], u'YUV444P': [video_spec(swscale)]}, u'YUV444P': {u'XRGB': [video_spec(swscale)], u'YUV422P': [video_spec(swscale)], u'BGR': [video_spec(swscale)], u'BGRX': [video_spec(swscale)], u'GBRP': [video_spec(swscale)], u'RGB': [video_spec(swscale)], u'YUV420P': [video_spec(swscale)], u'RGBX': [video_spec(swscale)], u'XBGR': [video_spec(swscale)]}} 2018-11-03 15:42:08,559 init_video_decoders_options() 2018-11-03 15:42:08,559 will try video decoders: 2018-11-03 15:42:08,559 found 0 video decoders: 2018-11-03 15:42:08,559 video decoder options: {} 2018-11-03 15:42:08,559 VideoHelper.init() done 2018-11-03 15:42:08,559 init_encodings() adding video encodings: (u'h264', u'h265') 2018-11-03 15:42:08,559 found lossless mode for encoding h264 with video_spec(nvenc) and colorspace ARGB 2018-11-03 15:42:08,559 found lossless mode for encoding h265 with video_spec(nvenc) and colorspace ARGB 2018-11-03 15:42:08,560 allowed encodings=['h264', 'vp9', 'vp8', 'mpeg4', 'mpeg4+mp4', 'h264+mp4', 'vp8+webm', 'vp9+webm', 'png', 'png/P', 'png/L', 'webp', 'rgb', 'rgb24', 'rgb32', 'jpeg', 'h265', 'jpeg2000', 'mpeg1', 'mpeg2'], encodings=['rgb', u'h264', u'h265', 'png', 'png/L', 'png/P', 'jpeg', 'webp'], core encodings=['rgb24', 'rgb32', u'h264', u'h265', 'png', 'png/L', 'png/P', 'jpeg', 'webp'], lossless encodings=['rgb24', 'rgb32', 'png', 'png/L', 'png/P', 'webp'] 2018-11-03 15:42:08,560 125.6GB of system memory 03:42:08 PM: LS-DYNA - NEON MODEL (NCAC V02) 03:42:08 PM: Total no. of Nodal points = 291206 03:42:08 PM: Total no. of Solid elements = 2920 03:42:08 PM: Total no. of Shell elements = 532077 03:42:08 PM: Total no. of Beam elements = 73 2018-11-03 15:42:30,396 New unix-domain connection received on /run/user/250/xpra/curry-57 2018-11-03 15:42:30,401 Warning: client expects an authentication challenge, 2018-11-03 15:42:30,402 sending a fake one 2018-11-03 15:42:30,452 Handshake complete; enabling connection 2018-11-03 15:42:30,535 default batch config: DamageBatchConfig(0) 2018-11-03 15:42:30,535 set_encoding(auto, None, False) 2018-11-03 15:42:30,535 resetting global stats 2018-11-03 15:42:30,536 encoding options: {'full_csc_modes': {'mpeg1': ('YUV420P',), 'mpeg2': ('YUV420P',), 'mpeg4': ('YUV420P',), 'h264': ('ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'h265': ('BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'vp9': ('YUV420P', 'YUV444P'), 'vp8': ('YUV420P',), 'webp': ('BGRX', 'BGRA', 'RGBX', 'RGBA')}, 'rgb_zlib': True, 'webp_leaks': False, 'video_scaling': True, 'rgb_formats': ('RGB', 'RGBX', 'RGBA'), 'supports_delta': ('png', 'rgb24', 'rgb32'), 'min-speed': 30, 'flush': True, 'speed': 0, 'avcodec2.version': (58, 18, 100), 'rgb24zlib': True, 'generic': True, 'min-quality': 30, 'client_options': True, 'max-soft-expired': 5, 'csc_atoms': True, 'swscale.version': (5, 1, 100), 'PIL.version': '5.3.0', 'dec_jpeg.version': 1, 'rgb_lzo': False, 'video_reinit': True, 'dec_pillow.version': '5.3.0', 'video_max_size': (8192, 8192), 'rgb_lz4': True, 'delta_buckets': 5, 'video_b_frames': ('h264',), 'send-timestamps': False, 'eos': True, 'dec_webp.version': (1, 0, 0), 'transparency': False, 'h264.YUV420P.profile': 'high10', 'vpx.version': 'v1.7.0', 'h264.fast-decode': False} 2018-11-03 15:42:30,536 icons encoding options: {'default.icons': '()', 'max_size': '(128, 128)', 'greedy': 'True', 'size': '(64, 64)'} 2018-11-03 15:42:30,536 default encoding options: {'min-speed': 30, 'min-quality': 30} 2018-11-03 15:42:30,537 automatic picture encoding enabled, also available: 2018-11-03 15:42:30,537 h264, png, png/P, png/L, webp, rgb24, rgb32, jpeg, h265 2018-11-03 15:42:30,539 Python/Gtk2 Microsoft Windows 10 aero client version 2.5-r20907 64-bit 2018-11-03 15:42:30,539 connected from 'coyote2' as 'nathan' 2018-11-03 15:42:30,663 setting key repeat rate from client: 500ms delay / 33ms interval 2018-11-03 15:42:30,667 setting keyboard layout to 'us' 2018-11-03 15:42:30,738 client root window size is 3840x1080 with 1 display: 2018-11-03 15:42:30,739 Default (1016x285 mm - DPI: 96x96) workarea: 3840x1050 2018-11-03 15:42:30,739 DISPLAY1 (1196x336 mm - DPI: 81x81) 2018-11-03 15:42:30,758 server virtual display now set to 3840x1080 2018-11-03 15:42:30,789 scaling options: SCALING=True, HARDCODED=None, PPS_TARGET=51840000, MIN_PPS=1920000, OPTIONS=((1, 10), (1, 5), (1, 4), (1, 3), (1, 2), (2, 3), (1, 1)) 2018-11-03 15:42:30,791 listget('default.icons', [], , None) 2018-11-03 15:42:30,792 expected a list or tuple value for default.icons but got 2018-11-03 15:42:30,792 listget('size', (64, 64), , None) 2018-11-03 15:42:30,792 expected a list or tuple value for size but got 2018-11-03 15:42:30,792 listget('max_size', (64, 64), , None) 2018-11-03 15:42:30,793 expected a list or tuple value for max_size but got 2018-11-03 15:42:30,980 class-changed(WindowModel(0x6005d8), ()) content-type= 2018-11-03 15:42:30,981 parse_csc_modes({'mpeg1': ('YUV420P',), 'mpeg2': ('YUV420P',), 'mpeg4': ('YUV420P',), 'h264': ('ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'h265': ('BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'vp9': ('YUV420P', 'YUV444P'), 'vp8': ('YUV420P',), 'webp': ('BGRX', 'BGRA', 'RGBX', 'RGBA')}) current value={} 2018-11-03 15:42:30,981 wvs.update_encoding_selection(auto, [], True) full_csc_modes={'mpeg1': ('YUV420P',), 'mpeg2': ('YUV420P',), 'mpeg4': ('YUV420P',), 'h264': ('ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'h265': ('BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'vp9': ('YUV420P', 'YUV444P'), 'vp8': ('YUV420P',), 'webp': ('BGRX', 'BGRA', 'RGBX', 'RGBA')} 2018-11-03 15:42:30,982 update_encoding_options: common_video_encodings=['h264', 'h265'], csc_encoder=None, video_encoder=None 2018-11-03 15:42:30,982 ws.update_encoding_selection(auto, [], True) encoding=auto, common encodings=['h264', 'png', 'png/P', 'png/L', 'webp', 'rgb', 'rgb24', 'rgb32', 'jpeg', 'h265'] 2018-11-03 15:42:30,982 update_encoding_selection: client refresh encodings=[], auto_refresh_encodings=('png', 'webp', 'rgb24', 'rgb32') 2018-11-03 15:42:30,982 update_encoding_options(False) wid=1, want_alpha=False, speed=80, quality=80, bandwidth-limit=0, lossless threshold: 76 / 5, rgb auto threshold=2457 (min=2048, max=32768), get_best_encoding= 2018-11-03 15:42:30,983 cannot score: no pixel format! 2018-11-03 15:42:30,983 initial encoding for 1: auto 2018-11-03 15:42:30,985 listget('default.icons', [], , None) 2018-11-03 15:42:30,985 expected a list or tuple value for default.icons but got 2018-11-03 15:42:30,986 listget('size', (64, 64), , None) 2018-11-03 15:42:30,986 expected a list or tuple value for size but got 2018-11-03 15:42:30,987 listget('max_size', (64, 64), , None) 2018-11-03 15:42:30,987 expected a list or tuple value for max_size but got 2018-11-03 15:42:30,988 class-changed(WindowModel(0x600ae4), ()) content-type= 2018-11-03 15:42:30,988 parse_csc_modes({'mpeg1': ('YUV420P',), 'mpeg2': ('YUV420P',), 'mpeg4': ('YUV420P',), 'h264': ('ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'h265': ('BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'vp9': ('YUV420P', 'YUV444P'), 'vp8': ('YUV420P',), 'webp': ('BGRX', 'BGRA', 'RGBX', 'RGBA')}) current value={} 2018-11-03 15:42:30,989 wvs.update_encoding_selection(auto, [], True) full_csc_modes={'mpeg1': ('YUV420P',), 'mpeg2': ('YUV420P',), 'mpeg4': ('YUV420P',), 'h264': ('ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'h265': ('BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'vp9': ('YUV420P', 'YUV444P'), 'vp8': ('YUV420P',), 'webp': ('BGRX', 'BGRA', 'RGBX', 'RGBA')} 2018-11-03 15:42:30,989 update_encoding_options: common_video_encodings=['h264', 'h265'], csc_encoder=None, video_encoder=None 2018-11-03 15:42:30,989 ws.update_encoding_selection(auto, [], True) encoding=auto, common encodings=['h264', 'png', 'png/P', 'png/L', 'webp', 'rgb', 'rgb24', 'rgb32', 'jpeg', 'h265'] 2018-11-03 15:42:30,989 update_encoding_selection: client refresh encodings=[], auto_refresh_encodings=('png', 'webp', 'rgb24', 'rgb32') 2018-11-03 15:42:30,989 update_encoding_options(False) wid=2, want_alpha=False, speed=80, quality=80, bandwidth-limit=0, lossless threshold: 76 / 5, rgb auto threshold=2457 (min=2048, max=32768), get_best_encoding= 2018-11-03 15:42:30,990 cannot score: no pixel format! 2018-11-03 15:42:30,990 initial encoding for 2: auto 2018-11-03 15:42:30,991 listget('default.icons', [], , None) 2018-11-03 15:42:30,992 expected a list or tuple value for default.icons but got 2018-11-03 15:42:30,992 listget('size', (64, 64), , None) 2018-11-03 15:42:30,993 expected a list or tuple value for size but got 2018-11-03 15:42:30,993 listget('max_size', (64, 64), , None) 2018-11-03 15:42:30,993 expected a list or tuple value for max_size but got 2018-11-03 15:42:30,994 class-changed(WindowModel(0x600afb), ()) content-type= 2018-11-03 15:42:30,994 parse_csc_modes({'mpeg1': ('YUV420P',), 'mpeg2': ('YUV420P',), 'mpeg4': ('YUV420P',), 'h264': ('ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'h265': ('BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'vp9': ('YUV420P', 'YUV444P'), 'vp8': ('YUV420P',), 'webp': ('BGRX', 'BGRA', 'RGBX', 'RGBA')}) current value={} 2018-11-03 15:42:30,995 wvs.update_encoding_selection(auto, [], True) full_csc_modes={'mpeg1': ('YUV420P',), 'mpeg2': ('YUV420P',), 'mpeg4': ('YUV420P',), 'h264': ('ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'h265': ('BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'vp9': ('YUV420P', 'YUV444P'), 'vp8': ('YUV420P',), 'webp': ('BGRX', 'BGRA', 'RGBX', 'RGBA')} 2018-11-03 15:42:30,995 update_encoding_options: common_video_encodings=['h264', 'h265'], csc_encoder=None, video_encoder=None 2018-11-03 15:42:30,995 ws.update_encoding_selection(auto, [], True) encoding=auto, common encodings=['h264', 'png', 'png/P', 'png/L', 'webp', 'rgb', 'rgb24', 'rgb32', 'jpeg', 'h265'] 2018-11-03 15:42:30,995 update_encoding_selection: client refresh encodings=[], auto_refresh_encodings=('png', 'webp', 'rgb24', 'rgb32') 2018-11-03 15:42:30,995 update_encoding_options(False) wid=3, want_alpha=False, speed=80, quality=80, bandwidth-limit=0, lossless threshold: 76 / 5, rgb auto threshold=2457 (min=2048, max=32768), get_best_encoding= 2018-11-03 15:42:30,996 cannot score: no pixel format! 2018-11-03 15:42:30,996 initial encoding for 3: auto 2018-11-03 15:42:31,027 DPI set to 45 x 25 (wanted 96 x 96) 2018-11-03 15:42:31,027 you may experience scaling problems, such as huge or small fonts, etc 2018-11-03 15:42:31,028 to fix this issue, try the dpi switch, or use a patched Xorg dummy driver 2018-11-03 15:42:31,029 parse_csc_modes({'mpeg1': ('YUV420P',), 'mpeg2': ('YUV420P',), 'mpeg4': ('YUV420P',), 'h264': ('ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'h265': ('BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'vp9': ('YUV420P', 'YUV444P'), 'vp8': ('YUV420P',), 'webp': ('BGRA', 'BGRX', 'RGBA', 'RGBX')}) current value={'mpeg1': ('YUV420P',), 'mpeg2': ('YUV420P',), 'mpeg4': ('YUV420P',), 'h264': ('ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'h265': ('BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'vp9': ('YUV420P', 'YUV444P'), 'vp8': ('YUV420P',), 'webp': ('BGRX', 'BGRA', 'RGBX', 'RGBA')} 2018-11-03 15:42:31,029 wvs.update_encoding_selection(auto, [], False) full_csc_modes={'mpeg1': ('YUV420P',), 'mpeg2': ('YUV420P',), 'mpeg4': ('YUV420P',), 'h264': ('ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'h265': ('BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'vp9': ('YUV420P', 'YUV444P'), 'vp8': ('YUV420P',), 'webp': ('BGRA', 'BGRX', 'RGBA', 'RGBX')} 2018-11-03 15:42:31,030 update_encoding_options: common_video_encodings=['h264', 'h265'], csc_encoder=None, video_encoder=None 2018-11-03 15:42:31,030 ws.update_encoding_selection(auto, [], False) encoding=auto, common encodings=['h264', 'png', 'png/P', 'png/L', 'webp', 'rgb', 'rgb24', 'rgb32', 'jpeg', 'h265'] 2018-11-03 15:42:31,030 update_encoding_selection: client refresh encodings=[], auto_refresh_encodings=('png', 'webp', 'rgb24', 'rgb32') 2018-11-03 15:42:31,030 update_encoding_options(False) wid=1, want_alpha=False, speed=80, quality=80, bandwidth-limit=0, lossless threshold: 76 / 5, rgb auto threshold=2457 (min=2048, max=32768), get_best_encoding= 2018-11-03 15:42:31,031 cannot score: no pixel format! 2018-11-03 15:42:31,031 do_set_client_properties({'encoding.scrolling': True, 'encoding.transparency': False, 'encodings.rgb_formats': ('YUV420P', 'YUV422P', 'YUV444P', 'GBRP', 'BGRA', 'BGRX', 'RGBA', 'RGBX', 'RGB', 'BGR'), 'encoding.full_csc_modes': {'mpeg1': ('YUV420P',), 'mpeg2': ('YUV420P',), 'mpeg4': ('YUV420P',), 'h264': ('ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'h265': ('BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'vp9': ('YUV420P', 'YUV444P'), 'vp8': ('YUV420P',), 'webp': ('BGRA', 'BGRX', 'RGBA', 'RGBX')}, 'encoding.bit-depth': 24}) full_csc_modes={'mpeg1': ('YUV420P',), 'mpeg2': ('YUV420P',), 'mpeg4': ('YUV420P',), 'h264': ('ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'h265': ('BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'vp9': ('YUV420P', 'YUV444P'), 'vp8': ('YUV420P',), 'webp': ('BGRA', 'BGRX', 'RGBA', 'RGBX')}, video_scaling=True, video_subregion=True, non_video_encodings=['png', 'png/P', 'png/L', 'webp', 'rgb24', 'rgb32', 'jpeg'], edge_encoding=rgb24, scaling_control=None 2018-11-03 15:42:31,045 parse_csc_modes({'mpeg1': ('YUV420P',), 'mpeg2': ('YUV420P',), 'mpeg4': ('YUV420P',), 'h264': ('ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'h265': ('BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'vp9': ('YUV420P', 'YUV444P'), 'vp8': ('YUV420P',), 'webp': ('BGRA', 'BGRX', 'RGBA', 'RGBX')}) current value={'mpeg1': ('YUV420P',), 'mpeg2': ('YUV420P',), 'mpeg4': ('YUV420P',), 'h264': ('ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'h265': ('BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'vp9': ('YUV420P', 'YUV444P'), 'vp8': ('YUV420P',), 'webp': ('BGRX', 'BGRA', 'RGBX', 'RGBA')} 2018-11-03 15:42:31,046 wvs.update_encoding_selection(auto, [], False) full_csc_modes={'mpeg1': ('YUV420P',), 'mpeg2': ('YUV420P',), 'mpeg4': ('YUV420P',), 'h264': ('ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'h265': ('BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'vp9': ('YUV420P', 'YUV444P'), 'vp8': ('YUV420P',), 'webp': ('BGRA', 'BGRX', 'RGBA', 'RGBX')} 2018-11-03 15:42:31,046 update_encoding_options: common_video_encodings=['h264', 'h265'], csc_encoder=None, video_encoder=None 2018-11-03 15:42:31,046 ws.update_encoding_selection(auto, [], False) encoding=auto, common encodings=['h264', 'png', 'png/P', 'png/L', 'webp', 'rgb', 'rgb24', 'rgb32', 'jpeg', 'h265'] 2018-11-03 15:42:31,046 update_encoding_selection: client refresh encodings=[], auto_refresh_encodings=('png', 'webp', 'rgb24', 'rgb32') 2018-11-03 15:42:31,047 update_encoding_options(False) wid=2, want_alpha=False, speed=80, quality=80, bandwidth-limit=0, lossless threshold: 76 / 5, rgb auto threshold=2457 (min=2048, max=32768), get_best_encoding= 2018-11-03 15:42:31,047 cannot score: no pixel format! 2018-11-03 15:42:31,047 do_set_client_properties({'encoding.scrolling': True, 'encoding.transparency': False, 'encodings.rgb_formats': ('YUV420P', 'YUV422P', 'YUV444P', 'GBRP', 'BGRA', 'BGRX', 'RGBA', 'RGBX', 'RGB', 'BGR'), 'encoding.full_csc_modes': {'mpeg1': ('YUV420P',), 'mpeg2': ('YUV420P',), 'mpeg4': ('YUV420P',), 'h264': ('ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'h265': ('BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'vp9': ('YUV420P', 'YUV444P'), 'vp8': ('YUV420P',), 'webp': ('BGRA', 'BGRX', 'RGBA', 'RGBX')}, 'encoding.bit-depth': 24}) full_csc_modes={'mpeg1': ('YUV420P',), 'mpeg2': ('YUV420P',), 'mpeg4': ('YUV420P',), 'h264': ('ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'h265': ('BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'vp9': ('YUV420P', 'YUV444P'), 'vp8': ('YUV420P',), 'webp': ('BGRA', 'BGRX', 'RGBA', 'RGBX')}, video_scaling=True, video_subregion=True, non_video_encodings=['png', 'png/P', 'png/L', 'webp', 'rgb24', 'rgb32', 'jpeg'], edge_encoding=rgb24, scaling_control=None 2018-11-03 15:42:31,066 send_delayed for wid 2, batch delay is 12ms, elapsed time is 16ms 2018-11-03 15:42:31,067 send_delayed_regions: bytes_cost=61458, bytes_threshold=36260, pixel_count=60434 2018-11-03 15:42:31,067 nonvideo(100, not enough frames) 2018-11-03 15:42:31,067 send_delayed_regions: using full window update 451x134 as webp, from 2018-11-03 15:42:31,069 process_damage_region: wid=2, adding pixel data to encode queue ( 451x134 - webp), elapsed time: 19.2 ms, request time: 2.0 ms, frame delay=0ms 2018-11-03 15:42:31,070 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 451, 134), damage data: (2, 0, 0, 451, 134, 'webp') 2018-11-03 15:42:31,096 send_delayed for wid 1, batch delay is 62ms, elapsed time is 63ms 2018-11-03 15:42:31,097 send_delayed_regions: bytes_cost=1569948, bytes_threshold=941354, pixel_count=1568924 2018-11-03 15:42:31,097 send_delayed_regions: using full window update 1636x959 as auto, from 2018-11-03 15:42:31,114 process_damage_region: wid=1, adding pixel data to encode queue (1636x959 - auto), elapsed time: 81.2 ms, request time: 16.8 ms, frame delay=0ms 2018-11-03 15:42:31,114 send_delayed for wid 2, delaying again because of backlog: 1 packets, batch delay is 12, elapsed time is 31ms 2018-11-03 15:42:31,116 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (1, 0, 0, 1636, 959, 'auto') 2018-11-03 15:42:31,117 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) 2018-11-03 15:42:31,117 check_pipeline('auto', 1636, 959, 'BGRX') setting up a new pipeline as check failed - encodings=['h264', 'h265'] 2018-11-03 15:42:31,117 get_video_pipeline_options(['h264', 'h265'], 1636, 959, 'BGRX', False) last params=None, full_csc_modes={'mpeg1': ('YUV420P',), 'mpeg2': ('YUV420P',), 'mpeg4': ('YUV420P',), 'h264': ('ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'h265': ('BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'vp9': ('YUV420P', 'YUV444P'), 'vp8': ('YUV420P',), 'webp': ('BGRA', 'BGRX', 'RGBA', 'RGBX')} 2018-11-03 15:42:31,118 get_video_pipeline_options(['h264', 'h265'], 1636, 959, 'BGRX') speed: 80 (min 30), quality: 80 (min 30) 2018-11-03 15:42:31,118 add_scores(direct (no csc), None, BGRX) 2018-11-03 15:42:31,118 calculate_scaling(1636, 959, 4096, 4096)=(1, 1) (q=80, s=80, scaling_control=None) 2018-11-03 15:42:31,118 get_score(BGRX , None , video_spec(nvenc) , 1636, 959) quality: 80, speed: 80, setup: 100 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=1636x958, sizescore= 96, client score delta= 0, cpu score= 0, gpu score=100, score=83 2018-11-03 15:42:31,119 add_scores(via XBGR (XBGR), video_spec(swscale), XBGR) 2018-11-03 15:42:31,119 add_scores(via YUV422P (YUV422P), video_spec(swscale), YUV422P) 2018-11-03 15:42:31,119 add_scores(via RGB (RGB), video_spec(swscale), RGB) 2018-11-03 15:42:31,119 add_scores(via RGBX (RGBX), video_spec(swscale), RGBX) 2018-11-03 15:42:31,119 add_scores(via GBRP (GBRP), video_spec(swscale), GBRP) 2018-11-03 15:42:31,119 add_scores(via BGR (BGR), video_spec(swscale), BGR) 2018-11-03 15:42:31,120 add_scores(via YUV420P (YUV420P), video_spec(swscale), YUV420P) 2018-11-03 15:42:31,120 add_scores(via XRGB (XRGB), video_spec(swscale), XRGB) 2018-11-03 15:42:31,120 calculate_scaling(1636, 959, 4096, 4096)=(1, 1) (q=80, s=80, scaling_control=None) 2018-11-03 15:42:31,120 get_score(XRGB , video_spec(swscale) , video_spec(nvenc) , 1636, 959) quality: 95, speed: 74, setup: 64 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=1636x958, sizescore= 96, client score delta= 0, cpu score= 0, gpu score=100, score=81 2018-11-03 15:42:31,120 add_scores(via YUV444P (YUV444P), video_spec(swscale), YUV444P) 2018-11-03 15:42:31,121 add_scores(direct (no csc), None, BGRX) 2018-11-03 15:42:31,123 calculate_scaling(1636, 959, 8192, 8192)=(1, 1) (q=80, s=80, scaling_control=None) 2018-11-03 15:42:31,124 get_score(BGRX , None , video_spec(nvenc) , 1636, 959) quality: 80, speed: 80, setup: 100 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=1636x958, sizescore= 96, client score delta= 0, cpu score= 0, gpu score=100, score=83 2018-11-03 15:42:31,125 add_scores(via XBGR (XBGR), video_spec(swscale), XBGR) 2018-11-03 15:42:31,125 add_scores(via YUV422P (YUV422P), video_spec(swscale), YUV422P) 2018-11-03 15:42:31,125 add_scores(via RGB (RGB), video_spec(swscale), RGB) 2018-11-03 15:42:31,126 add_scores(via RGBX (RGBX), video_spec(swscale), RGBX) 2018-11-03 15:42:31,126 add_scores(via GBRP (GBRP), video_spec(swscale), GBRP) 2018-11-03 15:42:31,126 add_scores(via BGR (BGR), video_spec(swscale), BGR) 2018-11-03 15:42:31,126 add_scores(via YUV420P (YUV420P), video_spec(swscale), YUV420P) 2018-11-03 15:42:31,126 add_scores(via XRGB (XRGB), video_spec(swscale), XRGB) 2018-11-03 15:42:31,127 calculate_scaling(1636, 959, 8192, 8192)=(1, 1) (q=80, s=80, scaling_control=None) 2018-11-03 15:42:31,127 get_score(XRGB , video_spec(swscale) , video_spec(nvenc) , 1636, 959) quality: 75, speed: 74, setup: 64 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=1636x958, sizescore= 96, client score delta= 0, cpu score= 0, gpu score=100, score=77 2018-11-03 15:42:31,127 add_scores(via YUV444P (YUV444P), video_spec(swscale), YUV444P) 2018-11-03 15:42:31,128 get_video_pipeline_options(['h264', 'h265'], 1636, 959, 'BGRX') scores=[(83, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)), (83, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)), (81, (1, 1), (1, 1), 1636, 958, video_spec(swscale), u'XRGB', (1, 1), 1636, 958, video_spec(nvenc)), (77, (1, 1), (1, 1), 1636, 958, video_spec(swscale), u'XRGB', (1, 1), 1636, 958, video_spec(nvenc))] 2018-11-03 15:42:31,128 setup_pipeline([(83, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)), (83, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)), (81, (1, 1), (1, 1), 1636, 958, video_spec(swscale), u'XRGB', (1, 1), 1636, 958, video_spec(nvenc)), (77, (1, 1), (1, 1), 1636, 958, video_spec(swscale), u'XRGB', (1, 1), 1636, 958, video_spec(nvenc))], 1636, 959, 'BGRX') 2018-11-03 15:42:31,129 setup_pipeline: trying (83, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)) 2018-11-03 15:42:31,129 make_instance() nvenc - instance count=0 2018-11-03 15:42:31,130 will test 0 devices from failing list: [] 2018-11-03 15:42:31,130 will test 1 device from OK list: [0] 2018-11-03 15:42:31,131 select_device: testing device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:31,353 created context= 2018-11-03 15:42:31,354 New unix-domain connection received on /run/user/250/xpra/curry-57 2018-11-03 15:42:31,355 memory: free=5927MB, total=6077MB 2018-11-03 15:42:31,423 selected device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:31,658 send_delayed_regions: bytes_cost=61458, bytes_threshold=36260, pixel_count=60434 2018-11-03 15:42:31,659 send_delayed_regions: using full window update 451x134 as auto, from 2018-11-03 15:42:31,661 process_damage_region: wid=2, adding pixel data to encode queue ( 451x134 - auto), elapsed time: 578.2 ms, request time: 1.5 ms, frame delay=0ms 2018-11-03 15:42:31,664 parse_csc_modes({'mpeg1': ('YUV420P',), 'mpeg2': ('YUV420P',), 'mpeg4': ('YUV420P',), 'h264': ('ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'h265': ('BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'vp9': ('YUV420P', 'YUV444P'), 'vp8': ('YUV420P',), 'webp': ('BGRA', 'BGRX', 'RGBA', 'RGBX')}) current value={'mpeg1': ('YUV420P',), 'mpeg2': ('YUV420P',), 'mpeg4': ('YUV420P',), 'h264': ('ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'h265': ('BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'vp9': ('YUV420P', 'YUV444P'), 'vp8': ('YUV420P',), 'webp': ('BGRX', 'BGRA', 'RGBX', 'RGBA')} 2018-11-03 15:42:31,664 wvs.update_encoding_selection(auto, [], False) full_csc_modes={'mpeg1': ('YUV420P',), 'mpeg2': ('YUV420P',), 'mpeg4': ('YUV420P',), 'h264': ('ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'h265': ('BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'vp9': ('YUV420P', 'YUV444P'), 'vp8': ('YUV420P',), 'webp': ('BGRA', 'BGRX', 'RGBA', 'RGBX')} 2018-11-03 15:42:31,665 update_encoding_options: common_video_encodings=['h264', 'h265'], csc_encoder=None, video_encoder=None 2018-11-03 15:42:31,665 ws.update_encoding_selection(auto, [], False) encoding=auto, common encodings=['h264', 'png', 'png/P', 'png/L', 'webp', 'rgb', 'rgb24', 'rgb32', 'jpeg', 'h265'] 2018-11-03 15:42:31,665 update_encoding_selection: client refresh encodings=[], auto_refresh_encodings=('png', 'webp', 'rgb24', 'rgb32') 2018-11-03 15:42:31,666 update_encoding_options(False) wid=3, want_alpha=False, speed=80, quality=80, bandwidth-limit=0, lossless threshold: 76 / 5, rgb auto threshold=2457 (min=2048, max=32768), get_best_encoding= 2018-11-03 15:42:31,666 cannot score: no pixel format! 2018-11-03 15:42:31,666 do_set_client_properties({'encoding.scrolling': True, 'encoding.transparency': False, 'encodings.rgb_formats': ('YUV420P', 'YUV422P', 'YUV444P', 'GBRP', 'BGRA', 'BGRX', 'RGBA', 'RGBX', 'RGB', 'BGR'), 'encoding.full_csc_modes': {'mpeg1': ('YUV420P',), 'mpeg2': ('YUV420P',), 'mpeg4': ('YUV420P',), 'h264': ('ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'h265': ('BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'vp9': ('YUV420P', 'YUV444P'), 'vp8': ('YUV420P',), 'webp': ('BGRA', 'BGRX', 'RGBA', 'RGBX')}, 'encoding.bit-depth': 24}) full_csc_modes={'mpeg1': ('YUV420P',), 'mpeg2': ('YUV420P',), 'mpeg4': ('YUV420P',), 'h264': ('ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'h265': ('BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'vp9': ('YUV420P', 'YUV444P'), 'vp8': ('YUV420P',), 'webp': ('BGRA', 'BGRX', 'RGBA', 'RGBX')}, video_scaling=True, video_subregion=True, non_video_encodings=['png', 'png/P', 'png/L', 'webp', 'rgb24', 'rgb32', 'jpeg'], edge_encoding=rgb24, scaling_control=None 2018-11-03 15:42:31,670 packet decoding sequence 1 for window 2: 451x134 took 0.0ms 2018-11-03 15:42:31,671 may_recalculate(2, 60434) total 60434 pixels, scheduling recalculate work item 2018-11-03 15:42:31,674 recalculate_delays() wids=(2,), focus=3, maximized=[], fullscreen=[] 2018-11-03 15:42:31,677 calculate_batch_delay for wid=2 current batch delay=12, last update 341183 seconds ago 2018-11-03 15:42:31,678 update_batch_delay: damage-network-delay : 1.00,0.50 {u'avg': 42, u'recent': 42} 2018-11-03 15:42:31,678 update_batch_delay: damage-rate : 1.00,0.00 {'max_latency': 100, 'elapsed': 14} 2018-11-03 15:42:31,679 update_batch_delay: client-ping-latency : 0.73,0.15 {u'target': 10, u'weight_multiplier': 282, u'smoothing': u'sqrt', u'aim': 949, u'aimed_avg': 529, u'div': 1000, u'avg': 5, u'recent': 5} 2018-11-03 15:42:31,680 update_batch_delay: server-ping-latency : 0.87,0.18 {u'target': 20, u'weight_multiplier': 505, u'smoothing': u'sqrt', u'aim': 949, u'aimed_avg': 754, u'div': 1000, u'avg': 16, u'recent': 16} 2018-11-03 15:42:31,681 update_batch_delay: packet-queue-size : 0.00,0.00 {u'target': 1000, u'weight_multiplier': 0, u'smoothing': u'sqrt', u'aim': 250, u'aimed_avg': 0, u'div': 1000, u'avg': 0, u'recent': 0} 2018-11-03 15:42:31,683 update_batch_delay: packet-queue-pixels : 0.00,0.00 {u'target': 1000, u'weight_multiplier': 0, u'smoothing': u'sqrt', u'aim': 250, u'aimed_avg': 0, u'div': 60434000, u'avg': 0, u'recent': 0} 2018-11-03 15:42:31,684 update_batch_delay: compression-work-queue : 0.00,0.00 {u'target': 1000, u'weight_multiplier': 0, u'smoothing': u'logp', u'aim': 250, u'aimed_avg': 0, u'div': 1000, u'avg': 0, u'recent': 0} 2018-11-03 15:42:31,684 update_batch_delay: congestion : 1.87,8.74 {} 2018-11-03 15:42:31,686 update_batch_delay: damage-packet-queue-pixels : 0.00,0.00 {u'target': 1000, u'weight_multiplier': 0, u'smoothing': u'sqrt', u'aim': 250, u'aimed_avg': 0, u'div': 60434000, u'avg': 0, u'recent': 0} 2018-11-03 15:42:31,686 update_batch_delay: focus : 1.00,0.00 {'has_focus': False} 2018-11-03 15:42:31,687 update_batch_delay: override-redirect : 1.00,0.00 {'is_OR': False} 2018-11-03 15:42:31,688 update_batch_delay: fullscreen : 0.00,0.00 {'other_is_fullscreen': False} 2018-11-03 15:42:31,689 update_batch_delay: maximized : 0.00,0.00 {'other_is_maximized': False} 2018-11-03 15:42:31,690 update_batch_delay: soft-expired : 1.00,1.00 {'count': 1} 2018-11-03 15:42:31,690 update_batch_delay: delay=112 2018-11-03 15:42:31,692 update_encoding_options(False) wid=2, want_alpha=False, speed=80, quality=80, bandwidth-limit=0, lossless threshold: 76 / 5, rgb auto threshold=7372 (min=1024, max=17484), get_best_encoding= 2018-11-03 15:42:31,694 get_video_pipeline_options(['h264', 'h265'], 451, 134, 'BGRX', False) last params=None, full_csc_modes={'mpeg1': ('YUV420P',), 'mpeg2': ('YUV420P',), 'mpeg4': ('YUV420P',), 'h264': ('ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'h265': ('BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'vp9': ('YUV420P', 'YUV444P'), 'vp8': ('YUV420P',), 'webp': ('BGRA', 'BGRX', 'RGBA', 'RGBX')} 2018-11-03 15:42:31,694 get_video_pipeline_options(['h264', 'h265'], 451, 134, 'BGRX') speed: 80 (min 30), quality: 80 (min 30) 2018-11-03 15:42:31,694 send_delayed for wid 2, batch delay is 112ms, elapsed time is 30ms 2018-11-03 15:42:31,695 add_scores(direct (no csc), None, BGRX) 2018-11-03 15:42:31,695 send_delayed_regions: bytes_cost=2427, bytes_threshold=36260, pixel_count=1403 2018-11-03 15:42:31,695 calculate_scaling(451, 134, 4096, 4096)=(1, 1) (q=80, s=80, scaling_control=None) 2018-11-03 15:42:31,696 get_best_encoding_video(..) temporarily switching to lossless mode for 1403 pixels: low pixel count 2018-11-03 15:42:31,696 get_score(BGRX , None , video_spec(nvenc) , 451, 134) quality: 80, speed: 80, setup: 100 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=450x134, sizescore=100, client score delta= 0, cpu score= 0, gpu score=100, score=84 2018-11-03 15:42:31,697 process_damage_region: wid=2, adding pixel data to encode queue ( 61x23 - rgb24), elapsed time: 33.3 ms, request time: 0.5 ms, frame delay=0ms 2018-11-03 15:42:31,697 add_scores(via XBGR (XBGR), video_spec(swscale), XBGR) 2018-11-03 15:42:31,697 send_delayed_regions: sent 1 regions using ['rgb24'] 2018-11-03 15:42:31,697 add_scores(via YUV422P (YUV422P), video_spec(swscale), YUV422P) 2018-11-03 15:42:31,698 add_scores(via RGB (RGB), video_spec(swscale), RGB) 2018-11-03 15:42:31,698 send_delayed for wid 3, batch delay is 15ms, elapsed time is 29ms 2018-11-03 15:42:31,698 add_scores(via RGBX (RGBX), video_spec(swscale), RGBX) 2018-11-03 15:42:31,699 send_delayed_regions: bytes_cost=99304, bytes_threshold=58968, pixel_count=98280 2018-11-03 15:42:31,699 add_scores(via GBRP (GBRP), video_spec(swscale), GBRP) 2018-11-03 15:42:31,700 send_delayed_regions: using full window update 520x189 as auto, from 2018-11-03 15:42:31,700 add_scores(via BGR (BGR), video_spec(swscale), BGR) 2018-11-03 15:42:31,703 process_damage_region: wid=3, adding pixel data to encode queue ( 520x189 - auto), elapsed time: 34.4 ms, request time: 2.4 ms, frame delay=0ms 2018-11-03 15:42:31,703 setup_pipeline: csc=None, video encoder=nvenc(BGRX/BGRX/H264 - bd - 1636x958 ), info: {u'context_count': 1, u'generation': 7, u'pixel_format': u'BGRX', u'height': 958, u'frames': 0, u'total_memory': 0, u'quality': 80, u'yuv444': {u'threshold': 85, u'supported': True}, u'cuda-device': {u'device': {u'memory': 6077, u'name': 'GeForce GTX 1060 6GB', u'pci_bus_id': '0000:AF:00.0'}, u'api_version': 3020}, u'encoder_width': 1664, u'speed': 80, u'device_count': 1, u'free_memory': 0, u'width': 1636, u'version': (8, 1), u'pycuda': {'version': {'': (2018, 1), 'text': '2018.1'}}, u'src_format': 'BGRX', u'codec': u'H264', u'preset': u'bd', u'bitrate': 68764553, u'lossless': {u'': 0, u'threshold': 100, u'supported': 1}, u'kernel_version': '4.4.162-1.el7.elrepo.x86_64', u'encoder_height': 960, u'total_time_ms': 0, u'cuda': {'driver': {'driver_version': 10000, 'version': (9, 2, 0)}}, u'cards': {0: {'power-state': 0, 'name': 'GeForce GTX 1060 6GB', 'clock-info': {'sm': 1506, 'mem': 4006, 'sm-max': 1911, 'mem-max': 4004, 'graphics-max': 1911, 'graphics': 1506}, 'pci': {'domain': 0, 'busId': '0000:AF:00.0', 'pciDeviceId': 469962974, 'bus': 175, 'pciSubSystemId': 295639406, 'device': 0}, 'pcie-link': {'width-max': 16, 'generation-max': 3, 'generation': 3, 'width': 16}, 'temperature': 62, 'memory': {'total': 6373179392, 'used': 55771136, 'free': 6317408256}, 'fan-speed': 0, 'vbios-version': '86.06.63.00.D4', 'uuid': 'GPU-bf07c86e-54c4-c5fa-a685-43155618ed27'}}, u'kernel_module_version': (410, 73)}, setup took 574.15ms 2018-11-03 15:42:31,704 add_scores(via YUV420P (YUV420P), video_spec(swscale), YUV420P) 2018-11-03 15:42:31,705 setup_pipeline: scaling=(1, 1), encoder_scaling=(1, 1) 2018-11-03 15:42:31,706 add_scores(via XRGB (XRGB), video_spec(swscale), XRGB) 2018-11-03 15:42:31,706 video_encode('auto', XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) image size: 1636x959, encoder/csc size: 1636x958 2018-11-03 15:42:31,707 calculate_scaling(451, 134, 4096, 4096)=(1, 1) (q=80, s=80, scaling_control=None) 2018-11-03 15:42:31,708 get_score(XRGB , video_spec(swscale) , video_spec(nvenc) , 451, 134) quality: 95, speed: 74, setup: 64 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=450x134, sizescore=100, client score delta= 0, cpu score= 0, gpu score=100, score=82 2018-11-03 15:42:31,709 add_scores(via YUV444P (YUV444P), video_spec(swscale), YUV444P) 2018-11-03 15:42:31,710 add_scores(direct (no csc), None, BGRX) 2018-11-03 15:42:31,710 calculate_scaling(451, 134, 8192, 8192)=(1, 1) (q=80, s=80, scaling_control=None) 2018-11-03 15:42:31,713 get_score(BGRX , None , video_spec(nvenc) , 451, 134) quality: 80, speed: 80, setup: 100 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=450x134, sizescore=100, client score delta= 0, cpu score= 0, gpu score=100, score=84 2018-11-03 15:42:31,713 add_scores(via XBGR (XBGR), video_spec(swscale), XBGR) 2018-11-03 15:42:31,714 add_scores(via YUV422P (YUV422P), video_spec(swscale), YUV422P) 2018-11-03 15:42:31,715 add_scores(via RGB (RGB), video_spec(swscale), RGB) 2018-11-03 15:42:31,715 add_scores(via RGBX (RGBX), video_spec(swscale), RGBX) 2018-11-03 15:42:31,715 add_scores(via GBRP (GBRP), video_spec(swscale), GBRP) 2018-11-03 15:42:31,716 add_scores(via BGR (BGR), video_spec(swscale), BGR) 2018-11-03 15:42:31,716 add_scores(via YUV420P (YUV420P), video_spec(swscale), YUV420P) 2018-11-03 15:42:31,717 add_scores(via XRGB (XRGB), video_spec(swscale), XRGB) 2018-11-03 15:42:31,717 calculate_scaling(451, 134, 8192, 8192)=(1, 1) (q=80, s=80, scaling_control=None) 2018-11-03 15:42:31,717 get_score(XRGB , video_spec(swscale) , video_spec(nvenc) , 451, 134) quality: 75, speed: 74, setup: 64 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=450x134, sizescore=100, client score delta= 0, cpu score= 0, gpu score=100, score=78 2018-11-03 15:42:31,718 add_scores(via YUV444P (YUV444P), video_spec(swscale), YUV444P) 2018-11-03 15:42:31,719 send_delayed for wid 1, delaying again because too many pixels are waiting to be encoded: 1568924 2018-11-03 15:42:31,719 get_video_pipeline_options(['h264', 'h265'], 451, 134, 'BGRX') scores=[(84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 450, 134, video_spec(nvenc)), (84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 450, 134, video_spec(nvenc)), (82, (1, 1), (1, 1), 450, 134, video_spec(swscale), u'XRGB', (1, 1), 450, 134, video_spec(nvenc)), (78, (1, 1), (1, 1), 450, 134, video_spec(swscale), u'XRGB', (1, 1), 450, 134, video_spec(nvenc))] 2018-11-03 15:42:31,720 check_pipeline_score(False) best=(84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 450, 134, video_spec(nvenc)) 2018-11-03 15:42:31,730 send_delayed for wid 1, delaying again because too many pixels are waiting to be encoded: 1568924 2018-11-03 15:42:31,741 send_delayed for wid 1, delaying again because too many pixels are waiting to be encoded: 1568924 2018-11-03 15:42:31,741 send_delayed for wid 3, batch delay is 15ms, elapsed time is 30ms 2018-11-03 15:42:31,742 send_delayed_regions: bytes_cost=103400, bytes_threshold=58968, pixel_count=98280 2018-11-03 15:42:31,742 send_delayed_regions: using full window update 520x189 as auto, from 2018-11-03 15:42:31,744 process_damage_region: wid=3, adding pixel data to encode queue ( 520x189 - auto), elapsed time: 33.2 ms, request time: 1.4 ms, frame delay=0ms 2018-11-03 15:42:31,752 send_delayed for wid 1, delaying again because too many pixels are waiting to be encoded: 1568924 2018-11-03 15:42:31,766 send_delayed for wid 1, delaying again because too many pixels are waiting to be encoded: 1568924 2018-11-03 15:42:31,781 send_delayed for wid 1, delaying again because too many pixels are waiting to be encoded: 1568924 2018-11-03 15:42:31,783 send_delayed_regions: bytes_cost=1569948, bytes_threshold=941354, pixel_count=1568924 2018-11-03 15:42:31,784 send_delayed_regions: using full window update 1636x959 as auto, from 2018-11-03 15:42:31,804 total_time=0, total_pixels=0 lpadmin: Forbidden 2018-11-03 15:42:31,826 process_damage_region: wid=1, adding pixel data to encode queue (1636x959 - auto), elapsed time: 169.9 ms, request time: 42.1 ms, frame delay=0ms 2018-11-03 15:42:31,838 lpadmin failed and returned error code: 1 2018-11-03 15:42:31,839 verify that user 'nathan' has all the required permissions 2018-11-03 15:42:31,839 window 1 delayed region already sent 2018-11-03 15:42:31,842 for running: '/usr/sbin/lpadmin' 2018-11-03 15:42:31,843 full command: '/usr/sbin/lpadmin' '-p' 'Send-To-OneNote-2016' '-v' 'xpraforwarder:/tmp?mimetype=application%2Fpdf&socket-path=%2Frun%2Fuser%2F250%2Fxpra%2Fcurry-57&remote-printer=Send+To+OneNote+2016&remote-device-uri=None&source=740d1fd944cc9a19b3dd7878fdf38795b75c3453&display=%3A57' '-D' 'Send To OneNote 2016,Send to Microsoft OneNote 16 Driver' '-L' 'on coyote2 (via xpra)' '-E' '-o' 'printer-is-shared=false' '-u' 'allow:nathan' '-P' '/usr/share/ppd/cupsfilters/Generic-PDF_Printer-PDF.ppd' 2018-11-03 15:42:31,843 Warning: failed to add printer Send To OneNote 2016: lpadmin command '['/usr/sbin/lpadmin', '-p', 'Send-To-OneNote-2016', '-v', 'xpraforwarder:/tmp?mimetype=application%2Fpdf&socket-path=%2Frun%2Fuser%2F250%2Fxpra%2Fcurry-57&remote-printer=Send+To+OneNote+2016&remote-device-uri=None&source=740d1fd944cc9a19b3dd7878fdf38795b75c3453&display=%3A57', '-D', 'Send To OneNote 2016,Send to Microsoft OneNote 16 Driver', '-L', 'on coyote2 (via xpra)', '-E', '-o', 'printer-is-shared=false', '-u', 'allow:nathan', '-P', '/usr/share/ppd/cupsfilters/Generic-PDF_Printer-PDF.ppd']' failed and returned 1 lpadmin: Forbidden 2018-11-03 15:42:31,883 lpadmin failed and returned error code: 1 2018-11-03 15:42:31,884 verify that user 'nathan' has all the required permissions 2018-11-03 15:42:31,884 for running: '/usr/sbin/lpadmin' 2018-11-03 15:42:31,885 full command: '/usr/sbin/lpadmin' '-p' 'POSTSCRIPT' '-v' 'xpraforwarder:/tmp?mimetype=application%2Fpdf&socket-path=%2Frun%2Fuser%2F250%2Fxpra%2Fcurry-57&remote-printer=POSTSCRIPT&remote-device-uri=None&source=740d1fd944cc9a19b3dd7878fdf38795b75c3453&display=%3A57' '-D' 'POSTSCRIPT,Ghostscript PDF' '-L' 'on coyote2 (via xpra)' '-E' '-o' 'printer-is-shared=false' '-u' 'allow:nathan' '-P' '/usr/share/ppd/cupsfilters/Generic-PDF_Printer-PDF.ppd' lpadmin: Forbidden 2018-11-03 15:42:31,906 video_encode nvenc encoder: h264 1636x958 result is 553926 bytes (7.5 MPixels/s), client options={u'speed': 80, u'frame': 0, u'pts': 0, 'csc': 'YUV444P', u'quality': 80} 2018-11-03 15:42:31,909 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 451, 134), damage data: (2, 0, 0, 451, 134, 'auto') 2018-11-03 15:42:31,909 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 451, 134), {}) 2018-11-03 15:42:31,910 check_pipeline('auto', 451, 134, 'BGRX') setting up a new pipeline as check failed - encodings=['h264', 'h265'] 2018-11-03 15:42:31,911 lpadmin failed and returned error code: 1 2018-11-03 15:42:31,912 get_video_pipeline_options(['h264', 'h265'], 451, 134, 'BGRX', False) using cached values from 191ms ago 2018-11-03 15:42:31,913 verify that user 'nathan' has all the required permissions 2018-11-03 15:42:31,913 setup_pipeline([(84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 450, 134, video_spec(nvenc)), (84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 450, 134, video_spec(nvenc)), (82, (1, 1), (1, 1), 450, 134, video_spec(swscale), u'XRGB', (1, 1), 450, 134, video_spec(nvenc)), (78, (1, 1), (1, 1), 450, 134, video_spec(swscale), u'XRGB', (1, 1), 450, 134, video_spec(nvenc))], 451, 134, 'BGRX') 2018-11-03 15:42:31,913 for running: '/usr/sbin/lpadmin' 2018-11-03 15:42:31,914 setup_pipeline: trying (84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 450, 134, video_spec(nvenc)) 2018-11-03 15:42:31,914 full command: '/usr/sbin/lpadmin' '-p' 'Microsoft-Print-to-PDF' '-v' 'xpraforwarder:/tmp?mimetype=application%2Fpdf&socket-path=%2Frun%2Fuser%2F250%2Fxpra%2Fcurry-57&remote-printer=Microsoft+Print+to+PDF&remote-device-uri=None&source=740d1fd944cc9a19b3dd7878fdf38795b75c3453&display=%3A57' '-D' 'Microsoft Print to PDF,Microsoft Print To PDF' '-L' 'on coyote2 (via xpra)' '-E' '-o' 'printer-is-shared=false' '-u' 'allow:nathan' '-P' '/usr/share/ppd/cupsfilters/Generic-PDF_Printer-PDF.ppd' 2018-11-03 15:42:31,916 make_instance() nvenc - instance count=1 2018-11-03 15:42:31,916 will test 0 devices from failing list: [] 2018-11-03 15:42:31,917 will test 1 device from OK list: [0] 2018-11-03 15:42:31,917 select_device: testing device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 lpadmin: Forbidden 2018-11-03 15:42:32,120 created context= 2018-11-03 15:42:32,121 memory: free=5801MB, total=6077MB 2018-11-03 15:42:32,185 selected device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:32,186 send_delayed for wid 2, delaying again because too many pixels are waiting to be encoded: 60434 2018-11-03 15:42:32,395 send_delayed for wid 3, batch delay is 15ms, elapsed time is 209ms 2018-11-03 15:42:32,397 send_delayed_regions: bytes_cost=99304, bytes_threshold=58968, pixel_count=98280 2018-11-03 15:42:32,397 send_delayed_regions: using full window update 520x189 as auto, from 2018-11-03 15:42:32,399 process_damage_region: wid=3, adding pixel data to encode queue ( 520x189 - auto), elapsed time: 213.6 ms, request time: 1.9 ms, frame delay=0ms 2018-11-03 15:42:32,400 lpadmin failed and returned error code: 1 2018-11-03 15:42:32,400 verify that user 'nathan' has all the required permissions 2018-11-03 15:42:32,401 for running: '/usr/sbin/lpadmin' 2018-11-03 15:42:32,402 full command: '/usr/sbin/lpadmin' '-p' 'http:cups.lstc.com:631eastwing_raw' '-v' 'xpraforwarder:/tmp?mimetype=application%2Fpdf&socket-path=%2Frun%2Fuser%2F250%2Fxpra%2Fcurry-57&remote-printer=%5C%5Chttp%3A%2F%2Fcups.lstc.com%3A631%5Ceastwing_raw&remote-device-uri=None&source=740d1fd944cc9a19b3dd7878fdf38795b75c3453&display=%3A57' '-D' '\\http://cups.lstc.com:631\eastwing_raw,Lexmark MS510 Series Class Driver' '-L' 'on coyote2 (via xpra)' '-E' '-o' 'printer-is-shared=false' '-u' 'allow:nathan' '-P' '/usr/share/ppd/cupsfilters/Generic-PDF_Printer-PDF.ppd' 2018-11-03 15:42:32,408 packet decoding sequence 1 for window 1: 1636x958 took 31.0ms 2018-11-03 15:42:32,408 record_latency: took 496.5 ms round trip, 287.5 for echo, 31.0 for decoding of 1567288 pixels, 554008 bytes sent over the network in 465.5 ms, 256.5 ms for echo 2018-11-03 15:42:32,408 may_recalculate(1, 1567288) total 1567288 pixels, scheduling recalculate work item 2018-11-03 15:42:32,416 setup_pipeline: csc=None, video encoder=nvenc(BGRX/BGRX/H264 - bd - 450x134 ), info: {u'context_count': 2, u'generation': 8, u'pixel_format': u'BGRX', u'height': 134, u'frames': 0, u'total_memory': 0, u'quality': 80, u'yuv444': {u'threshold': 85, u'supported': True}, u'cuda-device': {u'device': {u'memory': 6077, u'name': 'GeForce GTX 1060 6GB', u'pci_bus_id': '0000:AF:00.0'}, u'api_version': 3020}, u'encoder_width': 480, u'speed': 80, u'device_count': 1, u'free_memory': 0, u'width': 450, u'version': (8, 1), u'pycuda': {'version': {'': (2018, 1), 'text': '2018.1'}}, u'src_format': 'BGRX', u'codec': u'H264', u'preset': u'bd', u'bitrate': 3305988, u'lossless': {u'': 0, u'threshold': 100, u'supported': 1}, u'kernel_version': '4.4.162-1.el7.elrepo.x86_64', u'encoder_height': 160, u'total_time_ms': 0, u'cuda': {'driver': {'driver_version': 10000, 'version': (9, 2, 0)}}, u'cards': {0: {'power-state': 0, 'name': 'GeForce GTX 1060 6GB', 'clock-info': {'mem-max': 4004, 'graphics-max': 1911, 'sm': 1506, 'graphics': 1506, 'mem': 4006, 'sm-max': 1911}, 'uuid': 'GPU-bf07c86e-54c4-c5fa-a685-43155618ed27', 'pcie-link': {'width-max': 16, 'generation-max': 3, 'generation': 3, 'width': 16}, 'pci': {'domain': 0, 'busId': '0000:AF:00.0', 'pciDeviceId': 469962974, 'device': 0, 'bus': 175, 'pciSubSystemId': 295639406}, 'memory': {'total': 6373179392, 'free': 6317408256, 'used': 55771136}, 'fan-speed': 0, 'vbios-version': '86.06.63.00.D4', 'temperature': 62}}, u'kernel_module_version': (410, 73)}, setup took 501.27ms 2018-11-03 15:42:32,417 setup_pipeline: scaling=(1, 1), encoder_scaling=(1, 1) 2018-11-03 15:42:32,417 video_encode('auto', XShmImageWrapper(BGRX: 0, 0, 451, 134), {}) image size: 451x134, encoder/csc size: 450x134 2018-11-03 15:42:32,421 video_encode nvenc encoder: h264 450x134 result is 8898 bytes (13.9 MPixels/s), client options={u'speed': 80, u'frame': 0, u'pts': 0, 'csc': 'YUV444P', u'quality': 80} 2018-11-03 15:42:32,421 make_data_packet: image=XShmImageWrapper(BGRX: 2, 20, 61, 23), damage data: (2, 2, 20, 61, 23, 'rgb24') 2018-11-03 15:42:32,422 rgb_encode using level=1 for 5612 pixels at 80 speed, lz4 compressed 61x23 in rgb24/BGRX: 5612 bytes down to 1122 2018-11-03 15:42:32,423 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 520, 189), damage data: (3, 0, 0, 520, 189, 'auto') 2018-11-03 15:42:32,423 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 520, 189), {}) 2018-11-03 15:42:32,424 check_pipeline('auto', 520, 189, 'BGRX') setting up a new pipeline as check failed - encodings=['h264', 'h265'] 2018-11-03 15:42:32,424 get_video_pipeline_options(['h264', 'h265'], 520, 189, 'BGRX', False) last params=None, full_csc_modes={'mpeg1': ('YUV420P',), 'mpeg2': ('YUV420P',), 'mpeg4': ('YUV420P',), 'h264': ('ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'h265': ('BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'vp9': ('YUV420P', 'YUV444P'), 'vp8': ('YUV420P',), 'webp': ('BGRA', 'BGRX', 'RGBA', 'RGBX')} 2018-11-03 15:42:32,424 get_video_pipeline_options(['h264', 'h265'], 520, 189, 'BGRX') speed: 80 (min 30), quality: 80 (min 30) 2018-11-03 15:42:32,424 add_scores(direct (no csc), None, BGRX) 2018-11-03 15:42:32,424 calculate_scaling(520, 189, 4096, 4096)=(1, 1) (q=80, s=80, scaling_control=None) 2018-11-03 15:42:32,425 get_score(BGRX , None , video_spec(nvenc) , 520, 189) quality: 80, speed: 80, setup: 100 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=520x188, sizescore=100, client score delta= 0, cpu score= 0, gpu score=100, score=84 2018-11-03 15:42:32,425 add_scores(via XBGR (XBGR), video_spec(swscale), XBGR) 2018-11-03 15:42:32,425 add_scores(via YUV422P (YUV422P), video_spec(swscale), YUV422P) 2018-11-03 15:42:32,425 add_scores(via RGB (RGB), video_spec(swscale), RGB) 2018-11-03 15:42:32,425 add_scores(via RGBX (RGBX), video_spec(swscale), RGBX) 2018-11-03 15:42:32,425 add_scores(via GBRP (GBRP), video_spec(swscale), GBRP) 2018-11-03 15:42:32,425 add_scores(via BGR (BGR), video_spec(swscale), BGR) 2018-11-03 15:42:32,425 add_scores(via YUV420P (YUV420P), video_spec(swscale), YUV420P) 2018-11-03 15:42:32,425 add_scores(via XRGB (XRGB), video_spec(swscale), XRGB) 2018-11-03 15:42:32,426 calculate_scaling(520, 189, 4096, 4096)=(1, 1) (q=80, s=80, scaling_control=None) 2018-11-03 15:42:32,426 get_score(XRGB , video_spec(swscale) , video_spec(nvenc) , 520, 189) quality: 95, speed: 74, setup: 64 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=520x188, sizescore=100, client score delta= 0, cpu score= 0, gpu score=100, score=82 2018-11-03 15:42:32,426 add_scores(via YUV444P (YUV444P), video_spec(swscale), YUV444P) 2018-11-03 15:42:32,426 add_scores(direct (no csc), None, BGRX) 2018-11-03 15:42:32,426 calculate_scaling(520, 189, 8192, 8192)=(1, 1) (q=80, s=80, scaling_control=None) 2018-11-03 15:42:32,426 get_score(BGRX , None , video_spec(nvenc) , 520, 189) quality: 80, speed: 80, setup: 100 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=520x188, sizescore=100, client score delta= 0, cpu score= 0, gpu score=100, score=84 2018-11-03 15:42:32,426 add_scores(via XBGR (XBGR), video_spec(swscale), XBGR) 2018-11-03 15:42:32,426 add_scores(via YUV422P (YUV422P), video_spec(swscale), YUV422P) 2018-11-03 15:42:32,426 add_scores(via RGB (RGB), video_spec(swscale), RGB) 2018-11-03 15:42:32,426 add_scores(via RGBX (RGBX), video_spec(swscale), RGBX) 2018-11-03 15:42:32,426 add_scores(via GBRP (GBRP), video_spec(swscale), GBRP) 2018-11-03 15:42:32,427 add_scores(via BGR (BGR), video_spec(swscale), BGR) 2018-11-03 15:42:32,427 add_scores(via YUV420P (YUV420P), video_spec(swscale), YUV420P) 2018-11-03 15:42:32,427 add_scores(via XRGB (XRGB), video_spec(swscale), XRGB) 2018-11-03 15:42:32,427 calculate_scaling(520, 189, 8192, 8192)=(1, 1) (q=80, s=80, scaling_control=None) 2018-11-03 15:42:32,427 get_score(XRGB , video_spec(swscale) , video_spec(nvenc) , 520, 189) quality: 75, speed: 74, setup: 64 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=520x188, sizescore=100, client score delta= 0, cpu score= 0, gpu score=100, score=78 2018-11-03 15:42:32,427 add_scores(via YUV444P (YUV444P), video_spec(swscale), YUV444P) 2018-11-03 15:42:32,427 get_video_pipeline_options(['h264', 'h265'], 520, 189, 'BGRX') scores=[(84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 520, 188, video_spec(nvenc)), (84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 520, 188, video_spec(nvenc)), (82, (1, 1), (1, 1), 520, 188, video_spec(swscale), u'XRGB', (1, 1), 520, 188, video_spec(nvenc)), (78, (1, 1), (1, 1), 520, 188, video_spec(swscale), u'XRGB', (1, 1), 520, 188, video_spec(nvenc))] 2018-11-03 15:42:32,427 setup_pipeline([(84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 520, 188, video_spec(nvenc)), (84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 520, 188, video_spec(nvenc)), (82, (1, 1), (1, 1), 520, 188, video_spec(swscale), u'XRGB', (1, 1), 520, 188, video_spec(nvenc)), (78, (1, 1), (1, 1), 520, 188, video_spec(swscale), u'XRGB', (1, 1), 520, 188, video_spec(nvenc))], 520, 189, 'BGRX') 2018-11-03 15:42:32,427 setup_pipeline: trying (84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 520, 188, video_spec(nvenc)) 2018-11-03 15:42:32,428 make_instance() nvenc - instance count=2 2018-11-03 15:42:32,428 will test 0 devices from failing list: [] 2018-11-03 15:42:32,428 will test 1 device from OK list: [0] 2018-11-03 15:42:32,428 select_device: testing device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:32,635 created context= 2018-11-03 15:42:32,635 send_delayed for wid 2, delaying again because of backlog: 2 packets, batch delay is 112, elapsed time is 916ms 2018-11-03 15:42:32,637 memory: free=5729MB, total=6077MB 2018-11-03 15:42:32,672 selected device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:32,877 send_delayed_regions: bytes_cost=1568312, bytes_threshold=941354, pixel_count=1567288 2018-11-03 15:42:32,881 setup_pipeline failed for (84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 520, 188, video_spec(nvenc)): cannot open encoding session, context is NULL 2018-11-03 15:42:32,881 nonvideo(100, png not a supported video encoding) 2018-11-03 15:42:32,882 setup_pipeline: trying (84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 520, 188, video_spec(nvenc)) 2018-11-03 15:42:32,882 send_delayed_regions: using full window update 1636x959 as webp, from 2018-11-03 15:42:32,883 make_instance() nvenc - instance count=0 2018-11-03 15:42:32,885 process_damage_region: wid=1, adding pixel data to encode queue (1636x959 - webp), elapsed time: 9.4 ms, request time: 1.3 ms, frame delay=0ms 2018-11-03 15:42:32,886 will test 1 device from failing list: [0] 2018-11-03 15:42:32,887 send_delayed_regions: bytes_cost=2427, bytes_threshold=36260, pixel_count=1403 2018-11-03 15:42:32,888 select_device: testing device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:32,888 get_best_encoding_video(..) temporarily switching to lossless mode for 1403 pixels: low pixel count 2018-11-03 15:42:33,101 created context= 2018-11-03 15:42:33,103 process_damage_region: wid=2, adding pixel data to encode queue ( 61x23 - rgb24), elapsed time: 1384.4 ms, request time: 0.7 ms, frame delay=0ms 2018-11-03 15:42:33,105 memory: free=5664MB, total=6077MB 2018-11-03 15:42:33,105 send_delayed_regions: sent 1 regions using ['rgb24'] 2018-11-03 15:42:33,169 selected device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:33,389 recalculate_delays() wids=(1,), focus=3, maximized=[], fullscreen=[] 2018-11-03 15:42:33,390 send_delayed_regions: bytes_cost=62993, bytes_threshold=36260, pixel_count=58897 2018-11-03 15:42:33,390 calculate_batch_delay for wid=1 current batch delay=62, last update 341185 seconds ago 2018-11-03 15:42:33,392 nonvideo(100, png not a supported video encoding) 2018-11-03 15:42:33,392 send_delayed_regions: using full window update 451x134 as webp, from 2018-11-03 15:42:33,392 process_damage_region: wid=2, adding pixel data to encode queue ( 451x134 - webp), elapsed time: 4.0 ms, request time: 0.3 ms, frame delay=0ms 2018-11-03 15:42:33,393 update_batch_delay: damage-network-delay : 1.00,0.50 {u'avg': 252, u'recent': 252} 2018-11-03 15:42:33,393 update_batch_delay: client-decode-speed : 1.00,0.00 {u'avg': 20, u'recent': 20} 2018-11-03 15:42:33,393 update_batch_delay: damage-rate : 1.00,0.00 {'max_latency': 1006, 'elapsed': 1736} 2018-11-03 15:42:33,395 packet decoding sequence 2 for window 2: 450x134 took 16.0ms 2018-11-03 15:42:33,396 update_batch_delay: bandwidth-limit : 0.00,0.00 {'used': 0, 'budget': 4761229} 2018-11-03 15:42:33,457 setup_pipeline failed for (84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 520, 188, video_spec(nvenc)): cannot open encoding session, context is NULL 2018-11-03 15:42:33,458 record_latency: took 1035.2 ms round trip, 1034.4 for echo, 16.0 for decoding of 60300 pixels, 8980 bytes sent over the network in 1019.2 ms, 1018.4 ms for echo 2018-11-03 15:42:33,458 update_batch_delay: client-latency : 0.99,0.37 {u'target': 470, u'weight_multiplier': 4616, u'smoothing': u'sqrt', u'aim': 800, u'aimed_avg': 987, u'div': 1000, u'avg': 465, u'recent': 465} 2018-11-03 15:42:33,458 setup_pipeline: trying (82, (1, 1), (1, 1), 520, 188, video_spec(swscale), u'XRGB', (1, 1), 520, 188, video_spec(nvenc)) 2018-11-03 15:42:33,459 may_recalculate(2, 60300) total 60300 pixels, scheduling recalculate work item 2018-11-03 15:42:33,459 update_batch_delay: client-ping-latency : 0.73,0.15 {u'target': 10, u'weight_multiplier': 282, u'smoothing': u'sqrt', u'aim': 949, u'aimed_avg': 529, u'div': 1000, u'avg': 5, u'recent': 5} 2018-11-03 15:42:33,459 make_instance() swscale - instance count=0 2018-11-03 15:42:33,460 packet decoding sequence 3 for window 2: 61x23 took 0.0ms 2018-11-03 15:42:33,460 update_batch_delay: server-ping-latency : 0.87,0.18 {u'target': 20, u'weight_multiplier': 505, u'smoothing': u'sqrt', u'aim': 949, u'aimed_avg': 754, u'div': 1000, u'avg': 16, u'recent': 16} 2018-11-03 15:42:33,461 swscale.ColorspaceConverter.init_context(520, 188, 'BGRX', 520, 188, u'XRGB', 60) 2018-11-03 15:42:33,466 update_batch_delay: packet-queue-size : 0.00,0.00 {u'target': 1000, u'weight_multiplier': 0, u'smoothing': u'sqrt', u'aim': 250, u'aimed_avg': 0, u'div': 1000, u'avg': 0, u'recent': 0} 2018-11-03 15:42:33,466 source format=CSCPixelFormat(GBRP) 2018-11-03 15:42:33,467 update_batch_delay: packet-queue-pixels : 0.00,0.00 {u'target': 1000, u'weight_multiplier': 0, u'smoothing': u'sqrt', u'aim': 250, u'aimed_avg': 0, u'div': 1568924000, u'avg': 0, u'recent': 0} 2018-11-03 15:42:33,468 destination format=CSCPixelFormat(GBRP) 2018-11-03 15:42:33,468 update_batch_delay: compression-work-queue : 1.24,0.53 {u'target': 1000, u'weight_multiplier': 1725, u'smoothing': u'logp', u'aim': 250, u'aimed_avg': 1357, u'div': 1000, u'avg': 2100, u'recent': 2978} 2018-11-03 15:42:33,469 sws context=0x7ff0612a1740 2018-11-03 15:42:33,470 update_batch_delay: congestion : 1.16,1.59 {} 2018-11-03 15:42:33,473 setup_pipeline: csc=swscale(BGRX 520x188 - XRGB 520x188), info={u'dst_bytes_per_pixel': 4, u'src_height': 188, u'src_width': 520, u'dst_height': 188, u'max-size': (16384, 16384), u'dst_width': 520, u'version': (5, 1, 100), u'flags': [1], u'src_format': 'BGRX', u'formats': [u'RGB', u'BGR', u'XRGB', u'BGRX', u'RGBX', u'XBGR', u'YUV420P', u'YUV422P', u'YUV444P', u'GBRP'], u'frames': 0, u'dst_format': u'XRGB'}, setup took 13.28ms 2018-11-03 15:42:33,474 update_batch_delay: damage-packet-queue-pixels : 0.00,0.00 {u'target': 1000, u'weight_multiplier': 0, u'smoothing': u'sqrt', u'aim': 250, u'aimed_avg': 0, u'div': 1568924000, u'avg': 0, u'recent': 0} 2018-11-03 15:42:33,476 make_instance() nvenc - instance count=0 2018-11-03 15:42:33,476 update_batch_delay: focus : 1.00,0.00 {'has_focus': False} 2018-11-03 15:42:33,477 will test 1 device from failing list: [0] 2018-11-03 15:42:33,478 update_batch_delay: override-redirect : 1.00,0.00 {'is_OR': False} 2018-11-03 15:42:33,479 select_device: testing device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:33,479 update_batch_delay: fullscreen : 0.00,0.00 {'other_is_fullscreen': False} 2018-11-03 15:42:33,706 created context= 2018-11-03 15:42:33,706 update_batch_delay: maximized : 0.00,0.00 {'other_is_maximized': False} 2018-11-03 15:42:33,707 memory: free=5664MB, total=6077MB 2018-11-03 15:42:33,708 update_batch_delay: soft-expired : 0.00,0.00 {'count': 0} 2018-11-03 15:42:33,771 selected device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:33,771 update_batch_delay: delay=75 2018-11-03 15:42:33,966 get_CUDA_function(0, ARGB_to_NV12) module= 2018-11-03 15:42:33,968 update_encoding_options(False) wid=1, want_alpha=False, speed=80, quality=80, bandwidth-limit=4761229, lossless threshold: 76 / 5, rgb auto threshold=4761 (min=1024, max=4761), get_best_encoding= 2018-11-03 15:42:33,969 loading function ARGB_to_NV12 from pre-compiled cubin took 3.0ms 2018-11-03 15:42:33,974 get_video_pipeline_options(['h264', 'h265'], 1636, 958, 'BGRX', False) last params=(['h264', 'h265'], 1636, 959, 'BGRX'), full_csc_modes={'mpeg1': ('YUV420P',), 'mpeg2': ('YUV420P',), 'mpeg4': ('YUV420P',), 'h264': ('ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'h265': ('BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'vp9': ('YUV420P', 'YUV444P'), 'vp8': ('YUV420P',), 'webp': ('BGRA', 'BGRX', 'RGBA', 'RGBX')} 2018-11-03 15:42:33,976 get_video_pipeline_options(['h264', 'h265'], 1636, 958, 'BGRX') speed: 80 (min 30), quality: 80 (min 30) 2018-11-03 15:42:33,976 add_scores(direct (no csc), None, BGRX) 2018-11-03 15:42:33,977 calculate_scaling(1636, 958, 4096, 4096)=(1, 1) (q=80, s=80, scaling_control=None) 2018-11-03 15:42:33,977 get_score(BGRX , None , video_spec(nvenc) , 1636, 958) quality: 80, speed: 80, setup: 100 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=1636x958, sizescore= 96, client score delta= 0, cpu score= 0, gpu score=100, score=83 2018-11-03 15:42:33,977 add_scores(via XBGR (XBGR), video_spec(swscale), XBGR) 2018-11-03 15:42:33,978 add_scores(via YUV422P (YUV422P), video_spec(swscale), YUV422P) 2018-11-03 15:42:33,978 add_scores(via RGB (RGB), video_spec(swscale), RGB) 2018-11-03 15:42:34,045 setup_pipeline failed for (82, (1, 1), (1, 1), 520, 188, video_spec(swscale), u'XRGB', (1, 1), 520, 188, video_spec(nvenc)): cannot open encoding session, context is NULL 2018-11-03 15:42:34,047 add_scores(via RGBX (RGBX), video_spec(swscale), RGBX) 2018-11-03 15:42:34,048 swscale.ColorspaceConverter.clean() sws context=0x7ff0612a1740 2018-11-03 15:42:34,049 add_scores(via GBRP (GBRP), video_spec(swscale), GBRP) 2018-11-03 15:42:34,050 setup_pipeline: trying (78, (1, 1), (1, 1), 520, 188, video_spec(swscale), u'XRGB', (1, 1), 520, 188, video_spec(nvenc)) 2018-11-03 15:42:34,051 add_scores(via BGR (BGR), video_spec(swscale), BGR) 2018-11-03 15:42:34,052 make_instance() swscale - instance count=1 2018-11-03 15:42:34,054 add_scores(via YUV420P (YUV420P), video_spec(swscale), YUV420P) 2018-11-03 15:42:34,055 swscale.ColorspaceConverter.init_context(520, 188, 'BGRX', 520, 188, u'XRGB', 60) 2018-11-03 15:42:34,056 add_scores(via XRGB (XRGB), video_spec(swscale), XRGB) 2018-11-03 15:42:34,056 source format=CSCPixelFormat(GBRP) 2018-11-03 15:42:34,058 calculate_scaling(1636, 958, 4096, 4096)=(1, 1) (q=80, s=80, scaling_control=None) 2018-11-03 15:42:34,059 destination format=CSCPixelFormat(GBRP) 2018-11-03 15:42:34,059 get_score(XRGB , video_spec(swscale) , video_spec(nvenc) , 1636, 958) quality: 95, speed: 74, setup: 64 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=1636x958, sizescore= 96, client score delta= 0, cpu score= 0, gpu score=100, score=81 2018-11-03 15:42:34,061 sws context=0x7ff061f30240 2018-11-03 15:42:34,062 add_scores(via YUV444P (YUV444P), video_spec(swscale), YUV444P) 2018-11-03 15:42:34,063 add_scores(direct (no csc), None, BGRX) 2018-11-03 15:42:34,063 setup_pipeline: csc=swscale(BGRX 520x188 - XRGB 520x188), info={u'dst_bytes_per_pixel': 4, u'src_height': 188, u'src_width': 520, u'dst_height': 188, u'max-size': (16384, 16384), u'dst_width': 520, u'version': (5, 1, 100), u'flags': [1], u'src_format': 'BGRX', u'formats': [u'RGB', u'BGR', u'XRGB', u'BGRX', u'RGBX', u'XBGR', u'YUV420P', u'YUV422P', u'YUV444P', u'GBRP'], u'frames': 0, u'dst_format': u'XRGB'}, setup took 10.73ms 2018-11-03 15:42:34,063 calculate_scaling(1636, 958, 8192, 8192)=(1, 1) (q=80, s=80, scaling_control=None) 2018-11-03 15:42:34,064 get_score(BGRX , None , video_spec(nvenc) , 1636, 958) quality: 80, speed: 80, setup: 100 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=1636x958, sizescore= 96, client score delta= 0, cpu score= 0, gpu score=100, score=83 2018-11-03 15:42:34,065 add_scores(via XBGR (XBGR), video_spec(swscale), XBGR) 2018-11-03 15:42:34,065 make_instance() nvenc - instance count=0 2018-11-03 15:42:34,066 add_scores(via YUV422P (YUV422P), video_spec(swscale), YUV422P) 2018-11-03 15:42:34,066 will test 1 device from failing list: [0] 2018-11-03 15:42:34,067 add_scores(via RGB (RGB), video_spec(swscale), RGB) 2018-11-03 15:42:34,067 select_device: testing device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:34,068 add_scores(via RGBX (RGBX), video_spec(swscale), RGBX) 2018-11-03 15:42:34,282 created context= 2018-11-03 15:42:34,283 add_scores(via GBRP (GBRP), video_spec(swscale), GBRP) 2018-11-03 15:42:34,285 memory: free=5662MB, total=6077MB 2018-11-03 15:42:34,285 add_scores(via BGR (BGR), video_spec(swscale), BGR) 2018-11-03 15:42:34,326 selected device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:34,538 get_CUDA_function(0, ARGB_to_NV12) module= 2018-11-03 15:42:34,538 add_scores(via YUV420P (YUV420P), video_spec(swscale), YUV420P) 2018-11-03 15:42:34,541 loading function ARGB_to_NV12 from pre-compiled cubin took 3.3ms 2018-11-03 15:42:34,541 add_scores(via XRGB (XRGB), video_spec(swscale), XRGB) 2018-11-03 15:42:34,547 calculate_scaling(1636, 958, 8192, 8192)=(1, 1) (q=80, s=80, scaling_control=None) 2018-11-03 15:42:34,548 get_score(XRGB , video_spec(swscale) , video_spec(nvenc) , 1636, 958) quality: 75, speed: 74, setup: 64 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=1636x958, sizescore= 96, client score delta= 0, cpu score= 0, gpu score=100, score=77 2018-11-03 15:42:34,549 add_scores(via YUV444P (YUV444P), video_spec(swscale), YUV444P) 2018-11-03 15:42:34,549 get_video_pipeline_options(['h264', 'h265'], 1636, 958, 'BGRX') scores=[(83, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)), (83, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)), (81, (1, 1), (1, 1), 1636, 958, video_spec(swscale), u'XRGB', (1, 1), 1636, 958, video_spec(nvenc)), (77, (1, 1), (1, 1), 1636, 958, video_spec(swscale), u'XRGB', (1, 1), 1636, 958, video_spec(nvenc))] 2018-11-03 15:42:34,550 check_pipeline_score(False) best=(83, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)) 2018-11-03 15:42:34,551 recalculate_delays() wids=(2,), focus=3, maximized=[], fullscreen=[] 2018-11-03 15:42:34,551 calculate_batch_delay for wid=2 current batch delay=112, last update 2 seconds ago 2018-11-03 15:42:34,552 update_batch_delay: damage-network-delay : 1.00,0.50 {u'avg': 42, u'recent': 41} 2018-11-03 15:42:34,553 update_batch_delay: client-decode-speed : 1.00,0.00 {u'avg': 278, u'recent': 278} 2018-11-03 15:42:34,621 setup_pipeline failed for (78, (1, 1), (1, 1), 520, 188, video_spec(swscale), u'XRGB', (1, 1), 520, 188, video_spec(nvenc)): cannot open encoding session, context is NULL 2018-11-03 15:42:34,622 update_batch_delay: damage-rate : 0.00,1.26 {'max_latency': 627, 'elapsed': 2833} 2018-11-03 15:42:34,623 swscale.ColorspaceConverter.clean() sws context=0x7ff061f30240 2018-11-03 15:42:34,624 update_batch_delay: bandwidth-limit : 0.00,0.00 {'used': 0, 'budget': 524288} 2018-11-03 15:42:34,625 setup_pipeline(..) failed! took 2197.59ms 2018-11-03 15:42:34,626 update_batch_delay: client-latency : 1.13,1.66 {u'target': 470, u'weight_multiplier': 4616, u'smoothing': u'sqrt', u'aim': 800, u'aimed_avg': 1274, u'div': 1000, u'avg': 797, u'recent': 899} 2018-11-03 15:42:34,626 Error: failed to setup a video pipeline for BGRX at 520x189 2018-11-03 15:42:34,628 update_batch_delay: client-ping-latency : 0.73,0.15 {u'target': 10, u'weight_multiplier': 282, u'smoothing': u'sqrt', u'aim': 949, u'aimed_avg': 529, u'div': 1000, u'avg': 5, u'recent': 5} 2018-11-03 15:42:34,629 update_batch_delay: server-ping-latency : 0.87,0.18 {u'target': 20, u'weight_multiplier': 505, u'smoothing': u'sqrt', u'aim': 949, u'aimed_avg': 754, u'div': 1000, u'avg': 16, u'recent': 16} 2018-11-03 15:42:34,630 update_batch_delay: packet-queue-size : 0.00,0.00 {u'target': 1000, u'weight_multiplier': 0, u'smoothing': u'sqrt', u'aim': 250, u'aimed_avg': 0, u'div': 1000, u'avg': 0, u'recent': 0} 2018-11-03 15:42:34,630 tried the following options 2018-11-03 15:42:34,631 update_batch_delay: packet-queue-pixels : 0.00,0.00 {u'target': 1000, u'weight_multiplier': 0, u'smoothing': u'sqrt', u'aim': 250, u'aimed_avg': 0, u'div': 60434000, u'avg': 0, u'recent': 0} 2018-11-03 15:42:34,631 (84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 520, 188, video_spec(nvenc)) 2018-11-03 15:42:34,632 update_batch_delay: compression-work-queue : 1.69,1.72 {u'target': 1000, u'weight_multiplier': 2268, u'smoothing': u'logp', u'aim': 250, u'aimed_avg': 2227, u'div': 1000, u'avg': 3330, u'recent': 5147} 2018-11-03 15:42:34,633 (84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 520, 188, video_spec(nvenc)) 2018-11-03 15:42:34,633 update_batch_delay: congestion : 1.12,1.22 {} 2018-11-03 15:42:34,633 (82, (1, 1), (1, 1), 520, 188, video_spec(swscale), u'XRGB', (1, 1), 520, 188, video_spec(nvenc)) 2018-11-03 15:42:34,634 update_batch_delay: damage-packet-queue-pixels : 0.00,0.00 {u'target': 1000, u'weight_multiplier': 0, u'smoothing': u'sqrt', u'aim': 250, u'aimed_avg': 0, u'div': 60434000, u'avg': 0, u'recent': 0} 2018-11-03 15:42:34,634 (78, (1, 1), (1, 1), 520, 188, video_spec(swscale), u'XRGB', (1, 1), 520, 188, video_spec(nvenc)) 2018-11-03 15:42:34,634 update_batch_delay: focus : 1.00,0.00 {'has_focus': False} 2018-11-03 15:42:34,700 Error: failed to setup a video pipeline for auto encoding with source format BGRX 2018-11-03 15:42:34,700 update_batch_delay: override-redirect : 1.00,0.00 {'is_OR': False} 2018-11-03 15:42:34,701 all encoders: 2018-11-03 15:42:34,701 update_batch_delay: fullscreen : 0.00,0.00 {'other_is_fullscreen': False} 2018-11-03 15:42:34,701 supported CSC modes: 2018-11-03 15:42:34,701 update_batch_delay: maximized : 0.00,0.00 {'other_is_maximized': False} 2018-11-03 15:42:34,701 supported encoders: 2018-11-03 15:42:34,701 update_batch_delay: soft-expired : 0.00,0.00 {'count': 0} 2018-11-03 15:42:34,702 encoders CSC modes: 2018-11-03 15:42:34,702 update_batch_delay: delay=175 2018-11-03 15:42:34,702 using non-video fallback encoding 2018-11-03 15:42:34,703 get_target_quality: target=3% (window 451x134) pctpixdamaged=304%, dpc={1: 0, 2: 0, 3: 1403, 4: 182705, 5: 0, 6: 0, 7: 0, 8: 0, 9: 0, 10: 0} 2018-11-03 15:42:34,704 update_quality() wid=2, info={'batch-delay-ratio': 55, 'backlog_factor': (0, 0, 60434, 0, 100), 'congestion-value': 122, 'latency': 222, 'compression-ratio': (131, 125, 1), 'min_quality': 30, 'max-quality-range': 22, 'min_speed': 30}, quality=31 2018-11-03 15:42:34,704 update_speed() wid=2, info={'congestion-value': 122, 'min_speed': 30, 'damage_latency': {'abs_factor': 369, 'rel_factor': 37, 'avg': 552, 'ref': 35, 'target': 437}, 'frame_delay': 437, 'mpixels': 0, 'low_limit': 60434, 'decoding_latency': {'factor': 0, 'avg': 3768750, 'min': 1000000}, 'max-speed-range': 22}, speed=34 2018-11-03 15:42:34,706 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 520, 189), damage data: (3, 0, 0, 520, 189, 'auto') 2018-11-03 15:42:34,707 update_encoding_options(False) wid=2, want_alpha=False, speed=34, quality=31, bandwidth-limit=524288, lossless threshold: 66 / 14, rgb auto threshold=1024 (min=1024, max=1024), get_best_encoding= 2018-11-03 15:42:34,708 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 520, 189), {}) 2018-11-03 15:42:34,709 get_video_pipeline_options(['h264', 'h265'], 450, 134, 'BGRX', False) last params=(['h264', 'h265'], 451, 134, 'BGRX'), full_csc_modes={'mpeg1': ('YUV420P',), 'mpeg2': ('YUV420P',), 'mpeg4': ('YUV420P',), 'h264': ('ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'h265': ('BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'vp9': ('YUV420P', 'YUV444P'), 'vp8': ('YUV420P',), 'webp': ('BGRA', 'BGRX', 'RGBA', 'RGBX')} 2018-11-03 15:42:34,709 check_pipeline('auto', 520, 189, 'BGRX') setting up a new pipeline as check failed - encodings=['h264', 'h265'] 2018-11-03 15:42:34,710 get_video_pipeline_options(['h264', 'h265'], 450, 134, 'BGRX') speed: 34 (min 30), quality: 31 (min 30) 2018-11-03 15:42:34,710 get_video_pipeline_options(['h264', 'h265'], 520, 189, 'BGRX', False) last params=(['h264', 'h265'], 520, 189, 'BGRX'), full_csc_modes={'mpeg1': ('YUV420P',), 'mpeg2': ('YUV420P',), 'mpeg4': ('YUV420P',), 'h264': ('ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'h265': ('BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'vp9': ('YUV420P', 'YUV444P'), 'vp8': ('YUV420P',), 'webp': ('BGRA', 'BGRX', 'RGBA', 'RGBX')} 2018-11-03 15:42:34,710 add_scores(direct (no csc), None, BGRX) 2018-11-03 15:42:34,710 get_video_pipeline_options(['h264', 'h265'], 520, 189, 'BGRX') speed: 80 (min 30), quality: 80 (min 30) 2018-11-03 15:42:34,711 calculate_scaling(450, 134, 4096, 4096)=(1, 1) (q=31, s=34, scaling_control=None) 2018-11-03 15:42:34,711 add_scores(direct (no csc), None, BGRX) 2018-11-03 15:42:34,711 get_score(BGRX , None , video_spec(nvenc) , 450, 134) quality: 31, speed: 91, setup: 100 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=450x134, sizescore=100, client score delta= 0, cpu score= 0, gpu score=100, score=76 2018-11-03 15:42:34,711 calculate_scaling(520, 189, 4096, 4096)=(1, 1) (q=80, s=80, scaling_control=None) 2018-11-03 15:42:34,712 add_scores(via XBGR (XBGR), video_spec(swscale), XBGR) 2018-11-03 15:42:34,712 get_score(BGRX , None , video_spec(nvenc) , 520, 189) quality: 80, speed: 80, setup: 100 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=520x188, sizescore=100, client score delta= 0, cpu score= 0, gpu score=100, score=84 2018-11-03 15:42:34,712 add_scores(via YUV422P (YUV422P), video_spec(swscale), YUV422P) 2018-11-03 15:42:34,712 add_scores(via XBGR (XBGR), video_spec(swscale), XBGR) 2018-11-03 15:42:34,713 add_scores(via RGB (RGB), video_spec(swscale), RGB) 2018-11-03 15:42:34,713 add_scores(via YUV422P (YUV422P), video_spec(swscale), YUV422P) 2018-11-03 15:42:34,713 add_scores(via RGBX (RGBX), video_spec(swscale), RGBX) 2018-11-03 15:42:34,713 add_scores(via RGB (RGB), video_spec(swscale), RGB) 2018-11-03 15:42:34,713 add_scores(via GBRP (GBRP), video_spec(swscale), GBRP) 2018-11-03 15:42:34,714 add_scores(via RGBX (RGBX), video_spec(swscale), RGBX) 2018-11-03 15:42:34,714 add_scores(via BGR (BGR), video_spec(swscale), BGR) 2018-11-03 15:42:34,714 add_scores(via GBRP (GBRP), video_spec(swscale), GBRP) 2018-11-03 15:42:34,714 add_scores(via YUV420P (YUV420P), video_spec(swscale), YUV420P) 2018-11-03 15:42:34,714 add_scores(via BGR (BGR), video_spec(swscale), BGR) 2018-11-03 15:42:34,715 add_scores(via XRGB (XRGB), video_spec(swscale), XRGB) 2018-11-03 15:42:34,715 add_scores(via YUV420P (YUV420P), video_spec(swscale), YUV420P) 2018-11-03 15:42:34,715 calculate_scaling(450, 134, 4096, 4096)=(1, 1) (q=31, s=34, scaling_control=None) 2018-11-03 15:42:34,715 add_scores(via XRGB (XRGB), video_spec(swscale), XRGB) 2018-11-03 15:42:34,716 get_score(XRGB , video_spec(swscale) , video_spec(nvenc) , 450, 134) quality: 56, speed: 82, setup: 64 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=450x134, sizescore=100, client score delta= 0, cpu score= 0, gpu score=100, score=76 2018-11-03 15:42:34,716 calculate_scaling(520, 189, 4096, 4096)=(1, 1) (q=80, s=80, scaling_control=None) 2018-11-03 15:42:34,716 add_scores(via YUV444P (YUV444P), video_spec(swscale), YUV444P) 2018-11-03 15:42:34,716 get_score(XRGB , video_spec(swscale) , video_spec(nvenc) , 520, 189) quality: 95, speed: 74, setup: 64 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=520x188, sizescore=100, client score delta= 0, cpu score= 0, gpu score=100, score=82 2018-11-03 15:42:34,717 add_scores(direct (no csc), None, BGRX) 2018-11-03 15:42:34,717 add_scores(via YUV444P (YUV444P), video_spec(swscale), YUV444P) 2018-11-03 15:42:34,717 calculate_scaling(450, 134, 8192, 8192)=(1, 1) (q=31, s=34, scaling_control=None) 2018-11-03 15:42:34,717 add_scores(direct (no csc), None, BGRX) 2018-11-03 15:42:34,718 get_score(BGRX , None , video_spec(nvenc) , 450, 134) quality: 71, speed: 91, setup: 100 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=450x134, sizescore=100, client score delta= 0, cpu score= 0, gpu score=100, score=84 2018-11-03 15:42:34,718 calculate_scaling(520, 189, 8192, 8192)=(1, 1) (q=80, s=80, scaling_control=None) 2018-11-03 15:42:34,719 packet decoding sequence 1 for window 3: 520x189 took 16.0ms 2018-11-03 15:42:34,719 add_scores(via XBGR (XBGR), video_spec(swscale), XBGR) 2018-11-03 15:42:34,719 get_score(BGRX , None , video_spec(nvenc) , 520, 189) quality: 80, speed: 80, setup: 100 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=520x188, sizescore=100, client score delta= 0, cpu score= 0, gpu score=100, score=84 2018-11-03 15:42:34,719 record_latency: took 11.7 ms round trip, 11.6 for echo, 16.0 for decoding of 98280 pixels, 12095 bytes sent over the network in 0.0 ms, 0.0 ms for echo 2018-11-03 15:42:34,720 add_scores(via YUV422P (YUV422P), video_spec(swscale), YUV422P) 2018-11-03 15:42:34,720 add_scores(via XBGR (XBGR), video_spec(swscale), XBGR) 2018-11-03 15:42:34,720 may_recalculate(3, 98280) total 98280 pixels, scheduling recalculate work item 2018-11-03 15:42:34,721 add_scores(via RGB (RGB), video_spec(swscale), RGB) 2018-11-03 15:42:34,721 add_scores(via YUV422P (YUV422P), video_spec(swscale), YUV422P) 2018-11-03 15:42:34,721 add_scores(via RGBX (RGBX), video_spec(swscale), RGBX) 2018-11-03 15:42:34,721 add_scores(via RGB (RGB), video_spec(swscale), RGB) 2018-11-03 15:42:34,722 add_scores(via GBRP (GBRP), video_spec(swscale), GBRP) 2018-11-03 15:42:34,722 add_scores(via RGBX (RGBX), video_spec(swscale), RGBX) 2018-11-03 15:42:34,722 add_scores(via BGR (BGR), video_spec(swscale), BGR) 2018-11-03 15:42:34,722 add_scores(via GBRP (GBRP), video_spec(swscale), GBRP) 2018-11-03 15:42:34,722 add_scores(via YUV420P (YUV420P), video_spec(swscale), YUV420P) 2018-11-03 15:42:34,723 add_scores(via BGR (BGR), video_spec(swscale), BGR) 2018-11-03 15:42:34,723 add_scores(via XRGB (XRGB), video_spec(swscale), XRGB) 2018-11-03 15:42:34,723 add_scores(via YUV420P (YUV420P), video_spec(swscale), YUV420P) 2018-11-03 15:42:34,723 calculate_scaling(450, 134, 8192, 8192)=(1, 1) (q=31, s=34, scaling_control=None) 2018-11-03 15:42:34,724 add_scores(via XRGB (XRGB), video_spec(swscale), XRGB) 2018-11-03 15:42:34,724 get_score(XRGB , video_spec(swscale) , video_spec(nvenc) , 450, 134) quality: 76, speed: 82, setup: 64 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=450x134, sizescore=100, client score delta= 0, cpu score= 0, gpu score=100, score=80 2018-11-03 15:42:34,724 calculate_scaling(520, 189, 8192, 8192)=(1, 1) (q=80, s=80, scaling_control=None) 2018-11-03 15:42:34,724 add_scores(via YUV444P (YUV444P), video_spec(swscale), YUV444P) 2018-11-03 15:42:34,725 get_score(XRGB , video_spec(swscale) , video_spec(nvenc) , 520, 189) quality: 75, speed: 74, setup: 64 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=520x188, sizescore=100, client score delta= 0, cpu score= 0, gpu score=100, score=78 2018-11-03 15:42:34,725 get_video_pipeline_options(['h264', 'h265'], 450, 134, 'BGRX') scores=[(84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 450, 134, video_spec(nvenc)), (80, (1, 1), (1, 1), 450, 134, video_spec(swscale), u'XRGB', (1, 1), 450, 134, video_spec(nvenc)), (76, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 450, 134, video_spec(nvenc)), (76, (1, 1), (1, 1), 450, 134, video_spec(swscale), u'XRGB', (1, 1), 450, 134, video_spec(nvenc))] 2018-11-03 15:42:34,725 add_scores(via YUV444P (YUV444P), video_spec(swscale), YUV444P) 2018-11-03 15:42:34,726 check_pipeline_score(False) best=(84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 450, 134, video_spec(nvenc)) 2018-11-03 15:42:34,726 get_video_pipeline_options(['h264', 'h265'], 520, 189, 'BGRX') scores=[(84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 520, 188, video_spec(nvenc)), (84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 520, 188, video_spec(nvenc)), (82, (1, 1), (1, 1), 520, 188, video_spec(swscale), u'XRGB', (1, 1), 520, 188, video_spec(nvenc)), (78, (1, 1), (1, 1), 520, 188, video_spec(swscale), u'XRGB', (1, 1), 520, 188, video_spec(nvenc))] 2018-11-03 15:42:34,727 setup_pipeline([(84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 520, 188, video_spec(nvenc)), (84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 520, 188, video_spec(nvenc)), (82, (1, 1), (1, 1), 520, 188, video_spec(swscale), u'XRGB', (1, 1), 520, 188, video_spec(nvenc)), (78, (1, 1), (1, 1), 520, 188, video_spec(swscale), u'XRGB', (1, 1), 520, 188, video_spec(nvenc))], 520, 189, 'BGRX') 2018-11-03 15:42:34,727 setup_pipeline: trying (84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 520, 188, video_spec(nvenc)) 2018-11-03 15:42:34,727 make_instance() nvenc - instance count=2 2018-11-03 15:42:34,727 will test 1 device from failing list: [0] 2018-11-03 15:42:34,728 select_device: testing device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:34,947 created context= 2018-11-03 15:42:34,948 send_delayed_regions: bytes_cost=99304, bytes_threshold=58968, pixel_count=98280 2018-11-03 15:42:34,948 memory: free=5729MB, total=6077MB 2018-11-03 15:42:34,949 nonvideo(100, png not a supported video encoding) 2018-11-03 15:42:35,010 selected device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:35,011 send_delayed_regions: using full window update 520x189 as webp, from 2018-11-03 15:42:35,200 process_damage_region: wid=3, adding pixel data to encode queue ( 520x189 - webp), elapsed time: 252.1 ms, request time: 0.5 ms, frame delay=0ms 2018-11-03 15:42:35,202 setup_pipeline failed for (84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 520, 188, video_spec(nvenc)): cannot open encoding session, context is NULL 2018-11-03 15:42:35,203 setup_pipeline: trying (84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 520, 188, video_spec(nvenc)) 2018-11-03 15:42:35,203 make_instance() nvenc - instance count=0 2018-11-03 15:42:35,203 will test 1 device from failing list: [0] 2018-11-03 15:42:35,203 select_device: testing device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:35,377 created context= 2018-11-03 15:42:35,378 memory: free=5664MB, total=6077MB 2018-11-03 15:42:35,411 selected device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:35,667 setup_pipeline failed for (84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 520, 188, video_spec(nvenc)): cannot open encoding session, context is NULL 2018-11-03 15:42:35,667 setup_pipeline: trying (82, (1, 1), (1, 1), 520, 188, video_spec(swscale), u'XRGB', (1, 1), 520, 188, video_spec(nvenc)) 2018-11-03 15:42:35,668 make_instance() swscale - instance count=0 2018-11-03 15:42:35,668 swscale.ColorspaceConverter.init_context(520, 188, 'BGRX', 520, 188, u'XRGB', 60) 2018-11-03 15:42:35,669 source format=CSCPixelFormat(GBRP) 2018-11-03 15:42:35,669 destination format=CSCPixelFormat(GBRP) 2018-11-03 15:42:35,670 sws context=0x7ff061895400 2018-11-03 15:42:35,672 setup_pipeline: csc=swscale(BGRX 520x188 - XRGB 520x188), info={u'dst_bytes_per_pixel': 4, u'src_height': 188, u'src_width': 520, u'dst_height': 188, u'max-size': (16384, 16384), u'dst_width': 520, u'version': (5, 1, 100), u'flags': [1], u'src_format': 'BGRX', u'formats': [u'RGB', u'BGR', u'XRGB', u'BGRX', u'RGBX', u'XBGR', u'YUV420P', u'YUV422P', u'YUV444P', u'GBRP'], u'frames': 0, u'dst_format': u'XRGB'}, setup took 4.02ms 2018-11-03 15:42:35,673 make_instance() nvenc - instance count=0 2018-11-03 15:42:35,673 will test 1 device from failing list: [0] 2018-11-03 15:42:35,673 select_device: testing device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:35,824 created context= 2018-11-03 15:42:35,827 memory: free=5664MB, total=6077MB 2018-11-03 15:42:35,888 selected device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:35,889 recalculate_delays() wids=(3,), focus=3, maximized=[], fullscreen=[] 2018-11-03 15:42:36,098 get_CUDA_function(0, ARGB_to_NV12) module= 2018-11-03 15:42:36,100 calculate_batch_delay for wid=3 current batch delay=15, last update 341187 seconds ago 2018-11-03 15:42:36,103 loading function ARGB_to_NV12 from pre-compiled cubin took 4.8ms 2018-11-03 15:42:36,106 update_batch_delay: damage-network-delay : 1.00,0.50 {u'avg': 41, u'recent': 41} 2018-11-03 15:42:36,109 update_batch_delay: client-decode-speed : 1.00,0.00 {u'avg': 170, u'recent': 170} 2018-11-03 15:42:36,109 update_batch_delay: damage-rate : 1.00,0.00 {'max_latency': 3005, 'elapsed': 3919} 2018-11-03 15:42:36,110 update_batch_delay: bandwidth-limit : 0.00,0.00 {'used': 0, 'budget': 524288} 2018-11-03 15:42:36,111 update_batch_delay: client-latency : 2.21,0.35 {u'target': 4, u'weight_multiplier': 321, u'smoothing': u'sqrt', u'aim': 800, u'aimed_avg': 4893, u'div': 1000, u'avg': 410, u'recent': 223} 2018-11-03 15:42:36,111 update_batch_delay: client-ping-latency : 1.34,0.17 {u'target': 10, u'weight_multiplier': 282, u'smoothing': u'sqrt', u'aim': 949, u'aimed_avg': 1808, u'div': 1000, u'avg': 165, u'recent': 207} 2018-11-03 15:42:36,112 update_batch_delay: server-ping-latency : 0.87,0.18 {u'target': 20, u'weight_multiplier': 505, u'smoothing': u'sqrt', u'aim': 949, u'aimed_avg': 754, u'div': 1000, u'avg': 16, u'recent': 16} 2018-11-03 15:42:36,148 setup_pipeline failed for (82, (1, 1), (1, 1), 520, 188, video_spec(swscale), u'XRGB', (1, 1), 520, 188, video_spec(nvenc)): cannot open encoding session, context is NULL 2018-11-03 15:42:36,148 update_batch_delay: packet-queue-size : 0.00,0.00 {u'target': 1000, u'weight_multiplier': 0, u'smoothing': u'sqrt', u'aim': 250, u'aimed_avg': 0, u'div': 1000, u'avg': 0, u'recent': 0} 2018-11-03 15:42:36,151 swscale.ColorspaceConverter.clean() sws context=0x7ff061895400 2018-11-03 15:42:36,151 update_batch_delay: packet-queue-pixels : 0.00,0.00 {u'target': 1000, u'weight_multiplier': 0, u'smoothing': u'sqrt', u'aim': 250, u'aimed_avg': 0, u'div': 98280000, u'avg': 0, u'recent': 0} 2018-11-03 15:42:36,152 setup_pipeline: trying (78, (1, 1), (1, 1), 520, 188, video_spec(swscale), u'XRGB', (1, 1), 520, 188, video_spec(nvenc)) 2018-11-03 15:42:36,152 update_batch_delay: compression-work-queue : 1.93,2.46 {u'target': 1000, u'weight_multiplier': 2590, u'smoothing': u'logp', u'aim': 250, u'aimed_avg': 2817, u'div': 1000, u'avg': 4580, u'recent': 6712} 2018-11-03 15:42:36,153 make_instance() swscale - instance count=1 2018-11-03 15:42:36,154 send_delayed for wid 3, delaying again because too many pixels are waiting to be encoded: 98280 2018-11-03 15:42:36,154 update_batch_delay: congestion : 1.04,0.36 {} 2018-11-03 15:42:36,154 swscale.ColorspaceConverter.init_context(520, 188, 'BGRX', 520, 188, u'XRGB', 60) 2018-11-03 15:42:36,156 source format=CSCPixelFormat(GBRP) 2018-11-03 15:42:36,155 update_batch_delay: damage-packet-queue-pixels : 0.00,0.00 {u'target': 1000, u'weight_multiplier': 0, u'smoothing': u'sqrt', u'aim': 250, u'aimed_avg': 0, u'div': 98280000, u'avg': 0, u'recent': 0} 2018-11-03 15:42:36,156 destination format=CSCPixelFormat(GBRP) 2018-11-03 15:42:36,156 update_batch_delay: focus : 0.00,1.00 {'has_focus': True} 2018-11-03 15:42:36,157 sws context=0x7ff0618953c0 2018-11-03 15:42:36,157 update_batch_delay: override-redirect : 1.00,0.00 {'is_OR': False} 2018-11-03 15:42:36,158 setup_pipeline: csc=swscale(BGRX 520x188 - XRGB 520x188), info={u'dst_bytes_per_pixel': 4, u'src_height': 188, u'src_width': 520, u'dst_height': 188, u'max-size': (16384, 16384), u'dst_width': 520, u'version': (5, 1, 100), u'flags': [1], u'src_format': 'BGRX', u'formats': [u'RGB', u'BGR', u'XRGB', u'BGRX', u'RGBX', u'XBGR', u'YUV420P', u'YUV422P', u'YUV444P', u'GBRP'], u'frames': 0, u'dst_format': u'XRGB'}, setup took 5.39ms 2018-11-03 15:42:36,158 update_batch_delay: fullscreen : 0.00,0.00 {'other_is_fullscreen': False} 2018-11-03 15:42:36,159 make_instance() nvenc - instance count=0 2018-11-03 15:42:36,159 update_batch_delay: maximized : 0.00,0.00 {'other_is_maximized': False} 2018-11-03 15:42:36,160 will test 1 device from failing list: [0] 2018-11-03 15:42:36,160 update_batch_delay: soft-expired : 0.00,0.00 {'count': 0} 2018-11-03 15:42:36,160 select_device: testing device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:36,161 update_batch_delay: delay=30 2018-11-03 15:42:36,356 created context= 2018-11-03 15:42:36,356 update_encoding_options(False) wid=3, want_alpha=False, speed=80, quality=80, bandwidth-limit=524288, lossless threshold: 76 / 5, rgb auto threshold=1024 (min=2048, max=1024), get_best_encoding= 2018-11-03 15:42:36,357 send_delayed for wid 3, delaying again because too many pixels are waiting to be encoded: 98280 2018-11-03 15:42:36,357 memory: free=5662MB, total=6077MB 2018-11-03 15:42:36,358 get_video_pipeline_options(['h264', 'h265'], 520, 189, 'BGRX', False) last params=(['h264', 'h265'], 520, 189, 'BGRX'), full_csc_modes={'mpeg1': ('YUV420P',), 'mpeg2': ('YUV420P',), 'mpeg4': ('YUV420P',), 'h264': ('ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'h265': ('BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'vp9': ('YUV420P', 'YUV444P'), 'vp8': ('YUV420P',), 'webp': ('BGRA', 'BGRX', 'RGBA', 'RGBX')} 2018-11-03 15:42:36,394 selected device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:36,394 send_delayed for wid 1, batch delay is 75ms, elapsed time is 241ms 2018-11-03 15:42:36,395 get_video_pipeline_options(['h264', 'h265'], 520, 189, 'BGRX') speed: 80 (min 30), quality: 80 (min 30) 2018-11-03 15:42:36,561 get_CUDA_function(0, ARGB_to_NV12) module= 2018-11-03 15:42:36,563 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280 2018-11-03 15:42:36,564 add_scores(direct (no csc), None, BGRX) 2018-11-03 15:42:36,564 loading function ARGB_to_NV12 from pre-compiled cubin took 2.9ms 2018-11-03 15:42:36,564 send_delayed_regions: using full window update 1636x959 as auto, from 2018-11-03 15:42:36,565 calculate_scaling(520, 189, 4096, 4096)=(1, 1) (q=80, s=80, scaling_control=None) 2018-11-03 15:42:36,577 process_damage_region: wid=1, adding pixel data to encode queue (1636x959 - auto), elapsed time: 423.2 ms, request time: 9.6 ms, frame delay=0ms 2018-11-03 15:42:36,611 setup_pipeline failed for (78, (1, 1), (1, 1), 520, 188, video_spec(swscale), u'XRGB', (1, 1), 520, 188, video_spec(nvenc)): cannot open encoding session, context is NULL 2018-11-03 15:42:36,611 get_score(BGRX , None , video_spec(nvenc) , 520, 189) quality: 80, speed: 80, setup: 100 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=520x188, sizescore=100, client score delta= 0, cpu score= 0, gpu score=100, score=84 2018-11-03 15:42:36,612 setup_pipeline(..) failed! took 1885.65ms 2018-11-03 15:42:36,613 send_delayed_regions: bytes_cost=46129, bytes_threshold=58968, pixel_count=45105 2018-11-03 15:42:36,613 add_scores(via XBGR (XBGR), video_spec(swscale), XBGR) 2018-11-03 15:42:36,614 Error: failed to setup a video pipeline for BGRX at 520x189 2018-11-03 15:42:36,615 process_damage_region: wid=3, adding pixel data to encode queue ( 485x93 - auto), elapsed time: 504.4 ms, request time: 0.8 ms, frame delay=0ms 2018-11-03 15:42:36,615 add_scores(via YUV422P (YUV422P), video_spec(swscale), YUV422P) 2018-11-03 15:42:36,615 tried the following options 2018-11-03 15:42:36,615 send_delayed_regions: sent 1 regions using ['auto'] 2018-11-03 15:42:36,616 add_scores(via RGB (RGB), video_spec(swscale), RGB) 2018-11-03 15:42:36,616 (84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 520, 188, video_spec(nvenc)) 2018-11-03 15:42:36,616 add_scores(via RGBX (RGBX), video_spec(swscale), RGBX) 2018-11-03 15:42:36,616 (84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 520, 188, video_spec(nvenc)) 2018-11-03 15:42:36,616 window 3 delayed region already sent 2018-11-03 15:42:36,617 add_scores(via GBRP (GBRP), video_spec(swscale), GBRP) 2018-11-03 15:42:36,617 (82, (1, 1), (1, 1), 520, 188, video_spec(swscale), u'XRGB', (1, 1), 520, 188, video_spec(nvenc)) 2018-11-03 15:42:36,617 add_scores(via BGR (BGR), video_spec(swscale), BGR) 2018-11-03 15:42:36,618 add_scores(via YUV420P (YUV420P), video_spec(swscale), YUV420P) 2018-11-03 15:42:36,618 (78, (1, 1), (1, 1), 520, 188, video_spec(swscale), u'XRGB', (1, 1), 520, 188, video_spec(nvenc)) 2018-11-03 15:42:36,618 add_scores(via XRGB (XRGB), video_spec(swscale), XRGB) 2018-11-03 15:42:36,652 calculate_scaling(520, 189, 4096, 4096)=(1, 1) (q=80, s=80, scaling_control=None) 2018-11-03 15:42:36,652 get_score(XRGB , video_spec(swscale) , video_spec(nvenc) , 520, 189) quality: 95, speed: 74, setup: 64 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=520x188, sizescore=100, client score delta= 0, cpu score= 0, gpu score=100, score=82 2018-11-03 15:42:36,651 Error: failed to setup a video pipeline for auto encoding with source format BGRX 2018-11-03 15:42:36,653 add_scores(via YUV444P (YUV444P), video_spec(swscale), YUV444P) 2018-11-03 15:42:36,654 all encoders: 2018-11-03 15:42:36,655 add_scores(direct (no csc), None, BGRX) 2018-11-03 15:42:36,656 supported CSC modes: 2018-11-03 15:42:36,658 calculate_scaling(520, 189, 8192, 8192)=(1, 1) (q=80, s=80, scaling_control=None) 2018-11-03 15:42:36,660 supported encoders: 2018-11-03 15:42:36,661 get_score(BGRX , None , video_spec(nvenc) , 520, 189) quality: 80, speed: 80, setup: 100 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=520x188, sizescore=100, client score delta= 0, cpu score= 0, gpu score=100, score=84 2018-11-03 15:42:36,662 encoders CSC modes: 2018-11-03 15:42:36,663 add_scores(via XBGR (XBGR), video_spec(swscale), XBGR) 2018-11-03 15:42:36,663 using non-video fallback encoding 2018-11-03 15:42:36,664 add_scores(via YUV422P (YUV422P), video_spec(swscale), YUV422P) 2018-11-03 15:42:36,667 add_scores(via RGB (RGB), video_spec(swscale), RGB) 2018-11-03 15:42:36,668 add_scores(via RGBX (RGBX), video_spec(swscale), RGBX) 2018-11-03 15:42:36,668 add_scores(via GBRP (GBRP), video_spec(swscale), GBRP) 2018-11-03 15:42:36,671 add_scores(via BGR (BGR), video_spec(swscale), BGR) 2018-11-03 15:42:36,672 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (1, 0, 0, 1636, 959, 'auto') 2018-11-03 15:42:36,673 add_scores(via YUV420P (YUV420P), video_spec(swscale), YUV420P) 2018-11-03 15:42:36,675 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) 2018-11-03 15:42:36,679 add_scores(via XRGB (XRGB), video_spec(swscale), XRGB) 2018-11-03 15:42:36,679 check_pipeline('auto', 1636, 959, 'BGRX') setting up a new pipeline as check failed - encodings=['h264', 'h265'] 2018-11-03 15:42:36,680 calculate_scaling(520, 189, 8192, 8192)=(1, 1) (q=80, s=80, scaling_control=None) 2018-11-03 15:42:36,680 get_video_pipeline_options(['h264', 'h265'], 1636, 958, 'BGRX', False) last params=(['h264', 'h265'], 1636, 958, 'BGRX'), full_csc_modes={'mpeg1': ('YUV420P',), 'mpeg2': ('YUV420P',), 'mpeg4': ('YUV420P',), 'h264': ('ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'h265': ('BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'vp9': ('YUV420P', 'YUV444P'), 'vp8': ('YUV420P',), 'webp': ('BGRA', 'BGRX', 'RGBA', 'RGBX')} 2018-11-03 15:42:36,681 get_video_pipeline_options(['h264', 'h265'], 1636, 958, 'BGRX') speed: 80 (min 30), quality: 80 (min 30) 2018-11-03 15:42:36,681 get_score(XRGB , video_spec(swscale) , video_spec(nvenc) , 520, 189) quality: 75, speed: 74, setup: 64 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=520x188, sizescore=100, client score delta= 0, cpu score= 0, gpu score=100, score=78 2018-11-03 15:42:36,682 add_scores(direct (no csc), None, BGRX) 2018-11-03 15:42:36,683 add_scores(via YUV444P (YUV444P), video_spec(swscale), YUV444P) 2018-11-03 15:42:36,683 calculate_scaling(1636, 958, 4096, 4096)=(1, 1) (q=80, s=80, scaling_control=None) 2018-11-03 15:42:36,684 get_video_pipeline_options(['h264', 'h265'], 520, 189, 'BGRX') scores=[(84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 520, 188, video_spec(nvenc)), (84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 520, 188, video_spec(nvenc)), (82, (1, 1), (1, 1), 520, 188, video_spec(swscale), u'XRGB', (1, 1), 520, 188, video_spec(nvenc)), (78, (1, 1), (1, 1), 520, 188, video_spec(swscale), u'XRGB', (1, 1), 520, 188, video_spec(nvenc))] 2018-11-03 15:42:36,684 get_score(BGRX , None , video_spec(nvenc) , 1636, 958) quality: 80, speed: 80, setup: 100 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=1636x958, sizescore= 96, client score delta= 0, cpu score= 0, gpu score=100, score=83 2018-11-03 15:42:36,686 check_pipeline_score(False) best=(84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 520, 188, video_spec(nvenc)) 2018-11-03 15:42:36,687 add_scores(via XBGR (XBGR), video_spec(swscale), XBGR) 2018-11-03 15:42:36,687 add_scores(via YUV422P (YUV422P), video_spec(swscale), YUV422P) 2018-11-03 15:42:36,688 add_scores(via RGB (RGB), video_spec(swscale), RGB) 2018-11-03 15:42:36,688 add_scores(via RGBX (RGBX), video_spec(swscale), RGBX) 2018-11-03 15:42:36,688 add_scores(via GBRP (GBRP), video_spec(swscale), GBRP) 2018-11-03 15:42:36,689 add_scores(via BGR (BGR), video_spec(swscale), BGR) 2018-11-03 15:42:36,689 add_scores(via YUV420P (YUV420P), video_spec(swscale), YUV420P) 2018-11-03 15:42:36,689 add_scores(via XRGB (XRGB), video_spec(swscale), XRGB) 2018-11-03 15:42:36,690 calculate_scaling(1636, 958, 4096, 4096)=(1, 1) (q=80, s=80, scaling_control=None) 2018-11-03 15:42:36,690 get_score(XRGB , video_spec(swscale) , video_spec(nvenc) , 1636, 958) quality: 95, speed: 74, setup: 64 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=1636x958, sizescore= 96, client score delta= 0, cpu score= 0, gpu score=100, score=81 2018-11-03 15:42:36,691 add_scores(via YUV444P (YUV444P), video_spec(swscale), YUV444P) 2018-11-03 15:42:36,691 add_scores(direct (no csc), None, BGRX) 2018-11-03 15:42:36,691 calculate_scaling(1636, 958, 8192, 8192)=(1, 1) (q=80, s=80, scaling_control=None) 2018-11-03 15:42:36,691 get_score(BGRX , None , video_spec(nvenc) , 1636, 958) quality: 80, speed: 80, setup: 100 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=1636x958, sizescore= 96, client score delta= 0, cpu score= 0, gpu score=100, score=83 2018-11-03 15:42:36,691 add_scores(via XBGR (XBGR), video_spec(swscale), XBGR) 2018-11-03 15:42:36,692 add_scores(via YUV422P (YUV422P), video_spec(swscale), YUV422P) 2018-11-03 15:42:36,692 add_scores(via RGB (RGB), video_spec(swscale), RGB) 2018-11-03 15:42:36,692 add_scores(via RGBX (RGBX), video_spec(swscale), RGBX) 2018-11-03 15:42:36,692 add_scores(via GBRP (GBRP), video_spec(swscale), GBRP) 2018-11-03 15:42:36,692 add_scores(via BGR (BGR), video_spec(swscale), BGR) 2018-11-03 15:42:36,692 add_scores(via YUV420P (YUV420P), video_spec(swscale), YUV420P) 2018-11-03 15:42:36,693 add_scores(via XRGB (XRGB), video_spec(swscale), XRGB) 2018-11-03 15:42:36,693 calculate_scaling(1636, 958, 8192, 8192)=(1, 1) (q=80, s=80, scaling_control=None) 2018-11-03 15:42:36,693 get_score(XRGB , video_spec(swscale) , video_spec(nvenc) , 1636, 958) quality: 75, speed: 74, setup: 64 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=1636x958, sizescore= 96, client score delta= 0, cpu score= 0, gpu score=100, score=77 2018-11-03 15:42:36,693 add_scores(via YUV444P (YUV444P), video_spec(swscale), YUV444P) 2018-11-03 15:42:36,693 get_video_pipeline_options(['h264', 'h265'], 1636, 958, 'BGRX') scores=[(83, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)), (83, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)), (81, (1, 1), (1, 1), 1636, 958, video_spec(swscale), u'XRGB', (1, 1), 1636, 958, video_spec(nvenc)), (77, (1, 1), (1, 1), 1636, 958, video_spec(swscale), u'XRGB', (1, 1), 1636, 958, video_spec(nvenc))] 2018-11-03 15:42:36,693 setup_pipeline([(83, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)), (83, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)), (81, (1, 1), (1, 1), 1636, 958, video_spec(swscale), u'XRGB', (1, 1), 1636, 958, video_spec(nvenc)), (77, (1, 1), (1, 1), 1636, 958, video_spec(swscale), u'XRGB', (1, 1), 1636, 958, video_spec(nvenc))], 1636, 959, 'BGRX') 2018-11-03 15:42:36,693 setup_pipeline: trying (83, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)) 2018-11-03 15:42:36,694 make_instance() nvenc - instance count=2 2018-11-03 15:42:36,694 will test 1 device from failing list: [0] 2018-11-03 15:42:36,694 select_device: testing device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:36,843 created context= 2018-11-03 15:42:36,845 memory: free=5729MB, total=6077MB 2018-11-03 15:42:36,877 selected device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:37,042 send_delayed_regions: bytes_cost=99304, bytes_threshold=58968, pixel_count=98280 2018-11-03 15:42:37,042 setup_pipeline failed for (83, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)): cannot open encoding session, context is NULL 2018-11-03 15:42:37,043 nonvideo(100, png not a supported video encoding) 2018-11-03 15:42:37,043 setup_pipeline: trying (83, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)) 2018-11-03 15:42:37,043 send_delayed_regions: using full window update 520x189 as webp, from 2018-11-03 15:42:37,044 make_instance() nvenc - instance count=0 2018-11-03 15:42:37,044 will test 1 device from failing list: [0] 2018-11-03 15:42:37,045 process_damage_region: wid=3, adding pixel data to encode queue ( 520x189 - webp), elapsed time: 3.5 ms, request time: 0.6 ms, frame delay=0ms 2018-11-03 15:42:37,046 select_device: testing device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:37,047 send_delayed for wid 1, delaying again because too many pixels are waiting to be encoded: 1568924 2018-11-03 15:42:37,266 created context= 2018-11-03 15:42:37,268 memory: free=5658MB, total=6077MB 2018-11-03 15:42:37,331 selected device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:37,537 send_delayed for wid 1, delaying again because too many pixels are waiting to be encoded: 1568924 2018-11-03 15:42:37,540 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280 2018-11-03 15:42:37,540 send_delayed_regions: using full window update 1636x959 as auto, from 2018-11-03 15:42:37,548 process_damage_region: wid=1, adding pixel data to encode queue (1636x959 - auto), elapsed time: 857.2 ms, request time: 7.8 ms, frame delay=0ms 2018-11-03 15:42:37,611 setup_pipeline failed for (83, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)): cannot open encoding session, context is NULL 2018-11-03 15:42:37,613 setup_pipeline: trying (81, (1, 1), (1, 1), 1636, 958, video_spec(swscale), u'XRGB', (1, 1), 1636, 958, video_spec(nvenc)) 2018-11-03 15:42:37,613 packet decoding sequence 2 for window 3: 520x189 took 0.0ms 2018-11-03 15:42:37,613 make_instance() swscale - instance count=1 2018-11-03 15:42:37,614 may_recalculate(3, 98280) total 98280 pixels, scheduling recalculate work item 2018-11-03 15:42:37,614 swscale.ColorspaceConverter.init_context(1636, 958, 'BGRX', 1636, 958, u'XRGB', 60) 2018-11-03 15:42:37,615 recalculate_delays() wids=(3,), focus=1, maximized=[], fullscreen=[] 2018-11-03 15:42:37,616 source format=CSCPixelFormat(GBRP) 2018-11-03 15:42:37,618 calculate_batch_delay for wid=3 current batch delay=30, last update 1 seconds ago 2018-11-03 15:42:37,619 destination format=CSCPixelFormat(GBRP) 2018-11-03 15:42:37,620 calculate_batch_delay for wid=3, skipping - only 1 events since the last update 2018-11-03 15:42:37,622 sws context=0x7ff0612912c0 2018-11-03 15:42:37,624 get_target_quality: target=2% (window 520x189) pctpixdamaged=45%, dpc={1: 0, 2: 45105, 3: 0, 4: 0, 5: 0, 6: 294840, 7: 0, 8: 0, 9: 0, 10: 0} 2018-11-03 15:42:37,626 setup_pipeline: csc=swscale(BGRX 1636x958 - XRGB 1636x958), info={u'dst_bytes_per_pixel': 4, u'src_height': 958, u'src_width': 1636, u'dst_height': 958, u'max-size': (16384, 16384), u'dst_width': 1636, u'version': (5, 1, 100), u'flags': [1], u'src_format': 'BGRX', u'formats': [u'RGB', u'BGR', u'XRGB', u'BGRX', u'RGBX', u'XBGR', u'YUV420P', u'YUV422P', u'YUV444P', u'GBRP'], u'frames': 0, u'dst_format': u'XRGB'}, setup took 12.84ms 2018-11-03 15:42:37,627 update_quality() wid=3, info={'batch-delay-ratio': 322, 'backlog_factor': (0, 0, 98280, 0, 100), 'congestion-value': 886, 'latency': 20, 'compression-ratio': (122, 122, 0), 'min_quality': 30, 'max-quality-range': 22, 'min_speed': 30}, quality=32 2018-11-03 15:42:37,629 make_instance() nvenc - instance count=0 2018-11-03 15:42:37,630 update_speed() wid=3, info={'congestion-value': 886, 'min_speed': 30, 'damage_latency': {'abs_factor': 3037, 'rel_factor': 521, 'avg': 4287, 'ref': 35, 'target': 246}, 'frame_delay': 246, 'mpixels': 0, 'low_limit': 98280, 'decoding_latency': {'factor': 0, 'avg': 6142499, 'min': 1000000}, 'max-speed-range': 22}, speed=30 2018-11-03 15:42:37,631 will test 1 device from failing list: [0] 2018-11-03 15:42:37,632 update_encoding_options(False) wid=3, want_alpha=False, speed=30, quality=32, bandwidth-limit=524288, lossless threshold: 66 / 14, rgb auto threshold=1024 (min=1024, max=1024), get_best_encoding= 2018-11-03 15:42:37,634 select_device: testing device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:37,635 get_video_pipeline_options(['h264', 'h265'], 520, 189, 'BGRX', False) using cached values from 948ms ago 2018-11-03 15:42:37,799 created context= 2018-11-03 15:42:37,800 check_pipeline_score(False) best=(84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 520, 188, video_spec(nvenc)) 2018-11-03 15:42:37,800 memory: free=5658MB, total=6077MB 2018-11-03 15:42:37,863 selected device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:38,040 get_CUDA_function(0, ARGB_to_NV12) module= 2018-11-03 15:42:38,041 loading function ARGB_to_NV12 from pre-compiled cubin took 1.2ms 2018-11-03 15:42:38,124 setup_pipeline failed for (81, (1, 1), (1, 1), 1636, 958, video_spec(swscale), u'XRGB', (1, 1), 1636, 958, video_spec(nvenc)): cannot open encoding session, context is NULL 2018-11-03 15:42:38,124 swscale.ColorspaceConverter.clean() sws context=0x7ff0612912c0 2018-11-03 15:42:38,125 setup_pipeline: trying (77, (1, 1), (1, 1), 1636, 958, video_spec(swscale), u'XRGB', (1, 1), 1636, 958, video_spec(nvenc)) 2018-11-03 15:42:38,127 make_instance() swscale - instance count=2 2018-11-03 15:42:38,129 swscale.ColorspaceConverter.init_context(1636, 958, 'BGRX', 1636, 958, u'XRGB', 60) 2018-11-03 15:42:38,129 source format=CSCPixelFormat(GBRP) 2018-11-03 15:42:38,130 destination format=CSCPixelFormat(GBRP) 2018-11-03 15:42:38,133 sws context=0x7ff0612c2e00 2018-11-03 15:42:38,134 setup_pipeline: csc=swscale(BGRX 1636x958 - XRGB 1636x958), info={u'dst_bytes_per_pixel': 4, u'src_height': 958, u'src_width': 1636, u'dst_height': 958, u'max-size': (16384, 16384), u'dst_width': 1636, u'version': (5, 1, 100), u'flags': [1], u'src_format': 'BGRX', u'formats': [u'RGB', u'BGR', u'XRGB', u'BGRX', u'RGBX', u'XBGR', u'YUV420P', u'YUV422P', u'YUV444P', u'GBRP'], u'frames': 0, u'dst_format': u'XRGB'}, setup took 7.42ms 2018-11-03 15:42:38,135 make_instance() nvenc - instance count=0 2018-11-03 15:42:38,136 will test 1 device from failing list: [0] 2018-11-03 15:42:38,137 select_device: testing device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:38,332 created context= 2018-11-03 15:42:38,333 memory: free=5652MB, total=6077MB 2018-11-03 15:42:38,396 selected device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:38,565 get_CUDA_function(0, ARGB_to_NV12) module= 2018-11-03 15:42:38,567 loading function ARGB_to_NV12 from pre-compiled cubin took 2.0ms 2018-11-03 15:42:38,652 setup_pipeline failed for (77, (1, 1), (1, 1), 1636, 958, video_spec(swscale), u'XRGB', (1, 1), 1636, 958, video_spec(nvenc)): cannot open encoding session, context is NULL 2018-11-03 15:42:38,652 send_delayed for wid 1, delaying again because too many pixels are waiting to be encoded: 1568924 2018-11-03 15:42:38,653 swscale.ColorspaceConverter.clean() sws context=0x7ff0612c2e00 2018-11-03 15:42:38,653 send_delayed for wid 1, delaying again because too many pixels are waiting to be encoded: 1568924 2018-11-03 15:42:38,653 setup_pipeline(..) failed! took 1960.14ms 2018-11-03 15:42:38,655 Error: failed to setup a video pipeline for BGRX at 1636x959 2018-11-03 15:42:38,657 tried the following options 2018-11-03 15:42:38,657 (83, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)) 2018-11-03 15:42:38,658 (83, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)) 2018-11-03 15:42:38,658 (81, (1, 1), (1, 1), 1636, 958, video_spec(swscale), u'XRGB', (1, 1), 1636, 958, video_spec(nvenc)) 2018-11-03 15:42:38,658 (77, (1, 1), (1, 1), 1636, 958, video_spec(swscale), u'XRGB', (1, 1), 1636, 958, video_spec(nvenc)) 2018-11-03 15:42:38,699 Error: failed to setup a video pipeline for auto encoding with source format BGRX 2018-11-03 15:42:38,699 all encoders: 2018-11-03 15:42:38,700 supported CSC modes: 2018-11-03 15:42:38,701 supported encoders: 2018-11-03 15:42:38,701 encoders CSC modes: 2018-11-03 15:42:38,701 using non-video fallback encoding 2018-11-03 15:42:38,746 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 520, 189), damage data: (3, 0, 0, 520, 189, 'auto') 2018-11-03 15:42:38,749 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 520, 189), {}) 2018-11-03 15:42:38,752 check_pipeline('auto', 520, 189, 'BGRX') setting up a new pipeline as check failed - encodings=['h264', 'h265'] 2018-11-03 15:42:38,752 get_video_pipeline_options(['h264', 'h265'], 520, 189, 'BGRX', False) last params=(['h264', 'h265'], 520, 189, 'BGRX'), full_csc_modes={'mpeg1': ('YUV420P',), 'mpeg2': ('YUV420P',), 'mpeg4': ('YUV420P',), 'h264': ('ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'h265': ('BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'vp9': ('YUV420P', 'YUV444P'), 'vp8': ('YUV420P',), 'webp': ('BGRA', 'BGRX', 'RGBA', 'RGBX')} 2018-11-03 15:42:38,753 get_video_pipeline_options(['h264', 'h265'], 520, 189, 'BGRX') speed: 30 (min 30), quality: 32 (min 30) 2018-11-03 15:42:38,754 add_scores(direct (no csc), None, BGRX) 2018-11-03 15:42:38,755 calculate_scaling(520, 189, 4096, 4096)=(1, 1) (q=32, s=30, scaling_control=None) 2018-11-03 15:42:38,755 get_score(BGRX , None , video_spec(nvenc) , 520, 189) quality: 32, speed: 92, setup: 100 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=520x188, sizescore=100, client score delta= 0, cpu score= 0, gpu score=100, score=76 2018-11-03 15:42:38,756 add_scores(via XBGR (XBGR), video_spec(swscale), XBGR) 2018-11-03 15:42:38,756 add_scores(via YUV422P (YUV422P), video_spec(swscale), YUV422P) 2018-11-03 15:42:38,757 add_scores(via RGB (RGB), video_spec(swscale), RGB) 2018-11-03 15:42:38,758 add_scores(via RGBX (RGBX), video_spec(swscale), RGBX) 2018-11-03 15:42:38,759 add_scores(via GBRP (GBRP), video_spec(swscale), GBRP) 2018-11-03 15:42:38,760 add_scores(via BGR (BGR), video_spec(swscale), BGR) 2018-11-03 15:42:38,761 add_scores(via YUV420P (YUV420P), video_spec(swscale), YUV420P) 2018-11-03 15:42:38,761 add_scores(via XRGB (XRGB), video_spec(swscale), XRGB) 2018-11-03 15:42:38,761 calculate_scaling(520, 189, 4096, 4096)=(1, 1) (q=32, s=30, scaling_control=None) 2018-11-03 15:42:38,762 get_score(XRGB , video_spec(swscale) , video_spec(nvenc) , 520, 189) quality: 57, speed: 83, setup: 64 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=520x188, sizescore=100, client score delta= 0, cpu score= 0, gpu score=100, score=76 2018-11-03 15:42:38,762 add_scores(via YUV444P (YUV444P), video_spec(swscale), YUV444P) 2018-11-03 15:42:38,762 add_scores(direct (no csc), None, BGRX) 2018-11-03 15:42:38,762 calculate_scaling(520, 189, 8192, 8192)=(1, 1) (q=32, s=30, scaling_control=None) 2018-11-03 15:42:38,763 get_score(BGRX , None , video_spec(nvenc) , 520, 189) quality: 72, speed: 92, setup: 100 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=520x188, sizescore=100, client score delta= 0, cpu score= 0, gpu score=100, score=84 2018-11-03 15:42:38,764 add_scores(via XBGR (XBGR), video_spec(swscale), XBGR) 2018-11-03 15:42:38,764 add_scores(via YUV422P (YUV422P), video_spec(swscale), YUV422P) 2018-11-03 15:42:38,764 add_scores(via RGB (RGB), video_spec(swscale), RGB) 2018-11-03 15:42:38,764 add_scores(via RGBX (RGBX), video_spec(swscale), RGBX) 2018-11-03 15:42:38,765 add_scores(via GBRP (GBRP), video_spec(swscale), GBRP) 2018-11-03 15:42:38,765 add_scores(via BGR (BGR), video_spec(swscale), BGR) 2018-11-03 15:42:38,765 add_scores(via YUV420P (YUV420P), video_spec(swscale), YUV420P) 2018-11-03 15:42:38,765 add_scores(via XRGB (XRGB), video_spec(swscale), XRGB) 2018-11-03 15:42:38,766 calculate_scaling(520, 189, 8192, 8192)=(1, 1) (q=32, s=30, scaling_control=None) 2018-11-03 15:42:38,768 get_score(XRGB , video_spec(swscale) , video_spec(nvenc) , 520, 189) quality: 77, speed: 83, setup: 64 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=520x188, sizescore=100, client score delta= 0, cpu score= 0, gpu score=100, score=80 2018-11-03 15:42:38,768 add_scores(via YUV444P (YUV444P), video_spec(swscale), YUV444P) 2018-11-03 15:42:38,769 get_video_pipeline_options(['h264', 'h265'], 520, 189, 'BGRX') scores=[(84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 520, 188, video_spec(nvenc)), (80, (1, 1), (1, 1), 520, 188, video_spec(swscale), u'XRGB', (1, 1), 520, 188, video_spec(nvenc)), (76, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 520, 188, video_spec(nvenc)), (76, (1, 1), (1, 1), 520, 188, video_spec(swscale), u'XRGB', (1, 1), 520, 188, video_spec(nvenc))] 2018-11-03 15:42:38,769 setup_pipeline([(84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 520, 188, video_spec(nvenc)), (80, (1, 1), (1, 1), 520, 188, video_spec(swscale), u'XRGB', (1, 1), 520, 188, video_spec(nvenc)), (76, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 520, 188, video_spec(nvenc)), (76, (1, 1), (1, 1), 520, 188, video_spec(swscale), u'XRGB', (1, 1), 520, 188, video_spec(nvenc))], 520, 189, 'BGRX') 2018-11-03 15:42:38,774 setup_pipeline: trying (84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 520, 188, video_spec(nvenc)) 2018-11-03 15:42:38,775 make_instance() nvenc - instance count=0 2018-11-03 15:42:38,776 will test 1 device from failing list: [0] 2018-11-03 15:42:38,776 select_device: testing device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:38,956 created context= 2018-11-03 15:42:38,957 memory: free=5729MB, total=6077MB 2018-11-03 15:42:39,017 selected device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:39,228 setup_pipeline failed for (84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 520, 188, video_spec(nvenc)): cannot open encoding session, context is NULL 2018-11-03 15:42:39,229 setup_pipeline: trying (80, (1, 1), (1, 1), 520, 188, video_spec(swscale), u'XRGB', (1, 1), 520, 188, video_spec(nvenc)) 2018-11-03 15:42:39,230 make_instance() swscale - instance count=2 2018-11-03 15:42:39,230 swscale.ColorspaceConverter.init_context(520, 188, 'BGRX', 520, 188, u'XRGB', 30) 2018-11-03 15:42:39,230 source format=CSCPixelFormat(GBRP) 2018-11-03 15:42:39,230 destination format=CSCPixelFormat(GBRP) 2018-11-03 15:42:39,231 sws context=0x7ff0618fd440 2018-11-03 15:42:39,231 setup_pipeline: csc=swscale(BGRX 520x188 - XRGB 520x188), info={u'dst_bytes_per_pixel': 4, u'src_height': 188, u'src_width': 520, u'dst_height': 188, u'max-size': (16384, 16384), u'dst_width': 520, u'version': (5, 1, 100), u'flags': [1, 1], u'src_format': 'BGRX', u'formats': [u'RGB', u'BGR', u'XRGB', u'BGRX', u'RGBX', u'XBGR', u'YUV420P', u'YUV422P', u'YUV444P', u'GBRP'], u'frames': 0, u'dst_format': u'XRGB'}, setup took 1.69ms 2018-11-03 15:42:39,232 make_instance() nvenc - instance count=0 2018-11-03 15:42:39,232 will test 1 device from failing list: [0] 2018-11-03 15:42:39,232 select_device: testing device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:39,393 created context= 2018-11-03 15:42:39,393 memory: free=5664MB, total=6077MB 2018-11-03 15:42:39,427 selected device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:39,614 get_CUDA_function(0, ARGB_to_NV12) module= 2018-11-03 15:42:39,615 loading function ARGB_to_NV12 from pre-compiled cubin took 0.9ms 2018-11-03 15:42:39,690 setup_pipeline failed for (80, (1, 1), (1, 1), 520, 188, video_spec(swscale), u'XRGB', (1, 1), 520, 188, video_spec(nvenc)): cannot open encoding session, context is NULL 2018-11-03 15:42:39,692 swscale.ColorspaceConverter.clean() sws context=0x7ff0618fd440 2018-11-03 15:42:39,693 setup_pipeline: trying (76, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 520, 188, video_spec(nvenc)) 2018-11-03 15:42:39,695 make_instance() nvenc - instance count=2 2018-11-03 15:42:39,696 will test 1 device from failing list: [0] 2018-11-03 15:42:39,698 select_device: testing device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:39,903 created context= 2018-11-03 15:42:39,904 memory: free=5662MB, total=6077MB 2018-11-03 15:42:39,965 selected device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:40,165 setup_pipeline failed for (76, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 520, 188, video_spec(nvenc)): cannot open encoding session, context is NULL 2018-11-03 15:42:40,167 setup_pipeline: trying (76, (1, 1), (1, 1), 520, 188, video_spec(swscale), u'XRGB', (1, 1), 520, 188, video_spec(nvenc)) 2018-11-03 15:42:40,170 make_instance() swscale - instance count=2 2018-11-03 15:42:40,170 swscale.ColorspaceConverter.init_context(520, 188, 'BGRX', 520, 188, u'XRGB', 30) 2018-11-03 15:42:40,171 source format=CSCPixelFormat(GBRP) 2018-11-03 15:42:40,171 destination format=CSCPixelFormat(GBRP) 2018-11-03 15:42:40,173 sws context=0x7ff061f1b480 2018-11-03 15:42:40,174 setup_pipeline: csc=swscale(BGRX 520x188 - XRGB 520x188), info={u'dst_bytes_per_pixel': 4, u'src_height': 188, u'src_width': 520, u'dst_height': 188, u'max-size': (16384, 16384), u'dst_width': 520, u'version': (5, 1, 100), u'flags': [1, 1], u'src_format': 'BGRX', u'formats': [u'RGB', u'BGR', u'XRGB', u'BGRX', u'RGBX', u'XBGR', u'YUV420P', u'YUV422P', u'YUV444P', u'GBRP'], u'frames': 0, u'dst_format': u'XRGB'}, setup took 4.17ms 2018-11-03 15:42:40,174 make_instance() nvenc - instance count=0 2018-11-03 15:42:40,176 will test 1 device from failing list: [0] 2018-11-03 15:42:40,176 send_delayed for wid 1, delaying again because of backlog: 1 packets, batch delay is 75, elapsed time is 1589ms 2018-11-03 15:42:40,176 select_device: testing device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:40,177 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280 2018-11-03 15:42:40,387 created context= 2018-11-03 15:42:40,388 send_delayed_regions: using full window update 1636x959 as auto, from 2018-11-03 15:42:40,389 memory: free=5664MB, total=6077MB 2018-11-03 15:42:40,398 process_damage_region: wid=1, adding pixel data to encode queue (1636x959 - auto), elapsed time: 1811.1 ms, request time: 8.1 ms, frame delay=0ms 2018-11-03 15:42:40,463 selected device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:40,464 send_delayed_regions: bytes_cost=1569948, bytes_threshold=941354, pixel_count=1568924 2018-11-03 15:42:40,679 get_CUDA_function(0, ARGB_to_NV12) module= 2018-11-03 15:42:40,681 nonvideo(100, png not a supported video encoding) 2018-11-03 15:42:40,683 loading function ARGB_to_NV12 from pre-compiled cubin took 3.7ms 2018-11-03 15:42:40,683 send_delayed_regions: using full window update 1636x959 as webp, from 2018-11-03 15:42:40,688 process_damage_region: wid=1, adding pixel data to encode queue (1636x959 - webp), elapsed time: 223.8 ms, request time: 0.3 ms, frame delay=0ms 2018-11-03 15:42:40,762 setup_pipeline failed for (76, (1, 1), (1, 1), 520, 188, video_spec(swscale), u'XRGB', (1, 1), 520, 188, video_spec(nvenc)): cannot open encoding session, context is NULL 2018-11-03 15:42:40,763 swscale.ColorspaceConverter.clean() sws context=0x7ff061f1b480 2018-11-03 15:42:40,764 setup_pipeline(..) failed! took 1995.48ms 2018-11-03 15:42:40,764 Error: failed to setup a video pipeline for BGRX at 520x189 2018-11-03 15:42:40,765 tried the following options 2018-11-03 15:42:40,766 (84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 520, 188, video_spec(nvenc)) 2018-11-03 15:42:40,767 (80, (1, 1), (1, 1), 520, 188, video_spec(swscale), u'XRGB', (1, 1), 520, 188, video_spec(nvenc)) 2018-11-03 15:42:40,767 (76, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 520, 188, video_spec(nvenc)) 2018-11-03 15:42:40,768 packet decoding sequence 2 for window 1: 1636x959 took 0.0ms 2018-11-03 15:42:40,768 (76, (1, 1), (1, 1), 520, 188, video_spec(swscale), u'XRGB', (1, 1), 520, 188, video_spec(nvenc)) 2018-11-03 15:42:40,769 may_recalculate(1, 1568924) total 1568924 pixels, scheduling recalculate work item 2018-11-03 15:42:40,825 Error: failed to setup a video pipeline for auto encoding with source format BGRX 2018-11-03 15:42:40,827 recalculate_delays() wids=(1,), focus=1, maximized=[], fullscreen=[] 2018-11-03 15:42:40,831 all encoders: 2018-11-03 15:42:40,832 calculate_batch_delay for wid=1 current batch delay=75, last update 7 seconds ago 2018-11-03 15:42:40,833 supported CSC modes: 2018-11-03 15:42:40,834 calculate_batch_delay for wid=1, skipping - only 1 events since the last update 2018-11-03 15:42:40,834 supported encoders: 2018-11-03 15:42:40,836 get_target_quality: target=46% (window 1636x959) pctpixdamaged=330%, dpc={1: 1295280, 2: 0, 3: 1295280, 4: 0, 5: 2590560, 6: 0, 7: 0, 8: 0, 9: 0, 10: 4706772} 2018-11-03 15:42:40,836 encoders CSC modes: 2018-11-03 15:42:40,837 update_quality() wid=1, info={'batch-delay-ratio': 106, 'backlog_factor': (0, 0, 1568924, 0, 100), 'congestion-value': 887, 'latency': 392, 'compression-ratio': (135, 104, 8), 'min_quality': 30, 'max-quality-range': 70, 'min_speed': 30}, quality=33 2018-11-03 15:42:40,838 using non-video fallback encoding 2018-11-03 15:42:40,840 update_speed() wid=1, info={'congestion-value': 887, 'min_speed': 30, 'damage_latency': {'abs_factor': 3006, 'rel_factor': 207, 'avg': 5466, 'ref': 45, 'target': 791}, 'frame_delay': 791, 'mpixels': 1, 'low_limit': 1568924, 'decoding_latency': {'factor': 0, 'avg': 50557677, 'min': 1000000}, 'max-speed-range': 70}, speed=32 2018-11-03 15:42:40,841 update_encoding_options(False) wid=1, want_alpha=False, speed=32, quality=33, bandwidth-limit=4967610, lossless threshold: 66 / 14, rgb auto threshold=1024 (min=1024, max=4967), get_best_encoding= 2018-11-03 15:42:40,842 get_video_pipeline_options(['h264', 'h265'], 1636, 958, 'BGRX', False) last params=(['h264', 'h265'], 1636, 958, 'BGRX'), full_csc_modes={'mpeg1': ('YUV420P',), 'mpeg2': ('YUV420P',), 'mpeg4': ('YUV420P',), 'h264': ('ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'h265': ('BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'vp9': ('YUV420P', 'YUV444P'), 'vp8': ('YUV420P',), 'webp': ('BGRA', 'BGRX', 'RGBA', 'RGBX')} 2018-11-03 15:42:40,843 get_video_pipeline_options(['h264', 'h265'], 1636, 958, 'BGRX') speed: 32 (min 30), quality: 33 (min 30) 2018-11-03 15:42:40,843 add_scores(direct (no csc), None, BGRX) 2018-11-03 15:42:40,844 calculate_scaling(1636, 958, 4096, 4096)=(1, 1) (q=33, s=32, scaling_control=None) 2018-11-03 15:42:40,845 get_score(BGRX , None , video_spec(nvenc) , 1636, 958) quality: 33, speed: 92, setup: 100 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=1636x958, sizescore= 96, client score delta= 0, cpu score= 0, gpu score=100, score=76 2018-11-03 15:42:40,847 add_scores(via XBGR (XBGR), video_spec(swscale), XBGR) 2018-11-03 15:42:40,849 add_scores(via YUV422P (YUV422P), video_spec(swscale), YUV422P) 2018-11-03 15:42:40,849 add_scores(via RGB (RGB), video_spec(swscale), RGB) 2018-11-03 15:42:40,850 add_scores(via RGBX (RGBX), video_spec(swscale), RGBX) 2018-11-03 15:42:40,851 add_scores(via GBRP (GBRP), video_spec(swscale), GBRP) 2018-11-03 15:42:40,852 add_scores(via BGR (BGR), video_spec(swscale), BGR) 2018-11-03 15:42:40,853 make_data_packet: image=XShmImageWrapper(BGRX: 2, 20, 61, 23), damage data: (2, 2, 20, 61, 23, 'rgb24') 2018-11-03 15:42:40,854 add_scores(via YUV420P (YUV420P), video_spec(swscale), YUV420P) 2018-11-03 15:42:40,855 rgb_encode using level=1 for 5612 pixels at 34 speed, lz4 compressed 61x23 in rgb24/BGRX: 5612 bytes down to 36 2018-11-03 15:42:40,858 add_scores(via XRGB (XRGB), video_spec(swscale), XRGB) 2018-11-03 15:42:40,860 calculate_scaling(1636, 958, 4096, 4096)=(1, 1) (q=33, s=32, scaling_control=None) 2018-11-03 15:42:40,862 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (1, 0, 0, 1636, 959, 'webp') 2018-11-03 15:42:40,864 get_score(XRGB , video_spec(swscale) , video_spec(nvenc) , 1636, 958) quality: 58, speed: 82, setup: 64 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=1636x958, sizescore= 96, client score delta= 0, cpu score= 0, gpu score=100, score=75 2018-11-03 15:42:40,933 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (1, 0, 0, 1636, 959, 'auto') 2018-11-03 15:42:40,934 add_scores(via YUV444P (YUV444P), video_spec(swscale), YUV444P) 2018-11-03 15:42:40,935 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) 2018-11-03 15:42:40,936 add_scores(direct (no csc), None, BGRX) 2018-11-03 15:42:40,938 check_pipeline('auto', 1636, 959, 'BGRX') setting up a new pipeline as check failed - encodings=['h264', 'h265'] 2018-11-03 15:42:40,939 calculate_scaling(1636, 958, 8192, 8192)=(1, 1) (q=33, s=32, scaling_control=None) 2018-11-03 15:42:40,940 get_video_pipeline_options(['h264', 'h265'], 1636, 958, 'BGRX', False) last params=(['h264', 'h265'], 1636, 958, 'BGRX'), full_csc_modes={'mpeg1': ('YUV420P',), 'mpeg2': ('YUV420P',), 'mpeg4': ('YUV420P',), 'h264': ('ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'h265': ('BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'vp9': ('YUV420P', 'YUV444P'), 'vp8': ('YUV420P',), 'webp': ('BGRA', 'BGRX', 'RGBA', 'RGBX')} 2018-11-03 15:42:40,942 get_score(BGRX , None , video_spec(nvenc) , 1636, 958) quality: 73, speed: 92, setup: 100 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=1636x958, sizescore= 96, client score delta= 0, cpu score= 0, gpu score=100, score=84 2018-11-03 15:42:40,943 get_video_pipeline_options(['h264', 'h265'], 1636, 958, 'BGRX') speed: 32 (min 30), quality: 33 (min 30) 2018-11-03 15:42:40,944 add_scores(via XBGR (XBGR), video_spec(swscale), XBGR) 2018-11-03 15:42:40,944 add_scores(direct (no csc), None, BGRX) 2018-11-03 15:42:40,945 add_scores(via YUV422P (YUV422P), video_spec(swscale), YUV422P) 2018-11-03 15:42:40,946 calculate_scaling(1636, 958, 4096, 4096)=(1, 1) (q=33, s=32, scaling_control=None) 2018-11-03 15:42:40,947 add_scores(via RGB (RGB), video_spec(swscale), RGB) 2018-11-03 15:42:40,949 get_score(BGRX , None , video_spec(nvenc) , 1636, 958) quality: 33, speed: 92, setup: 100 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=1636x958, sizescore= 96, client score delta= 0, cpu score= 0, gpu score=100, score=76 2018-11-03 15:42:40,951 add_scores(via RGBX (RGBX), video_spec(swscale), RGBX) 2018-11-03 15:42:40,952 add_scores(via XBGR (XBGR), video_spec(swscale), XBGR) 2018-11-03 15:42:40,954 add_scores(via GBRP (GBRP), video_spec(swscale), GBRP) 2018-11-03 15:42:40,954 add_scores(via YUV422P (YUV422P), video_spec(swscale), YUV422P) 2018-11-03 15:42:40,955 add_scores(via BGR (BGR), video_spec(swscale), BGR) 2018-11-03 15:42:40,955 add_scores(via RGB (RGB), video_spec(swscale), RGB) 2018-11-03 15:42:40,955 add_scores(via YUV420P (YUV420P), video_spec(swscale), YUV420P) 2018-11-03 15:42:40,956 add_scores(via RGBX (RGBX), video_spec(swscale), RGBX) 2018-11-03 15:42:40,957 add_scores(via XRGB (XRGB), video_spec(swscale), XRGB) 2018-11-03 15:42:40,958 add_scores(via GBRP (GBRP), video_spec(swscale), GBRP) 2018-11-03 15:42:40,959 calculate_scaling(1636, 958, 8192, 8192)=(1, 1) (q=33, s=32, scaling_control=None) 2018-11-03 15:42:40,960 add_scores(via BGR (BGR), video_spec(swscale), BGR) 2018-11-03 15:42:40,961 get_score(XRGB , video_spec(swscale) , video_spec(nvenc) , 1636, 958) quality: 78, speed: 82, setup: 64 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=1636x958, sizescore= 96, client score delta= 0, cpu score= 0, gpu score=100, score=79 2018-11-03 15:42:40,962 add_scores(via YUV420P (YUV420P), video_spec(swscale), YUV420P) 2018-11-03 15:42:40,965 add_scores(via XRGB (XRGB), video_spec(swscale), XRGB) 2018-11-03 15:42:40,965 add_scores(via YUV444P (YUV444P), video_spec(swscale), YUV444P) 2018-11-03 15:42:40,966 calculate_scaling(1636, 958, 4096, 4096)=(1, 1) (q=33, s=32, scaling_control=None) 2018-11-03 15:42:40,967 get_video_pipeline_options(['h264', 'h265'], 1636, 958, 'BGRX') scores=[(84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)), (79, (1, 1), (1, 1), 1636, 958, video_spec(swscale), u'XRGB', (1, 1), 1636, 958, video_spec(nvenc)), (76, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)), (75, (1, 1), (1, 1), 1636, 958, video_spec(swscale), u'XRGB', (1, 1), 1636, 958, video_spec(nvenc))] 2018-11-03 15:42:40,968 get_score(XRGB , video_spec(swscale) , video_spec(nvenc) , 1636, 958) quality: 58, speed: 82, setup: 64 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=1636x958, sizescore= 96, client score delta= 0, cpu score= 0, gpu score=100, score=75 2018-11-03 15:42:40,970 add_scores(via YUV444P (YUV444P), video_spec(swscale), YUV444P) 2018-11-03 15:42:40,970 check_pipeline_score(False) best=(84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)) 2018-11-03 15:42:40,971 add_scores(direct (no csc), None, BGRX) 2018-11-03 15:42:40,973 calculate_scaling(1636, 958, 8192, 8192)=(1, 1) (q=33, s=32, scaling_control=None) 2018-11-03 15:42:40,975 get_score(BGRX , None , video_spec(nvenc) , 1636, 958) quality: 73, speed: 92, setup: 100 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=1636x958, sizescore= 96, client score delta= 0, cpu score= 0, gpu score=100, score=84 2018-11-03 15:42:40,978 add_scores(via XBGR (XBGR), video_spec(swscale), XBGR) 2018-11-03 15:42:40,979 add_scores(via YUV422P (YUV422P), video_spec(swscale), YUV422P) 2018-11-03 15:42:40,980 add_scores(via RGB (RGB), video_spec(swscale), RGB) 2018-11-03 15:42:40,982 add_scores(via RGBX (RGBX), video_spec(swscale), RGBX) 2018-11-03 15:42:40,983 add_scores(via GBRP (GBRP), video_spec(swscale), GBRP) 2018-11-03 15:42:40,984 add_scores(via BGR (BGR), video_spec(swscale), BGR) 2018-11-03 15:42:40,985 add_scores(via YUV420P (YUV420P), video_spec(swscale), YUV420P) 2018-11-03 15:42:40,985 add_scores(via XRGB (XRGB), video_spec(swscale), XRGB) 2018-11-03 15:42:40,987 calculate_scaling(1636, 958, 8192, 8192)=(1, 1) (q=33, s=32, scaling_control=None) 2018-11-03 15:42:40,988 get_score(XRGB , video_spec(swscale) , video_spec(nvenc) , 1636, 958) quality: 78, speed: 82, setup: 64 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=1636x958, sizescore= 96, client score delta= 0, cpu score= 0, gpu score=100, score=79 2018-11-03 15:42:40,989 add_scores(via YUV444P (YUV444P), video_spec(swscale), YUV444P) 2018-11-03 15:42:40,991 get_video_pipeline_options(['h264', 'h265'], 1636, 958, 'BGRX') scores=[(84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)), (79, (1, 1), (1, 1), 1636, 958, video_spec(swscale), u'XRGB', (1, 1), 1636, 958, video_spec(nvenc)), (76, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)), (75, (1, 1), (1, 1), 1636, 958, video_spec(swscale), u'XRGB', (1, 1), 1636, 958, video_spec(nvenc))] 2018-11-03 15:42:40,992 setup_pipeline([(84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)), (79, (1, 1), (1, 1), 1636, 958, video_spec(swscale), u'XRGB', (1, 1), 1636, 958, video_spec(nvenc)), (76, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)), (75, (1, 1), (1, 1), 1636, 958, video_spec(swscale), u'XRGB', (1, 1), 1636, 958, video_spec(nvenc))], 1636, 959, 'BGRX') 2018-11-03 15:42:40,993 setup_pipeline: trying (84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)) 2018-11-03 15:42:40,994 make_instance() nvenc - instance count=0 2018-11-03 15:42:40,995 will test 1 device from failing list: [0] 2018-11-03 15:42:40,996 select_device: testing device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:41,154 created context= 2018-11-03 15:42:41,155 memory: free=5729MB, total=6077MB 2018-11-03 15:42:41,202 selected device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:41,411 setup_pipeline failed for (84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)): cannot open encoding session, context is NULL 2018-11-03 15:42:41,412 setup_pipeline: trying (79, (1, 1), (1, 1), 1636, 958, video_spec(swscale), u'XRGB', (1, 1), 1636, 958, video_spec(nvenc)) 2018-11-03 15:42:41,414 make_instance() swscale - instance count=3 2018-11-03 15:42:41,414 swscale.ColorspaceConverter.init_context(1636, 958, 'BGRX', 1636, 958, u'XRGB', 32) 2018-11-03 15:42:41,415 source format=CSCPixelFormat(GBRP) 2018-11-03 15:42:41,416 destination format=CSCPixelFormat(GBRP) 2018-11-03 15:42:41,417 sws context=0x7ff061f0db80 2018-11-03 15:42:41,418 setup_pipeline: csc=swscale(BGRX 1636x958 - XRGB 1636x958), info={u'dst_bytes_per_pixel': 4, u'src_height': 958, u'src_width': 1636, u'dst_height': 958, u'max-size': (16384, 16384), u'dst_width': 1636, u'version': (5, 1, 100), u'flags': [1, 1], u'src_format': 'BGRX', u'formats': [u'RGB', u'BGR', u'XRGB', u'BGRX', u'RGBX', u'XBGR', u'YUV420P', u'YUV422P', u'YUV444P', u'GBRP'], u'frames': 0, u'dst_format': u'XRGB'}, setup took 5.25ms 2018-11-03 15:42:41,419 make_instance() nvenc - instance count=0 2018-11-03 15:42:41,420 will test 1 device from failing list: [0] 2018-11-03 15:42:41,421 select_device: testing device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:41,587 created context= 2018-11-03 15:42:41,587 memory: free=5658MB, total=6077MB 2018-11-03 15:42:41,638 selected device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:41,818 get_CUDA_function(0, ARGB_to_NV12) module= 2018-11-03 15:42:41,821 loading function ARGB_to_NV12 from pre-compiled cubin took 2.7ms 2018-11-03 15:42:41,914 setup_pipeline failed for (79, (1, 1), (1, 1), 1636, 958, video_spec(swscale), u'XRGB', (1, 1), 1636, 958, video_spec(nvenc)): cannot open encoding session, context is NULL 2018-11-03 15:42:41,916 swscale.ColorspaceConverter.clean() sws context=0x7ff061f0db80 2018-11-03 15:42:41,916 setup_pipeline: trying (76, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)) 2018-11-03 15:42:41,918 make_instance() nvenc - instance count=2 2018-11-03 15:42:41,919 will test 1 device from failing list: [0] 2018-11-03 15:42:41,920 select_device: testing device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:42,119 created context= 2018-11-03 15:42:42,120 memory: free=5652MB, total=6077MB 2018-11-03 15:42:42,183 selected device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:42,471 setup_pipeline failed for (76, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)): cannot open encoding session, context is NULL 2018-11-03 15:42:42,473 setup_pipeline: trying (75, (1, 1), (1, 1), 1636, 958, video_spec(swscale), u'XRGB', (1, 1), 1636, 958, video_spec(nvenc)) 2018-11-03 15:42:42,474 make_instance() swscale - instance count=3 2018-11-03 15:42:42,475 swscale.ColorspaceConverter.init_context(1636, 958, 'BGRX', 1636, 958, u'XRGB', 32) 2018-11-03 15:42:42,475 source format=CSCPixelFormat(GBRP) 2018-11-03 15:42:42,477 destination format=CSCPixelFormat(GBRP) 2018-11-03 15:42:42,479 sws context=0x7ff061d27900 2018-11-03 15:42:42,480 setup_pipeline: csc=swscale(BGRX 1636x958 - XRGB 1636x958), info={u'dst_bytes_per_pixel': 4, u'src_height': 958, u'src_width': 1636, u'dst_height': 958, u'max-size': (16384, 16384), u'dst_width': 1636, u'version': (5, 1, 100), u'flags': [1, 1], u'src_format': 'BGRX', u'formats': [u'RGB', u'BGR', u'XRGB', u'BGRX', u'RGBX', u'XBGR', u'YUV420P', u'YUV422P', u'YUV444P', u'GBRP'], u'frames': 0, u'dst_format': u'XRGB'}, setup took 6.51ms 2018-11-03 15:42:42,481 make_instance() nvenc - instance count=0 2018-11-03 15:42:42,483 will test 1 device from failing list: [0] 2018-11-03 15:42:42,484 select_device: testing device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:42,486 video_encoder_timeout() will close video encoder=None 2018-11-03 15:42:42,705 created context= 2018-11-03 15:42:42,706 send_delayed for wid 1, delaying again because of backlog: 1 packets, batch delay is 75, elapsed time is 2017ms 2018-11-03 15:42:42,707 memory: free=5658MB, total=6077MB 2018-11-03 15:42:42,754 selected device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:42,983 get_CUDA_function(0, ARGB_to_NV12) module= 2018-11-03 15:42:42,986 loading function ARGB_to_NV12 from pre-compiled cubin took 2.9ms 2018-11-03 15:42:43,001 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280 2018-11-03 15:42:43,001 send_delayed_regions: using full window update 1636x959 as auto, from 2018-11-03 15:42:43,009 process_damage_region: wid=1, adding pixel data to encode queue (1636x959 - auto), elapsed time: 2320.4 ms, request time: 7.7 ms, frame delay=0ms 2018-11-03 15:42:43,073 setup_pipeline failed for (75, (1, 1), (1, 1), 1636, 958, video_spec(swscale), u'XRGB', (1, 1), 1636, 958, video_spec(nvenc)): cannot open encoding session, context is NULL 2018-11-03 15:42:43,074 swscale.ColorspaceConverter.clean() sws context=0x7ff061d27900 2018-11-03 15:42:43,075 setup_pipeline(..) failed! took 2083.20ms 2018-11-03 15:42:43,076 Error: failed to setup a video pipeline for BGRX at 1636x959 2018-11-03 15:42:43,077 tried the following options 2018-11-03 15:42:43,078 (84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)) 2018-11-03 15:42:43,078 (79, (1, 1), (1, 1), 1636, 958, video_spec(swscale), u'XRGB', (1, 1), 1636, 958, video_spec(nvenc)) 2018-11-03 15:42:43,079 (76, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)) 2018-11-03 15:42:43,080 (75, (1, 1), (1, 1), 1636, 958, video_spec(swscale), u'XRGB', (1, 1), 1636, 958, video_spec(nvenc)) 2018-11-03 15:42:43,144 Error: failed to setup a video pipeline for auto encoding with source format BGRX 2018-11-03 15:42:43,146 all encoders: 2018-11-03 15:42:43,147 supported CSC modes: 2018-11-03 15:42:43,147 supported encoders: 2018-11-03 15:42:43,148 encoders CSC modes: 2018-11-03 15:42:43,148 using non-video fallback encoding 2018-11-03 15:42:43,159 packet decoding sequence 3 for window 3: 520x189 took 0.0ms 2018-11-03 15:42:43,159 may_recalculate(3, 98280) total 98280 pixels, scheduling recalculate work item 2018-11-03 15:42:43,161 recalculate_delays() wids=(3,), focus=1, maximized=[], fullscreen=[] 2018-11-03 15:42:43,161 calculate_batch_delay for wid=3 current batch delay=30, last update 7 seconds ago 2018-11-03 15:42:43,162 packet decoding sequence 4 for window 2: 61x23 took 0.0ms 2018-11-03 15:42:43,162 calculate_batch_delay for wid=3, skipping - only 2 events since the last update 2018-11-03 15:42:43,163 get_target_quality: target=1% (window 520x189) pctpixdamaged=0%, dpc={1: 0, 2: 0, 3: 0, 4: 0, 5: 0, 6: 0, 7: 0, 8: 45105, 9: 0, 10: 0} 2018-11-03 15:42:43,164 update_quality() wid=3, info={'batch-delay-ratio': 322, 'backlog_factor': (0, 0, 98280, 0, 100), 'congestion-value': 899, 'latency': 16, 'compression-ratio': (134, 140, -2), 'min_quality': 30, 'max-quality-range': 22, 'min_speed': 30}, quality=36 2018-11-03 15:42:43,164 update_speed() wid=3, info={'congestion-value': 899, 'min_speed': 30, 'damage_latency': {'abs_factor': 4632, 'rel_factor': 1200, 'avg': 6520, 'ref': 35, 'target': 162}, 'frame_delay': 162, 'mpixels': 0, 'low_limit': 98280, 'decoding_latency': {'factor': 0, 'avg': 6142500, 'min': 1000000}, 'max-speed-range': 22}, speed=30 2018-11-03 15:42:43,165 update_encoding_options(False) wid=3, want_alpha=False, speed=30, quality=36, bandwidth-limit=524288, lossless threshold: 66 / 14, rgb auto threshold=1024 (min=1024, max=1024), get_best_encoding= 2018-11-03 15:42:43,165 get_video_pipeline_options(['h264', 'h265'], 520, 189, 'BGRX', False) last params=(['h264', 'h265'], 520, 189, 'BGRX'), full_csc_modes={'mpeg1': ('YUV420P',), 'mpeg2': ('YUV420P',), 'mpeg4': ('YUV420P',), 'h264': ('ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'h265': ('BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'vp9': ('YUV420P', 'YUV444P'), 'vp8': ('YUV420P',), 'webp': ('BGRA', 'BGRX', 'RGBA', 'RGBX')} 2018-11-03 15:42:43,167 get_video_pipeline_options(['h264', 'h265'], 520, 189, 'BGRX') speed: 30 (min 30), quality: 36 (min 30) 2018-11-03 15:42:43,167 add_scores(direct (no csc), None, BGRX) 2018-11-03 15:42:43,168 calculate_scaling(520, 189, 4096, 4096)=(1, 1) (q=36, s=30, scaling_control=None) 2018-11-03 15:42:43,168 get_score(BGRX , None , video_spec(nvenc) , 520, 189) quality: 36, speed: 92, setup: 100 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=520x188, sizescore=100, client score delta= 0, cpu score= 0, gpu score=100, score=77 2018-11-03 15:42:43,168 add_scores(via XBGR (XBGR), video_spec(swscale), XBGR) 2018-11-03 15:42:43,169 add_scores(via YUV422P (YUV422P), video_spec(swscale), YUV422P) 2018-11-03 15:42:43,169 packet decoding sequence 3 for window 1: 1636x959 took 31.0ms 2018-11-03 15:42:43,169 add_scores(via RGB (RGB), video_spec(swscale), RGB) 2018-11-03 15:42:43,169 record_latency: took 2235.3 ms round trip, 2233.8 for echo, 31.0 for decoding of 1568924 pixels, 112696 bytes sent over the network in 2204.3 ms, 2202.8 ms for echo 2018-11-03 15:42:43,170 add_scores(via RGBX (RGBX), video_spec(swscale), RGBX) 2018-11-03 15:42:43,171 may_recalculate(1, 1568924) total 1568924 pixels, scheduling recalculate work item 2018-11-03 15:42:43,171 add_scores(via GBRP (GBRP), video_spec(swscale), GBRP) 2018-11-03 15:42:43,173 add_scores(via BGR (BGR), video_spec(swscale), BGR) 2018-11-03 15:42:43,173 add_scores(via YUV420P (YUV420P), video_spec(swscale), YUV420P) 2018-11-03 15:42:43,173 add_scores(via XRGB (XRGB), video_spec(swscale), XRGB) 2018-11-03 15:42:43,175 calculate_scaling(520, 189, 4096, 4096)=(1, 1) (q=36, s=30, scaling_control=None) 2018-11-03 15:42:43,176 get_score(XRGB , video_spec(swscale) , video_spec(nvenc) , 520, 189) quality: 61, speed: 83, setup: 64 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=520x188, sizescore=100, client score delta= 0, cpu score= 0, gpu score=100, score=77 2018-11-03 15:42:43,177 add_scores(via YUV444P (YUV444P), video_spec(swscale), YUV444P) 2018-11-03 15:42:43,179 add_scores(direct (no csc), None, BGRX) 2018-11-03 15:42:43,179 calculate_scaling(520, 189, 8192, 8192)=(1, 1) (q=36, s=30, scaling_control=None) 2018-11-03 15:42:43,180 get_score(BGRX , None , video_spec(nvenc) , 520, 189) quality: 76, speed: 92, setup: 100 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=520x188, sizescore=100, client score delta= 0, cpu score= 0, gpu score=100, score=85 2018-11-03 15:42:43,181 add_scores(via XBGR (XBGR), video_spec(swscale), XBGR) 2018-11-03 15:42:43,182 add_scores(via YUV422P (YUV422P), video_spec(swscale), YUV422P) 2018-11-03 15:42:43,182 add_scores(via RGB (RGB), video_spec(swscale), RGB) 2018-11-03 15:42:43,183 add_scores(via RGBX (RGBX), video_spec(swscale), RGBX) 2018-11-03 15:42:43,184 add_scores(via GBRP (GBRP), video_spec(swscale), GBRP) 2018-11-03 15:42:43,186 add_scores(via BGR (BGR), video_spec(swscale), BGR) 2018-11-03 15:42:43,187 add_scores(via YUV420P (YUV420P), video_spec(swscale), YUV420P) 2018-11-03 15:42:43,188 add_scores(via XRGB (XRGB), video_spec(swscale), XRGB) 2018-11-03 15:42:43,191 calculate_scaling(520, 189, 8192, 8192)=(1, 1) (q=36, s=30, scaling_control=None) 2018-11-03 15:42:43,192 get_score(XRGB , video_spec(swscale) , video_spec(nvenc) , 520, 189) quality: 81, speed: 83, setup: 64 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=520x188, sizescore=100, client score delta= 0, cpu score= 0, gpu score=100, score=81 2018-11-03 15:42:43,192 add_scores(via YUV444P (YUV444P), video_spec(swscale), YUV444P) 2018-11-03 15:42:43,193 get_video_pipeline_options(['h264', 'h265'], 520, 189, 'BGRX') scores=[(85, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 520, 188, video_spec(nvenc)), (81, (1, 1), (1, 1), 520, 188, video_spec(swscale), u'XRGB', (1, 1), 520, 188, video_spec(nvenc)), (77, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 520, 188, video_spec(nvenc)), (77, (1, 1), (1, 1), 520, 188, video_spec(swscale), u'XRGB', (1, 1), 520, 188, video_spec(nvenc))] 2018-11-03 15:42:43,194 check_pipeline_score(False) best=(85, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 520, 188, video_spec(nvenc)) 2018-11-03 15:42:43,290 send_delayed for wid 1, delaying again because too many pixels are waiting to be encoded: 1568924 2018-11-03 15:42:43,300 send_delayed for wid 1, delaying again because too many pixels are waiting to be encoded: 1568924 2018-11-03 15:42:43,311 send_delayed for wid 1, delaying again because too many pixels are waiting to be encoded: 1568924 2018-11-03 15:42:43,321 send_delayed for wid 1, delaying again because too many pixels are waiting to be encoded: 1568924 2018-11-03 15:42:43,328 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 451, 134), damage data: (2, 0, 0, 451, 134, 'webp') 2018-11-03 15:42:43,343 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280 2018-11-03 15:42:43,343 send_delayed_regions: using full window update 1636x959 as auto, from 2018-11-03 15:42:43,349 process_damage_region: wid=1, adding pixel data to encode queue (1636x959 - auto), elapsed time: 99.8 ms, request time: 5.9 ms, frame delay=0ms 2018-11-03 15:42:43,349 window 1 delayed region already sent 2018-11-03 15:42:43,425 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 520, 189), damage data: (3, 0, 0, 520, 189, 'webp') 2018-11-03 15:42:43,433 send_delayed for wid 1, delaying again because of backlog: 1 packets, batch delay is 75, elapsed time is 71ms 2018-11-03 15:42:43,439 packet decoding sequence 4 for window 1: 1636x959 took 15.0ms 2018-11-03 15:42:43,439 record_latency: took 110.8 ms round trip, 102.9 for echo, 15.0 for decoding of 1568924 pixels, 254146 bytes sent over the network in 95.8 ms, 87.9 ms for echo 2018-11-03 15:42:43,439 packet decoding sequence 5 for window 2: 451x134 took 16.0ms 2018-11-03 15:42:43,439 record_latency: took 103.1 ms round trip, 102.9 for echo, 16.0 for decoding of 60434 pixels, 13194 bytes sent over the network in 87.1 ms, 86.9 ms for echo 2018-11-03 15:42:43,439 may_recalculate(2, 60434) total 61837 pixels, scheduling recalculate work item 2018-11-03 15:42:43,443 send_delayed for wid 1, batch delay is 75ms, elapsed time is 81ms 2018-11-03 15:42:43,443 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280 2018-11-03 15:42:43,443 send_delayed_regions: using full window update 1636x959 as auto, from 2018-11-03 15:42:43,452 process_damage_region: wid=1, adding pixel data to encode queue (1636x959 - auto), elapsed time: 90.3 ms, request time: 8.7 ms, frame delay=0ms 2018-11-03 15:42:43,529 make_data_packet: image=XShmImageWrapper(BGRX: 11, 40, 485, 93), damage data: (3, 11, 40, 485, 93, 'auto') 2018-11-03 15:42:43,530 packet decoding sequence 4 for window 3: 520x189 took 0.0ms 2018-11-03 15:42:43,531 do_video_encode(auto, XShmImageWrapper(BGRX: 11, 40, 485, 93), {}) 2018-11-03 15:42:43,531 may_recalculate(3, 98280) total 98280 pixels, scheduling recalculate work item 2018-11-03 15:42:43,531 check_pipeline('auto', 485, 93, 'BGRX') setting up a new pipeline as check failed - encodings=['h264', 'h265'] 2018-11-03 15:42:43,532 get_video_pipeline_options(['h264', 'h265'], 485, 93, 'BGRX', False) last params=(['h264', 'h265'], 520, 189, 'BGRX'), full_csc_modes={'mpeg1': ('YUV420P',), 'mpeg2': ('YUV420P',), 'mpeg4': ('YUV420P',), 'h264': ('ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'h265': ('BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'vp9': ('YUV420P', 'YUV444P'), 'vp8': ('YUV420P',), 'webp': ('BGRA', 'BGRX', 'RGBA', 'RGBX')} 2018-11-03 15:42:43,533 get_video_pipeline_options(['h264', 'h265'], 485, 93, 'BGRX') speed: 30 (min 30), quality: 36 (min 30) 2018-11-03 15:42:43,533 add_scores(direct (no csc), None, BGRX) 2018-11-03 15:42:43,533 calculate_scaling(485, 93, 4096, 4096)=(1, 1) (q=36, s=30, scaling_control=None) 2018-11-03 15:42:43,534 video size 484x92 out of range for nvenc, min 128x128 2018-11-03 15:42:43,534 add_scores(via XBGR (XBGR), video_spec(swscale), XBGR) 2018-11-03 15:42:43,534 add_scores(via YUV422P (YUV422P), video_spec(swscale), YUV422P) 2018-11-03 15:42:43,534 add_scores(via RGB (RGB), video_spec(swscale), RGB) 2018-11-03 15:42:43,537 add_scores(via RGBX (RGBX), video_spec(swscale), RGBX) 2018-11-03 15:42:43,538 add_scores(via GBRP (GBRP), video_spec(swscale), GBRP) 2018-11-03 15:42:43,540 add_scores(via BGR (BGR), video_spec(swscale), BGR) 2018-11-03 15:42:43,540 add_scores(via YUV420P (YUV420P), video_spec(swscale), YUV420P) 2018-11-03 15:42:43,541 add_scores(via XRGB (XRGB), video_spec(swscale), XRGB) 2018-11-03 15:42:43,542 calculate_scaling(485, 93, 4096, 4096)=(1, 1) (q=36, s=30, scaling_control=None) 2018-11-03 15:42:43,542 video size 484x92 out of range for nvenc, min 128x128 2018-11-03 15:42:43,542 add_scores(via YUV444P (YUV444P), video_spec(swscale), YUV444P) 2018-11-03 15:42:43,542 add_scores(direct (no csc), None, BGRX) 2018-11-03 15:42:43,543 calculate_scaling(485, 93, 8192, 8192)=(1, 1) (q=36, s=30, scaling_control=None) 2018-11-03 15:42:43,543 video size 484x92 out of range for nvenc, min 128x128 2018-11-03 15:42:43,543 add_scores(via XBGR (XBGR), video_spec(swscale), XBGR) 2018-11-03 15:42:43,543 add_scores(via YUV422P (YUV422P), video_spec(swscale), YUV422P) 2018-11-03 15:42:43,543 add_scores(via RGB (RGB), video_spec(swscale), RGB) 2018-11-03 15:42:43,543 add_scores(via RGBX (RGBX), video_spec(swscale), RGBX) 2018-11-03 15:42:43,543 add_scores(via GBRP (GBRP), video_spec(swscale), GBRP) 2018-11-03 15:42:43,544 add_scores(via BGR (BGR), video_spec(swscale), BGR) 2018-11-03 15:42:43,544 add_scores(via YUV420P (YUV420P), video_spec(swscale), YUV420P) 2018-11-03 15:42:43,544 add_scores(via XRGB (XRGB), video_spec(swscale), XRGB) 2018-11-03 15:42:43,544 calculate_scaling(485, 93, 8192, 8192)=(1, 1) (q=36, s=30, scaling_control=None) 2018-11-03 15:42:43,544 video size 484x92 out of range for nvenc, min 128x128 2018-11-03 15:42:43,544 add_scores(via YUV444P (YUV444P), video_spec(swscale), YUV444P) 2018-11-03 15:42:43,545 get_video_pipeline_options(['h264', 'h265'], 485, 93, 'BGRX') scores=[] 2018-11-03 15:42:43,545 Error: no video pipeline options found for BGRX at 485x93 2018-11-03 15:42:43,545 Error: failed to setup a video pipeline for auto encoding with source format BGRX 2018-11-03 15:42:43,545 all encoders: 2018-11-03 15:42:43,545 supported CSC modes: 2018-11-03 15:42:43,545 supported encoders: 2018-11-03 15:42:43,546 encoders CSC modes: 2018-11-03 15:42:43,546 using non-video fallback encoding 2018-11-03 15:42:43,554 swscale.ColorspaceConverter.clean() sws context=0x7ff0618953c0 2018-11-03 15:42:43,555 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (1, 0, 0, 1636, 959, 'auto') 2018-11-03 15:42:43,555 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) 2018-11-03 15:42:43,556 check_pipeline('auto', 1636, 959, 'BGRX') setting up a new pipeline as check failed - encodings=['h264', 'h265'] 2018-11-03 15:42:43,557 get_video_pipeline_options(['h264', 'h265'], 1636, 958, 'BGRX', False) last params=(['h264', 'h265'], 1636, 958, 'BGRX'), full_csc_modes={'mpeg1': ('YUV420P',), 'mpeg2': ('YUV420P',), 'mpeg4': ('YUV420P',), 'h264': ('ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'h265': ('BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'vp9': ('YUV420P', 'YUV444P'), 'vp8': ('YUV420P',), 'webp': ('BGRA', 'BGRX', 'RGBA', 'RGBX')} 2018-11-03 15:42:43,558 get_video_pipeline_options(['h264', 'h265'], 1636, 958, 'BGRX') speed: 32 (min 30), quality: 33 (min 30) 2018-11-03 15:42:43,558 add_scores(direct (no csc), None, BGRX) 2018-11-03 15:42:43,558 calculate_scaling(1636, 958, 4096, 4096)=(1, 1) (q=33, s=32, scaling_control=None) 2018-11-03 15:42:43,559 get_score(BGRX , None , video_spec(nvenc) , 1636, 958) quality: 33, speed: 92, setup: 100 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=1636x958, sizescore= 96, client score delta= 0, cpu score= 0, gpu score=100, score=76 2018-11-03 15:42:43,559 add_scores(via XBGR (XBGR), video_spec(swscale), XBGR) 2018-11-03 15:42:43,559 add_scores(via YUV422P (YUV422P), video_spec(swscale), YUV422P) 2018-11-03 15:42:43,560 add_scores(via RGB (RGB), video_spec(swscale), RGB) 2018-11-03 15:42:43,560 add_scores(via RGBX (RGBX), video_spec(swscale), RGBX) 2018-11-03 15:42:43,560 add_scores(via GBRP (GBRP), video_spec(swscale), GBRP) 2018-11-03 15:42:43,560 add_scores(via BGR (BGR), video_spec(swscale), BGR) 2018-11-03 15:42:43,560 add_scores(via YUV420P (YUV420P), video_spec(swscale), YUV420P) 2018-11-03 15:42:43,560 add_scores(via XRGB (XRGB), video_spec(swscale), XRGB) 2018-11-03 15:42:43,561 calculate_scaling(1636, 958, 4096, 4096)=(1, 1) (q=33, s=32, scaling_control=None) 2018-11-03 15:42:43,561 get_score(XRGB , video_spec(swscale) , video_spec(nvenc) , 1636, 958) quality: 58, speed: 82, setup: 64 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=1636x958, sizescore= 96, client score delta= 0, cpu score= 0, gpu score=100, score=75 2018-11-03 15:42:43,561 add_scores(via YUV444P (YUV444P), video_spec(swscale), YUV444P) 2018-11-03 15:42:43,561 add_scores(direct (no csc), None, BGRX) 2018-11-03 15:42:43,561 calculate_scaling(1636, 958, 8192, 8192)=(1, 1) (q=33, s=32, scaling_control=None) 2018-11-03 15:42:43,562 get_score(BGRX , None , video_spec(nvenc) , 1636, 958) quality: 73, speed: 92, setup: 100 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=1636x958, sizescore= 96, client score delta= 0, cpu score= 0, gpu score=100, score=84 2018-11-03 15:42:43,562 add_scores(via XBGR (XBGR), video_spec(swscale), XBGR) 2018-11-03 15:42:43,562 add_scores(via YUV422P (YUV422P), video_spec(swscale), YUV422P) 2018-11-03 15:42:43,562 add_scores(via RGB (RGB), video_spec(swscale), RGB) 2018-11-03 15:42:43,562 add_scores(via RGBX (RGBX), video_spec(swscale), RGBX) 2018-11-03 15:42:43,562 add_scores(via GBRP (GBRP), video_spec(swscale), GBRP) 2018-11-03 15:42:43,563 add_scores(via BGR (BGR), video_spec(swscale), BGR) 2018-11-03 15:42:43,563 add_scores(via YUV420P (YUV420P), video_spec(swscale), YUV420P) 2018-11-03 15:42:43,563 add_scores(via XRGB (XRGB), video_spec(swscale), XRGB) 2018-11-03 15:42:43,563 calculate_scaling(1636, 958, 8192, 8192)=(1, 1) (q=33, s=32, scaling_control=None) 2018-11-03 15:42:43,563 get_score(XRGB , video_spec(swscale) , video_spec(nvenc) , 1636, 958) quality: 78, speed: 82, setup: 64 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=1636x958, sizescore= 96, client score delta= 0, cpu score= 0, gpu score=100, score=79 2018-11-03 15:42:43,563 add_scores(via YUV444P (YUV444P), video_spec(swscale), YUV444P) 2018-11-03 15:42:43,564 get_video_pipeline_options(['h264', 'h265'], 1636, 958, 'BGRX') scores=[(84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)), (79, (1, 1), (1, 1), 1636, 958, video_spec(swscale), u'XRGB', (1, 1), 1636, 958, video_spec(nvenc)), (76, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)), (75, (1, 1), (1, 1), 1636, 958, video_spec(swscale), u'XRGB', (1, 1), 1636, 958, video_spec(nvenc))] 2018-11-03 15:42:43,564 setup_pipeline([(84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)), (79, (1, 1), (1, 1), 1636, 958, video_spec(swscale), u'XRGB', (1, 1), 1636, 958, video_spec(nvenc)), (76, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)), (75, (1, 1), (1, 1), 1636, 958, video_spec(swscale), u'XRGB', (1, 1), 1636, 958, video_spec(nvenc))], 1636, 959, 'BGRX') 2018-11-03 15:42:43,564 setup_pipeline: trying (84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)) 2018-11-03 15:42:43,565 make_instance() nvenc - instance count=0 2018-11-03 15:42:43,565 will test 1 device from failing list: [0] 2018-11-03 15:42:43,565 select_device: testing device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:43,762 created context= 2018-11-03 15:42:43,763 send_delayed for wid 1, delaying again because too many pixels are waiting to be encoded: 1568924 2018-11-03 15:42:43,763 memory: free=5927MB, total=6077MB 2018-11-03 15:42:43,830 selected device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:44,051 packet decoding sequence 5 for window 3: 485x93 took 0.0ms 2018-11-03 15:42:44,064 send_delayed for wid 1, delaying again because too many pixels are waiting to be encoded: 1568924 2018-11-03 15:42:44,064 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280 2018-11-03 15:42:44,064 send_delayed_regions: using full window update 1636x959 as auto, from 2018-11-03 15:42:44,073 process_damage_region: wid=1, adding pixel data to encode queue (1636x959 - auto), elapsed time: 540.4 ms, request time: 8.5 ms, frame delay=0ms 2018-11-03 15:42:44,074 Warning: our peer requested the contents of the clipboard, 2018-11-03 15:42:44,075 but *I* thought *they* had it... weird. 2018-11-03 15:42:44,092 setup_pipeline: csc=None, video encoder=nvenc(BGRX/BGRX/H265 - hp - 1636x958 ), info: {u'context_count': 1, u'generation': 9, u'pixel_format': u'BGRX', u'height': 958, u'frames': 0, u'total_memory': 0, u'quality': 33, u'yuv444': {u'threshold': 85, u'supported': True}, u'cuda-device': {u'device': {u'memory': 6077, u'name': 'GeForce GTX 1060 6GB', u'pci_bus_id': '0000:AF:00.0'}, u'api_version': 3020}, u'encoder_width': 1664, u'speed': 32, u'device_count': 1, u'free_memory': 0, u'width': 1636, u'version': (8, 1), u'pycuda': {'version': {'': (2018, 1), 'text': '2018.1'}}, u'src_format': 'BGRX', u'codec': u'H265', u'preset': u'hp', u'bitrate': 5751432, u'lossless': {u'': 0, u'threshold': 100, u'supported': 1}, u'kernel_version': '4.4.162-1.el7.elrepo.x86_64', u'encoder_height': 960, u'total_time_ms': 0, u'cuda': {'driver': {'driver_version': 10000, 'version': (9, 2, 0)}}, u'cards': {0: {'power-state': 0, 'name': 'GeForce GTX 1060 6GB', 'clock-info': {'mem-max': 4004, 'graphics-max': 1911, 'sm': 1506, 'graphics': 1506, 'mem': 4006, 'sm-max': 1911}, 'uuid': 'GPU-bf07c86e-54c4-c5fa-a685-43155618ed27', 'pcie-link': {'width-max': 16, 'generation-max': 3, 'generation': 3, 'width': 16}, 'pci': {'domain': 0, 'busId': '0000:AF:00.0', 'pciDeviceId': 469962974, 'device': 0, 'bus': 175, 'pciSubSystemId': 295639406}, 'memory': {'total': 6373179392, 'free': 6317408256, 'used': 55771136}, 'fan-speed': 0, 'vbios-version': '86.06.63.00.D4', 'temperature': 62}}, u'kernel_module_version': (410, 73)}, setup took 527.45ms 2018-11-03 15:42:44,093 setup_pipeline: scaling=(1, 1), encoder_scaling=(1, 1) 2018-11-03 15:42:44,093 video_encode('auto', XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) image size: 1636x959, encoder/csc size: 1636x958 2018-11-03 15:42:44,118 send_delayed for wid 1, delaying again because too many pixels are waiting to be encoded: 1568924 2018-11-03 15:42:44,126 send_delayed for wid 1, delaying again because too many pixels are waiting to be encoded: 1568924 2018-11-03 15:42:44,136 send_delayed for wid 1, delaying again because too many pixels are waiting to be encoded: 1568924 2018-11-03 15:42:44,139 video_encode nvenc encoder: h265 1636x958 result is 206802 bytes (32.6 MPixels/s), client options={u'speed': 32, u'frame': 0, u'pts': 0, 'csc': 'YUV444P', u'quality': 33} 2018-11-03 15:42:44,139 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 520, 189), damage data: (3, 0, 0, 520, 189, 'webp') 2018-11-03 15:42:44,147 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (1, 0, 0, 1636, 959, 'auto') 2018-11-03 15:42:44,148 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) 2018-11-03 15:42:44,148 video_encode('auto', XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) image size: 1636x959, encoder/csc size: 1636x958 2018-11-03 15:42:44,149 send_delayed for wid 1, delaying again because too many pixels are waiting to be encoded: 1568924 2018-11-03 15:42:44,161 recalculate_delays() wids=(1, 2, 3), focus=1, maximized=[], fullscreen=[] 2018-11-03 15:42:44,162 calculate_batch_delay for wid=1 current batch delay=75, last update 10 seconds ago 2018-11-03 15:42:44,163 update_batch_delay: damage-network-delay : 0.96,0.54 {u'avg': 53, u'recent': 50} 2018-11-03 15:42:44,163 update_batch_delay: client-decode-speed : 0.94,0.00 {u'avg': 13, u'recent': 12} 2018-11-03 15:42:44,163 update_batch_delay: damage-rate : 1.00,0.00 {'max_latency': 6628, 'elapsed': 78} 2018-11-03 15:42:44,164 update_batch_delay: bandwidth-limit : 0.79,0.00 {'used': 3687272, 'budget': 5122435} 2018-11-03 15:42:44,164 update_batch_delay: client-latency : 3.45,0.50 {u'target': 4, u'weight_multiplier': 321, u'smoothing': u'sqrt', u'aim': 800, u'aimed_avg': 11886, u'div': 1000, u'avg': 695, u'recent': 562} 2018-11-03 15:42:44,164 update_batch_delay: client-ping-latency : 1.54,0.19 {u'target': 9, u'weight_multiplier': 261, u'smoothing': u'sqrt', u'aim': 949, u'aimed_avg': 2381, u'div': 1000, u'avg': 181, u'recent': 282} 2018-11-03 15:42:44,164 update_batch_delay: server-ping-latency : 0.82,0.22 {u'target': 20, u'weight_multiplier': 505, u'smoothing': u'sqrt', u'aim': 949, u'aimed_avg': 670, u'div': 1000, u'avg': 132, u'recent': 75} 2018-11-03 15:42:44,164 update_batch_delay: packet-queue-size : 0.21,0.28 {u'target': 1000, u'weight_multiplier': 310, u'smoothing': u'sqrt', u'aim': 250, u'aimed_avg': 44, u'div': 1000, u'avg': 96, u'recent': 74} 2018-11-03 15:42:44,165 update_batch_delay: packet-queue-pixels : 0.00,0.00 {u'target': 1000, u'weight_multiplier': 0, u'smoothing': u'sqrt', u'aim': 250, u'aimed_avg': 0, u'div': 1568924000, u'avg': 0, u'recent': 0} 2018-11-03 15:42:44,165 update_batch_delay: compression-work-queue : 2.78,5.71 {u'target': 1000, u'weight_multiplier': 3869, u'smoothing': u'logp', u'aim': 250, u'aimed_avg': 5874, u'div': 1000, u'avg': 13494, u'recent': 14975} 2018-11-03 15:42:44,165 update_batch_delay: congestion : 2.84,18.40 {} 2018-11-03 15:42:44,165 update_batch_delay: damage-packet-queue-pixels : 0.00,0.00 {u'target': 1000, u'weight_multiplier': 0, u'smoothing': u'sqrt', u'aim': 250, u'aimed_avg': 0, u'div': 1568924000, u'avg': 0, u'recent': 0} 2018-11-03 15:42:44,166 update_batch_delay: focus : 0.00,1.00 {'has_focus': True} 2018-11-03 15:42:44,166 update_batch_delay: override-redirect : 1.00,0.00 {'is_OR': False} 2018-11-03 15:42:44,166 update_batch_delay: fullscreen : 0.00,0.00 {'other_is_fullscreen': False} 2018-11-03 15:42:44,166 update_batch_delay: maximized : 0.00,0.00 {'other_is_maximized': False} 2018-11-03 15:42:44,167 update_batch_delay: soft-expired : 2.00,1.00 {'count': 2} 2018-11-03 15:42:44,167 update_batch_delay: delay=217 2018-11-03 15:42:44,167 get_client_backlog missing acks: [] 2018-11-03 15:42:44,168 get_target_quality: target=1% (window 1636x959) pctpixdamaged=412%, dpc={1: 5181120, 2: 0, 3: 0, 4: 1295280, 5: 0, 6: 1295280, 7: 0, 8: 1295280, 9: 1295280, 10: 0} 2018-11-03 15:42:44,168 update_quality() wid=1, info={'batch-delay-ratio': 23, 'backlog_factor': (0, 0, 1568924, 0, 100), 'congestion-value': 1839, 'latency': 12, 'compression-ratio': (116, 104, 3), 'min_quality': 30, 'max-quality-range': 71, 'min_speed': 30}, quality=30 2018-11-03 15:42:44,169 update_speed() wid=1, info={'congestion-value': 1839, 'min_speed': 30, 'damage_latency': {'abs_factor': 3643, 'rel_factor': 566, 'avg': 6613, 'ref': 45, 'target': 373}, 'frame_delay': 373, 'mpixels': 4, 'low_limit': 1568924, 'decoding_latency': {'factor': 0, 'avg': 77606144, 'min': 1000000}, 'max-speed-range': 71}, speed=31 2018-11-03 15:42:44,169 update_encoding_options(False) wid=1, want_alpha=False, speed=31, quality=30, bandwidth-limit=5122435, lossless threshold: 66 / 14, rgb auto threshold=1024 (min=1024, max=5122), get_best_encoding= 2018-11-03 15:42:44,169 get_video_pipeline_options(['h264', 'h265'], 1636, 958, 'BGRX', False) using cached values from 605ms ago 2018-11-03 15:42:44,170 check_pipeline_score(False) best=(84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)) 2018-11-03 15:42:44,170 calculate_batch_delay for wid=2 current batch delay=175, last update 9 seconds ago 2018-11-03 15:42:44,171 update_batch_delay: damage-network-delay : 0.99,0.51 {u'avg': 42, u'recent': 41} 2018-11-03 15:42:44,171 update_batch_delay: client-decode-speed : 1.00,0.00 {u'avg': 277, u'recent': 277} 2018-11-03 15:42:44,171 update_batch_delay: damage-rate : 1.00,0.00 {'max_latency': 9659, 'elapsed': 12452} 2018-11-03 15:42:44,172 update_batch_delay: bandwidth-limit : 0.22,0.00 {'used': 105024, 'budget': 524288} 2018-11-03 15:42:44,172 update_batch_delay: client-latency : 3.45,0.50 {u'target': 4, u'weight_multiplier': 321, u'smoothing': u'sqrt', u'aim': 800, u'aimed_avg': 11886, u'div': 1000, u'avg': 695, u'recent': 562} 2018-11-03 15:42:44,172 update_batch_delay: client-ping-latency : 1.54,0.19 {u'target': 9, u'weight_multiplier': 261, u'smoothing': u'sqrt', u'aim': 949, u'aimed_avg': 2381, u'div': 1000, u'avg': 181, u'recent': 282} 2018-11-03 15:42:44,172 update_batch_delay: server-ping-latency : 0.82,0.22 {u'target': 20, u'weight_multiplier': 505, u'smoothing': u'sqrt', u'aim': 949, u'aimed_avg': 670, u'div': 1000, u'avg': 132, u'recent': 75} 2018-11-03 15:42:44,173 update_batch_delay: packet-queue-size : 0.21,0.28 {u'target': 1000, u'weight_multiplier': 310, u'smoothing': u'sqrt', u'aim': 250, u'aimed_avg': 44, u'div': 1000, u'avg': 96, u'recent': 73} 2018-11-03 15:42:44,173 update_batch_delay: packet-queue-pixels : 0.00,0.00 {u'target': 1000, u'weight_multiplier': 0, u'smoothing': u'sqrt', u'aim': 250, u'aimed_avg': 0, u'div': 60434000, u'avg': 0, u'recent': 0} 2018-11-03 15:42:44,173 update_batch_delay: compression-work-queue : 2.78,5.71 {u'target': 1000, u'weight_multiplier': 3870, u'smoothing': u'logp', u'aim': 250, u'aimed_avg': 5872, u'div': 1000, u'avg': 13629, u'recent': 14977} 2018-11-03 15:42:44,173 update_batch_delay: congestion : 2.84,18.40 {} 2018-11-03 15:42:44,173 update_batch_delay: damage-packet-queue-pixels : 0.00,0.00 {u'target': 1000, u'weight_multiplier': 0, u'smoothing': u'sqrt', u'aim': 250, u'aimed_avg': 0, u'div': 60434000, u'avg': 0, u'recent': 0} 2018-11-03 15:42:44,174 update_batch_delay: focus : 1.00,0.00 {'has_focus': False} 2018-11-03 15:42:44,174 update_batch_delay: override-redirect : 1.00,0.00 {'is_OR': False} 2018-11-03 15:42:44,174 update_batch_delay: fullscreen : 0.00,0.00 {'other_is_fullscreen': False} 2018-11-03 15:42:44,174 update_batch_delay: maximized : 0.00,0.00 {'other_is_maximized': False} 2018-11-03 15:42:44,175 update_batch_delay: soft-expired : 0.00,0.00 {'count': 0} 2018-11-03 15:42:44,175 update_batch_delay: delay=472 2018-11-03 15:42:44,176 get_target_quality: target=1% (window 451x134) pctpixdamaged=0%, dpc={1: 0, 2: 0, 3: 0, 4: 0, 5: 0, 6: 0, 7: 0, 8: 0, 9: 0, 10: 0} 2018-11-03 15:42:44,176 update_quality() wid=2, info={'batch-delay-ratio': 20, 'backlog_factor': (0, 0, 60434, 0, 100), 'congestion-value': 1839, 'latency': 12, 'compression-ratio': (156, 161, -2), 'min_quality': 30, 'max-quality-range': 22, 'min_speed': 30}, quality=33 2018-11-03 15:42:44,177 update_speed() wid=2, info={'congestion-value': 1839, 'min_speed': 30, 'damage_latency': {'abs_factor': 5189, 'rel_factor': 512, 'avg': 7299, 'ref': 35, 'target': 483}, 'frame_delay': 483, 'mpixels': 0, 'low_limit': 60434, 'decoding_latency': {'factor': 0, 'avg': 3776050, 'min': 1000000}, 'max-speed-range': 22}, speed=30 2018-11-03 15:42:44,177 update_encoding_options(False) wid=2, want_alpha=False, speed=30, quality=33, bandwidth-limit=524288, lossless threshold: 66 / 14, rgb auto threshold=1024 (min=1024, max=1024), get_best_encoding= 2018-11-03 15:42:44,177 get_video_pipeline_options(['h264', 'h265'], 450, 134, 'BGRX', False) last params=(['h264', 'h265'], 450, 134, 'BGRX'), full_csc_modes={'mpeg1': ('YUV420P',), 'mpeg2': ('YUV420P',), 'mpeg4': ('YUV420P',), 'h264': ('ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'h265': ('BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'vp9': ('YUV420P', 'YUV444P'), 'vp8': ('YUV420P',), 'webp': ('BGRA', 'BGRX', 'RGBA', 'RGBX')} 2018-11-03 15:42:44,177 get_video_pipeline_options(['h264', 'h265'], 450, 134, 'BGRX') speed: 30 (min 30), quality: 33 (min 30) 2018-11-03 15:42:44,178 add_scores(direct (no csc), None, BGRX) 2018-11-03 15:42:44,178 calculate_scaling(450, 134, 4096, 4096)=(1, 1) (q=33, s=30, scaling_control=None) 2018-11-03 15:42:44,178 get_score(BGRX , None , video_spec(nvenc) , 450, 134) quality: 33, speed: 92, setup: 100 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=450x134, sizescore=100, client score delta= 0, cpu score= 0, gpu score=100, score=77 2018-11-03 15:42:44,178 add_scores(via XBGR (XBGR), video_spec(swscale), XBGR) 2018-11-03 15:42:44,178 add_scores(via YUV422P (YUV422P), video_spec(swscale), YUV422P) 2018-11-03 15:42:44,179 add_scores(via RGB (RGB), video_spec(swscale), RGB) 2018-11-03 15:42:44,179 add_scores(via RGBX (RGBX), video_spec(swscale), RGBX) 2018-11-03 15:42:44,179 add_scores(via GBRP (GBRP), video_spec(swscale), GBRP) 2018-11-03 15:42:44,179 add_scores(via BGR (BGR), video_spec(swscale), BGR) 2018-11-03 15:42:44,179 add_scores(via YUV420P (YUV420P), video_spec(swscale), YUV420P) 2018-11-03 15:42:44,179 add_scores(via XRGB (XRGB), video_spec(swscale), XRGB) 2018-11-03 15:42:44,180 calculate_scaling(450, 134, 4096, 4096)=(1, 1) (q=33, s=30, scaling_control=None) 2018-11-03 15:42:44,180 get_score(XRGB , video_spec(swscale) , video_spec(nvenc) , 450, 134) quality: 58, speed: 83, setup: 64 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=450x134, sizescore=100, client score delta= 0, cpu score= 0, gpu score=100, score=76 2018-11-03 15:42:44,180 add_scores(via YUV444P (YUV444P), video_spec(swscale), YUV444P) 2018-11-03 15:42:44,180 add_scores(direct (no csc), None, BGRX) 2018-11-03 15:42:44,180 calculate_scaling(450, 134, 8192, 8192)=(1, 1) (q=33, s=30, scaling_control=None) 2018-11-03 15:42:44,180 get_score(BGRX , None , video_spec(nvenc) , 450, 134) quality: 73, speed: 92, setup: 100 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=450x134, sizescore=100, client score delta= 0, cpu score= 0, gpu score=100, score=85 2018-11-03 15:42:44,181 add_scores(via XBGR (XBGR), video_spec(swscale), XBGR) 2018-11-03 15:42:44,181 add_scores(via YUV422P (YUV422P), video_spec(swscale), YUV422P) 2018-11-03 15:42:44,181 add_scores(via RGB (RGB), video_spec(swscale), RGB) 2018-11-03 15:42:44,181 add_scores(via RGBX (RGBX), video_spec(swscale), RGBX) 2018-11-03 15:42:44,181 add_scores(via GBRP (GBRP), video_spec(swscale), GBRP) 2018-11-03 15:42:44,182 add_scores(via BGR (BGR), video_spec(swscale), BGR) 2018-11-03 15:42:44,182 add_scores(via YUV420P (YUV420P), video_spec(swscale), YUV420P) 2018-11-03 15:42:44,182 add_scores(via XRGB (XRGB), video_spec(swscale), XRGB) 2018-11-03 15:42:44,182 calculate_scaling(450, 134, 8192, 8192)=(1, 1) (q=33, s=30, scaling_control=None) 2018-11-03 15:42:44,182 get_score(XRGB , video_spec(swscale) , video_spec(nvenc) , 450, 134) quality: 78, speed: 83, setup: 64 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=450x134, sizescore=100, client score delta= 0, cpu score= 0, gpu score=100, score=80 2018-11-03 15:42:44,183 add_scores(via YUV444P (YUV444P), video_spec(swscale), YUV444P) 2018-11-03 15:42:44,183 get_video_pipeline_options(['h264', 'h265'], 450, 134, 'BGRX') scores=[(85, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 450, 134, video_spec(nvenc)), (80, (1, 1), (1, 1), 450, 134, video_spec(swscale), u'XRGB', (1, 1), 450, 134, video_spec(nvenc)), (77, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 450, 134, video_spec(nvenc)), (76, (1, 1), (1, 1), 450, 134, video_spec(swscale), u'XRGB', (1, 1), 450, 134, video_spec(nvenc))] 2018-11-03 15:42:44,183 check_pipeline_score(False) best=(85, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 450, 134, video_spec(nvenc)) 2018-11-03 15:42:44,183 calculate_batch_delay for wid=3 current batch delay=30, last update 8 seconds ago 2018-11-03 15:42:44,184 update_batch_delay: damage-network-delay : 1.00,0.50 {u'avg': 43, u'recent': 43} 2018-11-03 15:42:44,184 update_batch_delay: client-decode-speed : 1.00,0.00 {u'avg': 170, u'recent': 170} 2018-11-03 15:42:44,184 update_batch_delay: damage-rate : 1.00,0.00 {'max_latency': 7210, 'elapsed': 8073} 2018-11-03 15:42:44,184 update_batch_delay: bandwidth-limit : 0.85,0.00 {'used': 404736, 'budget': 524288} 2018-11-03 15:42:44,184 update_batch_delay: client-latency : 3.45,0.50 {u'target': 4, u'weight_multiplier': 321, u'smoothing': u'sqrt', u'aim': 800, u'aimed_avg': 11886, u'div': 1000, u'avg': 695, u'recent': 562} 2018-11-03 15:42:44,185 update_batch_delay: client-ping-latency : 1.54,0.19 {u'target': 9, u'weight_multiplier': 261, u'smoothing': u'sqrt', u'aim': 949, u'aimed_avg': 2381, u'div': 1000, u'avg': 181, u'recent': 282} 2018-11-03 15:42:44,185 update_batch_delay: server-ping-latency : 0.82,0.22 {u'target': 20, u'weight_multiplier': 505, u'smoothing': u'sqrt', u'aim': 949, u'aimed_avg': 670, u'div': 1000, u'avg': 132, u'recent': 75} 2018-11-03 15:42:44,185 update_batch_delay: packet-queue-size : 0.21,0.28 {u'target': 1000, u'weight_multiplier': 310, u'smoothing': u'sqrt', u'aim': 250, u'aimed_avg': 43, u'div': 1000, u'avg': 96, u'recent': 71} 2018-11-03 15:42:44,185 update_batch_delay: packet-queue-pixels : 0.00,0.00 {u'target': 1000, u'weight_multiplier': 0, u'smoothing': u'sqrt', u'aim': 250, u'aimed_avg': 0, u'div': 98280000, u'avg': 0, u'recent': 0} 2018-11-03 15:42:44,185 update_batch_delay: compression-work-queue : 2.78,5.71 {u'target': 1000, u'weight_multiplier': 3869, u'smoothing': u'logp', u'aim': 250, u'aimed_avg': 5870, u'div': 1000, u'avg': 13619, u'recent': 14971} 2018-11-03 15:42:44,185 update_batch_delay: congestion : 2.84,18.40 {} 2018-11-03 15:42:44,186 update_batch_delay: damage-packet-queue-pixels : 0.00,0.00 {u'target': 1000, u'weight_multiplier': 0, u'smoothing': u'sqrt', u'aim': 250, u'aimed_avg': 0, u'div': 98280000, u'avg': 0, u'recent': 0} 2018-11-03 15:42:44,186 update_batch_delay: focus : 1.00,0.00 {'has_focus': False} 2018-11-03 15:42:44,186 update_batch_delay: override-redirect : 1.00,0.00 {'is_OR': False} 2018-11-03 15:42:44,186 update_batch_delay: fullscreen : 0.00,0.00 {'other_is_fullscreen': False} 2018-11-03 15:42:44,186 update_batch_delay: maximized : 0.00,0.00 {'other_is_maximized': False} 2018-11-03 15:42:44,186 update_batch_delay: soft-expired : 0.00,0.00 {'count': 0} 2018-11-03 15:42:44,187 update_batch_delay: delay=87 2018-11-03 15:42:44,187 get_client_backlog missing acks: [] 2018-11-03 15:42:44,187 get_target_quality: target=1% (window 520x189) pctpixdamaged=0%, dpc={1: 0, 2: 0, 3: 0, 4: 0, 5: 0, 6: 0, 7: 0, 8: 0, 9: 45105, 10: 0} 2018-11-03 15:42:44,187 update_quality() wid=3, info={'batch-delay-ratio': 111, 'backlog_factor': (0, 0, 98280, 0, 100), 'congestion-value': 1839, 'latency': 12, 'compression-ratio': (156, 160, -1), 'min_quality': 30, 'max-quality-range': 22, 'min_speed': 30}, quality=33 2018-11-03 15:42:44,187 update_speed() wid=3, info={'congestion-value': 1839, 'min_speed': 30, 'damage_latency': {'abs_factor': 5105, 'rel_factor': 1162, 'avg': 7183, 'ref': 35, 'target': 185}, 'frame_delay': 185, 'mpixels': 0, 'low_limit': 98280, 'decoding_latency': {'factor': 0, 'avg': 6142500, 'min': 1000000}, 'max-speed-range': 22}, speed=30 2018-11-03 15:42:44,188 update_encoding_options(False) wid=3, want_alpha=False, speed=30, quality=33, bandwidth-limit=524288, lossless threshold: 66 / 14, rgb auto threshold=1024 (min=1024, max=1024), get_best_encoding= 2018-11-03 15:42:44,188 get_video_pipeline_options(['h264', 'h265'], 520, 189, 'BGRX', False) last params=(['h264', 'h265'], 485, 93, 'BGRX'), full_csc_modes={'mpeg1': ('YUV420P',), 'mpeg2': ('YUV420P',), 'mpeg4': ('YUV420P',), 'h264': ('ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'h265': ('BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'vp9': ('YUV420P', 'YUV444P'), 'vp8': ('YUV420P',), 'webp': ('BGRA', 'BGRX', 'RGBA', 'RGBX')} 2018-11-03 15:42:44,188 get_video_pipeline_options(['h264', 'h265'], 520, 189, 'BGRX') speed: 30 (min 30), quality: 33 (min 30) 2018-11-03 15:42:44,188 add_scores(direct (no csc), None, BGRX) 2018-11-03 15:42:44,188 calculate_scaling(520, 189, 4096, 4096)=(1, 1) (q=33, s=30, scaling_control=None) 2018-11-03 15:42:44,189 get_score(BGRX , None , video_spec(nvenc) , 520, 189) quality: 33, speed: 92, setup: 100 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=520x188, sizescore=100, client score delta= 0, cpu score= 0, gpu score=100, score=77 2018-11-03 15:42:44,189 add_scores(via XBGR (XBGR), video_spec(swscale), XBGR) 2018-11-03 15:42:44,189 add_scores(via YUV422P (YUV422P), video_spec(swscale), YUV422P) 2018-11-03 15:42:44,189 add_scores(via RGB (RGB), video_spec(swscale), RGB) 2018-11-03 15:42:44,190 add_scores(via RGBX (RGBX), video_spec(swscale), RGBX) 2018-11-03 15:42:44,190 add_scores(via GBRP (GBRP), video_spec(swscale), GBRP) 2018-11-03 15:42:44,190 add_scores(via BGR (BGR), video_spec(swscale), BGR) 2018-11-03 15:42:44,190 add_scores(via YUV420P (YUV420P), video_spec(swscale), YUV420P) 2018-11-03 15:42:44,190 add_scores(via XRGB (XRGB), video_spec(swscale), XRGB) 2018-11-03 15:42:44,190 calculate_scaling(520, 189, 4096, 4096)=(1, 1) (q=33, s=30, scaling_control=None) 2018-11-03 15:42:44,191 get_score(XRGB , video_spec(swscale) , video_spec(nvenc) , 520, 189) quality: 58, speed: 83, setup: 64 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=520x188, sizescore=100, client score delta= 0, cpu score= 0, gpu score=100, score=76 2018-11-03 15:42:44,191 add_scores(via YUV444P (YUV444P), video_spec(swscale), YUV444P) 2018-11-03 15:42:44,191 add_scores(direct (no csc), None, BGRX) 2018-11-03 15:42:44,191 calculate_scaling(520, 189, 8192, 8192)=(1, 1) (q=33, s=30, scaling_control=None) 2018-11-03 15:42:44,191 get_score(BGRX , None , video_spec(nvenc) , 520, 189) quality: 73, speed: 92, setup: 100 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=520x188, sizescore=100, client score delta= 0, cpu score= 0, gpu score=100, score=85 2018-11-03 15:42:44,192 add_scores(via XBGR (XBGR), video_spec(swscale), XBGR) 2018-11-03 15:42:44,192 add_scores(via YUV422P (YUV422P), video_spec(swscale), YUV422P) 2018-11-03 15:42:44,192 add_scores(via RGB (RGB), video_spec(swscale), RGB) 2018-11-03 15:42:44,192 add_scores(via RGBX (RGBX), video_spec(swscale), RGBX) 2018-11-03 15:42:44,192 add_scores(via GBRP (GBRP), video_spec(swscale), GBRP) 2018-11-03 15:42:44,192 add_scores(via BGR (BGR), video_spec(swscale), BGR) 2018-11-03 15:42:44,193 add_scores(via YUV420P (YUV420P), video_spec(swscale), YUV420P) 2018-11-03 15:42:44,193 add_scores(via XRGB (XRGB), video_spec(swscale), XRGB) 2018-11-03 15:42:44,193 calculate_scaling(520, 189, 8192, 8192)=(1, 1) (q=33, s=30, scaling_control=None) 2018-11-03 15:42:44,193 get_score(XRGB , video_spec(swscale) , video_spec(nvenc) , 520, 189) quality: 78, speed: 83, setup: 64 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=520x188, sizescore=100, client score delta= 0, cpu score= 0, gpu score=100, score=80 2018-11-03 15:42:44,193 add_scores(via YUV444P (YUV444P), video_spec(swscale), YUV444P) 2018-11-03 15:42:44,193 get_video_pipeline_options(['h264', 'h265'], 520, 189, 'BGRX') scores=[(85, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 520, 188, video_spec(nvenc)), (80, (1, 1), (1, 1), 520, 188, video_spec(swscale), u'XRGB', (1, 1), 520, 188, video_spec(nvenc)), (77, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 520, 188, video_spec(nvenc)), (76, (1, 1), (1, 1), 520, 188, video_spec(swscale), u'XRGB', (1, 1), 520, 188, video_spec(nvenc))] 2018-11-03 15:42:44,194 check_pipeline_score(False) best=(85, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 520, 188, video_spec(nvenc)) 2018-11-03 15:42:44,209 packet decoding sequence 5 for window 1: 1636x958 took 47.0ms 2018-11-03 15:42:44,209 record_latency: took 61.2 ms round trip, 59.7 for echo, 47.0 for decoding of 1567288 pixels, 206882 bytes sent over the network in 14.2 ms, 12.7 ms for echo 2018-11-03 15:42:44,210 may_recalculate(1, 1567288) total 1567288 pixels, scheduling recalculate work item 2018-11-03 15:42:44,210 send_delayed for wid 1, delaying again because too many pixels are waiting to be encoded: 1568924 2018-11-03 15:42:44,211 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280 2018-11-03 15:42:44,211 send_delayed_regions: using full window update 1636x959 as auto, from 2018-11-03 15:42:44,217 process_damage_region: wid=1, adding pixel data to encode queue (1636x959 - auto), elapsed time: 133.7 ms, request time: 5.9 ms, frame delay=0ms 2018-11-03 15:42:44,218 packet decoding sequence 6 for window 3: 520x189 took 0.0ms 2018-11-03 15:42:44,219 may_recalculate(3, 98280) total 98280 pixels, scheduling recalculate work item 2018-11-03 15:42:44,223 window 1 delayed region already sent 2018-11-03 15:42:44,231 video_encode nvenc encoder: h265 1636x958 result is 43364 bytes (18.0 MPixels/s), client options={u'speed': 32, u'frame': 1, u'pts': 2850, 'csc': 'YUV444P', u'quality': 33} 2018-11-03 15:42:44,232 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (1, 0, 0, 1636, 959, 'webp') 2018-11-03 15:42:44,332 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (1, 0, 0, 1636, 959, 'auto') 2018-11-03 15:42:44,333 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) 2018-11-03 15:42:44,333 check_pipeline('auto', 1636, 959, 'BGRX') setting up a new pipeline as check failed - encodings=['h264', 'h265'] 2018-11-03 15:42:44,333 get_video_pipeline_options(['h264', 'h265'], 1636, 958, 'BGRX', False) using cached values from 769ms ago 2018-11-03 15:42:44,334 setup_pipeline([(84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)), (79, (1, 1), (1, 1), 1636, 958, video_spec(swscale), u'XRGB', (1, 1), 1636, 958, video_spec(nvenc)), (76, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)), (75, (1, 1), (1, 1), 1636, 958, video_spec(swscale), u'XRGB', (1, 1), 1636, 958, video_spec(nvenc))], 1636, 959, 'BGRX') 2018-11-03 15:42:44,335 setup_pipeline: trying (84, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)) 2018-11-03 15:42:44,336 make_instance() nvenc - instance count=1 2018-11-03 15:42:44,338 will test 0 devices from failing list: [] 2018-11-03 15:42:44,338 will test 1 device from OK list: [0] 2018-11-03 15:42:44,339 select_device: testing device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:44,525 created context= 2018-11-03 15:42:44,527 memory: free=5829MB, total=6077MB 2018-11-03 15:42:44,563 selected device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:44,762 packet decoding sequence 6 for window 1: 1636x958 took 47.0ms 2018-11-03 15:42:44,763 record_latency: took 429.0 ms round trip, 427.9 for echo, 47.0 for decoding of 1567288 pixels, 43446 bytes sent over the network in 382.0 ms, 380.9 ms for echo 2018-11-03 15:42:44,764 packet decoding sequence 7 for window 1: 1636x959 took 32.0ms 2018-11-03 15:42:44,764 record_latency: took 428.9 ms round trip, 427.8 for echo, 32.0 for decoding of 1568924 pixels, 207458 bytes sent over the network in 396.9 ms, 395.8 ms for echo 2018-11-03 15:42:44,802 setup_pipeline: csc=None, video encoder=nvenc(BGRX/BGRX/H265 - hp - 1636x958 ), info: {u'context_count': 2, u'generation': 10, u'pixel_format': u'BGRX', u'height': 958, u'frames': 0, u'total_memory': 0, u'quality': 30, u'yuv444': {u'threshold': 85, u'supported': True}, u'cuda-device': {u'device': {u'memory': 6077, u'name': 'GeForce GTX 1060 6GB', u'pci_bus_id': '0000:AF:00.0'}, u'api_version': 3020}, u'encoder_width': 1664, u'speed': 31, u'device_count': 1, u'free_memory': 0, u'width': 1636, u'version': (8, 1), u'pycuda': {'version': {'': (2018, 1), 'text': '2018.1'}}, u'src_format': 'BGRX', u'codec': u'H265', u'preset': u'hp', u'bitrate': 5411964, u'lossless': {u'': 0, u'threshold': 100, u'supported': 1}, u'kernel_version': '4.4.162-1.el7.elrepo.x86_64', u'encoder_height': 960, u'total_time_ms': 0, u'cuda': {'driver': {'driver_version': 10000, 'version': (9, 2, 0)}}, u'cards': {0: {'power-state': 0, 'name': 'GeForce GTX 1060 6GB', 'clock-info': {'mem-max': 4004, 'graphics-max': 1911, 'sm': 1506, 'graphics': 1506, 'mem': 4006, 'sm-max': 1911}, 'uuid': 'GPU-bf07c86e-54c4-c5fa-a685-43155618ed27', 'pcie-link': {'width-max': 16, 'generation-max': 3, 'generation': 3, 'width': 16}, 'pci': {'domain': 0, 'busId': '0000:AF:00.0', 'pciDeviceId': 469962974, 'device': 0, 'bus': 175, 'pciSubSystemId': 295639406}, 'memory': {'total': 6373179392, 'free': 6317408256, 'used': 55771136}, 'fan-speed': 0, 'vbios-version': '86.06.63.00.D4', 'temperature': 62}}, u'kernel_module_version': (410, 73)}, setup took 466.43ms 2018-11-03 15:42:44,803 setup_pipeline: scaling=(1, 1), encoder_scaling=(1, 1) 2018-11-03 15:42:44,803 video_encode('auto', XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) image size: 1636x959, encoder/csc size: 1636x958 2018-11-03 15:42:44,857 video_encode nvenc encoder: h265 1636x958 result is 64336 bytes (28.1 MPixels/s), client options={u'speed': 31, u'frame': 0, u'pts': 0, 'csc': 'YUV444P', u'quality': 30} 2018-11-03 15:42:44,858 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (1, 0, 0, 1636, 959, 'auto') 2018-11-03 15:42:44,858 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) 2018-11-03 15:42:44,859 video_encode('auto', XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) image size: 1636x959, encoder/csc size: 1636x958 2018-11-03 15:42:44,872 send_delayed for wid 1, delaying again because of backlog: 1 packets, batch delay is 217, elapsed time is 344ms 2018-11-03 15:42:44,891 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280 2018-11-03 15:42:44,892 send_delayed_regions: using full window update 1636x959 as auto, from 2018-11-03 15:42:44,896 process_damage_region: wid=1, adding pixel data to encode queue (1636x959 - auto), elapsed time: 368.8 ms, request time: 3.7 ms, frame delay=0ms 2018-11-03 15:42:44,903 packet decoding sequence 8 for window 1: 1636x958 took 31.0ms 2018-11-03 15:42:44,904 record_latency: took 45.6 ms round trip, 44.9 for echo, 31.0 for decoding of 1567288 pixels, 64416 bytes sent over the network in 14.6 ms, 13.9 ms for echo 2018-11-03 15:42:44,905 video_encode nvenc encoder: h265 1636x958 result is 90151 bytes (32.8 MPixels/s), client options={u'speed': 31, u'frame': 1, u'pts': 342, 'csc': 'YUV444P', u'quality': 30} 2018-11-03 15:42:44,906 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (1, 0, 0, 1636, 959, 'auto') 2018-11-03 15:42:44,907 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) 2018-11-03 15:42:44,907 video_encode('auto', XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) image size: 1636x959, encoder/csc size: 1636x958 2018-11-03 15:42:44,951 packet decoding sequence 9 for window 1: 1636x958 took 31.0ms 2018-11-03 15:42:44,951 record_latency: took 45.1 ms round trip, 44.0 for echo, 31.0 for decoding of 1567288 pixels, 90233 bytes sent over the network in 14.1 ms, 13.0 ms for echo 2018-11-03 15:42:44,953 video_encode nvenc encoder: h265 1636x958 result is 51704 bytes (32.8 MPixels/s), client options={u'speed': 31, u'frame': 2, u'pts': 442, 'csc': 'YUV444P', u'quality': 30} 2018-11-03 15:42:44,954 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (1, 0, 0, 1636, 959, 'auto') 2018-11-03 15:42:44,955 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) 2018-11-03 15:42:44,955 video_encode('auto', XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) image size: 1636x959, encoder/csc size: 1636x958 2018-11-03 15:42:44,994 video_encode nvenc encoder: h265 1636x958 result is 60403 bytes (38.8 MPixels/s), client options={u'speed': 31, u'frame': 3, u'pts': 1063, 'csc': 'YUV444P', u'quality': 30} 2018-11-03 15:42:44,994 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280 2018-11-03 15:42:44,995 send_delayed_regions: using full window update 1636x959 as auto, from 2018-11-03 15:42:44,999 process_damage_region: wid=1, adding pixel data to encode queue (1636x959 - auto), elapsed time: 76.7 ms, request time: 4.0 ms, frame delay=0ms 2018-11-03 15:42:45,000 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (1, 0, 0, 1636, 959, 'auto') 2018-11-03 15:42:45,000 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) 2018-11-03 15:42:45,001 video_encode('auto', XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) image size: 1636x959, encoder/csc size: 1636x958 2018-11-03 15:42:45,003 packet decoding sequence 10 for window 1: 1636x958 took 15.0ms 2018-11-03 15:42:45,003 record_latency: took 48.9 ms round trip, 48.8 for echo, 15.0 for decoding of 1567288 pixels, 51786 bytes sent over the network in 33.9 ms, 33.8 ms for echo 2018-11-03 15:42:45,009 window 1 delayed region already sent 2018-11-03 15:42:45,039 video_encode nvenc encoder: h265 1636x958 result is 82009 bytes (39.4 MPixels/s), client options={u'speed': 31, u'frame': 4, u'pts': 1210, 'csc': 'YUV444P', u'quality': 30} 2018-11-03 15:42:45,040 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (1, 0, 0, 1636, 959, 'auto') 2018-11-03 15:42:45,040 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) 2018-11-03 15:42:45,041 video_encode('auto', XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) image size: 1636x959, encoder/csc size: 1636x958 2018-11-03 15:42:45,045 packet decoding sequence 11 for window 1: 1636x958 took 16.0ms 2018-11-03 15:42:45,046 record_latency: took 50.4 ms round trip, 45.6 for echo, 16.0 for decoding of 1567288 pixels, 60485 bytes sent over the network in 34.4 ms, 29.6 ms for echo 2018-11-03 15:42:45,060 send_delayed for wid 1, delaying again because of backlog: 1 packets, batch delay is 217, elapsed time is 35ms 2018-11-03 15:42:45,094 video_encode nvenc encoder: h265 1636x958 result is 94006 bytes (28.1 MPixels/s), client options={u'speed': 31, u'frame': 5, u'pts': 1890, 'csc': 'YUV444P', u'quality': 30} 2018-11-03 15:42:45,096 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (1, 0, 0, 1636, 959, 'auto') 2018-11-03 15:42:45,097 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) 2018-11-03 15:42:45,098 video_encode('auto', XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) image size: 1636x959, encoder/csc size: 1636x958 2018-11-03 15:42:45,098 packet decoding sequence 12 for window 1: 1636x958 took 16.0ms 2018-11-03 15:42:45,099 record_latency: took 58.5 ms round trip, 57.9 for echo, 16.0 for decoding of 1567288 pixels, 82091 bytes sent over the network in 42.5 ms, 41.9 ms for echo 2018-11-03 15:42:45,100 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280 2018-11-03 15:42:45,100 send_delayed_regions: using full window update 1636x959 as auto, from 2018-11-03 15:42:45,105 process_damage_region: wid=1, adding pixel data to encode queue (1636x959 - auto), elapsed time: 80.0 ms, request time: 4.3 ms, frame delay=0ms 2018-11-03 15:42:45,106 window 1 delayed region already sent 2018-11-03 15:42:45,146 packet decoding sequence 13 for window 1: 1636x958 took 16.0ms 2018-11-03 15:42:45,147 record_latency: took 50.9 ms round trip, 50.5 for echo, 16.0 for decoding of 1567288 pixels, 94088 bytes sent over the network in 34.9 ms, 34.5 ms for echo 2018-11-03 15:42:45,152 video_encode nvenc encoder: h265 1636x958 result is 71157 bytes (27.8 MPixels/s), client options={u'speed': 31, u'frame': 6, u'pts': 1994, 'csc': 'YUV444P', u'quality': 30} 2018-11-03 15:42:45,162 recalculate_delays() wids=(1, 3), focus=1, maximized=[], fullscreen=[] 2018-11-03 15:42:45,162 calculate_batch_delay for wid=1 current batch delay=217, last update 1 seconds ago 2018-11-03 15:42:45,163 update_batch_delay: damage-network-delay : 1.00,0.50 {u'avg': 58, u'recent': 57} 2018-11-03 15:42:45,163 update_batch_delay: client-decode-speed : 0.94,0.00 {u'avg': 14, u'recent': 13} 2018-11-03 15:42:45,163 update_batch_delay: damage-rate : 1.00,0.00 {'max_latency': 2156, 'elapsed': 46} 2018-11-03 15:42:45,163 update_batch_delay: bandwidth-limit : 1.31,1.95 {'used': 6116176, 'budget': 5122435} 2018-11-03 15:42:45,163 update_batch_delay: client-latency : 1.45,0.22 {u'target': 4, u'weight_multiplier': 321, u'smoothing': u'sqrt', u'aim': 800, u'aimed_avg': 2103, u'div': 1000, u'avg': 191, u'recent': 87} 2018-11-03 15:42:45,163 update_batch_delay: client-ping-latency : 1.48,0.18 {u'target': 9, u'weight_multiplier': 261, u'smoothing': u'sqrt', u'aim': 949, u'aimed_avg': 2192, u'div': 1000, u'avg': 166, u'recent': 246} 2018-11-03 15:42:45,163 update_batch_delay: server-ping-latency : 0.93,0.14 {u'target': 20, u'weight_multiplier': 505, u'smoothing': u'sqrt', u'aim': 949, u'aimed_avg': 858, u'div': 1000, u'avg': 139, u'recent': 100} 2018-11-03 15:42:45,163 update_batch_delay: packet-queue-size : 0.06,0.17 {u'target': 1000, u'weight_multiplier': 176, u'smoothing': u'sqrt', u'aim': 250, u'aimed_avg': 3, u'div': 1000, u'avg': 31, u'recent': 5} 2018-11-03 15:42:45,163 update_batch_delay: packet-queue-pixels : 0.00,0.00 {u'target': 1000, u'weight_multiplier': 0, u'smoothing': u'sqrt', u'aim': 250, u'aimed_avg': 0, u'div': 1568924000, u'avg': 0, u'recent': 0} 2018-11-03 15:42:45,163 update_batch_delay: compression-work-queue : 2.60,5.00 {u'target': 1000, u'weight_multiplier': 3625, u'smoothing': u'logp', u'aim': 250, u'aimed_avg': 5069, u'div': 1000, u'avg': 13146, u'recent': 12910} 2018-11-03 15:42:45,164 update_batch_delay: congestion : 1.19,1.87 {} 2018-11-03 15:42:45,164 update_batch_delay: damage-packet-queue-pixels : 0.00,0.00 {u'target': 1000, u'weight_multiplier': 0, u'smoothing': u'sqrt', u'aim': 250, u'aimed_avg': 0, u'div': 1568924000, u'avg': 0, u'recent': 0} 2018-11-03 15:42:45,164 update_batch_delay: focus : 0.00,1.00 {'has_focus': True} 2018-11-03 15:42:45,164 update_batch_delay: override-redirect : 1.00,0.00 {'is_OR': False} 2018-11-03 15:42:45,164 update_batch_delay: fullscreen : 0.00,0.00 {'other_is_fullscreen': False} 2018-11-03 15:42:45,164 update_batch_delay: maximized : 0.00,0.00 {'other_is_maximized': False} 2018-11-03 15:42:45,164 update_batch_delay: soft-expired : 2.00,1.00 {'count': 2} 2018-11-03 15:42:45,164 update_batch_delay: delay=255 2018-11-03 15:42:45,164 get_client_backlog missing acks: [] 2018-11-03 15:42:45,165 get_target_quality: target=3% (window 1636x959) pctpixdamaged=743%, dpc={1: 5181120, 2: 5181120, 3: 0, 4: 0, 5: 1295280, 6: 0, 7: 1295280, 8: 0, 9: 1295280, 10: 1295280} 2018-11-03 15:42:45,165 update_quality() wid=1, info={'batch-delay-ratio': 16, 'backlog_factor': (0, 0, 1568924, 0, 100), 'congestion-value': 187, 'latency': 82, 'compression-ratio': (50, 37, 4), 'min_quality': 30, 'max-quality-range': 71, 'min_speed': 30}, quality=30 2018-11-03 15:42:45,165 update_speed() wid=1, info={'congestion-value': 187, 'min_speed': 30, 'damage_latency': {'abs_factor': 1160, 'rel_factor': 308, 'avg': 2138, 'ref': 45, 'target': 215}, 'frame_delay': 215, 'mpixels': 4, 'low_limit': 1568924, 'decoding_latency': {'factor': 0, 'avg': 72735208, 'min': 1000000}, 'max-speed-range': 71}, speed=36 2018-11-03 15:42:45,165 update_encoding_options(False) wid=1, want_alpha=False, speed=36, quality=30, bandwidth-limit=5122435, lossless threshold: 67 / 13, rgb auto threshold=1113 (min=1024, max=5122), get_best_encoding= 2018-11-03 15:42:45,165 get_video_pipeline_options(['h264', 'h265'], 1636, 958, 'BGRX', False) last params=(['h264', 'h265'], 1636, 958, 'BGRX'), full_csc_modes={'mpeg1': ('YUV420P',), 'mpeg2': ('YUV420P',), 'mpeg4': ('YUV420P',), 'h264': ('ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'h265': ('BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'vp9': ('YUV420P', 'YUV444P'), 'vp8': ('YUV420P',), 'webp': ('BGRA', 'BGRX', 'RGBA', 'RGBX')} 2018-11-03 15:42:45,165 get_video_pipeline_options(['h264', 'h265'], 1636, 958, 'BGRX') speed: 36 (min 30), quality: 30 (min 30) 2018-11-03 15:42:45,166 add_scores(direct (no csc), None, BGRX) 2018-11-03 15:42:45,166 calculate_scaling(1636, 958, 4096, 4096)=(1, 1) (q=30, s=36, scaling_control=None) 2018-11-03 15:42:45,166 get_score(BGRX , None , video_spec(nvenc) , 1636, 958) quality: 30, speed: 91, setup: 100 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=1636x958, sizescore= 96, client score delta= 0, cpu score= 0, gpu score=100, score=75 2018-11-03 15:42:45,166 add_scores(via XBGR (XBGR), video_spec(swscale), XBGR) 2018-11-03 15:42:45,166 add_scores(via YUV422P (YUV422P), video_spec(swscale), YUV422P) 2018-11-03 15:42:45,166 add_scores(via RGB (RGB), video_spec(swscale), RGB) 2018-11-03 15:42:45,166 add_scores(via RGBX (RGBX), video_spec(swscale), RGBX) 2018-11-03 15:42:45,166 add_scores(via GBRP (GBRP), video_spec(swscale), GBRP) 2018-11-03 15:42:45,166 add_scores(via BGR (BGR), video_spec(swscale), BGR) 2018-11-03 15:42:45,167 add_scores(via YUV420P (YUV420P), video_spec(swscale), YUV420P) 2018-11-03 15:42:45,167 add_scores(via XRGB (XRGB), video_spec(swscale), XRGB) 2018-11-03 15:42:45,167 calculate_scaling(1636, 958, 4096, 4096)=(1, 1) (q=30, s=36, scaling_control=None) 2018-11-03 15:42:45,167 get_score(XRGB , video_spec(swscale) , video_spec(nvenc) , 1636, 958) quality: 55, speed: 82, setup: 64 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=1636x958, sizescore= 96, client score delta= 0, cpu score= 0, gpu score=100, score=75 2018-11-03 15:42:45,167 add_scores(via YUV444P (YUV444P), video_spec(swscale), YUV444P) 2018-11-03 15:42:45,167 add_scores(direct (no csc), None, BGRX) 2018-11-03 15:42:45,167 calculate_scaling(1636, 958, 8192, 8192)=(1, 1) (q=30, s=36, scaling_control=None) 2018-11-03 15:42:45,167 get_score(BGRX , None , video_spec(nvenc) , 1636, 958) quality: 70, speed: 91, setup: 100 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=1636x958, sizescore= 96, client score delta= 0, cpu score= 0, gpu score=100, score=83 2018-11-03 15:42:45,168 add_scores(via XBGR (XBGR), video_spec(swscale), XBGR) 2018-11-03 15:42:45,168 add_scores(via YUV422P (YUV422P), video_spec(swscale), YUV422P) 2018-11-03 15:42:45,168 add_scores(via RGB (RGB), video_spec(swscale), RGB) 2018-11-03 15:42:45,168 add_scores(via RGBX (RGBX), video_spec(swscale), RGBX) 2018-11-03 15:42:45,168 add_scores(via GBRP (GBRP), video_spec(swscale), GBRP) 2018-11-03 15:42:45,168 add_scores(via BGR (BGR), video_spec(swscale), BGR) 2018-11-03 15:42:45,168 add_scores(via YUV420P (YUV420P), video_spec(swscale), YUV420P) 2018-11-03 15:42:45,168 add_scores(via XRGB (XRGB), video_spec(swscale), XRGB) 2018-11-03 15:42:45,168 calculate_scaling(1636, 958, 8192, 8192)=(1, 1) (q=30, s=36, scaling_control=None) 2018-11-03 15:42:45,169 get_score(XRGB , video_spec(swscale) , video_spec(nvenc) , 1636, 958) quality: 75, speed: 82, setup: 64 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=1636x958, sizescore= 96, client score delta= 0, cpu score= 0, gpu score=100, score=79 2018-11-03 15:42:45,169 add_scores(via YUV444P (YUV444P), video_spec(swscale), YUV444P) 2018-11-03 15:42:45,169 get_video_pipeline_options(['h264', 'h265'], 1636, 958, 'BGRX') scores=[(83, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)), (79, (1, 1), (1, 1), 1636, 958, video_spec(swscale), u'XRGB', (1, 1), 1636, 958, video_spec(nvenc)), (75, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)), (75, (1, 1), (1, 1), 1636, 958, video_spec(swscale), u'XRGB', (1, 1), 1636, 958, video_spec(nvenc))] 2018-11-03 15:42:45,169 check_pipeline_score(False) best=(83, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)) 2018-11-03 15:42:45,169 calculate_batch_delay for wid=3 current batch delay=87, last update 0 seconds ago 2018-11-03 15:42:45,225 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (1, 0, 0, 1636, 959, 'auto') 2018-11-03 15:42:45,225 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) 2018-11-03 15:42:45,226 send_delayed for wid 1, delaying again because of backlog: 1 packets, batch delay is 255, elapsed time is 109ms 2018-11-03 15:42:45,226 calculate_batch_delay for wid=3, skipping - only 0 events since the last update 2018-11-03 15:42:45,227 check_pipeline('auto', 1636, 959, 'BGRX') setting up a new pipeline as check failed - encodings=['h264', 'h265'] 2018-11-03 15:42:45,227 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280 2018-11-03 15:42:45,228 get_target_quality: target=3% (window 520x189) pctpixdamaged=0%, dpc={1: 0, 2: 0, 3: 0, 4: 0, 5: 0, 6: 0, 7: 0, 8: 0, 9: 0, 10: 45105} 2018-11-03 15:42:45,228 get_video_pipeline_options(['h264', 'h265'], 1636, 958, 'BGRX', False) using cached values from 59ms ago 2018-11-03 15:42:45,229 send_delayed_regions: using full window update 1636x959 as auto, from 2018-11-03 15:42:45,229 update_quality() wid=3, info={'batch-delay-ratio': 111, 'backlog_factor': (0, 0, 98280, 0, 100), 'congestion-value': 187, 'latency': 82, 'compression-ratio': (153, 160, -2), 'min_quality': 30, 'max-quality-range': 22, 'min_speed': 30}, quality=51 2018-11-03 15:42:45,229 setup_pipeline([(83, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)), (79, (1, 1), (1, 1), 1636, 958, video_spec(swscale), u'XRGB', (1, 1), 1636, 958, video_spec(nvenc)), (75, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)), (75, (1, 1), (1, 1), 1636, 958, video_spec(swscale), u'XRGB', (1, 1), 1636, 958, video_spec(nvenc))], 1636, 959, 'BGRX') 2018-11-03 15:42:45,234 process_damage_region: wid=1, adding pixel data to encode queue (1636x959 - auto), elapsed time: 118.3 ms, request time: 5.0 ms, frame delay=0ms 2018-11-03 15:42:45,235 update_speed() wid=3, info={'congestion-value': 187, 'min_speed': 30, 'damage_latency': {'abs_factor': 5055, 'rel_factor': 1181, 'avg': 7113, 'ref': 35, 'target': 180}, 'frame_delay': 180, 'mpixels': 0, 'low_limit': 98280, 'decoding_latency': {'factor': 0, 'avg': 6142500, 'min': 1000000}, 'max-speed-range': 22}, speed=31 2018-11-03 15:42:45,236 setup_pipeline: trying (83, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)) 2018-11-03 15:42:45,236 update_encoding_options(False) wid=3, want_alpha=False, speed=31, quality=51, bandwidth-limit=524288, lossless threshold: 66 / 14, rgb auto threshold=1024 (min=1024, max=1024), get_best_encoding= 2018-11-03 15:42:45,237 make_instance() nvenc - instance count=1 2018-11-03 15:42:45,237 packet decoding sequence 14 for window 1: 1636x958 took 32.0ms 2018-11-03 15:42:45,238 get_video_pipeline_options(['h264', 'h265'], 520, 189, 'BGRX', False) last params=(['h264', 'h265'], 520, 189, 'BGRX'), full_csc_modes={'mpeg1': ('YUV420P',), 'mpeg2': ('YUV420P',), 'mpeg4': ('YUV420P',), 'h264': ('ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'h265': ('BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'vp9': ('YUV420P', 'YUV444P'), 'vp8': ('YUV420P',), 'webp': ('BGRA', 'BGRX', 'RGBA', 'RGBX')} 2018-11-03 15:42:45,238 will test 0 devices from failing list: [] 2018-11-03 15:42:45,239 record_latency: took 86.0 ms round trip, 85.9 for echo, 32.0 for decoding of 1567288 pixels, 71239 bytes sent over the network in 54.0 ms, 53.9 ms for echo 2018-11-03 15:42:45,239 get_video_pipeline_options(['h264', 'h265'], 520, 189, 'BGRX') speed: 31 (min 30), quality: 51 (min 30) 2018-11-03 15:42:45,239 will test 1 device from OK list: [0] 2018-11-03 15:42:45,240 may_recalculate(1, 1567288) total 1567288 pixels, scheduling recalculate work item 2018-11-03 15:42:45,240 add_scores(direct (no csc), None, BGRX) 2018-11-03 15:42:45,240 select_device: testing device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:45,241 calculate_scaling(520, 189, 4096, 4096)=(1, 1) (q=51, s=31, scaling_control=None) 2018-11-03 15:42:45,462 created context= 2018-11-03 15:42:45,463 get_score(BGRX , None , video_spec(nvenc) , 520, 189) quality: 51, speed: 92, setup: 100 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=520x188, sizescore=100, client score delta= 0, cpu score= 0, gpu score=100, score=80 2018-11-03 15:42:45,464 memory: free=5829MB, total=6077MB 2018-11-03 15:42:45,467 add_scores(via XBGR (XBGR), video_spec(swscale), XBGR) 2018-11-03 15:42:45,529 selected device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:45,532 add_scores(via YUV422P (YUV422P), video_spec(swscale), YUV422P) 2018-11-03 15:42:45,742 add_scores(via RGB (RGB), video_spec(swscale), RGB) 2018-11-03 15:42:45,744 add_scores(via RGBX (RGBX), video_spec(swscale), RGBX) 2018-11-03 15:42:45,745 add_scores(via GBRP (GBRP), video_spec(swscale), GBRP) 2018-11-03 15:42:45,747 add_scores(via BGR (BGR), video_spec(swscale), BGR) 2018-11-03 15:42:45,748 add_scores(via YUV420P (YUV420P), video_spec(swscale), YUV420P) 2018-11-03 15:42:45,750 add_scores(via XRGB (XRGB), video_spec(swscale), XRGB) 2018-11-03 15:42:45,754 calculate_scaling(520, 189, 4096, 4096)=(1, 1) (q=51, s=31, scaling_control=None) 2018-11-03 15:42:45,754 get_score(XRGB , video_spec(swscale) , video_spec(nvenc) , 520, 189) quality: 76, speed: 82, setup: 64 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=520x188, sizescore=100, client score delta= 0, cpu score= 0, gpu score=100, score=80 2018-11-03 15:42:45,756 add_scores(via YUV444P (YUV444P), video_spec(swscale), YUV444P) 2018-11-03 15:42:45,757 add_scores(direct (no csc), None, BGRX) 2018-11-03 15:42:45,758 calculate_scaling(520, 189, 8192, 8192)=(1, 1) (q=51, s=31, scaling_control=None) 2018-11-03 15:42:45,759 get_score(BGRX , None , video_spec(nvenc) , 520, 189) quality: 91, speed: 92, setup: 100 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=520x188, sizescore=100, client score delta= 0, cpu score= 0, gpu score=100, score=88 2018-11-03 15:42:45,761 add_scores(via XBGR (XBGR), video_spec(swscale), XBGR) 2018-11-03 15:42:45,761 add_scores(via YUV422P (YUV422P), video_spec(swscale), YUV422P) 2018-11-03 15:42:45,762 add_scores(via RGB (RGB), video_spec(swscale), RGB) 2018-11-03 15:42:45,763 add_scores(via RGBX (RGBX), video_spec(swscale), RGBX) 2018-11-03 15:42:45,763 add_scores(via GBRP (GBRP), video_spec(swscale), GBRP) 2018-11-03 15:42:45,764 add_scores(via BGR (BGR), video_spec(swscale), BGR) 2018-11-03 15:42:45,765 add_scores(via YUV420P (YUV420P), video_spec(swscale), YUV420P) 2018-11-03 15:42:45,766 add_scores(via XRGB (XRGB), video_spec(swscale), XRGB) 2018-11-03 15:42:45,768 calculate_scaling(520, 189, 8192, 8192)=(1, 1) (q=51, s=31, scaling_control=None) 2018-11-03 15:42:45,769 get_score(XRGB , video_spec(swscale) , video_spec(nvenc) , 520, 189) quality: 96, speed: 82, setup: 64 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=520x188, sizescore=100, client score delta= 0, cpu score= 0, gpu score=100, score=84 2018-11-03 15:42:45,769 add_scores(via YUV444P (YUV444P), video_spec(swscale), YUV444P) 2018-11-03 15:42:45,770 get_video_pipeline_options(['h264', 'h265'], 520, 189, 'BGRX') scores=[(88, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 520, 188, video_spec(nvenc)), (84, (1, 1), (1, 1), 520, 188, video_spec(swscale), u'XRGB', (1, 1), 520, 188, video_spec(nvenc)), (80, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 520, 188, video_spec(nvenc)), (80, (1, 1), (1, 1), 520, 188, video_spec(swscale), u'XRGB', (1, 1), 520, 188, video_spec(nvenc))] 2018-11-03 15:42:45,770 check_pipeline_score(False) best=(88, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 520, 188, video_spec(nvenc)) 2018-11-03 15:42:45,791 setup_pipeline: csc=None, video encoder=nvenc(BGRX/BGRX/H265 - hp - 1636x958 ), info: {u'context_count': 2, u'generation': 11, u'pixel_format': u'BGRX', u'height': 958, u'frames': 0, u'total_memory': 0, u'quality': 30, u'yuv444': {u'threshold': 85, u'supported': True}, u'cuda-device': {u'device': {u'memory': 6077, u'name': 'GeForce GTX 1060 6GB', u'pci_bus_id': '0000:AF:00.0'}, u'api_version': 3020}, u'encoder_width': 1664, u'speed': 36, u'device_count': 1, u'free_memory': 0, u'width': 1636, u'version': (8, 1), u'pycuda': {'version': {'': (2018, 1), 'text': '2018.1'}}, u'src_format': 'BGRX', u'codec': u'H265', u'preset': u'hp', u'bitrate': 7302908, u'lossless': {u'': 0, u'threshold': 100, u'supported': 1}, u'kernel_version': '4.4.162-1.el7.elrepo.x86_64', u'encoder_height': 960, u'total_time_ms': 0, u'cuda': {'driver': {'driver_version': 10000, 'version': (9, 2, 0)}}, u'cards': {0: {'power-state': 0, 'name': 'GeForce GTX 1060 6GB', 'clock-info': {'mem-max': 4004, 'graphics-max': 1911, 'sm': 1506, 'graphics': 1506, 'mem': 4006, 'sm-max': 1911}, 'uuid': 'GPU-bf07c86e-54c4-c5fa-a685-43155618ed27', 'pcie-link': {'width-max': 16, 'generation-max': 3, 'generation': 3, 'width': 16}, 'pci': {'domain': 0, 'busId': '0000:AF:00.0', 'pciDeviceId': 469962974, 'device': 0, 'bus': 175, 'pciSubSystemId': 295639406}, 'memory': {'total': 6373179392, 'free': 6317408256, 'used': 55771136}, 'fan-speed': 0, 'vbios-version': '86.06.63.00.D4', 'temperature': 62}}, u'kernel_module_version': (410, 73)}, setup took 554.00ms 2018-11-03 15:42:45,792 setup_pipeline: scaling=(1, 1), encoder_scaling=(1, 1) 2018-11-03 15:42:45,792 video_encode('auto', XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) image size: 1636x959, encoder/csc size: 1636x958 2018-11-03 15:42:45,820 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280 2018-11-03 15:42:45,821 send_delayed_regions: using full window update 1636x959 as auto, from 2018-11-03 15:42:45,826 process_damage_region: wid=1, adding pixel data to encode queue (1636x959 - auto), elapsed time: 82.8 ms, request time: 5.1 ms, frame delay=0ms 2018-11-03 15:42:45,853 video_encode nvenc encoder: h265 1636x958 result is 107001 bytes (25.0 MPixels/s), client options={u'speed': 36, u'frame': 0, u'pts': 0, 'csc': 'YUV444P', u'quality': 30} 2018-11-03 15:42:45,854 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (1, 0, 0, 1636, 959, 'auto') 2018-11-03 15:42:45,856 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) 2018-11-03 15:42:45,857 video_encode('auto', XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) image size: 1636x959, encoder/csc size: 1636x958 2018-11-03 15:42:45,871 send_delayed for wid 1, delaying again because of backlog: 1 packets, batch delay is 255, elapsed time is 38ms 2018-11-03 15:42:45,901 video_encode nvenc encoder: h265 1636x958 result is 87316 bytes (33.7 MPixels/s), client options={u'speed': 36, u'frame': 1, u'pts': 129, 'csc': 'YUV444P', u'quality': 30} 2018-11-03 15:42:45,902 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (1, 0, 0, 1636, 959, 'auto') 2018-11-03 15:42:45,902 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) 2018-11-03 15:42:45,903 video_encode('auto', XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) image size: 1636x959, encoder/csc size: 1636x958 2018-11-03 15:42:45,906 packet decoding sequence 15 for window 1: 1636x958 took 31.0ms 2018-11-03 15:42:45,907 record_latency: took 52.4 ms round trip, 50.6 for echo, 31.0 for decoding of 1567288 pixels, 107081 bytes sent over the network in 21.4 ms, 19.6 ms for echo 2018-11-03 15:42:45,908 send_delayed for wid 1, delaying again because too many pixels are waiting to be encoded: 1568924 2018-11-03 15:42:45,943 video_encode nvenc encoder: h265 1636x958 result is 58053 bytes (38.9 MPixels/s), client options={u'speed': 36, u'frame': 2, u'pts': 720, 'csc': 'YUV444P', u'quality': 30} 2018-11-03 15:42:45,946 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280 2018-11-03 15:42:45,947 send_delayed_regions: using full window update 1636x959 as auto, from 2018-11-03 15:42:45,956 process_damage_region: wid=1, adding pixel data to encode queue (1636x959 - auto), elapsed time: 123.2 ms, request time: 8.7 ms, frame delay=0ms 2018-11-03 15:42:45,956 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (1, 0, 0, 1636, 959, 'auto') 2018-11-03 15:42:45,956 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) 2018-11-03 15:42:45,957 video_encode('auto', XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) image size: 1636x959, encoder/csc size: 1636x958 2018-11-03 15:42:45,959 packet decoding sequence 16 for window 1: 1636x958 took 16.0ms 2018-11-03 15:42:45,959 record_latency: took 55.9 ms round trip, 55.4 for echo, 16.0 for decoding of 1567288 pixels, 87398 bytes sent over the network in 39.9 ms, 39.4 ms for echo 2018-11-03 15:42:45,995 send_delayed for wid 1, delaying again because of backlog: 1 packets, batch delay is 255, elapsed time is 15ms 2018-11-03 15:42:45,995 video_encode nvenc encoder: h265 1636x958 result is 37995 bytes (39.3 MPixels/s), client options={u'speed': 36, u'frame': 3, u'pts': 847, 'csc': 'YUV444P', u'quality': 30} 2018-11-03 15:42:46,000 packet decoding sequence 17 for window 1: 1636x958 took 16.0ms 2018-11-03 15:42:46,000 record_latency: took 54.7 ms round trip, 54.6 for echo, 16.0 for decoding of 1567288 pixels, 58135 bytes sent over the network in 38.7 ms, 38.6 ms for echo 2018-11-03 15:42:46,002 send_delayed for wid 1, batch delay is 255ms, elapsed time is 22ms 2018-11-03 15:42:46,003 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280 2018-11-03 15:42:46,003 send_delayed_regions: using full window update 1636x959 as auto, from 2018-11-03 15:42:46,007 process_damage_region: wid=1, adding pixel data to encode queue (1636x959 - auto), elapsed time: 27.6 ms, request time: 3.8 ms, frame delay=0ms 2018-11-03 15:42:46,072 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (1, 0, 0, 1636, 959, 'auto') 2018-11-03 15:42:46,074 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) 2018-11-03 15:42:46,075 video_encode('auto', XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) image size: 1636x959, encoder/csc size: 1636x958 2018-11-03 15:42:46,077 packet decoding sequence 18 for window 1: 1636x958 took 16.0ms 2018-11-03 15:42:46,078 record_latency: took 81.4 ms round trip, 81.3 for echo, 16.0 for decoding of 1567288 pixels, 38077 bytes sent over the network in 65.4 ms, 65.3 ms for echo 2018-11-03 15:42:46,087 send_delayed for wid 1, delaying again because too many pixels are waiting to be encoded: 1568924 2018-11-03 15:42:46,098 send_delayed for wid 1, delaying again because too many pixels are waiting to be encoded: 1568924 2018-11-03 15:42:46,100 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280 2018-11-03 15:42:46,100 send_delayed_regions: using full window update 1636x959 as auto, from 2018-11-03 15:42:46,110 process_damage_region: wid=1, adding pixel data to encode queue (1636x959 - auto), elapsed time: 35.6 ms, request time: 9.0 ms, frame delay=0ms 2018-11-03 15:42:46,111 window 1 delayed region already sent 2018-11-03 15:42:46,128 send_delayed for wid 1, delaying again because too many pixels are waiting to be encoded: 1568924 2018-11-03 15:42:46,139 send_delayed for wid 1, delaying again because too many pixels are waiting to be encoded: 1568924 2018-11-03 15:42:46,145 video_encode nvenc encoder: h265 1636x958 result is 28240 bytes (21.6 MPixels/s), client options={u'speed': 36, u'frame': 4, u'pts': 903, 'csc': 'YUV444P', u'quality': 30} 2018-11-03 15:42:46,145 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (1, 0, 0, 1636, 959, 'auto') 2018-11-03 15:42:46,146 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) 2018-11-03 15:42:46,146 video_encode('auto', XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) image size: 1636x959, encoder/csc size: 1636x958 2018-11-03 15:42:46,150 send_delayed for wid 1, delaying again because too many pixels are waiting to be encoded: 1568924 2018-11-03 15:42:46,159 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280 2018-11-03 15:42:46,160 send_delayed_regions: using full window update 1636x959 as auto, from 2018-11-03 15:42:46,169 process_damage_region: wid=1, adding pixel data to encode queue (1636x959 - auto), elapsed time: 57.5 ms, request time: 9.0 ms, frame delay=0ms 2018-11-03 15:42:46,170 recalculate_delays() wids=(1,), focus=1, maximized=[], fullscreen=[] 2018-11-03 15:42:46,171 calculate_batch_delay for wid=1 current batch delay=255, last update 1 seconds ago 2018-11-03 15:42:46,173 update_batch_delay: damage-network-delay : 0.91,0.60 {u'avg': 51, u'recent': 45} 2018-11-03 15:42:46,173 update_batch_delay: client-decode-speed : 0.92,0.00 {u'avg': 13, u'recent': 12} 2018-11-03 15:42:46,173 update_batch_delay: damage-rate : 1.00,0.00 {'max_latency': 1469, 'elapsed': 0} 2018-11-03 15:42:46,173 update_batch_delay: bandwidth-limit : 0.55,0.00 {'used': 2548840, 'budget': 5141452} 2018-11-03 15:42:46,174 update_batch_delay: client-latency : 1.22,0.15 {u'target': 4, u'weight_multiplier': 321, u'smoothing': u'sqrt', u'aim': 800, u'aimed_avg': 1478, u'div': 1000, u'avg': 144, u'recent': 58} 2018-11-03 15:42:46,174 update_batch_delay: client-ping-latency : 0.53,0.18 {u'target': 9, u'weight_multiplier': 261, u'smoothing': u'sqrt', u'aim': 949, u'aimed_avg': 278, u'div': 1000, u'avg': 80, u'recent': 19} 2018-11-03 15:42:46,174 update_batch_delay: server-ping-latency : 0.76,0.25 {u'target': 20, u'weight_multiplier': 505, u'smoothing': u'sqrt', u'aim': 949, u'aimed_avg': 582, u'div': 1000, u'avg': 92, u'recent': 49} 2018-11-03 15:42:46,174 update_batch_delay: packet-queue-size : 0.05,0.15 {u'target': 1000, u'weight_multiplier': 152, u'smoothing': u'sqrt', u'aim': 250, u'aimed_avg': 2, u'div': 1000, u'avg': 23, u'recent': 3} 2018-11-03 15:42:46,175 update_batch_delay: packet-queue-pixels : 0.00,0.00 {u'target': 1000, u'weight_multiplier': 0, u'smoothing': u'sqrt', u'aim': 250, u'aimed_avg': 0, u'div': 1568924000, u'avg': 0, u'recent': 0} 2018-11-03 15:42:46,175 update_batch_delay: compression-work-queue : 2.17,3.79 {u'target': 1000, u'weight_multiplier': 3392, u'smoothing': u'logp', u'aim': 250, u'aimed_avg': 3501, u'div': 1000, u'avg': 11507, u'recent': 8865} 2018-11-03 15:42:46,175 update_batch_delay: congestion : 1.05,0.45 {} 2018-11-03 15:42:46,175 update_batch_delay: damage-packet-queue-pixels : 0.00,0.00 {u'target': 1000, u'weight_multiplier': 0, u'smoothing': u'sqrt', u'aim': 250, u'aimed_avg': 0, u'div': 1568924000, u'avg': 0, u'recent': 0} 2018-11-03 15:42:46,176 update_batch_delay: focus : 0.00,1.00 {'has_focus': True} 2018-11-03 15:42:46,176 update_batch_delay: override-redirect : 1.00,0.00 {'is_OR': False} 2018-11-03 15:42:46,176 update_batch_delay: fullscreen : 0.00,0.00 {'other_is_fullscreen': False} 2018-11-03 15:42:46,176 update_batch_delay: maximized : 0.00,0.00 {'other_is_maximized': False} 2018-11-03 15:42:46,177 update_batch_delay: soft-expired : 2.00,1.00 {'count': 2} 2018-11-03 15:42:46,177 update_batch_delay: delay=223 2018-11-03 15:42:46,177 get_client_backlog missing acks: [] 2018-11-03 15:42:46,178 get_target_quality: target=3% (window 1636x959) pctpixdamaged=1155%, dpc={1: 7771680, 2: 5181120, 3: 5181120, 4: 0, 5: 0, 6: 1295280, 7: 0, 8: 1295280, 9: 0, 10: 1295280} 2018-11-03 15:42:46,178 update_quality() wid=1, info={'batch-delay-ratio': 16, 'backlog_factor': (0, 0, 1568924, 0, 100), 'congestion-value': 45, 'latency': 123, 'compression-ratio': (42, 29, 5), 'min_quality': 30, 'max-quality-range': 71, 'min_speed': 30}, quality=31 2018-11-03 15:42:46,179 update_speed() wid=1, info={'congestion-value': 45, 'min_speed': 30, 'damage_latency': {'abs_factor': 783, 'rel_factor': 349, 'avg': 1457, 'ref': 45, 'target': 145}, 'frame_delay': 145, 'mpixels': 7, 'low_limit': 1568924, 'decoding_latency': {'factor': 0, 'avg': 76156364, 'min': 1000000}, 'max-speed-range': 71}, speed=45 2018-11-03 15:42:46,179 update_encoding_options(False) wid=1, want_alpha=False, speed=45, quality=31, bandwidth-limit=5141452, lossless threshold: 69 / 11, rgb auto threshold=2048 (min=2048, max=5141), get_best_encoding= 2018-11-03 15:42:46,180 get_video_pipeline_options(['h264', 'h265'], 1636, 958, 'BGRX', False) last params=(['h264', 'h265'], 1636, 958, 'BGRX'), full_csc_modes={'mpeg1': ('YUV420P',), 'mpeg2': ('YUV420P',), 'mpeg4': ('YUV420P',), 'h264': ('ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'h265': ('BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'vp9': ('YUV420P', 'YUV444P'), 'vp8': ('YUV420P',), 'webp': ('BGRA', 'BGRX', 'RGBA', 'RGBX')} 2018-11-03 15:42:46,180 get_video_pipeline_options(['h264', 'h265'], 1636, 958, 'BGRX') speed: 45 (min 30), quality: 31 (min 30) 2018-11-03 15:42:46,180 add_scores(direct (no csc), None, BGRX) 2018-11-03 15:42:46,181 calculate_scaling(1636, 958, 4096, 4096)=(1, 1) (q=31, s=45, scaling_control=None) 2018-11-03 15:42:46,181 get_score(BGRX , None , video_spec(nvenc) , 1636, 958) quality: 31, speed: 88, setup: 100 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=1636x958, sizescore= 96, client score delta= 0, cpu score= 0, gpu score=100, score=75 2018-11-03 15:42:46,181 add_scores(via XBGR (XBGR), video_spec(swscale), XBGR) 2018-11-03 15:42:46,182 add_scores(via YUV422P (YUV422P), video_spec(swscale), YUV422P) 2018-11-03 15:42:46,182 add_scores(via RGB (RGB), video_spec(swscale), RGB) 2018-11-03 15:42:46,182 add_scores(via RGBX (RGBX), video_spec(swscale), RGBX) 2018-11-03 15:42:46,182 add_scores(via GBRP (GBRP), video_spec(swscale), GBRP) 2018-11-03 15:42:46,183 add_scores(via BGR (BGR), video_spec(swscale), BGR) 2018-11-03 15:42:46,183 add_scores(via YUV420P (YUV420P), video_spec(swscale), YUV420P) 2018-11-03 15:42:46,183 add_scores(via XRGB (XRGB), video_spec(swscale), XRGB) 2018-11-03 15:42:46,183 calculate_scaling(1636, 958, 4096, 4096)=(1, 1) (q=31, s=45, scaling_control=None) 2018-11-03 15:42:46,184 get_score(XRGB , video_spec(swscale) , video_spec(nvenc) , 1636, 958) quality: 56, speed: 80, setup: 64 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=1636x958, sizescore= 96, client score delta= 0, cpu score= 0, gpu score=100, score=74 2018-11-03 15:42:46,184 add_scores(via YUV444P (YUV444P), video_spec(swscale), YUV444P) 2018-11-03 15:42:46,184 add_scores(direct (no csc), None, BGRX) 2018-11-03 15:42:46,185 calculate_scaling(1636, 958, 8192, 8192)=(1, 1) (q=31, s=45, scaling_control=None) 2018-11-03 15:42:46,185 get_score(BGRX , None , video_spec(nvenc) , 1636, 958) quality: 71, speed: 88, setup: 100 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=1636x958, sizescore= 96, client score delta= 0, cpu score= 0, gpu score=100, score=83 2018-11-03 15:42:46,185 add_scores(via XBGR (XBGR), video_spec(swscale), XBGR) 2018-11-03 15:42:46,186 add_scores(via YUV422P (YUV422P), video_spec(swscale), YUV422P) 2018-11-03 15:42:46,186 add_scores(via RGB (RGB), video_spec(swscale), RGB) 2018-11-03 15:42:46,186 add_scores(via RGBX (RGBX), video_spec(swscale), RGBX) 2018-11-03 15:42:46,186 add_scores(via GBRP (GBRP), video_spec(swscale), GBRP) 2018-11-03 15:42:46,187 add_scores(via BGR (BGR), video_spec(swscale), BGR) 2018-11-03 15:42:46,187 add_scores(via YUV420P (YUV420P), video_spec(swscale), YUV420P) 2018-11-03 15:42:46,187 send_delayed for wid 1, delaying again because of backlog: 1 packets, batch delay is 223, elapsed time is 15ms 2018-11-03 15:42:46,187 add_scores(via XRGB (XRGB), video_spec(swscale), XRGB) 2018-11-03 15:42:46,188 calculate_scaling(1636, 958, 8192, 8192)=(1, 1) (q=31, s=45, scaling_control=None) 2018-11-03 15:42:46,188 get_score(XRGB , video_spec(swscale) , video_spec(nvenc) , 1636, 958) quality: 76, speed: 80, setup: 64 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=1636x958, sizescore= 96, client score delta= 0, cpu score= 0, gpu score=100, score=78 2018-11-03 15:42:46,189 add_scores(via YUV444P (YUV444P), video_spec(swscale), YUV444P) 2018-11-03 15:42:46,189 get_video_pipeline_options(['h264', 'h265'], 1636, 958, 'BGRX') scores=[(83, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)), (78, (1, 1), (1, 1), 1636, 958, video_spec(swscale), u'XRGB', (1, 1), 1636, 958, video_spec(nvenc)), (75, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)), (74, (1, 1), (1, 1), 1636, 958, video_spec(swscale), u'XRGB', (1, 1), 1636, 958, video_spec(nvenc))] 2018-11-03 15:42:46,189 check_pipeline_score(False) best=(83, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)) 2018-11-03 15:42:46,191 packet decoding sequence 19 for window 1: 1636x958 took 16.0ms 2018-11-03 15:42:46,191 record_latency: took 45.0 ms round trip, 44.9 for echo, 16.0 for decoding of 1567288 pixels, 28322 bytes sent over the network in 29.0 ms, 28.9 ms for echo 2018-11-03 15:42:46,192 may_recalculate(1, 1567288) total 1567288 pixels, scheduling recalculate work item 2018-11-03 15:42:46,225 video_encode nvenc encoder: h265 1636x958 result is 23269 bytes (19.1 MPixels/s), client options={u'speed': 36, u'frame': 5, u'pts': 1000, 'csc': 'YUV444P', u'quality': 30} 2018-11-03 15:42:46,225 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (1, 0, 0, 1636, 959, 'auto') 2018-11-03 15:42:46,226 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) 2018-11-03 15:42:46,226 check_pipeline('auto', 1636, 959, 'BGRX') setting up a new pipeline as check failed - encodings=['h264', 'h265'] 2018-11-03 15:42:46,227 get_video_pipeline_options(['h264', 'h265'], 1636, 958, 'BGRX', False) using cached values from 37ms ago 2018-11-03 15:42:46,227 setup_pipeline([(83, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)), (78, (1, 1), (1, 1), 1636, 958, video_spec(swscale), u'XRGB', (1, 1), 1636, 958, video_spec(nvenc)), (75, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)), (74, (1, 1), (1, 1), 1636, 958, video_spec(swscale), u'XRGB', (1, 1), 1636, 958, video_spec(nvenc))], 1636, 959, 'BGRX') 2018-11-03 15:42:46,227 setup_pipeline: trying (83, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)) 2018-11-03 15:42:46,228 make_instance() nvenc - instance count=1 2018-11-03 15:42:46,228 will test 0 devices from failing list: [] 2018-11-03 15:42:46,228 will test 1 device from OK list: [0] 2018-11-03 15:42:46,228 select_device: testing device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:46,415 created context= 2018-11-03 15:42:46,416 memory: free=5829MB, total=6077MB 2018-11-03 15:42:46,417 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280 2018-11-03 15:42:46,472 selected device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:46,679 send_delayed_regions: using full window update 1636x959 as auto, from 2018-11-03 15:42:46,684 process_damage_region: wid=1, adding pixel data to encode queue (1636x959 - auto), elapsed time: 512.5 ms, request time: 4.8 ms, frame delay=0ms 2018-11-03 15:42:46,687 window 1 delayed region already sent 2018-11-03 15:42:46,691 packet decoding sequence 20 for window 1: 1636x958 took 16.0ms 2018-11-03 15:42:46,691 record_latency: took 465.1 ms round trip, 464.6 for echo, 16.0 for decoding of 1567288 pixels, 23351 bytes sent over the network in 449.1 ms, 448.6 ms for echo 2018-11-03 15:42:46,725 setup_pipeline: csc=None, video encoder=nvenc(BGRX/BGRX/H265 - hp - 1636x958 ), info: {u'context_count': 2, u'generation': 12, u'pixel_format': u'BGRX', u'height': 958, u'frames': 0, u'total_memory': 0, u'quality': 31, u'yuv444': {u'threshold': 85, u'supported': True}, u'cuda-device': {u'device': {u'memory': 6077, u'name': 'GeForce GTX 1060 6GB', u'pci_bus_id': '0000:AF:00.0'}, u'api_version': 3020}, u'encoder_width': 1664, u'speed': 45, u'device_count': 1, u'free_memory': 0, u'width': 1636, u'version': (8, 1), u'pycuda': {'version': {'': (2018, 1), 'text': '2018.1'}}, u'src_format': 'BGRX', u'codec': u'H265', u'preset': u'hp', u'bitrate': 12193506, u'lossless': {u'': 0, u'threshold': 100, u'supported': 1}, u'kernel_version': '4.4.162-1.el7.elrepo.x86_64', u'encoder_height': 960, u'total_time_ms': 0, u'cuda': {'driver': {'driver_version': 10000, 'version': (9, 2, 0)}}, u'cards': {0: {'power-state': 0, 'name': 'GeForce GTX 1060 6GB', 'clock-info': {'mem-max': 4004, 'graphics-max': 1911, 'sm': 1506, 'graphics': 1506, 'mem': 4006, 'sm-max': 1911}, 'uuid': 'GPU-bf07c86e-54c4-c5fa-a685-43155618ed27', 'pcie-link': {'width-max': 16, 'generation-max': 3, 'generation': 3, 'width': 16}, 'pci': {'domain': 0, 'busId': '0000:AF:00.0', 'pciDeviceId': 469962974, 'device': 0, 'bus': 175, 'pciSubSystemId': 295639406}, 'memory': {'total': 6373179392, 'free': 6317408256, 'used': 55771136}, 'fan-speed': 0, 'vbios-version': '86.06.63.00.D4', 'temperature': 62}}, u'kernel_module_version': (410, 73)}, setup took 497.69ms 2018-11-03 15:42:46,726 setup_pipeline: scaling=(1, 1), encoder_scaling=(1, 1) 2018-11-03 15:42:46,726 video_encode('auto', XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) image size: 1636x959, encoder/csc size: 1636x958 2018-11-03 15:42:46,754 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280 2018-11-03 15:42:46,754 send_delayed_regions: using full window update 1636x959 as auto, from 2018-11-03 15:42:46,764 process_damage_region: wid=1, adding pixel data to encode queue (1636x959 - auto), elapsed time: 46.6 ms, request time: 8.9 ms, frame delay=0ms 2018-11-03 15:42:46,791 video_encode nvenc encoder: h265 1636x958 result is 66603 bytes (23.1 MPixels/s), client options={u'speed': 45, u'frame': 0, u'pts': 0, 'csc': 'YUV444P', u'quality': 31} 2018-11-03 15:42:46,792 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (1, 0, 0, 1636, 959, 'auto') 2018-11-03 15:42:46,792 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) 2018-11-03 15:42:46,792 video_encode('auto', XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) image size: 1636x959, encoder/csc size: 1636x958 2018-11-03 15:42:46,817 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280 2018-11-03 15:42:46,818 send_delayed_regions: using full window update 1636x959 as auto, from 2018-11-03 15:42:46,821 process_damage_region: wid=1, adding pixel data to encode queue (1636x959 - auto), elapsed time: 56.5 ms, request time: 3.4 ms, frame delay=0ms 2018-11-03 15:42:46,833 send_delayed for wid 1, delaying again because of backlog: 1 packets, batch delay is 223, elapsed time is 9ms 2018-11-03 15:42:46,837 video_encode nvenc encoder: h265 1636x958 result is 36315 bytes (34.0 MPixels/s), client options={u'speed': 45, u'frame': 1, u'pts': 519, 'csc': 'YUV444P', u'quality': 31} 2018-11-03 15:42:46,837 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (1, 0, 0, 1636, 959, 'auto') 2018-11-03 15:42:46,838 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) 2018-11-03 15:42:46,838 video_encode('auto', XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) image size: 1636x959, encoder/csc size: 1636x958 2018-11-03 15:42:46,842 packet decoding sequence 21 for window 1: 1636x958 took 31.0ms 2018-11-03 15:42:46,842 record_latency: took 48.7 ms round trip, 47.3 for echo, 31.0 for decoding of 1567288 pixels, 66684 bytes sent over the network in 17.7 ms, 16.3 ms for echo 2018-11-03 15:42:46,845 send_delayed for wid 1, delaying again because too many pixels are waiting to be encoded: 1568924 2018-11-03 15:42:46,877 video_encode nvenc encoder: h265 1636x958 result is 30944 bytes (38.5 MPixels/s), client options={u'speed': 45, u'frame': 2, u'pts': 594, 'csc': 'YUV444P', u'quality': 31} 2018-11-03 15:42:46,878 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (1, 0, 0, 1636, 959, 'auto') 2018-11-03 15:42:46,878 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) 2018-11-03 15:42:46,879 video_encode('auto', XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) image size: 1636x959, encoder/csc size: 1636x958 2018-11-03 15:42:46,881 packet decoding sequence 22 for window 1: 1636x958 took 0.0ms 2018-11-03 15:42:46,883 send_delayed for wid 1, delaying again because too many pixels are waiting to be encoded: 1568924 2018-11-03 15:42:46,905 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280 2018-11-03 15:42:46,906 send_delayed_regions: using full window update 1636x959 as auto, from 2018-11-03 15:42:46,912 process_damage_region: wid=1, adding pixel data to encode queue (1636x959 - auto), elapsed time: 88.3 ms, request time: 5.3 ms, frame delay=0ms 2018-11-03 15:42:46,923 video_encode nvenc encoder: h265 1636x958 result is 20463 bytes (34.0 MPixels/s), client options={u'speed': 45, u'frame': 3, u'pts': 657, 'csc': 'YUV444P', u'quality': 31} 2018-11-03 15:42:46,924 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (1, 0, 0, 1636, 959, 'auto') 2018-11-03 15:42:46,924 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) 2018-11-03 15:42:46,924 video_encode('auto', XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) image size: 1636x959, encoder/csc size: 1636x958 2018-11-03 15:42:46,930 packet decoding sequence 23 for window 1: 1636x958 took 15.0ms 2018-11-03 15:42:46,930 record_latency: took 52.0 ms round trip, 51.7 for echo, 15.0 for decoding of 1567288 pixels, 31027 bytes sent over the network in 37.0 ms, 36.7 ms for echo 2018-11-03 15:42:46,941 send_delayed for wid 1, delaying again because of backlog: 1 packets, batch delay is 223, elapsed time is 22ms 2018-11-03 15:42:46,959 video_encode nvenc encoder: h265 1636x958 result is 15209 bytes (43.1 MPixels/s), client options={u'speed': 45, u'frame': 4, u'pts': 746, 'csc': 'YUV444P', u'quality': 31} 2018-11-03 15:42:46,969 packet decoding sequence 24 for window 1: 1636x958 took 15.0ms 2018-11-03 15:42:46,970 record_latency: took 45.3 ms round trip, 45.2 for echo, 15.0 for decoding of 1567288 pixels, 20546 bytes sent over the network in 30.3 ms, 30.2 ms for echo 2018-11-03 15:42:46,971 send_delayed for wid 1, batch delay is 223ms, elapsed time is 52ms 2018-11-03 15:42:46,971 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280 2018-11-03 15:42:46,971 send_delayed_regions: using full window update 1636x959 as auto, from 2018-11-03 15:42:46,980 process_damage_region: wid=1, adding pixel data to encode queue (1636x959 - auto), elapsed time: 61.5 ms, request time: 8.2 ms, frame delay=0ms 2018-11-03 15:42:47,045 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (1, 0, 0, 1636, 959, 'auto') 2018-11-03 15:42:47,047 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) 2018-11-03 15:42:47,047 video_encode('auto', XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) image size: 1636x959, encoder/csc size: 1636x958 2018-11-03 15:42:47,050 packet decoding sequence 25 for window 1: 1636x958 took 15.0ms 2018-11-03 15:42:47,050 record_latency: took 85.5 ms round trip, 85.4 for echo, 15.0 for decoding of 1567288 pixels, 15292 bytes sent over the network in 70.5 ms, 70.4 ms for echo 2018-11-03 15:42:47,059 send_delayed for wid 1, delaying again because too many pixels are waiting to be encoded: 1568924 2018-11-03 15:42:47,070 send_delayed for wid 1, delaying again because too many pixels are waiting to be encoded: 1568924 2018-11-03 15:42:47,072 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280 2018-11-03 15:42:47,072 send_delayed_regions: using full window update 1636x959 as auto, from 2018-11-03 15:42:47,083 process_damage_region: wid=1, adding pixel data to encode queue (1636x959 - auto), elapsed time: 36.7 ms, request time: 10.7 ms, frame delay=0ms 2018-11-03 15:42:47,084 window 1 delayed region already sent 2018-11-03 15:42:47,103 send_delayed for wid 1, delaying again because too many pixels are waiting to be encoded: 1568924 2018-11-03 15:42:47,108 video_encode nvenc encoder: h265 1636x958 result is 13771 bytes (24.5 MPixels/s), client options={u'speed': 45, u'frame': 5, u'pts': 811, 'csc': 'YUV444P', u'quality': 31} 2018-11-03 15:42:47,109 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (1, 0, 0, 1636, 959, 'auto') 2018-11-03 15:42:47,109 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) 2018-11-03 15:42:47,109 video_encode('auto', XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) image size: 1636x959, encoder/csc size: 1636x958 2018-11-03 15:42:47,114 send_delayed for wid 1, delaying again because too many pixels are waiting to be encoded: 1568924 2018-11-03 15:42:47,123 packet decoding sequence 26 for window 1: 1636x958 took 16.0ms 2018-11-03 15:42:47,123 record_latency: took 12.0 ms round trip, 11.9 for echo, 16.0 for decoding of 1567288 pixels, 13854 bytes sent over the network in 0.0 ms, 0.0 ms for echo 2018-11-03 15:42:47,123 send_delayed for wid 1, delaying again because too many pixels are waiting to be encoded: 1568924 2018-11-03 15:42:47,134 send_delayed for wid 1, delaying again because too many pixels are waiting to be encoded: 1568924 2018-11-03 15:42:47,138 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280 2018-11-03 15:42:47,139 send_delayed_regions: using full window update 1636x959 as auto, from 2018-11-03 15:42:47,146 process_damage_region: wid=1, adding pixel data to encode queue (1636x959 - auto), elapsed time: 61.3 ms, request time: 7.1 ms, frame delay=0ms 2018-11-03 15:42:47,147 window 1 delayed region already sent 2018-11-03 15:42:47,171 recalculate_delays() wids=(1,), focus=1, maximized=[], fullscreen=[] 2018-11-03 15:42:47,171 calculate_batch_delay for wid=1 current batch delay=223, last update 1 seconds ago 2018-11-03 15:42:47,171 update_batch_delay: damage-network-delay : 0.93,0.57 {u'avg': 47, u'recent': 43} 2018-11-03 15:42:47,172 update_batch_delay: client-decode-speed : 0.92,0.00 {u'avg': 12, u'recent': 11} 2018-11-03 15:42:47,172 update_batch_delay: damage-rate : 1.00,0.00 {'max_latency': 975, 'elapsed': 86} 2018-11-03 15:42:47,172 update_batch_delay: bandwidth-limit : 0.35,0.00 {'used': 1652592, 'budget': 5165793} 2018-11-03 15:42:47,172 update_batch_delay: client-latency : 1.31,0.18 {u'target': 4, u'weight_multiplier': 321, u'smoothing': u'sqrt', u'aim': 800, u'aimed_avg': 1713, u'div': 1000, u'avg': 126, u'recent': 65} 2018-11-03 15:42:47,172 update_batch_delay: client-ping-latency : 0.51,0.18 {u'target': 9, u'weight_multiplier': 261, u'smoothing': u'sqrt', u'aim': 949, u'aimed_avg': 260, u'div': 1000, u'avg': 56, u'recent': 13} 2018-11-03 15:42:47,173 video_encode nvenc encoder: h265 1636x958 result is 13215 bytes (24.1 MPixels/s), client options={u'speed': 45, u'frame': 6, u'pts': 912, 'csc': 'YUV444P', u'quality': 31} 2018-11-03 15:42:47,173 update_batch_delay: server-ping-latency : 0.44,0.10 {u'target': 4, u'weight_multiplier': 137, u'smoothing': u'sqrt', u'aim': 949, u'aimed_avg': 190, u'div': 1000, u'avg': 60, u'recent': 9} 2018-11-03 15:42:47,174 update_batch_delay: packet-queue-size : 0.03,0.13 {u'target': 1000, u'weight_multiplier': 127, u'smoothing': u'sqrt', u'aim': 250, u'aimed_avg': 1, u'div': 1000, u'avg': 16, u'recent': 1} 2018-11-03 15:42:47,174 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (1, 0, 0, 1636, 959, 'auto') 2018-11-03 15:42:47,175 update_batch_delay: packet-queue-pixels : 0.00,0.00 {u'target': 1000, u'weight_multiplier': 0, u'smoothing': u'sqrt', u'aim': 250, u'aimed_avg': 0, u'div': 1568924000, u'avg': 0, u'recent': 0} 2018-11-03 15:42:47,175 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) 2018-11-03 15:42:47,176 update_batch_delay: compression-work-queue : 1.93,2.95 {u'target': 1000, u'weight_multiplier': 3105, u'smoothing': u'logp', u'aim': 250, u'aimed_avg': 2815, u'div': 1000, u'avg': 9644, u'recent': 7066} 2018-11-03 15:42:47,177 video_encode('auto', XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) image size: 1636x959, encoder/csc size: 1636x958 2018-11-03 15:42:47,177 update_batch_delay: congestion : 1.02,0.24 {} 2018-11-03 15:42:47,178 update_batch_delay: damage-packet-queue-pixels : 0.00,0.00 {u'target': 1000, u'weight_multiplier': 0, u'smoothing': u'sqrt', u'aim': 250, u'aimed_avg': 0, u'div': 1568924000, u'avg': 0, u'recent': 0} 2018-11-03 15:42:47,178 update_batch_delay: focus : 0.00,1.00 {'has_focus': True} 2018-11-03 15:42:47,178 update_batch_delay: override-redirect : 1.00,0.00 {'is_OR': False} 2018-11-03 15:42:47,179 update_batch_delay: fullscreen : 0.00,0.00 {'other_is_fullscreen': False} 2018-11-03 15:42:47,179 update_batch_delay: maximized : 0.00,0.00 {'other_is_maximized': False} 2018-11-03 15:42:47,179 update_batch_delay: soft-expired : 2.00,1.00 {'count': 2} 2018-11-03 15:42:47,179 update_batch_delay: delay=188 2018-11-03 15:42:47,180 get_client_backlog missing acks: [] 2018-11-03 15:42:47,181 get_target_quality: target=4% (window 1636x959) pctpixdamaged=1651%, dpc={1: 7771680, 2: 7771680, 3: 5181120, 4: 5181120, 5: 0, 6: 0, 7: 1295280, 8: 0, 9: 1295280, 10: 0} 2018-11-03 15:42:47,181 update_quality() wid=1, info={'batch-delay-ratio': 18, 'backlog_factor': (0, 0, 1568924, 0, 100), 'congestion-value': 23, 'latency': 109, 'compression-ratio': (28, 13, 6), 'min_quality': 30, 'max-quality-range': 71, 'min_speed': 30}, quality=32 2018-11-03 15:42:47,182 update_speed() wid=1, info={'congestion-value': 23, 'min_speed': 30, 'damage_latency': {'abs_factor': 511, 'rel_factor': 323, 'avg': 967, 'ref': 45, 'target': 125}, 'frame_delay': 125, 'mpixels': 7, 'low_limit': 1568924, 'decoding_latency': {'factor': 0, 'avg': 84577702, 'min': 1000000}, 'max-speed-range': 71}, speed=50 2018-11-03 15:42:47,182 update_encoding_options(False) wid=1, want_alpha=False, speed=50, quality=32, bandwidth-limit=5165793, lossless threshold: 70 / 10, rgb auto threshold=2048 (min=2048, max=5165), get_best_encoding= 2018-11-03 15:42:47,183 get_video_pipeline_options(['h264', 'h265'], 1636, 958, 'BGRX', False) using cached values from 993ms ago 2018-11-03 15:42:47,183 check_pipeline_score(False) best=(83, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)) 2018-11-03 15:42:47,202 send_delayed for wid 1, delaying again because of backlog: 1 packets, batch delay is 188, elapsed time is 17ms 2018-11-03 15:42:47,232 video_encode nvenc encoder: h265 1636x958 result is 12753 bytes (27.3 MPixels/s), client options={u'speed': 45, u'frame': 7, u'pts': 978, 'csc': 'YUV444P', u'quality': 31} 2018-11-03 15:42:47,240 packet decoding sequence 27 for window 1: 1636x958 took 15.0ms 2018-11-03 15:42:47,240 record_latency: took 66.2 ms round trip, 66.1 for echo, 15.0 for decoding of 1567288 pixels, 13298 bytes sent over the network in 51.2 ms, 51.1 ms for echo 2018-11-03 15:42:47,240 may_recalculate(1, 1567288) total 1567288 pixels, scheduling recalculate work item 2018-11-03 15:42:47,242 send_delayed for wid 1, batch delay is 188ms, elapsed time is 58ms 2018-11-03 15:42:47,243 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280 2018-11-03 15:42:47,243 send_delayed_regions: using full window update 1636x959 as auto, from 2018-11-03 15:42:47,253 process_damage_region: wid=1, adding pixel data to encode queue (1636x959 - auto), elapsed time: 68.9 ms, request time: 9.4 ms, frame delay=0ms 2018-11-03 15:42:47,307 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (1, 0, 0, 1636, 959, 'auto') 2018-11-03 15:42:47,307 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) 2018-11-03 15:42:47,307 check_pipeline('auto', 1636, 959, 'BGRX') setting up a new pipeline as check failed - encodings=['h264', 'h265'] 2018-11-03 15:42:47,307 get_video_pipeline_options(['h264', 'h265'], 1636, 958, 'BGRX', False) last params=(['h264', 'h265'], 1636, 958, 'BGRX'), full_csc_modes={'mpeg1': ('YUV420P',), 'mpeg2': ('YUV420P',), 'mpeg4': ('YUV420P',), 'h264': ('ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'h265': ('BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'vp9': ('YUV420P', 'YUV444P'), 'vp8': ('YUV420P',), 'webp': ('BGRA', 'BGRX', 'RGBA', 'RGBX')} 2018-11-03 15:42:47,307 get_video_pipeline_options(['h264', 'h265'], 1636, 958, 'BGRX') speed: 50 (min 30), quality: 32 (min 30) 2018-11-03 15:42:47,308 add_scores(direct (no csc), None, BGRX) 2018-11-03 15:42:47,309 calculate_scaling(1636, 958, 4096, 4096)=(1, 1) (q=32, s=50, scaling_control=None) 2018-11-03 15:42:47,309 packet decoding sequence 28 for window 1: 1636x958 took 0.0ms 2018-11-03 15:42:47,309 get_score(BGRX , None , video_spec(nvenc) , 1636, 958) quality: 32, speed: 87, setup: 100 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=1636x958, sizescore= 96, client score delta= 0, cpu score= 0, gpu score=100, score=75 2018-11-03 15:42:47,309 add_scores(via XBGR (XBGR), video_spec(swscale), XBGR) 2018-11-03 15:42:47,310 add_scores(via YUV422P (YUV422P), video_spec(swscale), YUV422P) 2018-11-03 15:42:47,310 add_scores(via RGB (RGB), video_spec(swscale), RGB) 2018-11-03 15:42:47,310 add_scores(via RGBX (RGBX), video_spec(swscale), RGBX) 2018-11-03 15:42:47,311 add_scores(via GBRP (GBRP), video_spec(swscale), GBRP) 2018-11-03 15:42:47,312 add_scores(via BGR (BGR), video_spec(swscale), BGR) 2018-11-03 15:42:47,312 add_scores(via YUV420P (YUV420P), video_spec(swscale), YUV420P) 2018-11-03 15:42:47,312 add_scores(via XRGB (XRGB), video_spec(swscale), XRGB) 2018-11-03 15:42:47,313 calculate_scaling(1636, 958, 4096, 4096)=(1, 1) (q=32, s=50, scaling_control=None) 2018-11-03 15:42:47,314 get_score(XRGB , video_spec(swscale) , video_spec(nvenc) , 1636, 958) quality: 57, speed: 79, setup: 64 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=1636x958, sizescore= 96, client score delta= 0, cpu score= 0, gpu score=100, score=74 2018-11-03 15:42:47,314 add_scores(via YUV444P (YUV444P), video_spec(swscale), YUV444P) 2018-11-03 15:42:47,314 add_scores(direct (no csc), None, BGRX) 2018-11-03 15:42:47,315 calculate_scaling(1636, 958, 8192, 8192)=(1, 1) (q=32, s=50, scaling_control=None) 2018-11-03 15:42:47,315 get_score(BGRX , None , video_spec(nvenc) , 1636, 958) quality: 72, speed: 87, setup: 100 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=1636x958, sizescore= 96, client score delta= 0, cpu score= 0, gpu score=100, score=83 2018-11-03 15:42:47,316 add_scores(via XBGR (XBGR), video_spec(swscale), XBGR) 2018-11-03 15:42:47,316 add_scores(via YUV422P (YUV422P), video_spec(swscale), YUV422P) 2018-11-03 15:42:47,316 add_scores(via RGB (RGB), video_spec(swscale), RGB) 2018-11-03 15:42:47,316 add_scores(via RGBX (RGBX), video_spec(swscale), RGBX) 2018-11-03 15:42:47,316 add_scores(via GBRP (GBRP), video_spec(swscale), GBRP) 2018-11-03 15:42:47,316 add_scores(via BGR (BGR), video_spec(swscale), BGR) 2018-11-03 15:42:47,316 add_scores(via YUV420P (YUV420P), video_spec(swscale), YUV420P) 2018-11-03 15:42:47,316 add_scores(via XRGB (XRGB), video_spec(swscale), XRGB) 2018-11-03 15:42:47,317 calculate_scaling(1636, 958, 8192, 8192)=(1, 1) (q=32, s=50, scaling_control=None) 2018-11-03 15:42:47,317 get_score(XRGB , video_spec(swscale) , video_spec(nvenc) , 1636, 958) quality: 77, speed: 79, setup: 64 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=1636x958, sizescore= 96, client score delta= 0, cpu score= 0, gpu score=100, score=78 2018-11-03 15:42:47,317 add_scores(via YUV444P (YUV444P), video_spec(swscale), YUV444P) 2018-11-03 15:42:47,317 get_video_pipeline_options(['h264', 'h265'], 1636, 958, 'BGRX') scores=[(83, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)), (78, (1, 1), (1, 1), 1636, 958, video_spec(swscale), u'XRGB', (1, 1), 1636, 958, video_spec(nvenc)), (75, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)), (74, (1, 1), (1, 1), 1636, 958, video_spec(swscale), u'XRGB', (1, 1), 1636, 958, video_spec(nvenc))] 2018-11-03 15:42:47,317 setup_pipeline([(83, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)), (78, (1, 1), (1, 1), 1636, 958, video_spec(swscale), u'XRGB', (1, 1), 1636, 958, video_spec(nvenc)), (75, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)), (74, (1, 1), (1, 1), 1636, 958, video_spec(swscale), u'XRGB', (1, 1), 1636, 958, video_spec(nvenc))], 1636, 959, 'BGRX') 2018-11-03 15:42:47,317 setup_pipeline: trying (83, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1636, 958, video_spec(nvenc)) 2018-11-03 15:42:47,318 make_instance() nvenc - instance count=0 2018-11-03 15:42:47,318 will test 0 devices from failing list: [] 2018-11-03 15:42:47,318 will test 1 device from OK list: [0] 2018-11-03 15:42:47,318 select_device: testing device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:47,515 created context= 2018-11-03 15:42:47,516 send_delayed for wid 1, delaying again because too many pixels are waiting to be encoded: 1568924 2018-11-03 15:42:47,517 memory: free=5927MB, total=6077MB 2018-11-03 15:42:47,572 selected device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:47,801 send_delayed for wid 1, delaying again because too many pixels are waiting to be encoded: 1568924 2018-11-03 15:42:47,801 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280 2018-11-03 15:42:47,802 send_delayed_regions: using full window update 1636x959 as auto, from 2018-11-03 15:42:47,813 process_damage_region: wid=1, adding pixel data to encode queue (1636x959 - auto), elapsed time: 506.4 ms, request time: 11.0 ms, frame delay=0ms 2018-11-03 15:42:47,837 setup_pipeline: csc=None, video encoder=nvenc(BGRX/BGRX/H265 - hp - 1636x958 ), info: {u'context_count': 1, u'generation': 13, u'pixel_format': u'BGRX', u'height': 958, u'frames': 0, u'total_memory': 0, u'quality': 32, u'yuv444': {u'threshold': 85, u'supported': True}, u'cuda-device': {u'device': {u'memory': 6077, u'name': 'GeForce GTX 1060 6GB', u'pci_bus_id': '0000:AF:00.0'}, u'api_version': 3020}, u'encoder_width': 1664, u'speed': 50, u'device_count': 1, u'free_memory': 0, u'width': 1636, u'version': (8, 1), u'pycuda': {'version': {'': (2018, 1), 'text': '2018.1'}}, u'src_format': 'BGRX', u'codec': u'H265', u'preset': u'hp', u'bitrate': 15992437, u'lossless': {u'': 0, u'threshold': 100, u'supported': 1}, u'kernel_version': '4.4.162-1.el7.elrepo.x86_64', u'encoder_height': 960, u'total_time_ms': 0, u'cuda': {'driver': {'driver_version': 10000, 'version': (9, 2, 0)}}, u'cards': {0: {'power-state': 0, 'name': 'GeForce GTX 1060 6GB', 'clock-info': {'mem-max': 4004, 'graphics-max': 1911, 'sm': 1506, 'graphics': 1506, 'mem': 4006, 'sm-max': 1911}, 'uuid': 'GPU-bf07c86e-54c4-c5fa-a685-43155618ed27', 'pcie-link': {'width-max': 16, 'generation-max': 3, 'generation': 3, 'width': 16}, 'pci': {'domain': 0, 'busId': '0000:AF:00.0', 'pciDeviceId': 469962974, 'device': 0, 'bus': 175, 'pciSubSystemId': 295639406}, 'memory': {'total': 6373179392, 'free': 6317408256, 'used': 55771136}, 'fan-speed': 0, 'vbios-version': '86.06.63.00.D4', 'temperature': 62}}, u'kernel_module_version': (410, 73)}, setup took 519.11ms 2018-11-03 15:42:47,837 setup_pipeline: scaling=(1, 1), encoder_scaling=(1, 1) 2018-11-03 15:42:47,837 video_encode('auto', XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) image size: 1636x959, encoder/csc size: 1636x958 2018-11-03 15:42:47,851 send_delayed for wid 1, delaying again because too many pixels are waiting to be encoded: 1568924 2018-11-03 15:42:47,861 send_delayed for wid 1, delaying again because too many pixels are waiting to be encoded: 1568924 2018-11-03 15:42:47,872 send_delayed for wid 1, delaying again because too many pixels are waiting to be encoded: 1568924 2018-11-03 15:42:47,883 send_delayed for wid 1, delaying again because too many pixels are waiting to be encoded: 1568924 2018-11-03 15:42:47,890 video_encode nvenc encoder: h265 1636x958 result is 51610 bytes (28.6 MPixels/s), client options={u'speed': 50, u'frame': 0, u'pts': 0, 'csc': 'YUV444P', u'quality': 32} 2018-11-03 15:42:47,890 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (1, 0, 0, 1636, 959, 'auto') 2018-11-03 15:42:47,891 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) 2018-11-03 15:42:47,891 video_encode('auto', XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) image size: 1636x959, encoder/csc size: 1636x958 2018-11-03 15:42:47,894 send_delayed for wid 1, delaying again because too many pixels are waiting to be encoded: 1568924 2018-11-03 15:42:47,937 video_encode nvenc encoder: h265 1636x958 result is 19235 bytes (33.4 MPixels/s), client options={u'speed': 50, u'frame': 1, u'pts': 560, 'csc': 'YUV444P', u'quality': 32} 2018-11-03 15:42:47,941 packet decoding sequence 29 for window 1: 1636x958 took 16.0ms 2018-11-03 15:42:47,941 record_latency: took 50.2 ms round trip, 49.8 for echo, 16.0 for decoding of 1567288 pixels, 51691 bytes sent over the network in 34.2 ms, 33.8 ms for echo 2018-11-03 15:42:47,981 packet decoding sequence 30 for window 1: 1636x958 took 0.0ms 2018-11-03 15:42:48,003 send_delayed for wid 1, batch delay is 188ms, elapsed time is 188ms 2018-11-03 15:42:48,003 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280 2018-11-03 15:42:48,003 send_delayed_regions: using full window update 1636x959 as auto, from 2018-11-03 15:42:48,009 process_damage_region: wid=1, adding pixel data to encode queue (1636x959 - auto), elapsed time: 195.1 ms, request time: 5.4 ms, frame delay=0ms 2018-11-03 15:42:48,012 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (1, 0, 0, 1636, 959, 'auto') 2018-11-03 15:42:48,012 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) 2018-11-03 15:42:48,013 video_encode('auto', XShmImageWrapper(BGRX: 0, 0, 1636, 959), {}) image size: 1636x959, encoder/csc size: 1636x958 2018-11-03 15:42:48,062 video_encode nvenc encoder: h265 1636x958 result is 93102 bytes (31.1 MPixels/s), client options={u'speed': 50, u'frame': 2, u'pts': 761, 'csc': 'YUV444P', u'quality': 32} 2018-11-03 15:42:48,120 packet decoding sequence 31 for window 1: 1636x958 took 31.0ms 2018-11-03 15:42:48,121 record_latency: took 58.0 ms round trip, 57.9 for echo, 31.0 for decoding of 1567288 pixels, 93185 bytes sent over the network in 27.0 ms, 26.9 ms for echo 2018-11-03 15:42:48,172 recalculate_delays() wids=(1,), focus=1, maximized=[], fullscreen=[] 2018-11-03 15:42:48,172 calculate_batch_delay for wid=1 current batch delay=188, last update 1 seconds ago 2018-11-03 15:42:48,173 update_batch_delay: damage-network-delay : 0.93,0.57 {u'avg': 46, u'recent': 42} 2018-11-03 15:42:48,173 update_batch_delay: client-decode-speed : 1.05,0.00 {u'avg': 12, u'recent': 13} 2018-11-03 15:42:48,173 update_batch_delay: damage-rate : 1.00,0.00 {'max_latency': 852, 'elapsed': 159} 2018-11-03 15:42:48,173 update_batch_delay: bandwidth-limit : 0.33,0.00 {'used': 1519320, 'budget': 5122435} 2018-11-03 15:42:48,173 update_batch_delay: client-latency : 1.11,0.11 {u'target': 4, u'weight_multiplier': 321, u'smoothing': u'sqrt', u'aim': 800, u'aimed_avg': 1228, u'div': 1000, u'avg': 116, u'recent': 46} 2018-11-03 15:42:48,174 update_batch_delay: client-ping-latency : 0.69,0.15 {u'target': 9, u'weight_multiplier': 261, u'smoothing': u'sqrt', u'aim': 949, u'aimed_avg': 474, u'div': 1000, u'avg': 65, u'recent': 28} 2018-11-03 15:42:48,174 update_batch_delay: server-ping-latency : 0.67,0.08 {u'target': 4, u'weight_multiplier': 137, u'smoothing': u'sqrt', u'aim': 949, u'aimed_avg': 454, u'div': 1000, u'avg': 71, u'recent': 26} 2018-11-03 15:42:48,174 update_batch_delay: packet-queue-size : 0.03,0.12 {u'target': 1000, u'weight_multiplier': 118, u'smoothing': u'sqrt', u'aim': 250, u'aimed_avg': 0, u'div': 1000, u'avg': 14, u'recent': 1} 2018-11-03 15:42:48,174 update_batch_delay: packet-queue-pixels : 0.00,0.00 {u'target': 1000, u'weight_multiplier': 0, u'smoothing': u'sqrt', u'aim': 250, u'aimed_avg': 0, u'div': 1568924000, u'avg': 0, u'recent': 0} 2018-11-03 15:42:48,174 update_batch_delay: compression-work-queue : 1.33,1.22 {u'target': 1000, u'weight_multiplier': 2938, u'smoothing': u'logp', u'aim': 250, u'aimed_avg': 1517, u'div': 1000, u'avg': 8635, u'recent': 3784} 2018-11-03 15:42:48,174 update_batch_delay: congestion : 1.01,0.14 {} 2018-11-03 15:42:48,175 update_batch_delay: damage-packet-queue-pixels : 0.00,0.00 {u'target': 1000, u'weight_multiplier': 0, u'smoothing': u'sqrt', u'aim': 250, u'aimed_avg': 0, u'div': 1568924000, u'avg': 0, u'recent': 0} 2018-11-03 15:42:48,175 update_batch_delay: focus : 0.00,1.00 {'has_focus': True} 2018-11-03 15:42:48,175 update_batch_delay: override-redirect : 1.00,0.00 {'is_OR': False} 2018-11-03 15:42:48,175 update_batch_delay: fullscreen : 0.00,0.00 {'other_is_fullscreen': False} 2018-11-03 15:42:48,175 update_batch_delay: maximized : 0.00,0.00 {'other_is_maximized': False} 2018-11-03 15:42:48,177 update_batch_delay: soft-expired : 0.00,0.00 {'count': 0} 2018-11-03 15:42:48,177 update_batch_delay: delay=138 2018-11-03 15:42:48,178 get_target_quality: target=5% (window 1636x959) pctpixdamaged=1981%, dpc={1: 5181120, 2: 7771680, 3: 7771680, 4: 5181120, 5: 5181120, 6: 0, 7: 0, 8: 1295280, 9: 0, 10: 1295280} 2018-11-03 15:42:48,179 update_quality() wid=1, info={'batch-delay-ratio': 24, 'backlog_factor': (0, 0, 1568924, 0, 100), 'congestion-value': 14, 'latency': 155, 'compression-ratio': (29, 25, 1), 'min_quality': 30, 'max-quality-range': 71, 'min_speed': 30}, quality=32 2018-11-03 15:42:48,179 update_speed() wid=1, info={'congestion-value': 14, 'min_speed': 30, 'damage_latency': {'abs_factor': 444, 'rel_factor': 221, 'avg': 845, 'ref': 45, 'target': 178}, 'frame_delay': 178, 'mpixels': 4, 'low_limit': 1568924, 'decoding_latency': {'factor': 0, 'avg': 81953514, 'min': 1000000}, 'max-speed-range': 71}, speed=53 2018-11-03 15:42:48,179 update_encoding_options(False) wid=1, want_alpha=False, speed=53, quality=32, bandwidth-limit=5122435, lossless threshold: 70 / 10, rgb auto threshold=3932 (min=2048, max=5122), get_best_encoding= 2018-11-03 15:42:48,180 get_video_pipeline_options(['h264', 'h265'], 1542, 840, 'BGRX', False) last params=(['h264', 'h265'], 1636, 958, 'BGRX'), full_csc_modes={'mpeg1': ('YUV420P',), 'mpeg2': ('YUV420P',), 'mpeg4': ('YUV420P',), 'h264': ('ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'h265': ('BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'vp9': ('YUV420P', 'YUV444P'), 'vp8': ('YUV420P',), 'webp': ('BGRA', 'BGRX', 'RGBA', 'RGBX')} 2018-11-03 15:42:48,181 raising quality for video encoding of non-video region 2018-11-03 15:42:48,181 get_video_pipeline_options(['h264', 'h265'], 1542, 840, 'BGRX') speed: 53 (min 30), quality: 56 (min 30) 2018-11-03 15:42:48,181 add_scores(direct (no csc), None, BGRX) 2018-11-03 15:42:48,186 calculate_scaling(1542, 840, 4096, 4096)=(1, 1) (q=32, s=53, scaling_control=None) 2018-11-03 15:42:48,187 get_score(BGRX , None , video_spec(nvenc) , 1542, 840) quality: 56, speed: 86, setup: 100 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=1542x840, sizescore= 98, client score delta= 0, cpu score= 0, gpu score=100, score=80 2018-11-03 15:42:48,187 add_scores(via XBGR (XBGR), video_spec(swscale), XBGR) 2018-11-03 15:42:48,189 add_scores(via YUV422P (YUV422P), video_spec(swscale), YUV422P) 2018-11-03 15:42:48,189 add_scores(via RGB (RGB), video_spec(swscale), RGB) 2018-11-03 15:42:48,190 add_scores(via RGBX (RGBX), video_spec(swscale), RGBX) 2018-11-03 15:42:48,190 add_scores(via GBRP (GBRP), video_spec(swscale), GBRP) 2018-11-03 15:42:48,190 add_scores(via BGR (BGR), video_spec(swscale), BGR) 2018-11-03 15:42:48,190 add_scores(via YUV420P (YUV420P), video_spec(swscale), YUV420P) 2018-11-03 15:42:48,190 add_scores(via XRGB (XRGB), video_spec(swscale), XRGB) 2018-11-03 15:42:48,190 calculate_scaling(1542, 840, 4096, 4096)=(1, 1) (q=32, s=53, scaling_control=None) 2018-11-03 15:42:48,191 get_score(XRGB , video_spec(swscale) , video_spec(nvenc) , 1542, 840) quality: 81, speed: 79, setup: 64 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=1542x840, sizescore= 98, client score delta= 0, cpu score= 0, gpu score=100, score=80 2018-11-03 15:42:48,191 add_scores(via YUV444P (YUV444P), video_spec(swscale), YUV444P) 2018-11-03 15:42:48,191 add_scores(direct (no csc), None, BGRX) 2018-11-03 15:42:48,191 calculate_scaling(1542, 840, 8192, 8192)=(1, 1) (q=32, s=53, scaling_control=None) 2018-11-03 15:42:48,192 get_score(BGRX , None , video_spec(nvenc) , 1542, 840) quality: 96, speed: 86, setup: 100 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=1542x840, sizescore= 98, client score delta= 0, cpu score= 0, gpu score=100, score=88 2018-11-03 15:42:48,192 add_scores(via XBGR (XBGR), video_spec(swscale), XBGR) 2018-11-03 15:42:48,192 add_scores(via YUV422P (YUV422P), video_spec(swscale), YUV422P) 2018-11-03 15:42:48,192 add_scores(via RGB (RGB), video_spec(swscale), RGB) 2018-11-03 15:42:48,192 add_scores(via RGBX (RGBX), video_spec(swscale), RGBX) 2018-11-03 15:42:48,193 add_scores(via GBRP (GBRP), video_spec(swscale), GBRP) 2018-11-03 15:42:48,193 add_scores(via BGR (BGR), video_spec(swscale), BGR) 2018-11-03 15:42:48,193 add_scores(via YUV420P (YUV420P), video_spec(swscale), YUV420P) 2018-11-03 15:42:48,193 add_scores(via XRGB (XRGB), video_spec(swscale), XRGB) 2018-11-03 15:42:48,193 calculate_scaling(1542, 840, 8192, 8192)=(1, 1) (q=32, s=53, scaling_control=None) 2018-11-03 15:42:48,193 get_score(XRGB , video_spec(swscale) , video_spec(nvenc) , 1542, 840) quality: 99, speed: 79, setup: 64 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=1542x840, sizescore= 98, client score delta= 0, cpu score= 0, gpu score=100, score=83 2018-11-03 15:42:48,194 add_scores(via YUV444P (YUV444P), video_spec(swscale), YUV444P) 2018-11-03 15:42:48,194 get_video_pipeline_options(['h264', 'h265'], 1542, 840, 'BGRX') scores=[(88, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1542, 840, video_spec(nvenc)), (83, (1, 1), (1, 1), 1542, 840, video_spec(swscale), u'XRGB', (1, 1), 1542, 840, video_spec(nvenc)), (80, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1542, 840, video_spec(nvenc)), (80, (1, 1), (1, 1), 1542, 840, video_spec(swscale), u'XRGB', (1, 1), 1542, 840, video_spec(nvenc))] 2018-11-03 15:42:48,194 check_pipeline_score(False) best=(88, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1542, 840, video_spec(nvenc)) 2018-11-03 15:42:48,202 send_delayed for wid 1, batch delay is 138ms, elapsed time is 189ms 2018-11-03 15:42:48,275 process_damage_region: wid=1, adding pixel data to encode queue (1542x840 - auto), elapsed time: 261.9 ms, request time: 4.2 ms, frame delay=0ms 2018-11-03 15:42:48,277 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (1, 3, 27, 1542, 840, 'auto') 2018-11-03 15:42:48,278 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True}) 2018-11-03 15:42:48,279 check_pipeline('auto', 1542, 840, 'BGRX') setting up a new pipeline as check failed - encodings=['h264', 'h265'] 2018-11-03 15:42:48,279 get_video_pipeline_options(['h264', 'h265'], 1542, 840, 'BGRX', False) using cached values from 85ms ago 2018-11-03 15:42:48,281 setup_pipeline([(88, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1542, 840, video_spec(nvenc)), (83, (1, 1), (1, 1), 1542, 840, video_spec(swscale), u'XRGB', (1, 1), 1542, 840, video_spec(nvenc)), (80, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1542, 840, video_spec(nvenc)), (80, (1, 1), (1, 1), 1542, 840, video_spec(swscale), u'XRGB', (1, 1), 1542, 840, video_spec(nvenc))], 1542, 840, 'BGRX') 2018-11-03 15:42:48,282 setup_pipeline: trying (88, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1542, 840, video_spec(nvenc)) 2018-11-03 15:42:48,283 make_instance() nvenc - instance count=0 2018-11-03 15:42:48,284 will test 0 devices from failing list: [] 2018-11-03 15:42:48,284 will test 1 device from OK list: [0] 2018-11-03 15:42:48,285 select_device: testing device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:48,499 created context= 2018-11-03 15:42:48,501 memory: free=5927MB, total=6077MB 2018-11-03 15:42:48,553 selected device 0: GeForce GTX 1060 6GB @ 0000:AF:00.0 2018-11-03 15:42:48,806 setup_pipeline: csc=None, video encoder=nvenc(BGRX/BGRX/H265 - hp - 1542x840 ), info: {u'context_count': 1, u'generation': 14, u'pixel_format': u'BGRX', u'height': 840, u'frames': 0, u'total_memory': 0, u'quality': 32, u'yuv444': {u'threshold': 85, u'supported': True}, u'cuda-device': {u'device': {u'memory': 6077, u'name': 'GeForce GTX 1060 6GB', u'pci_bus_id': '0000:AF:00.0'}, u'api_version': 3020}, u'encoder_width': 1568, u'speed': 53, u'device_count': 1, u'free_memory': 0, u'width': 1542, u'version': (8, 1), u'pycuda': {'version': {'': (2018, 1), 'text': '2018.1'}}, u'src_format': 'BGRX', u'codec': u'H265', u'preset': u'hp', u'bitrate': 15891001, u'lossless': {u'': 0, u'threshold': 100, u'supported': 1}, u'kernel_version': '4.4.162-1.el7.elrepo.x86_64', u'encoder_height': 864, u'total_time_ms': 0, u'cuda': {'driver': {'driver_version': 10000, 'version': (9, 2, 0)}}, u'cards': {0: {'power-state': 0, 'name': 'GeForce GTX 1060 6GB', 'clock-info': {'mem-max': 4004, 'graphics-max': 1911, 'sm': 1506, 'graphics': 1506, 'mem': 4006, 'sm-max': 1911}, 'uuid': 'GPU-bf07c86e-54c4-c5fa-a685-43155618ed27', 'pcie-link': {'width-max': 16, 'generation-max': 3, 'generation': 3, 'width': 16}, 'pci': {'domain': 0, 'busId': '0000:AF:00.0', 'pciDeviceId': 469962974, 'device': 0, 'bus': 175, 'pciSubSystemId': 295639406}, 'memory': {'total': 6373179392, 'free': 6317408256, 'used': 55771136}, 'fan-speed': 0, 'vbios-version': '86.06.63.00.D4', 'temperature': 62}}, u'kernel_module_version': (410, 73)}, setup took 523.61ms 2018-11-03 15:42:48,807 setup_pipeline: scaling=(1, 1), encoder_scaling=(1, 1) 2018-11-03 15:42:48,807 video_encode('auto', XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True}) image size: 1542x840, encoder/csc size: 1542x840 2018-11-03 15:42:48,844 video_encode nvenc encoder: h265 1542x840 result is 97890 bytes (33.5 MPixels/s), client options={u'speed': 53, u'frame': 0, u'pts': 0, 'csc': 'YUV444P', u'quality': 32} 2018-11-03 15:42:48,887 send_delayed for wid 1, delaying again because of backlog: 1 packets, batch delay is 138, elapsed time is 384ms 2018-11-03 15:42:48,924 packet decoding sequence 32 for window 1: 1542x840 took 32.0ms 2018-11-03 15:42:48,924 record_latency: took 78.4 ms round trip, 78.3 for echo, 32.0 for decoding of 1295280 pixels, 97971 bytes sent over the network in 46.4 ms, 46.3 ms for echo 2018-11-03 15:42:48,924 may_recalculate(1, 1295280) total 1295280 pixels, scheduling recalculate work item 2018-11-03 15:42:48,929 process_damage_region: wid=1, adding pixel data to encode queue (1542x840 - auto), elapsed time: 427.0 ms, request time: 4.0 ms, frame delay=0ms 2018-11-03 15:42:48,930 window 1 delayed region already sent 2018-11-03 15:42:48,930 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (1, 3, 27, 1542, 840, 'auto') 2018-11-03 15:42:48,931 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True}) 2018-11-03 15:42:48,931 video_encode('auto', XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True}) image size: 1542x840, encoder/csc size: 1542x840 2018-11-03 15:42:48,964 video_encode nvenc encoder: h265 1542x840 result is 64254 bytes (38.6 MPixels/s), client options={u'speed': 53, u'frame': 1, u'pts': 654, 'csc': 'YUV444P', u'quality': 32} 2018-11-03 15:42:49,014 packet decoding sequence 33 for window 1: 1542x840 took 31.0ms 2018-11-03 15:42:49,014 record_latency: took 49.3 ms round trip, 49.2 for echo, 31.0 for decoding of 1295280 pixels, 64337 bytes sent over the network in 18.3 ms, 18.2 ms for echo 2018-11-03 15:42:49,173 recalculate_delays() wids=(1,), focus=1, maximized=[], fullscreen=[] 2018-11-03 15:42:49,173 calculate_batch_delay for wid=1 current batch delay=138, last update 1 seconds ago 2018-11-03 15:42:49,174 update_batch_delay: damage-network-delay : 0.93,0.58 {u'avg': 46, u'recent': 41} 2018-11-03 15:42:49,174 update_batch_delay: client-decode-speed : 1.28,0.02 {u'avg': 13, u'recent': 19} 2018-11-03 15:42:49,174 update_batch_delay: damage-rate : 1.00,0.00 {'max_latency': 865, 'elapsed': 227} 2018-11-03 15:42:49,174 update_batch_delay: bandwidth-limit : 0.28,0.00 {'used': 1297152, 'budget': 5050179} 2018-11-03 15:42:49,174 update_batch_delay: client-latency : 1.05,0.07 {u'target': 4, u'weight_multiplier': 321, u'smoothing': u'sqrt', u'aim': 800, u'aimed_avg': 1092, u'div': 1000, u'avg': 110, u'recent': 40} 2018-11-03 15:42:49,175 update_batch_delay: client-ping-latency : 0.80,0.12 {u'target': 9, u'weight_multiplier': 261, u'smoothing': u'sqrt', u'aim': 949, u'aimed_avg': 644, u'div': 1000, u'avg': 70, u'recent': 40} 2018-11-03 15:42:49,175 update_batch_delay: server-ping-latency : 0.80,0.06 {u'target': 4, u'weight_multiplier': 137, u'smoothing': u'sqrt', u'aim': 949, u'aimed_avg': 636, u'div': 1000, u'avg': 78, u'recent': 38} 2018-11-03 15:42:49,175 update_batch_delay: packet-queue-size : 0.03,0.12 {u'target': 1000, u'weight_multiplier': 118, u'smoothing': u'sqrt', u'aim': 250, u'aimed_avg': 1, u'div': 1000, u'avg': 14, u'recent': 1} 2018-11-03 15:42:49,175 update_batch_delay: packet-queue-pixels : 0.00,0.00 {u'target': 1000, u'weight_multiplier': 0, u'smoothing': u'sqrt', u'aim': 250, u'aimed_avg': 0, u'div': 1568924000, u'avg': 0, u'recent': 0} 2018-11-03 15:42:49,175 update_batch_delay: compression-work-queue : 1.10,0.40 {u'target': 1000, u'weight_multiplier': 2825, u'smoothing': u'logp', u'aim': 250, u'aimed_avg': 1148, u'div': 1000, u'avg': 7983, u'recent': 2852} 2018-11-03 15:42:49,175 update_batch_delay: congestion : 1.01,0.10 {} 2018-11-03 15:42:49,175 update_batch_delay: damage-packet-queue-pixels : 0.00,0.00 {u'target': 1000, u'weight_multiplier': 0, u'smoothing': u'sqrt', u'aim': 250, u'aimed_avg': 0, u'div': 1568924000, u'avg': 0, u'recent': 0} 2018-11-03 15:42:49,176 update_batch_delay: focus : 0.00,1.00 {'has_focus': True} 2018-11-03 15:42:49,176 update_batch_delay: override-redirect : 1.00,0.00 {'is_OR': False} 2018-11-03 15:42:49,176 update_batch_delay: fullscreen : 0.00,0.00 {'other_is_fullscreen': False} 2018-11-03 15:42:49,176 update_batch_delay: maximized : 0.00,0.00 {'other_is_maximized': False} 2018-11-03 15:42:49,176 update_batch_delay: soft-expired : 2.00,1.00 {'count': 2} 2018-11-03 15:42:49,176 update_batch_delay: delay=158 2018-11-03 15:42:49,177 get_target_quality: target=2% (window 1636x959) pctpixdamaged=1816%, dpc={1: 2590560, 2: 5181120, 3: 7771680, 4: 7771680, 5: 5181120, 6: 5181120, 7: 0, 8: 0, 9: 1295280, 10: 0} 2018-11-03 15:42:49,177 update_quality() wid=1, info={'batch-delay-ratio': 21, 'backlog_factor': (0, 0, 1568924, 0, 100), 'congestion-value': 9, 'latency': 177, 'compression-ratio': (33, 37, -3), 'min_quality': 30, 'max-quality-range': 71, 'min_speed': 30}, quality=31 2018-11-03 15:42:49,178 update_speed() wid=1, info={'congestion-value': 9, 'min_speed': 30, 'damage_latency': {'abs_factor': 451, 'rel_factor': 181, 'avg': 859, 'ref': 45, 'target': 238}, 'frame_delay': 238, 'mpixels': 2, 'low_limit': 1568924, 'decoding_latency': {'factor': 0, 'avg': 75490451, 'min': 1000000}, 'max-speed-range': 71}, speed=55 2018-11-03 15:42:49,178 update_encoding_options(False) wid=1, want_alpha=False, speed=55, quality=31, bandwidth-limit=5050179, lossless threshold: 71 / 9, rgb auto threshold=5050 (min=2048, max=5050), get_best_encoding= 2018-11-03 15:42:49,178 get_video_pipeline_options(['h264', 'h265'], 1542, 840, 'BGRX', False) using cached values from 983ms ago 2018-11-03 15:42:49,178 check_pipeline_score(False) best=(88, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1542, 840, video_spec(nvenc)) 2018-11-03 15:42:49,367 process_damage_region: wid=1, adding pixel data to encode queue (1542x840 - auto), elapsed time: 420.6 ms, request time: 4.5 ms, frame delay=0ms 2018-11-03 15:42:49,369 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (1, 3, 27, 1542, 840, 'auto') 2018-11-03 15:42:49,369 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True}) 2018-11-03 15:42:49,369 video_encode('auto', XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True}) image size: 1542x840, encoder/csc size: 1542x840 2018-11-03 15:42:49,413 video_encode nvenc encoder: h265 1542x840 result is 57368 bytes (28.5 MPixels/s), client options={u'speed': 55, u'frame': 2, u'pts': 1092, 'csc': 'YUV444P', u'quality': 31} 2018-11-03 15:42:49,440 send_delayed for wid 1, delaying again because of backlog: 1 packets, batch delay is 158, elapsed time is 65ms 2018-11-03 15:42:49,470 packet decoding sequence 34 for window 1: 1542x840 took 16.0ms 2018-11-03 15:42:49,470 record_latency: took 56.2 ms round trip, 56.1 for echo, 16.0 for decoding of 1295280 pixels, 57451 bytes sent over the network in 40.2 ms, 40.1 ms for echo 2018-11-03 15:42:49,471 may_recalculate(1, 1295280) total 1295280 pixels, scheduling recalculate work item 2018-11-03 15:42:49,533 send_delayed for wid 1, batch delay is 158ms, elapsed time is 158ms 2018-11-03 15:42:49,539 process_damage_region: wid=1, adding pixel data to encode queue (1542x840 - auto), elapsed time: 164.0 ms, request time: 5.0 ms, frame delay=0ms 2018-11-03 15:42:49,539 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (1, 3, 27, 1542, 840, 'auto') 2018-11-03 15:42:49,540 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True}) 2018-11-03 15:42:49,540 video_encode('auto', XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True}) image size: 1542x840, encoder/csc size: 1542x840 2018-11-03 15:42:49,590 video_encode nvenc encoder: h265 1542x840 result is 40142 bytes (24.7 MPixels/s), client options={u'speed': 55, u'frame': 3, u'pts': 1263, 'csc': 'YUV444P', u'quality': 31} 2018-11-03 15:42:49,638 packet decoding sequence 35 for window 1: 1542x840 took 16.0ms 2018-11-03 15:42:49,638 record_latency: took 47.0 ms round trip, 46.9 for echo, 16.0 for decoding of 1295280 pixels, 40225 bytes sent over the network in 31.0 ms, 30.9 ms for echo 2018-11-03 15:42:49,705 send_delayed for wid 1, batch delay is 158ms, elapsed time is 159ms 2018-11-03 15:42:49,710 process_damage_region: wid=1, adding pixel data to encode queue (1542x840 - auto), elapsed time: 164.0 ms, request time: 4.3 ms, frame delay=0ms 2018-11-03 15:42:49,710 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (1, 3, 27, 1542, 840, 'auto') 2018-11-03 15:42:49,711 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True}) 2018-11-03 15:42:49,711 video_encode('auto', XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True}) image size: 1542x840, encoder/csc size: 1542x840 2018-11-03 15:42:49,753 video_encode nvenc encoder: h265 1542x840 result is 31623 bytes (30.6 MPixels/s), client options={u'speed': 55, u'frame': 4, u'pts': 1435, 'csc': 'YUV444P', u'quality': 31} 2018-11-03 15:42:49,799 packet decoding sequence 36 for window 1: 1542x840 took 15.0ms 2018-11-03 15:42:49,800 record_latency: took 46.1 ms round trip, 46.0 for echo, 15.0 for decoding of 1295280 pixels, 31706 bytes sent over the network in 31.1 ms, 31.0 ms for echo 2018-11-03 15:42:49,892 send_delayed for wid 1, batch delay is 158ms, elapsed time is 158ms 2018-11-03 15:42:49,899 process_damage_region: wid=1, adding pixel data to encode queue (1542x840 - auto), elapsed time: 165.2 ms, request time: 6.0 ms, frame delay=0ms 2018-11-03 15:42:49,901 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (1, 3, 27, 1542, 840, 'auto') 2018-11-03 15:42:49,902 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True}) 2018-11-03 15:42:49,903 video_encode('auto', XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True}) image size: 1542x840, encoder/csc size: 1542x840 2018-11-03 15:42:49,948 video_encode nvenc encoder: h265 1542x840 result is 33437 bytes (27.3 MPixels/s), client options={u'speed': 55, u'frame': 5, u'pts': 1624, 'csc': 'YUV444P', u'quality': 31} 2018-11-03 15:42:50,004 packet decoding sequence 37 for window 1: 1542x840 took 16.0ms 2018-11-03 15:42:50,005 record_latency: took 55.5 ms round trip, 55.4 for echo, 16.0 for decoding of 1295280 pixels, 33520 bytes sent over the network in 39.5 ms, 39.4 ms for echo 2018-11-03 15:42:50,059 send_delayed for wid 1, batch delay is 158ms, elapsed time is 158ms 2018-11-03 15:42:50,064 process_damage_region: wid=1, adding pixel data to encode queue (1542x840 - auto), elapsed time: 163.5 ms, request time: 3.9 ms, frame delay=0ms 2018-11-03 15:42:50,065 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (1, 3, 27, 1542, 840, 'auto') 2018-11-03 15:42:50,065 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True}) 2018-11-03 15:42:50,065 video_encode('auto', XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True}) image size: 1542x840, encoder/csc size: 1542x840 2018-11-03 15:42:50,108 video_encode nvenc encoder: h265 1542x840 result is 23951 bytes (29.7 MPixels/s), client options={u'speed': 55, u'frame': 6, u'pts': 1789, 'csc': 'YUV444P', u'quality': 31} 2018-11-03 15:42:50,123 packet decoding sequence 38 for window 1: 1542x840 took 0.0ms 2018-11-03 15:42:50,173 recalculate_delays() wids=(1,), focus=1, maximized=[], fullscreen=[] 2018-11-03 15:42:50,173 calculate_batch_delay for wid=1 current batch delay=158, last update 0 seconds ago 2018-11-03 15:42:50,174 update_batch_delay: damage-network-delay : 0.94,0.57 {u'avg': 44, u'recent': 41} 2018-11-03 15:42:50,174 update_batch_delay: client-decode-speed : 0.99,0.00 {u'avg': 13, u'recent': 13} 2018-11-03 15:42:50,174 update_batch_delay: damage-rate : 1.00,0.00 {'max_latency': 647, 'elapsed': 85} 2018-11-03 15:42:50,174 update_batch_delay: bandwidth-limit : 0.32,0.00 {'used': 1492168, 'budget': 5141671} 2018-11-03 15:42:50,174 update_batch_delay: client-latency : 1.07,0.09 {u'target': 4, u'weight_multiplier': 321, u'smoothing': u'sqrt', u'aim': 800, u'aimed_avg': 1150, u'div': 1000, u'avg': 95, u'recent': 41} 2018-11-03 15:42:50,174 update_batch_delay: client-ping-latency : 0.87,0.09 {u'target': 9, u'weight_multiplier': 261, u'smoothing': u'sqrt', u'aim': 949, u'aimed_avg': 762, u'div': 1000, u'avg': 74, u'recent': 49} 2018-11-03 15:42:50,174 update_batch_delay: server-ping-latency : 0.88,0.05 {u'target': 4, u'weight_multiplier': 137, u'smoothing': u'sqrt', u'aim': 949, u'aimed_avg': 767, u'div': 1000, u'avg': 83, u'recent': 48} 2018-11-03 15:42:50,174 update_batch_delay: packet-queue-size : 0.02,0.10 {u'target': 1000, u'weight_multiplier': 104, u'smoothing': u'sqrt', u'aim': 250, u'aimed_avg': 0, u'div': 1000, u'avg': 10, u'recent': 0} 2018-11-03 15:42:50,174 update_batch_delay: packet-queue-pixels : 0.00,0.00 {u'target': 1000, u'weight_multiplier': 0, u'smoothing': u'sqrt', u'aim': 250, u'aimed_avg': 0, u'div': 1568924000, u'avg': 0, u'recent': 0} 2018-11-03 15:42:50,174 update_batch_delay: compression-work-queue : 0.47,1.56 {u'target': 1000, u'weight_multiplier': 2550, u'smoothing': u'logp', u'aim': 250, u'aimed_avg': 388, u'div': 1000, u'avg': 6503, u'recent': 951} 2018-11-03 15:42:50,174 update_batch_delay: congestion : 1.01,0.07 {} 2018-11-03 15:42:50,175 update_batch_delay: damage-packet-queue-pixels : 0.00,0.00 {u'target': 1000, u'weight_multiplier': 0, u'smoothing': u'sqrt', u'aim': 250, u'aimed_avg': 0, u'div': 1568924000, u'avg': 0, u'recent': 0} 2018-11-03 15:42:50,175 update_batch_delay: focus : 0.00,1.00 {'has_focus': True} 2018-11-03 15:42:50,175 update_batch_delay: override-redirect : 1.00,0.00 {'is_OR': False} 2018-11-03 15:42:50,175 update_batch_delay: fullscreen : 0.00,0.00 {'other_is_fullscreen': False} 2018-11-03 15:42:50,175 update_batch_delay: maximized : 0.00,0.00 {'other_is_maximized': False} 2018-11-03 15:42:50,175 update_batch_delay: soft-expired : 0.00,0.00 {'count': 0} 2018-11-03 15:42:50,175 update_batch_delay: delay=125 2018-11-03 15:42:50,175 get_target_quality: target=7% (window 1636x959) pctpixdamaged=1899%, dpc={1: 6494156, 2: 2590560, 3: 5181120, 4: 7771680, 5: 7771680, 6: 5181120, 7: 5181120, 8: 0, 9: 0, 10: 1295280} 2018-11-03 15:42:50,176 update_quality() wid=1, info={'batch-delay-ratio': 26, 'backlog_factor': (0, 0, 1568924, 0, 100), 'congestion-value': 7, 'latency': 174, 'compression-ratio': (30, 19, 4), 'min_quality': 30, 'max-quality-range': 71, 'min_speed': 30}, quality=34 2018-11-03 15:42:50,176 update_speed() wid=1, info={'congestion-value': 7, 'min_speed': 30, 'damage_latency': {'abs_factor': 331, 'rel_factor': 220, 'avg': 642, 'ref': 45, 'target': 153}, 'frame_delay': 153, 'mpixels': 6, 'low_limit': 1568924, 'decoding_latency': {'factor': 0, 'avg': 78280894, 'min': 1000000}, 'max-speed-range': 71}, speed=57 2018-11-03 15:42:50,176 update_encoding_options(False) wid=1, want_alpha=False, speed=57, quality=34, bandwidth-limit=5141671, lossless threshold: 71 / 9, rgb auto threshold=5141 (min=2048, max=5141), get_best_encoding= 2018-11-03 15:42:50,176 get_video_pipeline_options(['h264', 'h265'], 1542, 840, 'BGRX', False) last params=(['h264', 'h265'], 1542, 840, 'BGRX'), full_csc_modes={'mpeg1': ('YUV420P',), 'mpeg2': ('YUV420P',), 'mpeg4': ('YUV420P',), 'h264': ('ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'h265': ('BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'vp9': ('YUV420P', 'YUV444P'), 'vp8': ('YUV420P',), 'webp': ('BGRA', 'BGRX', 'RGBA', 'RGBX')} 2018-11-03 15:42:50,176 raising quality for video encoding of non-video region 2018-11-03 15:42:50,176 get_video_pipeline_options(['h264', 'h265'], 1542, 840, 'BGRX') speed: 57 (min 30), quality: 58 (min 30) 2018-11-03 15:42:50,176 add_scores(direct (no csc), None, BGRX) 2018-11-03 15:42:50,177 calculate_scaling(1542, 840, 4096, 4096) wid=1, pps=5181120, target=24578423, scores=OrderedDict([(47338, (1, 10)), (11759, (1, 5)), (7490, (1, 4)), (4169, (1, 3)), (1797, (1, 2)), (967, (2, 3)), (374, (1, 1))]) 2018-11-03 15:42:50,177 calculate_scaling(1542, 840, 4096, 4096)=(1, 1) (q=34, s=57, scaling_control=None) 2018-11-03 15:42:50,177 get_score(BGRX , None , video_spec(nvenc) , 1542, 840) quality: 58, speed: 85, setup: 100 - 100 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=1542x840, sizescore= 98, client score delta= 0, cpu score= 0, gpu score=100, score=88 2018-11-03 15:42:50,177 add_scores(via XBGR (XBGR), video_spec(swscale), XBGR) 2018-11-03 15:42:50,177 add_scores(via YUV422P (YUV422P), video_spec(swscale), YUV422P) 2018-11-03 15:42:50,178 add_scores(via RGB (RGB), video_spec(swscale), RGB) 2018-11-03 15:42:50,178 add_scores(via RGBX (RGBX), video_spec(swscale), RGBX) 2018-11-03 15:42:50,178 add_scores(via GBRP (GBRP), video_spec(swscale), GBRP) 2018-11-03 15:42:50,178 add_scores(via BGR (BGR), video_spec(swscale), BGR) 2018-11-03 15:42:50,178 add_scores(via YUV420P (YUV420P), video_spec(swscale), YUV420P) 2018-11-03 15:42:50,178 add_scores(via XRGB (XRGB), video_spec(swscale), XRGB) 2018-11-03 15:42:50,178 calculate_scaling(1542, 840, 4096, 4096) wid=1, pps=5181120, target=24578423, scores=OrderedDict([(47338, (1, 10)), (11759, (1, 5)), (7490, (1, 4)), (4169, (1, 3)), (1797, (1, 2)), (967, (2, 3)), (374, (1, 1))]) 2018-11-03 15:42:50,178 calculate_scaling(1542, 840, 4096, 4096)=(1, 1) (q=34, s=57, scaling_control=None) 2018-11-03 15:42:50,178 get_score(XRGB , video_spec(swscale) , video_spec(nvenc) , 1542, 840) quality: 83, speed: 78, setup: 64 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=1542x840, sizescore= 98, client score delta= 0, cpu score= 0, gpu score=100, score=80 2018-11-03 15:42:50,179 add_scores(via YUV444P (YUV444P), video_spec(swscale), YUV444P) 2018-11-03 15:42:50,179 add_scores(direct (no csc), None, BGRX) 2018-11-03 15:42:50,179 calculate_scaling(1542, 840, 8192, 8192) wid=1, pps=5181120, target=24578423, scores=OrderedDict([(47338, (1, 10)), (11759, (1, 5)), (7490, (1, 4)), (4169, (1, 3)), (1797, (1, 2)), (967, (2, 3)), (374, (1, 1))]) 2018-11-03 15:42:50,179 calculate_scaling(1542, 840, 8192, 8192)=(1, 1) (q=34, s=57, scaling_control=None) 2018-11-03 15:42:50,179 get_score(BGRX , None , video_spec(nvenc) , 1542, 840) quality: 98, speed: 85, setup: 100 - 100 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=1542x840, sizescore= 98, client score delta= 0, cpu score= 0, gpu score=100, score=96 2018-11-03 15:42:50,179 add_scores(via XBGR (XBGR), video_spec(swscale), XBGR) 2018-11-03 15:42:50,179 add_scores(via YUV422P (YUV422P), video_spec(swscale), YUV422P) 2018-11-03 15:42:50,179 add_scores(via RGB (RGB), video_spec(swscale), RGB) 2018-11-03 15:42:50,180 add_scores(via RGBX (RGBX), video_spec(swscale), RGBX) 2018-11-03 15:42:50,180 add_scores(via GBRP (GBRP), video_spec(swscale), GBRP) 2018-11-03 15:42:50,180 add_scores(via BGR (BGR), video_spec(swscale), BGR) 2018-11-03 15:42:50,180 add_scores(via YUV420P (YUV420P), video_spec(swscale), YUV420P) 2018-11-03 15:42:50,180 add_scores(via XRGB (XRGB), video_spec(swscale), XRGB) 2018-11-03 15:42:50,180 calculate_scaling(1542, 840, 8192, 8192) wid=1, pps=5181120, target=24578423, scores=OrderedDict([(47338, (1, 10)), (11759, (1, 5)), (7490, (1, 4)), (4169, (1, 3)), (1797, (1, 2)), (967, (2, 3)), (374, (1, 1))]) 2018-11-03 15:42:50,180 calculate_scaling(1542, 840, 8192, 8192)=(1, 1) (q=34, s=57, scaling_control=None) 2018-11-03 15:42:50,180 get_score(XRGB , video_spec(swscale) , video_spec(nvenc) , 1542, 840) quality: 97, speed: 78, setup: 64 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=1542x840, sizescore= 98, client score delta= 0, cpu score= 0, gpu score=100, score=83 2018-11-03 15:42:50,180 add_scores(via YUV444P (YUV444P), video_spec(swscale), YUV444P) 2018-11-03 15:42:50,181 get_video_pipeline_options(['h264', 'h265'], 1542, 840, 'BGRX') scores=[(96, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1542, 840, video_spec(nvenc)), (88, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1542, 840, video_spec(nvenc)), (83, (1, 1), (1, 1), 1542, 840, video_spec(swscale), u'XRGB', (1, 1), 1542, 840, video_spec(nvenc)), (80, (1, 1), (1, 1), 1542, 840, video_spec(swscale), u'XRGB', (1, 1), 1542, 840, video_spec(nvenc))] 2018-11-03 15:42:50,181 check_pipeline_score(False) best=(96, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1542, 840, video_spec(nvenc)) 2018-11-03 15:42:50,232 send_delayed for wid 1, batch delay is 125ms, elapsed time is 159ms 2018-11-03 15:42:50,237 process_damage_region: wid=1, adding pixel data to encode queue (1542x840 - auto), elapsed time: 164.2 ms, request time: 4.4 ms, frame delay=0ms 2018-11-03 15:42:50,237 send_delayed_regions: bytes_cost=19804, bytes_threshold=941354, pixel_count=17756 2018-11-03 15:42:50,238 send_delayed_regions: merged=[R(775, 915, 772, 23)], merged_bytes_cost=18780, bytes_cost=19804, merged_pixel_count=17756, pixel_count=17756 2018-11-03 15:42:50,238 send_delayed_regions: remaining regions for exclude=rectangle(3, 27, 1542, 840) : 1 2018-11-03 15:42:50,238 process_damage_region: wid=1, adding pixel data to encode queue ( 772x23 - jpeg), elapsed time: 165.5 ms, request time: 0.2 ms, frame delay=0ms 2018-11-03 15:42:50,239 send_delayed_regions: sent 1 regions using ['jpeg'] 2018-11-03 15:42:50,240 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (1, 3, 27, 1542, 840, 'auto') 2018-11-03 15:42:50,241 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True}) 2018-11-03 15:42:50,241 video_encode('auto', XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True}) image size: 1542x840, encoder/csc size: 1542x840 2018-11-03 15:42:50,284 video_encode nvenc encoder: h265 1542x840 result is 17379 bytes (29.1 MPixels/s), client options={u'speed': 57, u'frame': 7, u'pts': 1962, 'csc': 'YUV444P', u'quality': 34} 2018-11-03 15:42:50,285 make_data_packet: image=XShmImageWrapper(BGRX: 775, 915, 772, 23), damage data: (1, 775, 915, 772, 23, 'jpeg') 2018-11-03 15:42:50,337 packet decoding sequence 39 for window 1: 1542x840 took 16.0ms 2018-11-03 15:42:50,338 record_latency: took 53.1 ms round trip, 53.0 for echo, 16.0 for decoding of 1295280 pixels, 17462 bytes sent over the network in 37.1 ms, 37.0 ms for echo 2018-11-03 15:42:50,338 may_recalculate(1, 1295280) total 1295280 pixels, scheduling recalculate work item 2018-11-03 15:42:50,338 packet decoding sequence 40 for window 1: 772x23 took 0.0ms 2018-11-03 15:42:50,527 send_delayed for wid 1, batch delay is 125ms, elapsed time is 125ms 2018-11-03 15:42:50,527 send_delayed_regions: bytes_cost=27536, bytes_threshold=941354, pixel_count=25488 2018-11-03 15:42:50,527 send_delayed_regions: merged=[R(2, 351, 1586, 606)], merged_bytes_cost=962140, bytes_cost=27536, merged_pixel_count=961116, pixel_count=25488 2018-11-03 15:42:50,530 process_damage_region: wid=1, adding pixel data to encode queue ( 36x36 - rgb24), elapsed time: 129.6 ms, request time: 2.5 ms, frame delay=0ms 2018-11-03 15:42:50,531 process_damage_region: wid=1, adding pixel data to encode queue (1512x16 - jpeg), elapsed time: 130.2 ms, request time: 0.2 ms, frame delay=0ms 2018-11-03 15:42:50,531 send_delayed_regions: sent 2 regions using ['jpeg', 'rgb24'] 2018-11-03 15:42:50,531 make_data_packet: image=XShmImageWrapper(BGRX: 1552, 351, 36, 36), damage data: (1, 1552, 351, 36, 36, 'rgb24') 2018-11-03 15:42:50,532 rgb_encode using level=1 for 5184 pixels at 57 speed, lz4 compressed 36x36 in rgb24/BGRX: 5184 bytes down to 2605 2018-11-03 15:42:50,533 make_data_packet: image=XShmImageWrapper(BGRX: 2, 941, 1512, 16), damage data: (1, 2, 941, 1512, 16, 'jpeg') 2018-11-03 15:42:50,539 packet decoding sequence 41 for window 1: 36x36 took 0.0ms 2018-11-03 15:42:50,543 packet decoding sequence 42 for window 1: 1512x16 took 16.0ms 2018-11-03 15:42:50,543 record_latency: took 8.4 ms round trip, 8.3 for echo, 16.0 for decoding of 24192 pixels, 1419 bytes sent over the network in 0.0 ms, 0.0 ms for echo 2018-11-03 15:42:50,786 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280 2018-11-03 15:42:50,786 send_delayed_regions: using full window update 1636x959 as webp, from 2018-11-03 15:42:50,787 process_damage_region: wid=1, adding pixel data to encode queue (1636x959 - webp), elapsed time: 1.0 ms, request time: 0.5 ms, frame delay=0ms 2018-11-03 15:42:50,788 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (1, 0, 0, 1636, 959, 'webp') 2018-11-03 15:42:50,882 packet decoding sequence 43 for window 1: 1636x959 took 16.0ms 2018-11-03 15:42:50,883 record_latency: took 30.8 ms round trip, 30.0 for echo, 16.0 for decoding of 1568924 pixels, 156178 bytes sent over the network in 14.8 ms, 14.0 ms for echo 2018-11-03 15:42:50,918 listget('default.icons', [], , None) 2018-11-03 15:42:50,918 expected a list or tuple value for default.icons but got 2018-11-03 15:42:50,918 listget('size', (64, 64), , None) 2018-11-03 15:42:50,918 expected a list or tuple value for size but got 2018-11-03 15:42:50,919 listget('max_size', (64, 64), , None) 2018-11-03 15:42:50,919 expected a list or tuple value for max_size but got 2018-11-03 15:42:50,920 class-changed(OverrideRedirectWindowModel(0x601269), ()) content-type= 2018-11-03 15:42:50,921 parse_csc_modes({'mpeg1': ('YUV420P',), 'mpeg2': ('YUV420P',), 'mpeg4': ('YUV420P',), 'h264': ('ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'h265': ('BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'vp9': ('YUV420P', 'YUV444P'), 'vp8': ('YUV420P',), 'webp': ('BGRX', 'BGRA', 'RGBX', 'RGBA')}) current value={} 2018-11-03 15:42:50,921 wvs.update_encoding_selection(auto, [], True) full_csc_modes={'mpeg1': ('YUV420P',), 'mpeg2': ('YUV420P',), 'mpeg4': ('YUV420P',), 'h264': ('ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'h265': ('BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'vp9': ('YUV420P', 'YUV444P'), 'vp8': ('YUV420P',), 'webp': ('BGRX', 'BGRA', 'RGBX', 'RGBA')} 2018-11-03 15:42:50,921 update_encoding_options: common_video_encodings=['h264', 'h265'], csc_encoder=None, video_encoder=None 2018-11-03 15:42:50,922 ws.update_encoding_selection(auto, [], True) encoding=auto, common encodings=['h264', 'png', 'png/P', 'png/L', 'webp', 'rgb', 'rgb24', 'rgb32', 'jpeg', 'h265'] 2018-11-03 15:42:50,922 update_encoding_selection: client refresh encodings=[], auto_refresh_encodings=('png', 'webp', 'rgb24', 'rgb32') 2018-11-03 15:42:50,922 update_encoding_options(False) wid=4, want_alpha=False, speed=80, quality=80, bandwidth-limit=0, lossless threshold: 76 / 5, rgb auto threshold=7372 (min=2048, max=32768), get_best_encoding= 2018-11-03 15:42:50,922 cannot score: no pixel format! 2018-11-03 15:42:50,922 initial encoding for 4: auto 2018-11-03 15:42:50,938 send_delayed for wid 4, batch delay is 14ms, elapsed time is 14ms 2018-11-03 15:42:50,938 send_delayed_regions: bytes_cost=3976, bytes_threshold=1771, pixel_count=2952 2018-11-03 15:42:50,938 get_best_encoding_video(..) temporarily switching to lossless mode for 2952 pixels: low pixel count 2018-11-03 15:42:50,938 send_delayed_regions: using full window update 72x41 as rgb24, from 2018-11-03 15:42:50,939 process_damage_region: wid=4, adding pixel data to encode queue ( 72x41 - rgb24), elapsed time: 16.3 ms, request time: 0.5 ms, frame delay=0ms 2018-11-03 15:42:50,939 make_data_packet: image=XShmImageWrapper(BGRA: 0, 0, 72, 41), damage data: (4, 0, 0, 72, 41, 'rgb24') 2018-11-03 15:42:50,940 rgb_encode reformatting because BGRA not in ['RGB'] 2018-11-03 15:42:50,940 rgb_reformat(XShmImageWrapper(RGB: 0, 0, 72, 41), ['RGB'], False) converted from BGRA (11808 bytes) to RGB (8856 bytes) in 0.4ms, rowstride=216 2018-11-03 15:42:50,941 rgb_encode using level=1 for 8856 pixels at 80 speed, lz4 compressed 72x41 in rgb24/RGB: 8856 bytes down to 878 2018-11-03 15:42:50,945 packet decoding sequence 1 for window 4: 72x41 took 0.0ms 2018-11-03 15:42:50,945 may_recalculate(4, 2952) total 2952 pixels, scheduling recalculate work item 2018-11-03 15:42:51,002 encoding_totals for wid=4 with primary encoding=auto : {'rgb24': [1, 2952]} 2018-11-03 15:42:51,004 encode_ended() 2018-11-03 15:42:51,006 ui_cleanup: will disconnect [225L, 226L, 227L] 2018-11-03 15:42:51,131 send_delayed for wid 1, batch delay is 125ms, elapsed time is 125ms 2018-11-03 15:42:51,132 send_delayed_regions: bytes_cost=2320, bytes_threshold=941354, pixel_count=1296 2018-11-03 15:42:51,135 process_damage_region: wid=1, adding pixel data to encode queue ( 36x36 - rgb24), elapsed time: 129.4 ms, request time: 2.7 ms, frame delay=0ms 2018-11-03 15:42:51,135 send_delayed_regions: sent 1 regions using ['rgb24'] 2018-11-03 15:42:51,136 make_data_packet: image=XShmImageWrapper(BGRX: 1552, 351, 36, 36), damage data: (1, 1552, 351, 36, 36, 'rgb24') 2018-11-03 15:42:51,136 rgb_encode using level=1 for 5184 pixels at 57 speed, lz4 compressed 36x36 in rgb24/BGRX: 5184 bytes down to 2508 2018-11-03 15:42:51,145 packet decoding sequence 44 for window 1: 36x36 took 0.0ms 2018-11-03 15:42:51,157 send_delayed for wid 3, batch delay is 87ms, elapsed time is 87ms 2018-11-03 15:42:51,158 send_delayed_regions: bytes_cost=3659, bytes_threshold=58968, pixel_count=2635 2018-11-03 15:42:51,158 nonvideo(81, window is too small) 2018-11-03 15:42:51,159 process_damage_region: wid=3, adding pixel data to encode queue ( 85x31 - png), elapsed time: 89.9 ms, request time: 1.0 ms, frame delay=0ms 2018-11-03 15:42:51,159 send_delayed_regions: sent 1 regions using ['png'] 2018-11-03 15:42:51,160 make_data_packet: image=XShmImageWrapper(BGRX: 239, 146, 85, 31), damage data: (3, 239, 146, 85, 31, 'png') 2018-11-03 15:42:51,169 packet decoding sequence 7 for window 3: 85x31 took 16.0ms 2018-11-03 15:42:51,169 record_latency: took 7.3 ms round trip, 7.2 for echo, 16.0 for decoding of 2635 pixels, 817 bytes sent over the network in 0.0 ms, 0.0 ms for echo 2018-11-03 15:42:51,169 may_recalculate(3, 2635) total 2635 pixels, scheduling recalculate work item 2018-11-03 15:42:51,173 recalculate_delays() wids=(1, 3, 4), focus=1, maximized=[], fullscreen=[] 2018-11-03 15:42:51,174 calculate_batch_delay for wid=1 current batch delay=125, last update 1 seconds ago 2018-11-03 15:42:51,174 update_batch_delay: damage-network-delay : 0.95,0.55 {u'avg': 43, u'recent': 41} 2018-11-03 15:42:51,174 update_batch_delay: client-decode-speed : 0.92,0.00 {u'avg': 13, u'recent': 11} 2018-11-03 15:42:51,175 update_batch_delay: damage-rate : 1.00,0.00 {'max_latency': 511, 'elapsed': 168} 2018-11-03 15:42:51,175 update_batch_delay: bandwidth-limit : 0.34,0.00 {'used': 1467656, 'budget': 4761430} 2018-11-03 15:42:51,175 update_batch_delay: client-latency : 0.66,0.19 {u'target': 4, u'weight_multiplier': 321, u'smoothing': u'sqrt', u'aim': 800, u'aimed_avg': 432, u'div': 1000, u'avg': 78, u'recent': 14} 2018-11-03 15:42:51,175 update_batch_delay: client-ping-latency : 0.39,0.20 {u'target': 9, u'weight_multiplier': 253, u'smoothing': u'sqrt', u'aim': 949, u'aimed_avg': 151, u'div': 1000, u'avg': 40, u'recent': 6} 2018-11-03 15:42:51,175 update_batch_delay: server-ping-latency : 0.21,0.12 {u'target': 4, u'weight_multiplier': 137, u'smoothing': u'sqrt', u'aim': 949, u'aimed_avg': 44, u'div': 1000, u'avg': 43, u'recent': 1} 2018-11-03 15:42:51,175 update_batch_delay: packet-queue-size : 0.02,0.09 {u'target': 1000, u'weight_multiplier': 88, u'smoothing': u'sqrt', u'aim': 250, u'aimed_avg': 0, u'div': 1000, u'avg': 7, u'recent': 0} 2018-11-03 15:42:51,175 update_batch_delay: packet-queue-pixels : 0.00,0.00 {u'target': 1000, u'weight_multiplier': 0, u'smoothing': u'sqrt', u'aim': 250, u'aimed_avg': 0, u'div': 1568924000, u'avg': 0, u'recent': 0} 2018-11-03 15:42:51,175 update_batch_delay: compression-work-queue : 0.19,1.85 {u'target': 1000, u'weight_multiplier': 2156, u'smoothing': u'logp', u'aim': 250, u'aimed_avg': 139, u'div': 1000, u'avg': 4652, u'recent': 332} 2018-11-03 15:42:51,175 update_batch_delay: congestion : 1.00,0.05 {} 2018-11-03 15:42:51,175 update_batch_delay: damage-packet-queue-pixels : 0.00,0.00 {u'target': 1000, u'weight_multiplier': 0, u'smoothing': u'sqrt', u'aim': 250, u'aimed_avg': 0, u'div': 1568924000, u'avg': 0, u'recent': 0} 2018-11-03 15:42:51,176 update_batch_delay: focus : 0.00,1.00 {'has_focus': True} 2018-11-03 15:42:51,176 update_batch_delay: override-redirect : 1.00,0.00 {'is_OR': False} 2018-11-03 15:42:51,176 update_batch_delay: fullscreen : 0.00,0.00 {'other_is_fullscreen': False} 2018-11-03 15:42:51,176 update_batch_delay: maximized : 0.00,0.00 {'other_is_maximized': False} 2018-11-03 15:42:51,176 update_batch_delay: soft-expired : 0.00,0.00 {'count': 0} 2018-11-03 15:42:51,176 update_batch_delay: delay=95 2018-11-03 15:42:51,177 get_target_quality: target=3% (window 1636x959) pctpixdamaged=1406%, dpc={1: 26784, 2: 6494156, 3: 2590560, 4: 5181120, 5: 7771680, 6: 7771680, 7: 5181120, 8: 5181120, 9: 0, 10: 0} 2018-11-03 15:42:51,177 update_quality() wid=1, info={'batch-delay-ratio': 34, 'backlog_factor': (0, 0, 1568924, 0, 100), 'congestion-value': 4, 'latency': 492, 'compression-ratio': (34, 49, -12), 'min_quality': 30, 'max-quality-range': 69, 'min_speed': 30}, quality=32 2018-11-03 15:42:51,177 update_speed() wid=1, info={'congestion-value': 4, 'min_speed': 30, 'damage_latency': {'abs_factor': 256, 'rel_factor': 231, 'avg': 507, 'ref': 45, 'target': 119}, 'frame_delay': 119, 'mpixels': 0, 'low_limit': 1568924, 'decoding_latency': {'factor': 0, 'avg': 80602617, 'min': 1000000}, 'max-speed-range': 69}, speed=59 2018-11-03 15:42:51,177 update_encoding_options(False) wid=1, want_alpha=False, speed=59, quality=32, bandwidth-limit=4761430, lossless threshold: 71 / 9, rgb auto threshold=4761 (min=2048, max=4761), get_best_encoding= 2018-11-03 15:42:51,178 get_video_pipeline_options(['h264', 'h265'], 1542, 840, 'BGRX', False) using cached values from 997ms ago 2018-11-03 15:42:51,178 check_pipeline_score(False) best=(96, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 1542, 840, video_spec(nvenc)) 2018-11-03 15:42:51,178 calculate_batch_delay for wid=3 current batch delay=87, last update 6 seconds ago 2018-11-03 15:42:51,178 calculate_batch_delay for wid=3, skipping - only 1 events since the last update 2018-11-03 15:42:51,179 get_target_quality: target=3% (window 520x189) pctpixdamaged=2%, dpc={1: 2635, 2: 0, 3: 0, 4: 0, 5: 0, 6: 0, 7: 0, 8: 0, 9: 0, 10: 0} 2018-11-03 15:42:51,179 update_quality() wid=3, info={'batch-delay-ratio': 91, 'backlog_factor': (0, 0, 98280, 0, 100), 'congestion-value': 4, 'latency': 492, 'compression-ratio': (148, 153, -2), 'min_quality': 30, 'max-quality-range': 22, 'min_speed': 30}, quality=94 2018-11-03 15:42:51,179 update_speed() wid=3, info={'congestion-value': 4, 'min_speed': 30, 'damage_latency': {'abs_factor': 1759, 'rel_factor': 867, 'avg': 2498, 'ref': 35, 'target': 87}, 'frame_delay': 87, 'mpixels': 0, 'low_limit': 98280, 'decoding_latency': {'factor': 0, 'avg': 6014713, 'min': 1000000}, 'max-speed-range': 22}, speed=40 2018-11-03 15:42:51,179 update_encoding_options(False) wid=3, want_alpha=False, speed=40, quality=94, bandwidth-limit=524288, lossless threshold: 68 / 12, rgb auto threshold=1024 (min=2048, max=1024), get_best_encoding= 2018-11-03 15:42:51,179 get_video_pipeline_options(['h264', 'h265'], 520, 189, 'BGRX', False) last params=(['h264', 'h265'], 520, 189, 'BGRX'), full_csc_modes={'mpeg1': ('YUV420P',), 'mpeg2': ('YUV420P',), 'mpeg4': ('YUV420P',), 'h264': ('ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'h265': ('BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'), 'vp9': ('YUV420P', 'YUV444P'), 'vp8': ('YUV420P',), 'webp': ('BGRA', 'BGRX', 'RGBA', 'RGBX')} 2018-11-03 15:42:51,179 get_video_pipeline_options(['h264', 'h265'], 520, 189, 'BGRX') speed: 40 (min 30), quality: 94 (min 30) 2018-11-03 15:42:51,180 add_scores(direct (no csc), None, BGRX) 2018-11-03 15:42:51,180 calculate_scaling(520, 189, 4096, 4096)=(1, 1) (q=94, s=40, scaling_control=None) 2018-11-03 15:42:51,180 get_score(BGRX , None , video_spec(nvenc) , 520, 189) quality: 94, speed: 90, setup: 100 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=520x188, sizescore=100, client score delta= 0, cpu score= 0, gpu score=100, score=88 2018-11-03 15:42:51,180 add_scores(via XBGR (XBGR), video_spec(swscale), XBGR) 2018-11-03 15:42:51,180 add_scores(via YUV422P (YUV422P), video_spec(swscale), YUV422P) 2018-11-03 15:42:51,180 add_scores(via RGB (RGB), video_spec(swscale), RGB) 2018-11-03 15:42:51,180 add_scores(via RGBX (RGBX), video_spec(swscale), RGBX) 2018-11-03 15:42:51,181 add_scores(via GBRP (GBRP), video_spec(swscale), GBRP) 2018-11-03 15:42:51,181 add_scores(via BGR (BGR), video_spec(swscale), BGR) 2018-11-03 15:42:51,181 add_scores(via YUV420P (YUV420P), video_spec(swscale), YUV420P) 2018-11-03 15:42:51,181 add_scores(via XRGB (XRGB), video_spec(swscale), XRGB) 2018-11-03 15:42:51,181 calculate_scaling(520, 189, 4096, 4096)=(1, 1) (q=94, s=40, scaling_control=None) 2018-11-03 15:42:51,181 get_score(XRGB , video_spec(swscale) , video_spec(nvenc) , 520, 189) quality: 81, speed: 81, setup: 64 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=520x188, sizescore=100, client score delta= 0, cpu score= 0, gpu score=100, score=80 2018-11-03 15:42:51,181 add_scores(via YUV444P (YUV444P), video_spec(swscale), YUV444P) 2018-11-03 15:42:51,182 add_scores(direct (no csc), None, BGRX) 2018-11-03 15:42:51,182 calculate_scaling(520, 189, 8192, 8192)=(1, 1) (q=94, s=40, scaling_control=None) 2018-11-03 15:42:51,182 get_score(BGRX , None , video_spec(nvenc) , 520, 189) quality: 66, speed: 90, setup: 100 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=520x188, sizescore=100, client score delta= 0, cpu score= 0, gpu score=100, score=83 2018-11-03 15:42:51,182 add_scores(via XBGR (XBGR), video_spec(swscale), XBGR) 2018-11-03 15:42:51,182 add_scores(via YUV422P (YUV422P), video_spec(swscale), YUV422P) 2018-11-03 15:42:51,182 add_scores(via RGB (RGB), video_spec(swscale), RGB) 2018-11-03 15:42:51,182 add_scores(via RGBX (RGBX), video_spec(swscale), RGBX) 2018-11-03 15:42:51,182 add_scores(via GBRP (GBRP), video_spec(swscale), GBRP) 2018-11-03 15:42:51,182 add_scores(via BGR (BGR), video_spec(swscale), BGR) 2018-11-03 15:42:51,183 add_scores(via YUV420P (YUV420P), video_spec(swscale), YUV420P) 2018-11-03 15:42:51,183 add_scores(via XRGB (XRGB), video_spec(swscale), XRGB) 2018-11-03 15:42:51,183 calculate_scaling(520, 189, 8192, 8192)=(1, 1) (q=94, s=40, scaling_control=None) 2018-11-03 15:42:51,183 get_score(XRGB , video_spec(swscale) , video_spec(nvenc) , 520, 189) quality: 61, speed: 81, setup: 64 - 20 runtime: 100 scaling: (1, 1) / (1, 1), encoder dimensions=520x188, sizescore=100, client score delta= 0, cpu score= 0, gpu score=100, score=76 2018-11-03 15:42:51,183 add_scores(via YUV444P (YUV444P), video_spec(swscale), YUV444P) 2018-11-03 15:42:51,183 get_video_pipeline_options(['h264', 'h265'], 520, 189, 'BGRX') scores=[(88, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 520, 188, video_spec(nvenc)), (83, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 520, 188, video_spec(nvenc)), (80, (1, 1), (1, 1), 520, 188, video_spec(swscale), u'XRGB', (1, 1), 520, 188, video_spec(nvenc)), (76, (1, 1), (1, 1), 520, 188, video_spec(swscale), u'XRGB', (1, 1), 520, 188, video_spec(nvenc))] 2018-11-03 15:42:51,183 check_pipeline_score(False) best=(88, (1, 1), None, 0, 0, None, 'BGRX', (1, 1), 520, 188, video_spec(nvenc)) 2018-11-03 15:42:54,205 client has requested disconnection: client exit 2018-11-03 15:42:54,206 Disconnecting client Protocol(unix-domain socket:/run/user/250/xpra/curry-57): 2018-11-03 15:42:54,206 client request 2018-11-03 15:42:54,210 encoding_totals for wid=1 with primary encoding=auto : {'h264': [1, 1567288], 'h265': [34, 51111728], 'rgb24': [2, 2592], 'jpeg': [3, 1610872], 'webp': [3, 4706772], 'delta': [1, 1296], 'png': [1, 1568924]} 2018-11-03 15:42:54,211 encoding_totals for wid=1 with primary encoding=auto : {'h264': [1, 1567288], 'h265': [34, 51111728], 'rgb24': [2, 2592], 'jpeg': [3, 1610872], 'webp': [3, 4706772], 'delta': [1, 1296], 'png': [1, 1568924]} 2018-11-03 15:42:54,212 encoding_totals for wid=2 with primary encoding=auto : {'h264': [1, 60300], 'webp': [2, 120868], 'rgb24': [2, 2806], 'delta': [2, 2806]} 2018-11-03 15:42:54,216 encoding_totals for wid=2 with primary encoding=auto : {'h264': [1, 60300], 'webp': [2, 120868], 'rgb24': [2, 2806], 'delta': [2, 2806]} 2018-11-03 15:42:54,217 encoding_totals for wid=3 with primary encoding=auto : {'webp': [2, 196560], 'png': [3, 146020], 'jpeg': [2, 196560], 'delta': [1, 2635]} 2018-11-03 15:42:54,217 encoding_totals for wid=3 with primary encoding=auto : {'webp': [2, 196560], 'png': [3, 146020], 'jpeg': [2, 196560], 'delta': [1, 2635]} 2018-11-03 15:42:54,219 VideoHelper.cleanup() cleanup modules=[] 2018-11-03 15:42:54,219 xpra client 1 disconnected. 2018-11-03 15:42:54,219 xpra client 1 disconnected. 2018-11-03 15:42:54,299 encode_ended() 2018-11-03 15:42:54,299 encode_ended() 2018-11-03 15:42:54,299 ui_cleanup: will disconnect [178L, 179L, 180L, 181L] 2018-11-03 15:42:54,300 encode_ended() 2018-11-03 15:42:54,301 ui_cleanup: will disconnect [] 2018-11-03 15:42:54,301 encode_ended() 2018-11-03 15:42:54,301 ui_cleanup: will disconnect [182L, 183L, 184L, 185L] 2018-11-03 15:42:54,301 encode_ended() 2018-11-03 15:42:54,302 ui_cleanup: will disconnect [] 2018-11-03 15:42:54,302 ui_cleanup: will disconnect [186L, 187L, 188L, 189L]