Debian 5.10.162-1 nvidia-smi fails to detect gtx 1060

Installed nvidia-detect and then nvidia-driver based off of its recommendations

lspci - nn | grep VGA output:

lspci -nn |grep VGA
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 530 [8086:1912] (rev 06)
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP106 [GeForce GTX 1060 3GB] [10de:1c02] (rev a1)

nvidia-detect output:

Detected NVIDIA GPUs:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP106 [GeForce GTX 1060 3GB] [10de:1c02] (rev a1)

Checking card:  NVIDIA Corporation GP106 [GeForce GTX 1060 3GB] (rev a1)
Your card is supported by all driver versions.
Your card is also supported by the Tesla 470 drivers series.
Your card is also supported by the Tesla 450 drivers series.
Your card is also supported by the Tesla 418 drivers series.
It is recommended to install the
    nvidia-driver
package.

nvidia-smi -q reports No devices were found

sudo dmesg |grep NVRM output:

[    2.676350] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  470.161.03  Wed Oct 19 00:10:36 UTC 2022
[    7.325209] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x31:0xffff:2258)
[    7.325232] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[    7.446819] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x31:0xffff:2258)
[    7.446836] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[    8.201028] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x31:0xffff:2258)

Not sure where to go with this. Tried uninstalling and reinstalling the drivers to no avail. Secure boot is off, on a non-virtualized system.

nvidia-bug-report.log.gz (157.4 KB)

The gpu might be broken, does it work in another system?
Telling by the error number, this might be “just” a broken vbios, you could try reflashing it.

Full background on this card:
I salvaged it from a pre-built off the side of the road, and then tested all the components on this current PC while still running Windows 10. (The only non-working component I could find from the pre-built had been the CPU, bricked)

Card worked and survived a 24-hour fuzzy donut test.

Since then the same rig was converted to Debian OS and the GPU woes began.

I will try the vbios reflash when I have a chance and report back.

Checking for a system bios update might be worth a shot as well.

Nope. Reflashed vbios, updated bios. Nothing. I’m just giving up on this card and getting something else.