Date: Wed, 28 Mar 2018 23:57:13 +0300 From: Greg V <greg@unrelenting.technology> To: Kevin Oberman <rkoberman@gmail.com>, Jan Beich <jbeich@freebsd.org> Cc: "freebsd-x11@freebsd.org" <x11@freebsd.org> Subject: Re: [CFT] Mesa 18.0.0 update (mesa-libs, mesa-dri, libosmesa, clover) Message-ID: <9ea3adcd-8b00-2980-05c3-c092b7f572eb@unrelenting.technology> In-Reply-To: <CAN6yY1t-%2B50rBzm1ods8fYqmLdEQgAE02EbkFmYUQVwHjKCRjg@mail.gmail.com> References: <7epx-cg9f-wny@FreeBSD.org> <CAN6yY1t-%2B50rBzm1ods8fYqmLdEQgAE02EbkFmYUQVwHjKCRjg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 03/28/2018 08:27, Kevin Oberman wrote: > On Tue, Mar 27, 2018 at 3:20 PM, Jan Beich <jbeich@freebsd.org> wrote: > >> Mesa provides OpenGL drivers for Intel and AMD cards on FreeBSD. Recently, >> a new major version was released. So far it was only tested by >> drm-next-kmod. > 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. Hi! glxgears running at exactly under 60fps means vsync is enabled. I mean, it literally tells you: "Running synchronized to the vertical refresh. The framerate should be approximately the same as the monitor refresh rate." You can run 'vblank_mode=0 glxgears' on the old mesa to see its performance without vsync. In Firefox, open about:support and scroll to the Graphics section. If "WebGL 1 Driver Renderer" mentions the name of your GPU (e.g.: X.Org -- AMD Radeon (TM) RX 480 Graphics (POLARIS10 / DRM 3.19.0 / 12.0-CURRENT, LLVM 5.0.1)), that's good. If it mentions 'llvmpipe', that's bad. I'm pretty sure you are actually running swrast, because it does not vsync in glxgears by default, while GPU drivers do. And of course, "failed to load driver: i965" and "AIGLX: reverting to software rendering". The most helpful message is "Kernel 3.9 required"… When was Haswell support merged into stable? 11.2? if so, <=11.1 would need to stay on Mesa <18.0. || || ||
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9ea3adcd-8b00-2980-05c3-c092b7f572eb>