Re: Xorg server startup

Tobias Nygren <[email protected]> Tue, 24 May 2022 01:33:08 +0200
Newsgroups gmane.os.netbsd.devel.x11
Message-ID <[email protected]>
On Mon, 23 May 2022 22:59:11 +0100
Robert Swindells <[email protected]> wrote:

> Do we have any local modifications to how the Xorg server initializes
> drivers?

We have some modifications in xf86AutoConfig.c:listPossibleVideoDrivers()

> I am trying to work out how to get it to use the MesaLib.old lima
> driver instead of llvmpipe, not really getting anywhere.

If the problem is that lima_dri.so doesn't get loaded then
that's more a Mesa problem than an Xorg problem.
Try with modesetting and force MESA_LOADER_DRIVER_OVERRIDE=lima in
the environment while running Xorg as root.