Bug 108617

Summary: [deqp] Mesa fails conformance for egl_ext_device
Product: Mesa Reporter: Mark Janes <mark.a.janes>
Component: Drivers/DRI/i965Assignee: Emil Velikov <emil.l.velikov>
Status: RESOLVED FIXED QA Contact: Intel 3D Bugs Mailing List <intel-3d-bugs>
Severity: normal    
Priority: medium Keywords: bisected
Version: git   
Hardware: Other   
OS: All   
See Also: https://bugs.freedesktop.org/show_bug.cgi?id=108635
Whiteboard:
i915 platform: i915 features:

Description Mark Janes 2018-11-01 07:51:03 UTC
With c7cc135e2326f7a6ac08aed1e0a974c1585fdbc7, EGL_EXT_device was enabled.  However, mesa fails the conformance tests for this extension:

dEQP-EGL.functional.get_proc_address.extension.egl_ext_device_base
EGL_EXT_device_base: supported
eglGetProcAddress(eglQueryDeviceAttribEXT);
// 0x00007fc28b914e70 returned
eglGetError();
// EGL_SUCCESS returned
eglGetProcAddress(eglQueryDeviceStringEXT);
// 0x00007fc28b914d40 returned
eglGetError();
// EGL_SUCCESS returned
eglGetProcAddress(eglQueryDevicesEXT);
// 0x0000000000000000 returned
eglGetError();
// EGL_SUCCESS returned
Fail, received null pointer for supported extension function: eglQueryDevicesEXT
eglGetProcAddress(eglQueryDisplayAttribEXT);
// 0x00007fc28b916050 returned
eglGetError();
// EGL_SUCCESS returned


dEQP-EGL.functional.get_proc_address.extension.egl_ext_device_enumeration:
EGL_EXT_device_enumeration: supported
eglGetProcAddress(eglQueryDevicesEXT);
// 0x0000000000000000 returned
eglGetError();
// EGL_SUCCESS returned
Fail, received null pointer for supported extension function: eglQueryDevicesEXT


Also, a piglit test fails:
piglit.spec.egl_ext_device_enumeration.conformance:
/tmp/build_root/m64/lib/piglit/bin/egl_ext_device_enumeration -auto -fbo
No device query entrypoint


Emil: can you comment on what still needs to happen?
Comment 1 Tapani Pälli 2018-11-01 09:29:29 UTC
Maybe it's this thing ..
https://lists.freedesktop.org/archives/mesa-dev/2018-November/208391.html
Comment 2 Tapani Pälli 2018-11-01 10:57:09 UTC
commit 68dc591af16ebb36814e4c187e4998948103c99c
Author: Mathias Fröhlich <Mathias.Froehlich@gmx.net>
Date:   Thu Nov 1 07:23:06 2018 +0100

    egl: Fix eglentrypoint.h sort order.
    
    Fixes a make check failure.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108617
    Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
    Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
Comment 3 Kyle De'Vir 2018-11-02 11:15:55 UTC
Fixing this bug started causing XWayland to die.

https://bugs.freedesktop.org/show_bug.cgi?id=108635

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.