[Bug 287895] graphics/nvidia*: cuda/opencl does not work on RTX 5000 series (5070) card.

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 07 Jul 2025 02:27:57 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287895

--- Comment #9 from Tomasz "CeDeROM" CEDRO <tomek@cedro.info> ---
Yes, I have rebuilt libc6-shim and clpeak, no need for linux-ai-ml for now as
it did not work for me anyways. All worked fine on GTX1060 but does not work on
RTX5070. But I may have found some clue below:

% nv-sglrun nvidia-smi -q
/usr/local/lib/libc6-shim/libc6.so: shim init

==============NVSMI LOG==============

Timestamp                                 : Mon Jul  7 04:25:06 2025
Driver Version                            : 575.64.03
CUDA Version                              : 12.9

Attached GPUs                             : 1
GPU 00000000:02:00.0
    Product Name                          : NVIDIA GeForce RTX 5070
    Product Brand                         : GeForce
    Product Architecture                  : Blackwell
    Display Mode                          : Requested functionality has been
deprecated
    Display Attached                      : Yes
    Display Active                        : Enabled
    Persistence Mode                      : Disabled
shim_ioctl_impl(-1, 0x27, _) is not implemented
0x825109578 <shim_ioctl+0x288> at /usr/local/lib/libc6-shim/libc6.so
0x829c501f4 <nvmlDeviceGetVgpuTypeCreatablePlacements+0xaa6c4> at
/compat/linux/usr/lib64/libnvidia-ml.so.1
0x829c510ee <nvmlDeviceGetVgpuTypeCreatablePlacements+0xab5be> at
/compat/linux/usr/lib64/libnvidia-ml.so.1
0x829c2172b <nvmlDeviceGetVgpuTypeCreatablePlacements+0x7bbfb> at
/compat/linux/usr/lib64/libnvidia-ml.so.1
0x829b4be14 <nvmlInternalGetExportTable+0x1fce4> at
/compat/linux/usr/lib64/libnvidia-ml.so.1
0x412735 <???> at /usr/local/bin/nvidia-smi
0x423a60 <???> at /usr/local/bin/nvidia-smi
0x404d82 <???> at /usr/local/bin/nvidia-smi
zsh: abort (core dumped)  nv-sglrun nvidia-smi -q

-- 
You are receiving this mail because:
You are the assignee for the bug.