Xpra: Ticket #1666: intel quick sync for jpeg encode acceleration

Intel Quick Sync Video supports JPEG encode acceleration on Braswell and later. (2016)

JPEG is critical to the performance, especially for the HTML5 client. Let's see if this beats libjpeg-turbo.

Chrome uses it: Chrome Working On JPEG Encode Accelerator With VA-API/V4L2 Support, so that's likely to be a win.

Mon, 12 Mar 2018 14:57:56 GMT - Antoine Martin: milestone changed

Re-scheduling as per ticket:451#comment:10.

Sat, 21 Sep 2019 12:19:05 GMT - Antoine Martin: milestone changed


Not many examples around:

Sat, 13 Jun 2020 16:28:10 GMT - Antoine Martin: attachment set

qsv via ffmpeg - no workee :(

Sat, 13 Jun 2020 16:57:50 GMT - Antoine Martin: status changed

Even trying the ffmpeg qsv command line examples fails.

Probably requires that I unplug or turn off the nvidia card and switch back to the intel iGPU. (IntelĀ® HD Graphics 530 found in the i6700k)

libva (#451) might be a better option: it is more generic, supports amd and nvidia too, and this does look like it might work without touching the hardware:

$ vainfo
libva info: VA-API version 1.7.0
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_1_5
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.7 (libva 2.7.1)
vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA-API - 0.7.4
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileMPEG4Simple            :	VAEntrypointVLD
      VAProfileMPEG4AdvancedSimple    :	VAEntrypointVLD
      <unknown profile>               :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD

Sun, 14 Jun 2020 15:27:24 GMT - Antoine Martin: status changed; resolution set

It is nonfree and doesn't work, whereas vaapi does: #451.

Sat, 23 Jan 2021 05:30:32 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1666