[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 17:10:08 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=106642
--- Comment #22 from Lionel Landwerlin <lionel.g.landwerlin at linux.intel.com> ---
(In reply to Eero Tamminen from comment #19)
> (In reply to Lionel Landwerlin from comment #14)
> > Created attachment 140055 [details] [review] [review]
> > dri: add missing 16bits formats mapping
> >
> > Here is a v2 for the new dri_format (G16R16 this time).
> > I've gone through all the dri image formats, so hopefully we're not missing
> > anything anymore.
>
> A quick try of this patch alone -> still get the same crash?
>
> ---------------------------------------------------
> Thread 1 "X" received signal SIGSEGV, Segmentation fault.
> 0x00007f4666cd5c2a in isl_format_supports_ccs_e
> (devinfo=devinfo at entry=0x1aa72e8,
> format=ISL_FORMAT_UNSUPPORTED) at isl/isl_format.c:558
> 558 isl/isl_format.c: No such file or directory.
> (gdb) bt
> #0 0x00007f4666cd5c2a in isl_format_supports_ccs_e
> (devinfo=devinfo at entry=0x1aa72e8,
> format=ISL_FORMAT_UNSUPPORTED) at isl/isl_format.c:558
> #1 0x00007f4666ba1fac in modifier_is_supported
> (devinfo=devinfo at entry=0x1aa72e8,
> fmt=fmt at entry=0x7f4666ed6f98 <intel_image_formats+216>, dri_format=4112,
> dri_format at entry=0,
> modifier=modifier at entry=72057594037927940) at intel_screen.c:345
I'm really disturbed by the value of dri_format for this function now.
In the commit you pointed at for mesa, the caller should be this :
https://cgit.freedesktop.org/mesa/mesa/tree/src/mesa/drivers/dri/i965/intel_screen.c?id=66c61797ada12e0e2b396affcc2dc495b6cc04ed#n1304
So dri_format should be 0, but the backtrace implies it's not...
--
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/b1f3789d/attachment.html>
More information about the intel-3d-bugs
mailing list