Hi all, I'm testing an installation of nvidia drivers on a HP Z4 workstation (nvidia Quadro P600) with CentOS 6.9. Running nvidia-detect with this setup gives the following output: # nvidia-detect Error getting device_class nvidia-detect also quits with exit-code 255. Could this be a bug in nvidia-detect? Or is it an unsupported configuration? The following hardware is detected, it seems some sort of unknown Intel device is detected by the OS: # lspci | grep VGA 00:1f.5 Non-VGA unclassified device: Intel Corporation Device a2a4 21:00.0 VGA compatible controller: NVIDIA Corporation Device 1cb2 (rev a1) # lspci -n | egrep '00:1f.5|21:00.0' 00:1f.5 0000: 8086:a2a4 21:00.0 0300: 10de:1cb2 (rev a1) Tested with the following version (with equal results): nvidia-detect-390.25-1.el6.elrepo.x86_64.rpm nvidia-detect-390.48-1.el6.elrepo.x86_64.rpm -- Regards, Danny
On Fri, Apr 13, 2018 at 8:21 AM, Danny Smit <danny.smit.0 at gmail.com> wrote:> Hi all, > > I'm testing an installation of nvidia drivers on a HP Z4 workstation > (nvidia Quadro P600) with CentOS 6.9. Running nvidia-detect with this > setup gives the following output: > > # nvidia-detect > Error getting device_class > > nvidia-detect also quits with exit-code 255. > Could this be a bug in nvidia-detect? Or is it an unsupported configuration? > > The following hardware is detected, it seems some sort of unknown > Intel device is detected by the OS: > > # lspci | grep VGA > 00:1f.5 Non-VGA unclassified device: Intel Corporation Device a2a4 > 21:00.0 VGA compatible controller: NVIDIA Corporation Device 1cb2 (rev a1) > > # lspci -n | egrep '00:1f.5|21:00.0' > 00:1f.5 0000: 8086:a2a4 > 21:00.0 0300: 10de:1cb2 (rev a1) > > Tested with the following version (with equal results): > > nvidia-detect-390.25-1.el6.elrepo.x86_64.rpm > nvidia-detect-390.48-1.el6.elrepo.x86_64.rpm > > -- > Regards, > DannyYou want to post this to the elrepo mailing list. Akemi
On 13/04/18 16:21, Danny Smit wrote:> Hi all, >Hi Danny, I'm the author of nvidia-detect.> I'm testing an installation of nvidia drivers on a HP Z4 workstation > (nvidia Quadro P600) with CentOS 6.9. Running nvidia-detect with this > setup gives the following output: > > # nvidia-detect > Error getting device_class >nvidia-detect scans the pci bus and checks the returned device_class for display controllers. In your case, the scan is not returning any devices (or rather the device_class for any pci devices)> nvidia-detect also quits with exit-code 255.The internal error checking is displaying the above error message and exiting with the appropriate error code, as intended.> Could this be a bug in nvidia-detect? Or is it an unsupported configuration? >Good question, and I've no idea why it's not working on your machine.> The following hardware is detected, it seems some sort of unknown > Intel device is detected by the OS: > > # lspci | grep VGA > 00:1f.5 Non-VGA unclassified device: Intel Corporation Device a2a4 > 21:00.0 VGA compatible controller: NVIDIA Corporation Device 1cb2 (rev a1) > > # lspci -n | egrep '00:1f.5|21:00.0' > 00:1f.5 0000: 8086:a2a4 > 21:00.0 0300: 10de:1cb2 (rev a1) > > Tested with the following version (with equal results): > > nvidia-detect-390.25-1.el6.elrepo.x86_64.rpm > nvidia-detect-390.48-1.el6.elrepo.x86_64.rpm >Your device is supported: $ nvidia-detect -l | grep -i 1cb2 [10de:1cb2] NVIDIA Corporation GP107GL [Quadro P600] Support was added in the 375.39 NVIDIA driver. I assume the driver works as expected for you? If you are able to offer any more clues, please feel free to open a bug report on elrepo.org/bugs for us to track. Happy to help if I can. Phil
On Fri, Apr 13, 2018 at 8:50 PM, Phil Perry <pperry at elrepo.org> wrote:> > Your device is supported: > > $ nvidia-detect -l | grep -i 1cb2 > [10de:1cb2] NVIDIA Corporation GP107GL [Quadro P600] > > Support was added in the 375.39 NVIDIA driver. I assume the driver works as > expected for you?Yes it works perfectly fine.> If you are able to offer any more clues, please feel free to open a bug > report on elrepo.org/bugs for us to track. Happy to help if I can. >I created a bugreport: http://elrepo.org/bugs/view.php?id=839>> # lspci | grep VGA >> 00:1f.5 Non-VGA unclassified device: Intel Corporation Device a2a4 >> 21:00.0 VGA compatible controller: NVIDIA Corporation Device 1cb2 (rev a1 >> >> # lspci -n | egrep '00:1f.5|21:00.0' >> 00:1f.5 0000: 8086:a2a4 >> 21:00.0 0300: 10de:1cb2 (rev a1)This part makes me wander though, if I'm correct the second column in the "lspci -n" output seems to be the class identification. If you look at the first line of the lcpi output, lspci (or the kernel?) doesn't seem to recognize the class of some other Intel device, that probably has nothing to do with the nvidia device at all. It's numeric class identification seems to be "0000" though (for unclassified?) Could it be that in the piece of code below (from nvidia-detect), the device_class is zero because of that line, and nvidia-detect exits? if (!dev->device_class) { fprintf(stderr, "Error getting device_class\n"); ret = -1; goto exit; } -- Regards, Danny