MATLAB does not detect NVIDIA T400 GPU despite updated drivers
13 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi everyone,
I am experiencing an issue with MATLAB (version R2024a) on Windows 11 Pro where it fails to detect my NVIDIA T400 4GB GPU. I have already followed several troubleshooting steps without success. Here are the details of my system and the steps I've taken so far:
System Details:
- Operating System: Windows 11 Pro Version 10.0 (Build 22631)
- MATLAB Version: R2024a (Update 3)
- GPU: NVIDIA T400 4GB
- NVIDIA Driver Version: 516.94
- CUDA Version: 11.7
Steps Taken:
- Updated the NVIDIA drivers to the latest version (516.94).
- Verified that the GPU is correctly recognized by the operating system using nvidia-smi:bash
C:\Users\Utente>nvidia-smi Wed May 29 12:02:48 2024
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 516.94 Driver Version: 516.94 CUDA Version: 11.7 |
|-------------------------------+----------------------+----------------------+
| GPU Name TCC/WDDM | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA T400 4GB WDDM | 00000000:01:00.0 Off | N/A |
| 38% 37C P8 N/A / 31W | 1MiB / 4096MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 10668 C+G ...024a\bin\win64\MATLAB.exe N/A |
+-----------------------------------------------------------------------------+
- Ran MATLAB as an administrator to ensure it has the necessary permissions.
- Checked that the CUDA environment variables are correctly set.
- Set the Windows power plan to "High performance".
- Ran gpuDeviceCount in MATLAB, but it does not detect any available GPU = gpuDeviceCount; disp(['Number of GPUs available: ', num2str(n)]); % Output: Number of GPUs available: 0
Question:What can I do to resolve this issue and have MATLAB correctly detect my NVIDIA GPU? Are there any additional configuration steps I should follow or any other settings to check? Any suggestions or similar experiences would be greatly appreciated.
Thanks in advance for your help!
2 comentarios
Ganesh
el 30 de Mayo de 2024
Could you please execute the following command in your Command Window and attach the log:
> strace -f -o gpuDeviceCount.log matlab -nodisplay -nosplash -r "disp(gpuDeviceCount);exit"
Meanwhile you may also contact MathWorks Technical Support using the following link:
Respuestas (1)
Joss Knight
el 14 de Jun. de 2024
Editada: Joss Knight
el 14 de Jun. de 2024
The 516 driver is too old for R2024a, which is on CUDA 12.2. Download the recommended 552 driver for your T400 from https://www.nvidia.com/en-gb/drivers/
Incidentally if you just type gpuDevice into MATLAB the error message should tell you your driver needs updating.
0 comentarios
Ver también
Categorías
Más información sobre GPU Computing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!