[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#909832: marked as done (Debian VPP patches break vaGetImage)



Your message dated Sun, 30 Sep 2018 21:39:11 +0000
with message-id <E1g6jQl-0003Vj-Mk@fasolo.debian.org>
and subject line Bug#909832: fixed in intel-vaapi-driver 2.2.0+dfsg1-2
has caused the Debian Bug report #909832,
regarding Debian VPP patches break vaGetImage
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
909832: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=909832
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: i965-va-driver
Version: 2.2.0+dfsg1-1
Severity: important

Hi,

I'm developing an application that uses VA-API to decode JPEGs, and then
fetch the decoded data down to the CPU. For this, you have two choices;
either call vaDeriveImage() on the surface (which always gives you uncached
memory, which is unusably slow to read data from), or create your own image and
then vaGetImage() the surface into said image.

However, on my Haswell laptop, vaGetImage() simply returns
VA_STATUS_ERROR_UNIMPLEMENTED when running the Debian version of i965-va-driver.
It turns out that after the patches to remove nonfree VPP shaders, .has_vpp = 0
on Haswell (and several others), but it still advertises a hardware getImage
(.has_accelerated_getimage = 1). i965_hw_getimage() calls i965_image_processing()
to do its bidding, which hits this code path:

      VAStatus status = VA_STATUS_ERROR_UNIMPLEMENTED;

      if (HAS_VPP(i965)) {  // Checks .has_vpp
            ...
      }
      return status;

Now, since .has_vpp has been set to 0 in Debian, this means that the simple
operation of copying a surface to an image breaks completely, which breaks a
major part of VA functionality. As far as I can see, this does not require
any nonfree shaders; if I remove the part of 0002-Disable-post-processing-shaders.patch
that sets .has_vpp = 0 for Haswell, vaGetImage() works just like it should.

Is perhaps this patch too heavy-handed, and something more fine-grained required?

-- 
Homepage: https://www.sesse.net/

--- End Message ---
--- Begin Message ---
Source: intel-vaapi-driver
Source-Version: 2.2.0+dfsg1-2

We believe that the bug you reported is fixed in the latest version of
intel-vaapi-driver, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 909832@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sebastian Ramacher <sramacher@debian.org> (supplier of updated intel-vaapi-driver package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 30 Sep 2018 22:05:18 +0200
Source: intel-vaapi-driver
Binary: i965-va-driver
Architecture: source
Version: 2.2.0+dfsg1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Changed-By: Sebastian Ramacher <sramacher@debian.org>
Description:
 i965-va-driver - VAAPI driver for Intel G45 & HD Graphics family
Closes: 909832
Changes:
 intel-vaapi-driver (2.2.0+dfsg1-2) unstable; urgency=medium
 .
   * debian/patches: Re-enable VPP on Haswell. (Closes: #909832)
Checksums-Sha1:
 a71608c5111a2f3d90744c9736ed6cbfd2f5cdee 2351 intel-vaapi-driver_2.2.0+dfsg1-2.dsc
 6b0ccd6ef8bbc2415e19a7b1f093cdf38c350751 14860 intel-vaapi-driver_2.2.0+dfsg1-2.debian.tar.xz
Checksums-Sha256:
 b61113d99c0ec5d98a67cfa150819bf3495fbcba83516a48815a61f1549e4aee 2351 intel-vaapi-driver_2.2.0+dfsg1-2.dsc
 8a8a89936117cd4ed7cdc30ea3e0e58493dbfaf5b8615a1813d519ec74202b91 14860 intel-vaapi-driver_2.2.0+dfsg1-2.debian.tar.xz
Files:
 2dd4712a13d248e26886ae77d5f7b304 2351 video optional intel-vaapi-driver_2.2.0+dfsg1-2.dsc
 73a68d525f0398c76f948fce29a44f21 14860 video optional intel-vaapi-driver_2.2.0+dfsg1-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE94y6B4F7sUmhHTOQafL8UW6nGZMFAluxLUsACgkQafL8UW6n
GZOQvBAAohZIjEmlFjRVtpEwOqmDLc4MBwIcl3vGF5QrAsN/DpCK58tH3o+kC1KT
idmXbxu7fRdvTkq4GK0jQ3XISTfx/S4XHllVUCi3a2xLzuSlp4IH+VSlr/1zlvsW
T3AgcSUj1D373HAwVdnc47tnF2f0bNddnHkS91g6mK0TcG2ScP0QroqsEKtE9fNg
NrX+9kAa6UajrLP5ozf9usRt1ZqWVqwSAmu5KQdNgW36S2yI3xFsDfrnMcITx/Ag
yiKCwEBTEV8BKFw8avdnsO7QTkPR6LVdSll5ctw8mtgqSnsSjinxUOA1BqhLQb43
sTSA0Bx5Lu3szUCu2KQth8r/AMSJRknQY3BY6wCRsgvCM+g4fr/a6QCJhnmqvEYr
XI0RBiBmqURnCu0dhsQT8iuLoTSIT7q58PkAEw6dWLv9UKd5eIz1ValDM1k71+a8
m5MoWdNgVboPTz4ko2wen7Jw5uprLvHPWHi72ZMbla3Lp7mudLhoayDPrpm4KI2C
rmwloLbQky0LcmPpA77mQCSW2kwudyaBaor6YL2/NwQfWq0OnuX4FmwzBwvO2YsQ
tiH5GFyJIlRSfbWokZ9CWz4zHkCYG9ZSsmImoVny5J+VceY7/VASCM/rgQ9AX6JC
4AgZm5gzEPQUygjWZPUC4c913Ww/SJ67YQfmor0mkth1EkI6QY0=
=GIcJ
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: