Bug 108876

Summary: OpenGL CTS glCreateShader() call failed.: glGetError() returned GL_INVALID_ENUM at gl3cCommonBugsTests.cpp:5590
Product: Mesa Reporter: Chen Xi <xi.c.chen>
Component: Drivers/Gallium/radeonsiAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact: Default DRI bug account <dri-devel>
Severity: normal    
Priority: medium CC: cheng.zhou, hai.lan, xi.c.chen
Version: 18.1   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: glxinfo and other logs
display 0 glxinfo and other logs
display 0 glxinfo and other logs

Description Chen Xi 2018-11-27 07:49:40 UTC
Test Environment
Platform: KBL-G (Intel NUC i7)
CPU: Intel (R) Core (TM) i7-8809G CPU @3.10GHz
GPU: AMD(Radeon RX Vega M GH Graphics)
Memory: 16G
OS: Ubutu16.04
Kernel: 4.18.0-rc3
amd driver version: amdgpu-pro-18.40-673869-ubuntu-16.04.tar.xz (Open Stack) 
VK-GL-CTS: https://github.com/KhronosGroup/VK-GL-CTS (commit id:54e546a1a0a6fa412ea4c3e3081bbc9518928a6e)


When running the test case, got the test failed result from the test tool
Error log:
$ ./glcts -n KHR-GL31.CommonBugs.CommonBug_ReservedNames
Writing test log into TestResults.qpa
dEQP Core git-54e546a1a0a6fa412ea4c3e3081bbc9518928a6e (0x54e546a1) starting..
  target implementation = 'Default'

Test case 'KHR-GL31.CommonBugs.CommonBug_ReservedNames'..
  Fail (glCreateShader() call failed.: glGetError() returned GL_INVALID_ENUM at gl3cCommonBugsTests.cpp:5590)

DONE!

Test run totals:
  Passed:        0/1 (0.0%)
  Failed:        1/1 (100.0%)
  Not supported: 0/1 (0.0%)
  Warnings:      0/1 (0.0%)

More information:
With AMD driver 18.10 (amdgpu-pro-18.10-516951.tar.gz (open stack)) on the same platform the test passed.
Comment 1 Chen Xi 2018-11-27 07:53:09 UTC
Created attachment 142624 [details]
glxinfo and other logs

Attached the logs captured following guidance from:
https://amdgpu-install.readthedocs.io/en/latest/install-bugrep.html
Comment 2 Chen Xi 2018-11-27 09:50:51 UTC
Created attachment 142629 [details]
display 0 glxinfo and other logs

Update the glxinfo captured from display 0, please ignore the glxinfo log from previous attachement.
Comment 3 Chen Xi 2018-11-27 09:59:39 UTC
Created attachment 142631 [details]
display 0 glxinfo and other logs
Comment 4 Chen Xi 2018-12-13 01:11:28 UTC
This issue is not reproduced with newly released MESA 18.3.0
https://mesa.freedesktop.org/archive/mesa-18.3.0.tar.gz

So close this issue.

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.