[Mesa-maintainers] Downstream Mesa patches and quirks

Jonathan Gray jsg at jsg.id.au
Fri Feb 16 03:45:19 UTC 2018


On Mon, Feb 12, 2018 at 05:59:21PM +0000, Emil Velikov wrote:
> Hi all,
> 
> A humble reminder to forward any outstanding patches or hacks needed
> to get your Mesa packages building.
> I would kindly urge you to do so, even if your previous attempt did
> not fare well or you the patch seems not applicable upstream.
> 
> Quick random look shows the following:
> Fedora:
>   - multiple patches, static libstdc++ workaround (Vivek had an
> alternative here [1]
> 
> FreeBSD/DragonFly
>  - multiple patches (GregV up-streamed a few things already), shebang
> (no longer needed), glx-tls, sed/other hacks

The way build-id is now entangled in the dri drivers in 18.x while not
being supported by the last GPLv2 bfd ld (2.17) will need to be
addressed.  It is used by the shader cache but disabling the
shader cache and patching out the flag in configure.ac still results in
fatal asserts at runtime on i965.

OpenBSD will not move past 13.0.6 until the corruption seen on i965
with the modesetting driver with 17.1.6 and 17.2.8 can be resolved.

pthread-stubs was removed a while ago and some libpthread functions
moved to libc, so I will send some small Mesa/libdrm patches for that.

----------------------------
revision 1.4
date: 2018/01/08 05:41:20;  author: jsg;  state: Exp;  lines: +1 -1;  commitid: xIRGvPbGmso0qNiJ;
Revert to Mesa 13.0.6 again.

Corruption has again been reported on Intel hardware running Xorg with
the modesetting driver (which uses OpenGL based acceleration instead of
SNA acceleration the intel driver defaults to).

Reported in various forms on Sandy Bridge (X220), Ivy Bridge (X230) and
Haswell (X240).  Confirmed to not occur with the intel driver but the
xserver was changed to default to the modesetting driver on >= gen4
hardware (except Ironlake).

One means of triggering this is to open a large pdf with xpdf on an
idle machine and highlight a section of the document.

There have been reports of gpu hangs on gen4 intel hardware
(T500 with GM45, X61 with 965GM) when starting Xorg as well.
----------------------------


More information about the Mesa-maintainers mailing list