[Bug 106642] X server crashes in i965 on desktop startup when DRI3 v1.2 / modifier support is enabled

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jun 6 15:20:53 UTC 2018


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

--- Comment #18 from Daniel Stone <daniel at fooishbar.org> ---
(In reply to Daniel Stone from comment #16)
> Not unless the original backtrace is somehow wrong:
> 
> #4  0x00007f19d4e6ff67 in eglQueryDmaBufModifiersEXT (dpy=0x23a76f0,
> format=808665688, max_modifiers=0, modifiers=0x0, external_only=0x0,
> num_modifiers=0x7ffd17dbfc94)

I missed the second one, which is in fact 'R16 '. That seems super broken. I
have no idea why a client would be trying to create X11/DRI3 surfaces for those
formats ... ?

No, wait, I understand. In the server, we cache the list of formats returned to
us by the EGL implementation, and get the list of modifiers for every supported
format.

Since the extension makes no distinction between formats used as sampler
sources and as render targets, this means we'll end up trying to pull the list
of supported modifiers for R8, R8G8, R16, R16G16, etc.

So this in fact seems completely correct from the X server.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20180606/f180298c/attachment-0001.html>


More information about the intel-3d-bugs mailing list