[Mesa-dev] [Bug 107655] X segfaults on startup in r300_dri.so, making system unusable

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Aug 27 15:05:32 UTC 2018


Michel Dänzer <michel at daenzer.net> changed:

           What    |Removed                     |Added
           Assignee|dri-devel at lists.freedesktop |mesa-dev at lists.freedesktop.
                   |.org                        |org
             Status|RESOLVED                    |REOPENED
         QA Contact|dri-devel at lists.freedesktop |mesa-dev at lists.freedesktop.
                   |.org                        |org
          Component|Drivers/Gallium/r300        |Drivers/Gallium/swr
         Resolution|NOTOURBUG                   |---

--- Comment #5 from Michel Dänzer <michel at daenzer.net> ---
(In reply to Sergey Kondakov from comment #4)
> I don't know the actual reason of the crash but the guys there figured out that
> the crash was coming from AVX instruction in Mesa's SWR code. The affected
> machine does not support any kind of AVX, so it threw out the error. But it's
> unclear why SWR even been trying to initialize during the load of r300_dri.

I think it's the combination of two things:

* All Gallium drivers are linked into a single binary (so-called mega-driver)

* SWR is compiled with AVX support and has initializers which are automatically
executed when the above binary is dlopen()ed.

Until there's a solution for this, SWR cannot be enabled in a build which has
to run on non-AVX capable CPUs.

You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180827/356a4681/attachment.html>

More information about the mesa-dev mailing list