Re: x11/nvidia-driver update to 470.63.01 seems to break GK106GLM [Quadro K2100M]

From: David Wolfskill <david_at_catwhisker.org>
Date: Sat, 25 Sep 2021 01:13:32 UTC
On Mon, Aug 30, 2021 at 09:32:18AM -0700, Kevin Bowling wrote:
> On Sun, Aug 29, 2021 at 1:36 PM David Wolfskill <david@catwhisker.org> wrote:
> >
> > On Sun, Aug 29, 2021 at 01:32:19PM -0700, Kevin Bowling wrote:
> > > See if it is reproducible with a 13 or main kernel, there is a locking change
> > > which may interact differently on the different branches so that would
> > > be a good thing to know.  This may need nvidia help since the error
> > > seems to be deeper in the blob, they have a support forum where you
> > > can link your report to start that.
> >
> > I had encountered (very!) similar results on
> > head@main-n248984-08b9cc316a31 (from yesterday), so I believe it is thus
> > reproducible.
> 
> Can you attempt to build run it with this in your make.conf:
> WITH_DEBUG_PORTS=x11/nvidia-driver

Sorry for the delay; finally(!) had a chance to do this (inspired, in
part, by the recent update of x11/nvidia-driver).

So: I used "portmaster -o x11/nvidia-driver x11/nvidia-driver-390" to
replace the older driver with the current one.

This was while running:
FreeBSD g1-55.catwhisker.org 12.2-STABLE FreeBSD 12.2-STABLE #1138 stable/12-n233908-5c1c9f08d74: Fri Sep 24 03:32:01 PDT 2021     root@g1-55.catwhisker.org:/common/S1/obj/usr/src/amd64.amd64/sys/CANARY  amd64 1202508 1202508

with a ports tree at main-n559560-5bec538caeed (and all ports up-to-date).

The panic was reproduced.

> Just as a sanity check please make sure you are building the port
> against the exact kernel sources that will be booted with the above.
> 
> If there's a chance the shim code is involved we have a shot at doing
> something or finding a better lead.  Otherwise your best bet is to
> report it to nvidia support forum.  There is a report of a successful
> outcome on a Kepler architecture card so it seems you are encountering
> a more specific bug than HW generation and I'm not sure what to expect
> yet.
> 
> https://forums.developer.nvidia.com/c/gpu-graphics/freebsd-solaris/147
> ....

I have not yet looked at that -- and, of course, I needed to re-replace
x11/nvidia-driver with x11/nvidia-driver-390 in order to have a
functioning laptop to be able to do any of that.

I will copy dumps &c. to
https://www.catwhisker.org/~david/FreeBSD/stable_12/n233908-5c1c9f08d74/

Peace,
david
-- 
David H. Wolfskill                              david@catwhisker.org
Life is not intended to be a zero-sum game.

See https://www.catwhisker.org/~david/publickey.gpg for my public key.