xpra icon
Bug tracker and wiki

Opened 3 years ago

Closed 5 months ago

#1666 closed enhancement (wontfix)

intel quick sync for jpeg encode acceleration

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: 4.1
Component: encodings Version: trunk
Keywords: Cc:

Description

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.

Attachments (1)

qsv.patch (7.5 KB) - added by Antoine Martin 5 months ago.
qsv via ffmpeg - no workee :(

Download all attachments as: .zip

Change History (5)

comment:2 Changed 3 years ago by Antoine Martin

Milestone: 2.23.0

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

comment:5 Changed 14 months ago by Antoine Martin

Milestone: 3.04.1
Last edited 5 months ago by Antoine Martin (previous) (diff)

Changed 5 months ago by Antoine Martin

Attachment: qsv.patch added

qsv via ffmpeg - no workee :(

comment:6 Changed 5 months ago by Antoine Martin

Status: newassigned

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

comment:7 Changed 5 months ago by Antoine Martin

Resolution: wontfix
Status: assignedclosed

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

Note: See TracTickets for help on using tickets.