From owner-freebsd-x11@freebsd.org Wed Mar 28 12:51:41 2018 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 52E09F59A0C for ; Wed, 28 Mar 2018 12:51:41 +0000 (UTC) (envelope-from listjm@club.fr) Received: from smtp26.services.sfr.fr (smtp26.services.sfr.fr [93.17.128.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E79EA87DC7 for ; Wed, 28 Mar 2018 12:51:40 +0000 (UTC) (envelope-from listjm@club.fr) Received: from [192.168.1.51] (177.197.118.78.rev.sfr.net [78.118.197.177]) by msfrf2610.sfr.fr (SMTP Server) with ESMTP id 509F61C072406 for ; Wed, 28 Mar 2018 14:45:36 +0200 (CEST) Received: from [192.168.1.51] (177.197.118.78.rev.sfr.net [78.118.197.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: juanmolina@sfr.fr) by msfrf2610.sfr.fr (SMTP Server) with ESMTPSA; Wed, 28 Mar 2018 14:45:35 +0200 (CEST) Authentication-Results: sfr.fr; auth=pass (PLAIN) smtp.auth=juanmolina@sfr.fr Subject: [CFT] Mesa 18.0.0 update (mesa-libs, mesa-dri, libosmesa, clover) To: freebsd-x11@freebsd.org, jbeich@freebsd.org From: Juan =?iso-8859-1?b?UmFt824=?= Molina Menor Message-ID: <1d18f278-8d5c-4c17-32b3-486c1ea800e0@club.fr> Date: Wed, 28 Mar 2018 14:45:33 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 X-sfr-mailing: LEGIT Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-GB X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Mar 2018 12:51:41 -0000 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 > > 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!