You are not logged in.

#1 2017-11-05 16:28:19

moinfar
Member
Registered: 2017-11-05
Posts: 4

[SOLVED] both nvidia and lspci detect wrong GPU model

Hi,

Recently, I started to use my gpu (it was disabled in bios).

I was able to install nvidia, cuda, bbswitch, bumblebee.
But there are two problems.

1. the result of lspci is (and also was!) wrong.

$ lspci -Qvvnns 01:00.0                      
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108M [GeForce GT 620M/630M/635M/640M LE] [10de:0de9] (rev ff) (prog-if ff)
        !!! Unknown header type 7f
        Kernel modules: nouveau, nvidia_drm, nvidia

$ lspci -vnn | grep '\''[030[02]\]'
00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09) (prog-if 00 [VGA controller])
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108M [GeForce GT 630M] [10de:0de9] (rev ff) (prog-if ff)

Thep problem is that  GF108M is the ID of model 840M not 630M
you can make sure checking http://pci-ids.ucw.cz/read/PC/10de/1341

2. After installing nvidia driver, the driver does not detect correct model!!!

$ lspci -Qvvnns 01:00.0                      
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108M [GeForce GT 620M/630M/635M/640M LE] [10de:0de9] (rev ff) (prog-if ff)
        !!! Unknown header type 7f
        Kernel modules: nouveau, nvidia_drm, nvidia

$ lspci -vnn | grep '\''[030[02]\]'
$ cat /proc/driver/nvidia/gpus/0000:01:00.0/information 

Model:           GeForce GT 640M LE
IRQ:             35
GPU UUID:        GPU-SOMETHING
Video BIOS:      SOMETHING
Bus Type:        PCIe
DMA Size:        37 bits
DMA Mask:        0x1fffffffff
Bus Location:    0000:01:00.0
Device Minor:    0

My question is that is there any way to inform nvidia (or OS or ...) about the right GPU model?

p.s.
Although it seems a minor problem, this is really important for me since "cuda compute capability" of these models are different and the program which i use (tensorflow) checks it to be at least 3.0.

Last edited by moinfar (2017-11-05 21:54:13)

Offline

#2 2017-11-05 16:56:11

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,868

Re: [SOLVED] both nvidia and lspci detect wrong GPU model

The device ID clearly says http://pci-ids.ucw.cz/read/PC/10de/0de9
GF108M refers to the actual chip which has been used on a couple of boards which come by even more marketing names.

The unknown header looks fishy (HW issue?) but is unlikely the cause for this kind of confusion.
What makes you believe the PCI code is wrong?

Online

#3 2017-11-05 18:02:39

moinfar
Member
Registered: 2017-11-05
Posts: 4

Re: [SOLVED] both nvidia and lspci detect wrong GPU model

I am really sorry. The problem was with my brain's memory sad
Since the GPU was disabled for years, I confused the GPU model with my sister's laptop.
I checked everything and it took me hours but I forgot to check the simplest one sad

Thanks for your time. I really appreciate it.

Last edited by moinfar (2017-11-05 21:52:59)

Offline

#4 2017-11-05 19:41:42

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,868

Re: [SOLVED] both nvidia and lspci detect wrong GPU model

No problem at all.

Please Always remember to mark threads as "[SOLVED]" by editing the subject of your first post, so others will know that there's no open task left.

Online

Board footer

Powered by FluxBB