[Mesa-dev] How to enable virgl?

Boyan Ding boyan.j.ding at gmail.com
Tue Feb 28 12:09:34 UTC 2017


2017-02-28 18:55 GMT+08:00 Christophe de Dinechin <dinechin at redhat.com>:
> Newbie question…
>
> I’ve been investigating a regression in Fedora 25 between mesa-dri-drivers versions 12.0.3 and 13.0.3 (https://bugzilla.redhat.com/show_bug.cgi?id=1426549).
>
> The output with the Fedora version of Mesa is:
>
> GL_RENDERER   = Gallium 0.4 on virgl
>
> So virgl is enabled and working in this VM.
>
> When I build Mesa from sources, and configure it with “—with-galium-drivers=virtgl”, I get this from glxgears -info:

Should be 'virgl' instead of 'virtgl'

Also, you can see fedora's configure parameters at
https://src.fedoraproject.org/cgit/rpms/mesa.git/tree/mesa.spec#n399

  --Boyan

>
> 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.
>
> I also built 13.0.3, I had to add —with-egl-platforms=“drm”, but the renderer is still wrong.
>
> Where can I get information about why Mesa selects this or that renderer? I tried enabling LIBGL_DEBUG, but I don’t get much more information. I’m in the process of adding a few log entries in loader.c to understand what’s going on, but if there is a better way, I’d be happy to use that instead.
>
>
> Thanks
> Christophe de Dinechin
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list