Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Mar 2018 14:45:33 +0200
From:      Juan =?iso-8859-1?b?UmFt824=?= Molina Menor <listjm@club.fr>
To:        freebsd-x11@freebsd.org, jbeich@freebsd.org
Subject:   [CFT] Mesa 18.0.0 update (mesa-libs, mesa-dri, libosmesa, clover)
Message-ID:  <1d18f278-8d5c-4c17-32b3-486c1ea800e0@club.fr>

next in thread | raw e-mail | index | archive | help
Kevin Oberman rkoberman at gmail.com wrote:
Wed Mar 28 05:27:29 UTC 2018

> System is a ThinkPad T520 (Sandy Bridge running 11.1-Stable  r331492).
> The results confuse me a bit as glxgears is clearly running much faster,
> but gets errors with mesa-18.
>
> Let me know if I can provide any further information.
>
> mesa-17.3:
> >/glxgears /Running synchronized to the vertical refresh.  The framerate should be
> approximately the same as the monitor refresh rate.
> 300 frames in 5.0 seconds = 59.883 FPS
> 299 frames in 5.0 seconds = 59.687 FPS
> 299 frames in 5.0 seconds = 59.694 FPS
>
> >/eglgears_x11 --help /EGL_VERSION = 1.4 (DRI2)
>
> mpv appears to run with functional vaapi. Almost no CPU on a 1920x1080 AVC
> file.
>
> I set layers.acceleration.force-enabled to true with no obvious problems,
> but I don't know just what to look for.
>
> No errors in Xorg.log
>
> mesa-18
> >/glxgears /[intel_init_bufmgr: 1788] Kernel 3.9 required.
> libGL error: failed to create dri screen
> libGL error: failed to load driver: i965
> 5860 frames in 5.0 seconds = 1171.865 FPS
> 6060 frames in 5.0 seconds = 1211.919 FPS
> 5994 frames in 5.0 seconds = 1198.623 FPS
> 5701 frames in 5.0 seconds = 1140.189 FPS
> No idea wht the significance of the errors is.
>
> >/eglgears_x11 /[intel_init_bufmgr: 1788] Kernel 3.9 required.
> libEGL warning: DRI2: failed to create dri screen
> EGL_VERSION = 1.4 (DRI2)
>
> mpv appears to run with functional vaapi. Almost no CPU on a 1920x1080 AVC
> file.
>
> I set layers.acceleration.force-enabled to true with no obvious problems,
> but I don't know just what to look for.
>
> Interesting bit of Xorg.log:
> [242860.803] (II) intel(0): [DRI2] Setup complete
> [242860.803] (II) intel(0): [DRI2]   DRI driver: i965
> [242860.803] (II) intel(0): [DRI2]   VDPAU driver: va_gl
> [242860.803] (II) intel(0): direct rendering: DRI2 enabled
> [242860.812] (II) intel(0): hardware support for Present enabled
> [242860.812] (WW) intel(0): Option "RegistryDwords" is not used
> [242860.812] (--) RandR disabled
> [242860.833] (EE) AIGLX error: Calling driver entry point failed
> [242860.834] (EE) AIGLX: reverting to software rendering
> --
> Kevin Oberman, Part time kid herder and retired Network Engineer
> E-mail:rkoberman at gmail.com 
> <https://lists.freebsd.org/mailman/listinfo/freebsd-x11>;
> PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683

With  an old Intel GM45 Express chip, there are no regressions after 
applying the patches and rebuilding Mesa.

Nevertheless I see the same behaviour and libGL errors as Kevin with 
glxgears and eglgears_x11.

I think setting layers.acceleration.force-enabled in Firefox in this 
older chip will never work (videos still get a magenta hue).

mpv work as before, but there is no VAAPI/VDPAU (I don’t know if it is 
even possible, I have not tested further).

Summary: the Mesa update does not break functionality.

Thanks for your work!




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1d18f278-8d5c-4c17-32b3-486c1ea800e0>