xvfb package dependency suggestion

Matthieu Herrb matthieu at herrb.eu
Mon Aug 24 12:51:19 UTC 2020

On Sat, Aug 22, 2020 at 03:52:52PM -0700, Sean Suchter wrote:
> Hi xorg-folks -
> Thanks for all the work you do that allows the rest of us to use X11.
> I came across an issue today when trying to use Xvfb on a headless Linux
> server. I couldn't figure out why Xvfb would start,but have no framebuffers
> available. (glXGetFBConfigs would always return NULL). I finally (after
> several hours) figured out that the problem was the lack of
> 'swrast_dri.so', which I'm guessing is a software raster driver. Once I
> figured out that I needed this library (again, several hours), the
> forthcoming fix was trivial:
> I'm using Centos 8, and I easily found the package that provides it:
> % dnf provides '*/swrast_dri.so'
> ...
> mesa-dri-drivers-19.3.4-2.el8.x86_64 : Mesa-based DRI drivers
> Repo        : @System
> Matched from:
> Filename    : /usr/lib64/dri/swrast_dri.so
> ...
> Once I installed mesa-dri-drivers, everything worked.
> My suggestion is to make xorg-x11-server-Xvfb depend on mesa-dri-drivers,
> since it obviously wants to use this provided library.


Your analysis is correct.

However, X.Org doesn't provide the binary packages, nor do we provide
the data used by various vendors to make their packages.  So this
suggestion needs to be sent to the maintainers of the CentOS package,
using https://bugs.centos.org/.

Best regards,
Matthieu Herrb

More information about the xorg mailing list