GTX 1050 Mobile is not found with nvidia-smi

Hi :)
I have an Ubuntu 20.04 vm hosted on Proxmox with GPU passthrough, gpu driver (nvidia-driver-525) is installed using ubuntu wizard, as in attached snapshots.

nvidia-smi returns “No devices were found”

and dmesg -w showing below error

[ 130.206007] NVRM: GPU 0000:01:00.0: Failed to copy vbios to system memory.
[ 130.206189] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x30:0xffff:978)
[ 130.206492] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[ 274.368633] NVRM: GPU 0000:01:00.0: Failed to copy vbios to system memory.
[ 274.368930] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x30:0xffff:978)
[ 274.369177] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[ 274.504630] NVRM: GPU 0000:01:00.0: Failed to copy vbios to system memory.
[ 274.504817] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x30:0xffff:978)
[ 274.505136] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0

lspci -v shows that the devices is listed and using correct driver as below

01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1)
Physical Slot: 0
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at fb000000 (32-bit, non-prefetchable) [size=16M]
Memory at d0000000 (64-bit, prefetchable) [size=256M]
Memory at e0000000 (64-bit, prefetchable) [size=32M]
I/O ports at 5000 [size=128]
Expansion ROM at fc000000 [disabled] [size=512K]
Capabilities:
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia

below is nvidia-bug-report log.
nvidia-bug-report.log.gz (1.2 MB)

please your support.

It’s a mobile gpu, you’ll likely have to pass through the vbios as a file.

@generix thanks for your replay, I already did this from host side (proxmox) through vm config file, I have downloaded vbios from below links but no luck still getting the same error.

do you advice me to do something else?

I can’t really help you with that, but here’s a recent thread from a user that managed to do that:
https://forums.developer.nvidia.com/t/trying-to-get-discrete-laptop-gpu-running-in-qemu-kvm-windows/221706

Hi @generix,
Do you have any idea from where I could get the rom file for this gpu, in may laptop it was loaded with windows10 and the drivers already come on the disk.

br

It’s described in the linked thread.