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

From: Kevin Bowling <kevin.bowling_at_kev009.com>
Date: Sun, 29 Aug 2021 20:32:19 UTC
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.

On Sun, Aug 29, 2021 at 7:45 AM David Wolfskill <david@catwhisker.org> wrote:
>
> A few days ago, I returned home from a couple of weeks away (during
> which I did not do my usual daily updates to FreeBSD & installed ports).
>
> Yesterday, when I updated my main laptop's stable/12 environment, I
> found that the machine did not initialize X11 (I use xdm) as expected;
> rather, the screen went blank, and I saw a crash dump (information on
> which is in
> https://www.catwhisker.org/~david/FreeBSD/stable_12/n233672-a436245ccf1/).
>
> A newer laptop (which I have ... slowly ... been trying to get into
> suitable working order) did not exhibit the above symptoms upon
> performing the same update.
>
> After noticing that the older/failing laptop had:
> g1-55(12.2-S)[1] pciconf -lv | grep -B 2 Quadro
> vgapci0@pci0:1:0:0:     class=0x030000 card=0x05cc1028 chip=0x11fc10de rev=0xa1 hdr=0x00
>     vendor     = 'NVIDIA Corporation'
>     device     = 'GK106GLM [Quadro K2100M]'
>
>
> while the newer one had:
> g1-48(12.2-S)[8] pciconf -lv | grep -B 2 Quadro
> vgapci0@pci0:1:0:0:     class=0x030000 card=0x17b01028 chip=0x13b610de rev=0xa2 hdr=0x00
>     vendor     = 'NVIDIA Corporation'
>     device     = 'GM107GLM [Quadro M1200 Mobile]'
>
> And that x11/nvidia-driver had (during the time I was away) been updated:
>
> commit 1a86bea35222459cae676d18682b85e919f50512
> Author: Kevin Bowling <kbowling@FreeBSD.org>
> Date:   Sun Aug 15 11:44:34 2021 -0700
>
>     graphics: Make libglvnd a LIB_DEPEND
>
>     There are still some incoming reports of dep issues when upgrading
>     old systems.  This should help with dep solving and getting past the
>     file conflicts.
>
>     Reviewed by:    jbeich, x11 (manu)
>     Differential Revision:  https://reviews.freebsd.org/D31465
>
> commit 77a2452a895b80a7136d1453ce4ad5fe00b58773
> Author: Kevin Bowling <kbowling@FreeBSD.org>
> Date:   Tue Aug 10 19:47:16 2021 -0700
>
>     x11/{linux-nvidia-libs,nvidia-driver}: Update to 470.63.01
>
>     This is the new stable branch and adds support for Vulkan.
>
>     See https://www.nvidia.com/Download/driverResults.aspx/177146/en-us
>     and https://www.nvidia.com/download/driverResults.aspx/179601/en-us
>     for additional changes.
>
>     PR:             257456
>     Approved by:    danfe
>
>
> I tried removing x11/nvidia-driver and installing x11/nvidia-driver-390
> instead ... et voilĂ : working X11 again.
>
> I don't know if this is expected, but figured that some others might
> at least be interested, so I'm sharing. :-}
>
> I'm happy to try to help diagnose and/or test, as time & other
> resources permit.
>
> 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.