[OE-core] [PATCH 1/2] mesa: make gallium swrast target optional

Burton, Ross ross.burton at intel.com
Fri Jun 14 13:16:09 UTC 2019


On Fri, 14 Jun 2019 at 13:46, Alexander Kanavin <alex.kanavin at gmail.com> wrote:
> I would rather replace swrast with virgl in the qemu machine configs. Currently it's pulled in implicitly via the megadriver package which has virgl included because it is enabled by default in the mesa recipe. From what I can see beaglebone etc. are not affected by this.

So the failure is that swrast is no longer shipped by mesa but the
qemu BSP does this:

XSERVER ?= "xserver-xorg \
            ${@bb.utils.contains('DISTRO_FEATURES', 'opengl',
'mesa-driver-swrast xserver-xorg-extension-glx', '', d)} \
            xf86-video-fbdev \
            "

However as Alex says, we have virgl now.  Does this work on all qemus?
 Should we just change the XSERVER assignment to explicitly pull in
the megadriver instead?

The 'proper' swrast driver *is* terrible, lets not enabe it by default
now we have virgl for qemu.  If a BSP wants to use it then they can,
but it's not something we should enable out of the box.

Ross


More information about the Openembedded-core mailing list