Re: Xorg server startup

Robert Swindells <[email protected]> Tue, 24 May 2022 01:07:10 +0100
Newsgroups gmane.os.netbsd.devel.x11
Message-ID <[email protected]>
Tobias Nygren <[email protected]> wrote:
>On Mon, 23 May 2022 22:59:11 +0100
>Robert Swindells <[email protected]> wrote:
>
>> 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.

We build Mesa with everything linked together, I have added the lima
and kmsro sources to it.

Mesa calls Xorg to find out if it can do DRI2, the response is that
it can't.

I think that the modesetting driver should be initialized before this
point but that doesn't seem to be happening.