Mesa DRI drivers

Will build the Mesa DRI drivers from source to see if I can fix the problem with 3D acceleration in guests.

Filing a bug report

Filed bz1426549 to describe and track the problem, now that I know who to blame.

Subscribed to the mesa-dev mailing list. I don’t get enough e-mail 😉

Building Mesa from sources

Chances are the bug is already fixed in master. If not, I’ll take my chances.

Building from source is easy. I’m starting to love dnf builddep. All I needed to get all the required dependencies was dnf builddep mesa.

Building mesa from source repairs rendering, but I no longer get vsync, and I’m not very sure about 3D acceleration being enabled. The outputs of glxgears -info tells me that I’m running Gallium 0.4 on llvmpipe, instead of Gallium on virgl. I suspect I am back using a software renderer. Need to understand how to con

There is a huge jump in version number: Mesa report 3.0 Mesa 17.1.0-devel, as opposed to 3.0 Mesa 12.0.3 for the working Fedora 25 and 3.0 Mesa 13.0.3 for the failing Fedora 25. I’m surprised Fedora 25 is so far behind.

Need to configure with:

./configure --prefix=/usr --with-gallium-drivers="i915,swrast,virgl"

I initially tried with a full list, but some requirements are not met without additional fiddling, and I don’t really care about these extra drivers for now. Reconfigure, retry. Still get Gallium on llvmpipe. Hmm. Reduce the list to only have virgl, that should do it. Or should I expect no GUI?

Funny result. When I build this way, I get:

GL_RENDERER = Software Rasterizer
GL_VERSION = 2.1 Mesa 17.1.0-devel (git-ccb70d6)
GL_VENDOR = Mesa Project

The bad scenario was:

GL_RENDERER = Gallium 0.4 on virgl
GL_VERSION = 3.0 Mesa 13.0.3
GL_VENDOR = Red Hat

The scenario that works from source has:

GL_RENDERER = Gallium 0.4 on llvmpipe (LLVM 3.5, 128 bits)
GL_VERSION = 3.0 Mesa 17.1.0-devel (git-ccb70d6)
GL_VENDOR = VMware, Inc.

Weird, and shows just how little I understand about Mesa configuration yet 😉

Advertisements

Author: Christophe de Dinechin

To the dismay of my beloved wife and kids, I still try to change the world. It's been hopelessly a work in progress for a few decades now… I'm passionate about programming techniques and programming languages, interactive 3D, real-time computing, OS design, free software, physics research, religion, the meaning of life, and so much more (see http://c3d.github.io for a few links)…

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s