xpra icon
Bug tracker and wiki

Changes between Version 28 and Version 29 of CSC


Ignore:
Timestamp:
12/10/13 05:57:08 (6 years ago)
Author:
Antoine Martin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CSC

    v28 v29  
    1414* [https://www.xpra.org/trac/browser/xpra/trunk/src/xpra/codecs/csc_nvcuda csc_nvcuda] which uses [http://documen.tician.de/pycuda/ PyCUDA]
    1515
    16 See below for some performance samples.
     16On the client side, if a CSC step is needed, it will use {{{swscale}}}. The {{{OpenGL}}} mode does not need a CSC step as it can display YUV pixels directly on screen.
    1717
    18 On the client side, if a CSC step is needed, it will use {{{swscale}}}. The {{{OpenGL}}} mode does not need a CSC step as it can display YUV pixels directly on screen.
     18
     19== Choosing a CSC module ==
     20
     21The best way to choose a CSC module is to test them all and [/wiki/CSC/Performance compare them].
     22
    1923
    2024
     
    6165
    6266The scaling can be handled by some encoders natively, [/wiki/Encodings/nvenc nvenc] does.
    63 
    64 
    65 == CSC Performance ==
    66 
    67 You can get your own figures by running the tests:
    68 * [/browser/xpra/trunk/src/tests/xpra/codecs/test_csc_opencl.py xpra.codecs.test_csc_opencl] (you can use environment variables to choose the {{{OpenCL}}} backend to use)
    69 * [/browser/xpra/trunk/src/tests/xpra/codecs/test_csc_swscale.py xpra.codecs.test_csc_swscale]
    70 * [/browser/xpra/trunk/src/tests/xpra/codecs/test_csc_nvcuda.py xpra.codecs.test_csc_nvcuda.py]
    71 
    72 
    73 Measured with r4272 (results are in MPixels/s):
    74 
    75 * 1920x1080 {{{RGB}}} to {{{YUV???P}}}:
    76 ||= Module =||= CPU/GPU  =||= YUV420P =||= YUV422P =||= YUV444P =||
    77 ||swscale||AMD FX 8150||142||182||151||
    78 ||swscale||AMD X4 945||120||165||131||
    79 ||swscale||AMD X2 260||124||170||140||
    80 ||swscale||Intel Core i3-3110M||164||229||181||
    81 ||swscale||2xIntel Xeon E5-2670||215||322||253||
    82 ||CUDA-Nvidia||AMD X4 945 + GTS 450||366||341||290||
    83 ||CUDA-Nvidia||2xIntel Xeon E5-2670 / 2xK1||173||177||160||
    84 ||OpenCL-Nvidia||AMD FX8150 + GTX 760||345||303||254||
    85 ||OpenCL-Nvidia||AMD X4 945 + GTS 450||357||303||260||
    86 ||OpenCL-Nvidia||2xIntel Xeon E5-2670 / 2xK1||210||211||192||
    87 ||OpenCL-Nvidia||Intel Xeon E5-2620 / GTX 650ti||502||457||399||
    88 ||OpenCL-Intel||AMD FX 8150||129||114||119||
    89 ||OpenCL-Intel||Intel Core i3-3110M||141||92||53||
    90 ||OpenCL-Intel||2xIntel Xeon E5-2670||472||412||263||
    91 ||OpenCL-Intel||Intel Xeon E5-2620||254||213||131||
    92 ||OpenCL-AMD||AMD FX 8150 + Radeon HD5450||110||49||42||
    93 ||OpenCL-AMD||AMD FX 8150||93||79||76||
    94 ||OpenCL-AMD||AMD X4 945||63||54||53||
    95 ||OpenCL-AMD||AMD M300||14||12||12||
    96 ||OpenCL-AMD||AMD X2 + Radeon HD5450||151||61||57||
    97 ||OpenCL-AMD||AMD X2||15||14||11||
    98 ||OpenCL-AMD||Intel Core i3-3110M||71||58||63||
    99 ||OpenCL-Apple||Intel Core2Duo P8600 + GeForce 320||22||28||22||
    100 
    101 * 1920x1080 RGB to GBR (simple byte swapping):
    102 ||= Module =||= CPU/GPU  =||= MPixels/s =||
    103 ||swscale||AMD FX 8150||718||
    104 ||swscale||AMD X4 945||524||
    105 ||swscale||AMD X2 260||582||
    106 ||swscale||Intel Core i3-3110M||550||
    107 ||swscale||2xIntel Xeon E5-2670||758||
    108 
    109 * 1920x1080 {{{YUV???P}}} to {{{BGR(X)}}}:
    110 ||= Module =||= CPU/GPU  =||= YUV420P =||= YUV422P =||= YUV444P =||
    111 ||swscale||AMD FX 8150||381||406||416||
    112 ||swscale||AMD X4 945||369||323||237||
    113 ||swscale||AMD X2 260||312||255||330||
    114 ||swscale||Intel Core i3-3110M||350||309||310||
    115 ||swscale||2xIntel Xeon E5-2670||177||168||163||
    116 ||CUDA-Nvidia||AMD X4 945 + GTS 450||202||191||180||
    117 ||CUDA-Nvidia||2xIntel Xeon E5-2670 / 2xK1||180||155||151||
    118 ||OpenCL-Nvidia||AMD FX 8150 + GTX 760||331||289||257||
    119 ||OpenCL-Nvidia||AMD X4 945 + GTS 450||?||?||?||
    120 ||OpenCL-Nvidia||Intel Xeon E5-2620 / GTX 650ti||458||377||358||
    121 ||OpenCL-Nvidia||2xIntel Xeon E5-2670 / 2xK1||190||165||148||
    122 ||OpenCL-Intel||AMD FX 8150||96||70||67||
    123 ||OpenCL-Intel||Intel Core i3-3110M||82||88||87||
    124 ||OpenCL-Intel||Intel Xeon E5-2620||146||123||116||
    125 ||OpenCL-Intel||2xIntel Xeon E5-2670||265||271||268||
    126 ||OpenCL-AMD||AMD FX 8150 + Radeon HD5450||84||82||70||
    127 ||OpenCL-AMD||AMD FX 8150||60||55||47||
    128 ||OpenCL-AMD||AMD X4 945||54||51||50||
    129 ||OpenCL-AMD||AMD M300||11||9||7||
    130 ||OpenCL-AMD||AMD X2 260 + Radeon HD5450||107||98||98||
    131 ||OpenCL-AMD||AMD X2 260||11||10||7||
    132 ||OpenCL-AMD||Intel Core i3-3110M||60||56||58||