Page 1 of 1

gpus.json gets messed with?

Posted: Tue Aug 27, 2024 9:39 pm
by qualche_tipo
Sometime earlier this month (8/24) my gpu,T600, was no longer recognized. I thought that it was on my end as a result of kernel updates (maybe, maybe not) so I reinstalled the client. No dice.

I took a hard look at the error message in the log at these lines
***************************snippet of log****************************************************
[93m15:10:27:W :OpenCL not supported: clGetPlatformIDs() returned -1001[0m
[93m15:10:27:W :CUDA not supported: cuInit() returned 999[0m
15:10:27:I3:gpus = {
15:10:27:I3: "gpu:01:00:00": {"vendor": 4318, "device": 8122, "type": "nvidia", "supported": false, "description": "TU117GLM [T600 Mobile]"}
15:10:27:I3:}
**********************************************************************************************
It is correct that there is no TU117GLM [T600 MOBILE] in gpus.json. Recall that I wrote "my gpu was no longer recognized." It appears that some time this month gpus.json must have been updated and the record relevant to my gpu was screwed with.

clinfo identifies this cpu as 'NVIDIA T600 Laptop GPU', so it is correct that gpus.json does not contain a record with the description field value "TU117GLM [T600 Mobile]".

*******************snippet of clinfo output********************************
Platform Name NVIDIA CUDA
Number of devices 1
Device Name NVIDIA T600 Laptop GPU
Device Vendor NVIDIA Corporation
Device Vendor ID 0x10de
Device Version OpenCL 3.0 CUDA
*******************************************************************************

As a expedient I edited cpus.json description field for the suspect record: "vendor": 4318, "device": 8122, "type": "nvidia" to be the value that clinfo returns, i.e. "NVIDIA T600 Laptop GPU." Now, everything is just peachy

So, what happened to gpus.json?

Re: gpus.json gets messed with?

Posted: Tue Aug 27, 2024 9:41 pm
by qualche_tipo
oops, cut-and-paste crash: ...cpus.json does not contain a record for the device name "NVIDIA T600 Laptop GPU"..... but it had.

Re: gpus.json gets messed with?

Posted: Tue Aug 27, 2024 10:19 pm
by Joe_H
Not sure what happened to the gpus.json file, the entry does exist in the GPUs.txt file available online. I can bring it to the attention of the developer, perhaps there was a problem with the generation of the most recent .json file for distribution. It was in the file my system downloaded on Aug 11th.

Re: gpus.json gets messed with?

Posted: Sat Aug 31, 2024 2:35 am
by Joe_H
The maintainer checked, the gpus.json is correct on the server. He did notice an error in your log that I didn't:

Code: Select all

15:10:27:W :OpenCL not supported: clGetPlatformIDs() returned -1001
15:10:27:W :CUDA not supported: cuInit() returned 999[
Check your driver installation, you may need to reinstall after a kernel update.

As a note, the driver description in the gpus.json entry does not need to match what is returned by clinfo. That file is just used by the client for display purposes and could even be left empty. The client uses the PCI device ID for manufacturer and its assigned ID number for the GPU to determine if a GPU is supported.