Mesa 19.2.8 and VAAPI - bob -> only half screen picture for 1080i H.264

Bug #1867188 reported by knossos456
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mesa (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

uname -a
Linux adiance 4.15.0-88-generic #88-Ubuntu SMP Tue Feb 11 20:11:34 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic

inxi -G
Graphics: Card: Advanced Micro Devices [AMD/ATI] Oland [Radeon HD 8570 / R7 240/340 OEM]
           Display Server: x11 (X.Org 1.19.6 ) driver: radeon Resolution: 1920x1080@60.00hz
           OpenGL: renderer: AMD OLAND (DRM 2.50.0, 4.15.0-88-generic, LLVM 9.0.0) version: 4.5 Mesa 19.2.8

For 1080i H.264 and VAAPI - bob deinterlacing, i have halfscreen (top) compressed image.

To solve the default, i have to revert via synaptic the package mesa-va-driver to 19.0.8.

Other solution is to take nighty builds as complete mesa package via :
https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers that works too and is at mesa 20.1 git

Please correct the problem to the official Ubuntu repos.

Revision history for this message
Joseph Yasi (joe-yasi) wrote :

This is supposed to be fixed in Mesa 20.1 git by c81aa15d, gallium/auxiliary/vl: fix bob compute shaders for deint yuv.
See:
https://gitlab.freedesktop.org/mesa/mesa/-/commit/c81aa15d646215eac38c8e0b6dc1a10b35bc13c3

This could be backported to Mesa 20 if someone wants to try it.

Revision history for this message
knossos456 (knossos456) wrote :

Thank you Joseph.
As I written in first post, 20.1 git is ok here, tested from: https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers
How can I test more, how to do to push the oibaf compil to ubuntu repository ?

Revision history for this message
knossos456 (knossos456) wrote :

Hi? no news ?

Revision history for this message
knossos456 (knossos456) wrote :

I've just try Focal fossa with new 20.0.2-1ubuntu1
Same problem, half screen picture for VAAPI - bob

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

let upstream know that the fix is needed in 20.0.x.. that way focal will get it (and bionic too, when mesa is backported for 18.04.5)

Revision history for this message
knossos456 (knossos456) wrote :
Revision history for this message
knossos456 (knossos456) wrote :

How to inform upstream (where) ?

Revision history for this message
Joseph Yasi (joe-yasi) wrote :

Oibaf is using the development release of Mesa. It's not released yet. Mesa 20.1 isn't scheduled for release until May.

You need them to backport the fix to the 20.0.x branch. Here is the upstream issue: https://gitlab.freedesktop.org/mesa/mesa/issues/2523

You can ask there for a backport to 20.0.x.

Revision history for this message
knossos456 (knossos456) wrote :

Ok for Mesa 20.1
Concerning Gitlab, I can't send them a fix, I'm not a developer.
I'm still available for testing.
I will tell them for the bug with 20.0.2-1ubuntu1 and my hardware

Revision history for this message
Joseph Yasi (joe-yasi) wrote :

No one is asking you to send them a fix. Since you are experiencing the issue on a stable release, you should let Mesa know that the issue exists in stable releases, and ask them to provide the fix for the stable 20.0.x branch.

Revision history for this message
knossos456 (knossos456) wrote :

Posted today, just after your post. Thanks

Revision history for this message
knossos456 (knossos456) wrote :

Nothing is changing. At this rythm, I think Focal Fosa will go out WITH the bug..

Revision history for this message
knossos456 (knossos456) wrote :

I've just tested latest mesa 20.0.4-1ubuntu1 for focal fossa
Bug is STILL present

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

it'll be fixed in 20.0.5

Revision history for this message
knossos456 (knossos456) wrote :

I've just tested focal fossa proposed 20.0.4-2ubuntu1 , It's working for this (my) bug.
I've tested it on live usb stick, but my computer is under Ubuntu 18.04 (see first post)
When can we expect proposed for Bionic ?

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

thanks for testing

the backport is provided after the last upstream bugfix release of 20.0.x series is out, so roughly in June

Revision history for this message
knossos456 (knossos456) wrote :

wow so long ....

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mesa - 20.0.4-2ubuntu1

---------------
mesa (20.0.4-2ubuntu1) focal; urgency=medium

  * Merge from Debian.
  * disable-intel-ccs-compression.diff: Dropped, we use iris by default.
    (LP: #1863874)
  * Don't build with llvm-10 until ppc64el ftbfs is fixed.

mesa (20.0.4-2) unstable; urgency=medium

  * fix-build-with-llvm-10.diff: Add a patch to fix build with Polly,
    and build with llvm-10 again. (Closes: #956004)
  * iris-drop-cache-coherent-cpu-mapping.diff: Fix corruption with iris
    (Closes: #954311) (LP: #1864274)
  * gallium-fix-bob-compute-shaders.diff: Fix vaapi with bob
    deinterlacing. (LP: #1867188)

 -- Timo Aaltonen <email address hidden> Thu, 16 Apr 2020 09:22:34 +0300

Changed in mesa (Ubuntu):
status: New → Fix Released
Revision history for this message
knossos456 (knossos456) wrote :

It's half fixed, but NOT for my bug posting (I am on Ubuntu 18.04 and compilation for it is MISSING)

Revision history for this message
knossos456 (knossos456) wrote :

I had time today to test 20.0.4-2ubuntu1~18.04.2 proposed bionic
It's working , wow what a long stuff..
Happy end

Revision history for this message
knossos456 (knossos456) wrote :

Proposed is out at may the 27th. When can we expect the release ?

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

not before the last of the series, 20.0.8, is tested.. I'll upload it today

Revision history for this message
knossos456 (knossos456) wrote :

Ok.

Revision history for this message
knossos456 (knossos456) wrote :

I've just tested the proposed bionic 20.0.8-0ubuntu1~18.04.1. It's working for my bug. Hope we get release soon now :) As you know bionic is under LTS support until 2023..

Revision history for this message
knossos456 (knossos456) wrote :

Still nothing for bionic ?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.