gdrcopy icon indicating copy to clipboard operation
gdrcopy copied to clipboard

R540 driver incompatibility with nv-p2p.h

Open Calderweis opened this issue 7 months ago • 1 comments

Im on the Jetson Orin Nano and running ; +---------------------------------------------------------------------------------------+ | NVIDIA-SMI 540.4.0 Driver Version: 540.4.0 CUDA Version: 12.6 | |-----------------------------------------+----------------------+----------------------+ | 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 Orin (nvgpu) N/A | N/A N/A | N/A | | N/A N/A N/A N/A / N/A | Not Supported | N/A N/A | | | | N/A | +-----------------------------------------+----------------------+----------------------+

+---------------------------------------------------------------------------------------+ | Processes: | | GPU GI CI PID Type Process name GPU Memory | | ID ID Usage | |=======================================================================================| | No running processes found | +---------------------------------------------------------------------------------------+

cat /etc/nv_tegra_release # R36 (release), REVISION: 4.3, GCID: 38968081, BOARD: generic, EABI: aarch64, DATE: Wed Jan 8 01:49:37 UTC 2025 # KERNEL_VARIANT: oot TARGET_USERSPACE_LIB_DIR=nvidia TARGET_USERSPACE_LIB_DIR_PATH=usr/lib/aarch64-linux-gnu/nvidia

The error : mismatch between the function signatures defined in gdrcopy/src/gdrdrv/nv-p2p-dummy.c and the declarations in the nv-p2p.h header file (/usr/src/nvidia/nvidia-oot/include/linux/nv-p2p.h

Calderweis avatar May 29 '25 18:05 Calderweis

@Calderweis gdrcopy does not support Tegra nvGPU. Also note that nv-p2p has gone through heavy rework on CUDA13.0/R580, to the point that nv-p2p is not supported when using OpenRM and is discouraged on nvGPU. Customers should switch to standard Linux kernel APIs, like pin_user_pages() with FOLL_LONGTERM. Could you please close this issue? Thanks

drossetti avatar Sep 15 '25 17:09 drossetti