[Bug 287895] graphics/nvidia*: cuda/opencl does not work on RTX 5000 series (5070) card.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 01 Jul 2025 01:07:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287895
--- Comment #3 from Tomasz "CeDeROM" CEDRO <tomek@cedro.info> ---
1. Okay I tried 575.64 nvidia-driver-devel and no change CUDA/OpenCL still does
notwork.
2. I noticed that with 570.169 and 575.64 the GSP firmware MUST be loaded with
this RTX5070 even for the console to work, otherwise machine hangs on module
load, looks like some sort of conflict with drm. I did not observe that with
570.153 but I did not install drm kernel modules and the Xorg still works. DRM
does not seem to work well with nvifia I was not able to run graphics
application under bare console without Xorg and it was possible with Radeon.
3. I have feeling that graphics with 575.64 is a bit faster than 570.169 but
that may be subjective feeling.
4. nv-sglrun and/or nvidia-smi require sgl firmwares as well as some other
components that needs to be loaded as root or launched under Xorg as standard
user (Xorg loads them). So there is not much difference if I run from bare
console or under Xorg, CUDA/OpenCL still does not work.
% pkg info -x nvidia
linux-nvidia-libs-devel-575.64
nvidia-driver-devel-575.64.1402000
nvidia-settings-570.169
nvidia-xconfig-570.169
% pkg info -x drm
drm_info-2.7.0
libdrm-2.4.123,1
# pkg info -x libc6-shim
libc6-shim-20250323
# nv-sglrun nvidia-smi
/usr/local/lib/libc6-shim/libc6.so: shim init
Tue Jul 1 03:04:18 2025
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 575.64 Driver Version: 575.64 CUDA
Version: 12.9 |
|-----------------------------------------+------------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile
Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util
Compute M. |
| | |
MIG M. |
|=========================================+========================+======================|
| 0 NVIDIA GeForce RTX 5070 Off | 00000000:02:00.0 On |
N/A |
| 0% 36C P0 29W / 250W | 962MiB / 12227MiB | 6%
Default |
| | |
N/A |
+-----------------------------------------+------------------------+----------------------+
+-----------------------------------------------------------------------------------------+
| Processes:
|
| GPU GI CI PID Type Process name
GPU Memory |
| ID ID
Usage |
|=========================================================================================|
+-----------------------------------------------------------------------------------------+
# nv-sglrun clpeak
/usr/local/lib/libc6-shim/libc6.so: shim init
Platform: NVIDIA CUDA
Device: NVIDIA GeForce RTX 5070
Driver version : 575.64 (FreeBSD)
Compute units : 48
Clock frequency : 2610 MHz
Global memory bandwidth (GBPS)
Segmentation fault (core dumped)
--
You are receiving this mail because:
You are the assignee for the bug.