-
Notifications
You must be signed in to change notification settings - Fork 57
[mesa 19.1.6]android.hardware.nativehardware.cts.AHardwareBufferNativeTests failed #134
Comments
This passes fine for me with following Mesa branch (near master): |
Hi @tpalli, did you also upgrade minigbm to latest? |
Maybe not (?) I'm just using what comes with 'repo sync'. Will try later if I missed some commits. |
OK yeah, now it fails due to incomplete framebuffer. Will investigate. |
Yeah, in this case for some reason the internalformat is unsized GL_RGBA while spec only allows explicitly sized internal format. Will need to see why this is happening. |
Here we add render usage for RGBA1010102 as some other cases ask for render usage. |
IMO it is OK to add RGBA1010102 as renderable format, we do support this and there are many other tests rendering to this format with Mesa. This seems to go via glEGLImageTargetTexture2DOES path, maybe something is going wrong already there, we should check how the texture bound to that EGLImage was generated. |
This fixes the issue: However, it's not quite clear to me why the original internalformat is GL_RGBA and if that is actually a bug in the test itself. Will need to investigate more. |
Thanks @tpalli! Could you also help to create one PR on github? We may include the PR, and create one EB, and then have one round of full test.
|
Yes I noticed this but Nicolai's commit looks good to me. GLES does not allow rendering to texture with unsized format (such as GL_RGBA), it should allow only GL_RGB10_A2 so that should be valid restriction. I will need to check if my patch is indeed correct or if there is a bug in the test. I believe that meanwhile it should be safe to use my patch as a WA, I'm currently running it through Mesa CI and will report if there are any regressions from it. |
ok, got it, thanks a lot! Once there is no regression, please help create one PR, we would trigger one round of full CTS GFX test. :) |
So ... I'm still a bit confused with how Celadon trees work. I keep using 'project-celadon' but now and then some trees should be used from 'intel' instead. For which tree should I send this PR for? |
I sent here MR against Mesa master: If my fix is not correct, we probably hear it from there :) |
@tpalli, thanks a lot for the MR. If possible, please help send this PR to 'intel'. |
Thanks @renchenglei, I've created a PR here: |
@tpalli, ok! Thanks a lot! |
One android.hardware.nativehardware.* case failedon Android 10 with mesa 19.1.6.
This issue also could be reproduced on Android 10 with mesa 19.0.6.
We have tried with upstream master branch(e4a52bd), and this issue is still here
We revert following commit d2b60e4 in mesa, case could pass and no regression from dEQP and other cts modules.
Steps to reproduce this issue(run with cts packages):
The text was updated successfully, but these errors were encountered: