Summary: | ANGLE DrawBuffersTest.Gaps/ES2_Vulkan test fails on Intel Ubuntu19.04 | ||
---|---|---|---|
Product: | Mesa | Reporter: | jchen10 <jie.a.chen> |
Component: | Drivers/Vulkan/intel | Assignee: | Caio Marcelo de Oliveira Filho <caio.oliveira> |
Status: | RESOLVED WORKSFORME | QA Contact: | Intel 3D Bugs Mailing List <intel-3d-bugs> |
Severity: | normal | ||
Priority: | medium | CC: | jason |
Version: | git | Keywords: | bisected, regression |
Hardware: | Other | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
angle_end2end_tests
vkcmd dump glsl shader vulkanfo (Iris Pro 6200 Mesa 19.2.0-develgit-aa5dab27f96) |
Created attachment 144699 [details]
vkcmd dump
Created attachment 144700 [details]
glsl shader
Hi, I tested on BDW gt2 and KBL systems (HD 5500 and HD 630) on mesa git commit 0cc02c9ea6198d498d8cebad524c3875d2d692f0 (HEAD -> master, origin/master, origin/HEAD) Note: Google Test filter = DrawBuffersTest.Gaps/ES2_Vulkan [==========] Running 1 test from 1 test suite. [----------] Global test environment set-up. [----------] 1 test from DrawBuffersTest [ RUN ] DrawBuffersTest.Gaps/ES2_Vulkan [ OK ] DrawBuffersTest.Gaps/ES2_Vulkan (183 ms) [----------] 1 test from DrawBuffersTest (183 ms total) [----------] Global test environment tear-down [==========] 1 test from 1 test suite ran. (183 ms total) [ PASSED ] 1 test. So could be related exactly to your GPU model - BDW gt3. Thanks for the triage, Denis. The bug was first found on an ANGLE's buildbot with the Intel HD 630. It runs Unbuntu 19.04 with Mesa 19.0.2. I can also reproduce it on my desktop with Iris Pro 6200. So It's kind of surprising you could not reproduce it. Probably there might be something different between us. Was you running Ubuntu 19.04? Anyway I will try to find a HD 630 to test with. Can you run vulkaninfo on both machines? I suspect the passing machine has one heap and the failing machine has two. It's based on the amount of RAM in the machine. I suspect that ANGLE isn't respecting the requirements on memory types for vertex buffers which are required by the driver. Created attachment 144708 [details]
vulkanfo (Iris Pro 6200 Mesa 19.2.0-develgit-aa5dab27f96)
I can only get that from my desktop. Refer to the attached log. Thanks!
>It's kind of surprising you could not reproduce it. Probably there might be something different between us. After filling few other bugs into BZ I re-checked this issue and found out, that this test fails on commit, found as "bad" for this issue => https://bugs.freedesktop.org/show_bug.cgi?id=111069 Note: Google Test filter = DrawBuffersTest.Gaps/ES2_Vulkan [==========] Running 1 test from 1 test suite. [----------] Global test environment set-up. [----------] 1 test from DrawBuffersTest [ RUN ] DrawBuffersTest.Gaps/ES2_Vulkan ../../src/tests/gl_tests/DrawBuffersTest.cpp:195: Failure Expected equality of these values: color Which is: Green angle::ReadColor(getWindowWidth() / 2, getWindowHeight() / 2) Which is: Transparent Black index 1 [ FAILED ] DrawBuffersTest.Gaps/ES2_Vulkan, where GetParam() = ES2_Vulkan (99 ms) [----------] 1 test from DrawBuffersTest (99 ms total) [----------] Global test environment tear-down [==========] 1 test from 1 test suite ran. (99 ms total) [ PASSED ] 0 tests. [ FAILED ] 1 test, listed below: [ FAILED ] DrawBuffersTest.Gaps/ES2_Vulkan, where GetParam() = ES2_Vulkan So, my results for this test on KBL HW: (this one is the most resent git mesa - mesa-git-04.07-vulkan) OpenGL ES profile version string: OpenGL ES 3.2 Mesa 19.2.0-devel (git-0cc02c9ea6) PASSED OpenGL ES profile version string: OpenGL ES 3.2 Mesa 18.0.0 (git-dceb1ce807) PASSED OpenGL ES profile version string: OpenGL ES 3.2 Mesa 18.3.0-devel (git-b3c6146925) FAILED Side question btw, I have 2 laptops with different HW (one has 2 GPU's, another - only 1). In both cases I got the same results (passed on mesa master and on mentioned in first comment commit). So the question is - is there any flag, related to running test on specified gpu? (I pretty sure that I ran test exactly on intel gpu, because I simply didn't compile amd drivers, and they don't exist on exported pathes) ------------------------------------------ den@den-pc angle]$ DRI_PRIME=0 ./angle_end2end_tests --gtest_filter=Texture3DTestES3.DrawWithLevelsOutsideRangeWithInconsistentDimensions/ES3_OpenGL 2 GPUs: 0 - Intel device id: 0x5916 1 - AMD device id: 0x6604 Active GPU: 1 Optimus: false AMD Switchable: true ------------------------------------------ On laptop with one GPU here is an output: ------------------------------------------ den@den-pc angle]$ DRI_PRIME=0 ./angle_end2end_tests >--gtest_filter=Texture3DTestES3.DrawWithLevelsOutsideRangeWithInconsistentDimensions/ES3_OpenGL 1 GPU: 0 - Intel device id: 0x5916 Active GPU: 0 sorry, used a wrong test to run, but still - the output is similar. Correct one: [den@den-pc angle]$ ./angle_end2end_tests --gtest_filter=DrawBuffersTest.Gaps/ES2_Vulkan 2 GPUs: 0 - Intel device id: 0x5916 1 - AMD device id: 0x6604 Active GPU: 1 Optimus: false AMD Switchable: true Thank you for looking into the issue, Denis. It's not accurate in test log for the active GPU. You can simply ignore it. I am kind of suspect now that the failure might be relevant to the Ubuntu 19.04. It's 100% reproducible with various versions of Mesa for me. Do you think the linux kernel version might matter as well? hm, to be honest, can't say. What kernel do you have there? I will try live cd with 19.04 My current configurations are: Ubuntu 18.04 5.1.2-050102-generic Mesa 19.2.0-devel (git-a110a8090d) vulkan apiVersion = 0x401066 (1.1.102) Manjaro 5.1.8-1-MANJARO 19.2.0-devel (git-0cc02c9ea6) vulkan apiVersion = 0x401066 (1.1.102) My configurations are: Ubuntu 18.04 4.15.0-52-generic Mesa 18.2.8 HD Graphics 530 Ubuntu 19.04 5.0.0-17-generic Mesa 19.0.2 Iris Pro 6200 Both Mesa and Kernel are the default ones with the distribution. It seems your linux kernel versions are newer. oh... I saw that you had BRW GT3, but you wrote that you tested and on KBL >ANGLE's buildbot with the Intel HD 630 In your last comment you mentioned SKL >HD Graphics 530 I have laptop with this GPU, so will check and on it. Also I checked KBL (ubuntu 18.04) with kernel 4.15 - test passed on mesa master. So my next steps are: 1. boot into live cd with ubuntu 19.04 on KBL and test 2. check this issue on SKL laptop ok, providing my updates: I had HD 520, not 530, but they are very close one to another, so: ------------------------- Ubuntu 18.04 kernel 4.18 kernel 4.15 (both built from ukuu) Result: the same as higher - mesa-git-master - Passed ------------------------- Ubuntu 19.04 (live cd) kernel 5.0.0 (default one) mesa 19.0.2 - system - test FAILED mesa-git-master - test PASSED So I even don't know what I can check else :( and why I am getting different results from you. Just to clarify, how do you test on custom mesa version? In my case, I am exporting LD_LIBRARY_PATH and VK_ICD_FILENAMES variables Oops, I forgot to export VK_ICD_FILENAMES. I was only exporting LD_LIBRARY_PATH and LIBGL_DRIVERS_PATH. Now It can pass on my Ubuntu 19.04 with mesa-master. Cool :) Closing then) |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 144698 [details] angle_end2end_tests Device: Mesa DRI Intel(R) Iris Pro 6200 (Broadwell GT3e) (0x1622) OpenGL core profile version string: 4.5 (Core Profile) Mesa 19.2.0-develgit-9b0720c436b To reproduce, simply extract the attachment and run "/angle_end2end_tests --gtest_filter=DrawBuffersTest.Gaps/ES2_Vulkan". And you will see the failure below: ../../src/tests/gl_tests/DrawBuffersTest.cpp:195: Failure Expected equality of these values: color Which is: Green angle::ReadColor(getWindowWidth() / 2, getWindowHeight() / 2) Which is: Transparent Black index 1 [ FAILED ] DrawBuffersTest.Gaps/ES2_Vulkan, where GetParam() = ES2_Vulkan (187 ms) The same test can pass on Intel Win10, Nvidia Ubuntu.