ubuntu 18, nvidia driver 470+, kernel 4.19+, nanominer -d says: Detected 0 devices for RTX 3080Ti (and GTX 1080Ti)
Hi!

nanominer 4.6.8

After some upgrades on my rig (GTX 1080 to GTX 1080Ti) I've upgraded driver from 460 to 470+ also. With 460 everything was perfect, but starting from 470 is unable to determine devices with nanominer -d. Program says: Detected 0 devices

Revert to 460 driver fixes the problem. 

Same problem I have with driver 510 and RTX 3080Ti. nvidia-smi in both cases can detect devices, but not nanominer.

Ubuntu 18.04, kernel 4.19+ and 5.10+, nvidia driver from binary installed with parameters: --dkms --accept-license --silent --no-questions -X -Z --no-peermem --no-wine-files --systemd

All variables (DISPLAY, CL MEMORY) are set. I can provide more information that may helps.

Can You provide a debug version of nanominer that may help us in this issue? 

Windows 10 with drivers 470 for GTX 1080Ti and 512 for RTX 3080Ti works perfect on this platform.

Thank You!

```
root@sandbox:~# lspci -k|grep -B2 nvidia
	Subsystem: Gigabyte Technology Co., Ltd GA-K8N Ultra-9 Mainboard
	Kernel driver in use: forcedeth
	Kernel modules: forcedeth, nvidia_drm, nvidia
--
05:00.0 VGA compatible controller: NVIDIA Corporation Device 2208 (rev a1)
	Subsystem: ZOTAC International (MCO) Ltd. Device 2612
	Kernel driver in use: nvidia
	Kernel modules: nouveau, nvidia_drm, nvidia

root@sandbox:~# nvidia-smi
Wed Aug 17 16:52:00 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 510.85.02    Driver Version: 510.85.02    CUDA Version: 11.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  NVIDIA GeForce ...  On   | 00000000:05:00.0  On |                  N/A |
| 47%   46C    P0   105W / 300W |     11MiB / 12288MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A       627      G   /usr/lib/xorg/Xorg                  9MiB |
+-----------------------------------------------------------------------------+

root@sandbox:~# ldd /home/subadm/miner/nanominer/nanominer
	linux-vdso.so.1 (0x00007ffd8c5db000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007ff6e4dcb000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007ff6e4dc6000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007ff6e4dbc000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007ff6e4c39000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007ff6e4a79000)
	/lib64/ld-linux-x86-64.so.2 (0x00007ff6e4df9000)

root@sandbox:~# /home/subadm/miner/nanominer/nanominer -d
Detected 0 devices.

root@sandbox:~# uname -a
Linux sandbox 5.10.0-0.bpo.15-amd64 #1 SMP Debian 5.10.120-1~bpo10+1 (2022-06-13) x86_64 GNU/Linux

root@sandbox:~# dmesg -T|grep drm
[Wed Aug 17 11:35:15 2022] [drm] [nvidia-drm] [GPU ID 0x00000500] Loading driver
[Wed Aug 17 11:35:15 2022] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:05:00.0 on minor 0
[Wed Aug 17 13:44:22 2022] [drm] [nvidia-drm] [GPU ID 0x00000500] Unloading driver
[Wed Aug 17 13:59:47 2022] [drm] [nvidia-drm] [GPU ID 0x00000500] Loading driver
[Wed Aug 17 13:59:47 2022] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:05:00.0 on minor 0
[Wed Aug 17 14:05:09 2022] [drm] [nvidia-drm] [GPU ID 0x00000500] Unloading driver
[Wed Aug 17 14:14:45 2022] [drm] [nvidia-drm] [GPU ID 0x00000500] Loading driver
[Wed Aug 17 14:14:45 2022] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:05:00.0 on minor 0
```

clinfo debug:
```
root@sandbox:~# DISPLAY=:0.0 strace /usr/bin/clinfo
execve("/usr/bin/clinfo", ["/usr/bin/clinfo"], 0x7ffc82c24b80 /* 13 vars */) = 0
brk(NULL)                               = 0x5635e9d57000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=59556, ...}) = 0
mmap(NULL, 59556, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fa456273000
close(3)                                = 0
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libOpenCL.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20R\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=47168, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa456271000
mmap(NULL, 49232, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fa456264000
mprotect(0x7fa456269000, 24576, PROT_NONE) = 0
mmap(0x7fa456269000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5000) = 0x7fa456269000
mmap(0x7fa45626c000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0x7fa45626c000
mmap(0x7fa45626f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xa000) = 0x7fa45626f000
close(3)                                = 0
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000\21\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=14592, ...}) = 0
mmap(NULL, 16656, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fa45625f000
mmap(0x7fa456260000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7fa456260000
mmap(0x7fa456261000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fa456261000
mmap(0x7fa456262000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fa456262000
close(3)                                = 0
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1820400, ...}) = 0
mmap(NULL, 1832960, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fa45609f000
mprotect(0x7fa4560c1000, 1654784, PROT_NONE) = 0
mmap(0x7fa4560c1000, 1339392, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7fa4560c1000
mmap(0x7fa456208000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x169000) = 0x7fa456208000
mmap(0x7fa456255000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b5000) = 0x7fa456255000
mmap(0x7fa45625b000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fa45625b000
close(3)                                = 0
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa45609c000
arch_prctl(ARCH_SET_FS, 0x7fa45609c740) = 0
mprotect(0x7fa456255000, 16384, PROT_READ) = 0
mprotect(0x7fa456262000, 4096, PROT_READ) = 0
mprotect(0x7fa45626f000, 4096, PROT_READ) = 0
mprotect(0x5635e85e3000, 4096, PROT_READ) = 0
mprotect(0x7fa4562a9000, 4096, PROT_READ) = 0
munmap(0x7fa456273000, 59556)           = 0
openat(AT_FDCWD, "/etc/OpenCL/vendors", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
fstat(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
brk(NULL)                               = 0x5635e9d57000
brk(0x5635e9d78000)                     = 0x5635e9d78000
getdents64(3, /* 3 entries */, 32768)   = 80
getdents64(3, /* 0 entries */, 32768)   = 0
lseek(3, 0, SEEK_SET)                   = 0
getdents64(3, /* 3 entries */, 32768)   = 80
openat(AT_FDCWD, "/etc/OpenCL/vendors/nvidia.icd", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0444, st_size=22, ...}) = 0
fstat(4, {st_mode=S_IFREG|0444, st_size=22, ...}) = 0
lseek(4, 0, SEEK_SET)                   = 0
read(4, "libnvidia-opencl.so.1\n", 22)  = 22
lseek(4, 22, SEEK_SET)                  = 22
close(4)                                = 0
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=59556, ...}) = 0
mmap(NULL, 59556, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7fa456273000
close(4)                                = 0
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libnvidia-opencl.so.1", O_RDONLY|O_CLOEXEC) = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\34\r\0\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0755, st_size=18195024, ...}) = 0
mmap(NULL, 20444352, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7fa454d1c000
mprotect(0x7fa455c68000, 2097152, PROT_NONE) = 0
mmap(0x7fa455e68000, 2154496, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0xf4c000) = 0x7fa455e68000
mmap(0x7fa456076000, 152768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fa456076000
close(4)                                = 0
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libm.so.6", O_RDONLY|O_CLOEXEC) = 4
read(4, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p\322\0\0\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0644, st_size=1579448, ...}) = 0
mmap(NULL, 1581384, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7fa454b99000
mmap(0x7fa454ba6000, 651264, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0xd000) = 0x7fa454ba6000
mmap(0x7fa454c45000, 872448, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0xac000) = 0x7fa454c45000
mmap(0x7fa454d1a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x180000) = 0x7fa454d1a000
close(4)                                = 0
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 4
read(4, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@l\0\0\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0755, st_size=146968, ...}) = 0
mmap(NULL, 132288, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7fa454b78000
mmap(0x7fa454b7e000, 61440, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x6000) = 0x7fa454b7e000
mmap(0x7fa454b8d000, 24576, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x15000) = 0x7fa454b8d000
mmap(0x7fa454b93000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x1a000) = 0x7fa454b93000
mmap(0x7fa454b95000, 13504, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fa454b95000
close(4)                                = 0
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/librt.so.1", O_RDONLY|O_CLOEXEC) = 4
read(4, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260#\0\0\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0644, st_size=35808, ...}) = 0
mmap(NULL, 39904, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7fa454b6e000
mmap(0x7fa454b70000, 16384, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x2000) = 0x7fa454b70000
mmap(0x7fa454b74000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x6000) = 0x7fa454b74000
mmap(0x7fa454b76000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x7000) = 0x7fa454b76000
close(4)                                = 0
mprotect(0x7fa454b93000, 4096, PROT_READ) = 0
mprotect(0x7fa454b76000, 4096, PROT_READ) = 0
mprotect(0x7fa454d1a000, 4096, PROT_READ) = 0
mprotect(0x7fa455e68000, 1060864, PROT_READ) = 0
set_tid_address(0x7fa45609ca10)         = 6192
set_robust_list(0x7fa45609ca20, 24)     = 0
rt_sigaction(SIGRTMIN, {sa_handler=0x7fa454b7e6b0, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7fa454b8a730}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {sa_handler=0x7fa454b7e740, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7fa454b8a730}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
sched_get_priority_max(SCHED_RR)        = 99
sched_get_priority_min(SCHED_RR)        = 1
munmap(0x7fa456273000, 59556)           = 0
getdents64(3, /* 0 entries */, 32768)   = 0
getpid()                                = 6192
openat(AT_FDCWD, "/sys/devices/system/cpu/online", O_RDONLY|O_CLOEXEC) = 4
read(4, "0-1\n", 8192)                  = 4
close(4)                                = 0
clock_gettime(CLOCK_MONOTONIC_RAW, {tv_sec=22519, tv_nsec=351816219}) = 0
openat(AT_FDCWD, "/proc/sys/vm/mmap_min_addr", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
read(4, "65536\n", 1024)                = 6
close(4)                                = 0
openat(AT_FDCWD, "/proc/cpuinfo", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
read(4, "processor\t: 0\nvendor_id\t: Authen"..., 1024) = 1024
close(4)                                = 0
openat(AT_FDCWD, "/proc/self/maps", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
read(4, "5635e85cc000-5635e85d2000 r--p 0"..., 1024) = 1024
read(4, "22860                     /usr/l"..., 1024) = 1024
read(4, "gnu/libm-2.28.so\n7fa454d1a000-7f"..., 1024) = 1024
read(4, "28.so\n7fa456208000-7fa456254000 "..., 1024) = 1024
read(4, "    /usr/lib/x86_64-linux-gnu/li"..., 1024) = 1024
read(4, "4562a1000-7fa4562a9000 r--p 0001"..., 1024) = 617
read(4, "", 1024)                       = 0
close(4)                                = 0
futex(0x7fa45608a824, FUTEX_WAKE_PRIVATE, 2147483647) = 0
statfs("/dev/shm/", {f_type=TMPFS_MAGIC, f_bsize=4096, f_blocks=503504, f_bfree=503504, f_bavail=503504, f_files=503504, f_ffree=503503, f_fsid={val=[0, 0]}, f_namelen=255, f_frsize=4096, f_flags=ST_VALID|ST_NOSUID|ST_NODEV}) = 0
futex(0x7fa454b983b0, FUTEX_WAKE_PRIVATE, 2147483647) = 0
openat(AT_FDCWD, "/dev/shm/cuda_injection_path_shm", O_RDWR|O_NOFOLLOW|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/root/.nv/nvidia-application-profile-globals-rc", O_RDONLY) = -1 ENOENT (No such file or directory)
gettimeofday({tv_sec=1660747825, tv_usec=44130}, NULL) = 0
openat(AT_FDCWD, "/root/.nv/nvidia-application-profiles-rc", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/root/.nv/nvidia-application-profiles-rc.d", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/nvidia/nvidia-application-profiles-rc", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/nvidia/nvidia-application-profiles-rc.d/", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/nvidia/nvidia-application-profiles-510.85.02-rc", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0444, st_size=9179, ...}) = 0
fstat(4, {st_mode=S_IFREG|0444, st_size=9179, ...}) = 0
read(4, "# Application profiles for the N"..., 8192) = 8192
read(4, "   \"profile\" : \"DisablePersample"..., 4096) = 987
brk(0x5635e9d99000)                     = 0x5635e9d99000
close(4)                                = 0
openat(AT_FDCWD, "/usr/share/nvidia/nvidia-application-profiles-rc", O_RDONLY) = -1 ENOENT (No such file or directory)
getpid()                                = 6192
readlink("/proc/6192/exe", "/usr/bin/clinfo", 4095) = 15
getpid()                                = 6192
geteuid()                               = 0
socket(AF_UNIX, SOCK_SEQPACKET|SOCK_CLOEXEC, 0) = 4
setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0
connect(4, {sa_family=AF_UNIX, sun_path="/tmp/nvidia-mps/control"}, 26) = -1 ENOENT (No such file or directory)
close(4)                                = 0
lstat("/proc", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
readlink("/proc/self", "6192", 4095)    = 4
lstat("/proc/6192", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
lstat("/proc/6192/exe", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
readlink("/proc/6192/exe", "/usr/bin/clinfo", 4095) = 15
lstat("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/bin", {st_mode=S_IFDIR|0755, st_size=32768, ...}) = 0
lstat("/usr/bin/clinfo", {st_mode=S_IFREG|0755, st_size=106040, ...}) = 0
mmap(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa454b4d000
openat(AT_FDCWD, "/proc/modules", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
read(4, "nvidia_uvm 1171456 0 - Live 0xff"..., 1024) = 1024
close(4)                                = 0
openat(AT_FDCWD, "/proc/driver/nvidia/params", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
read(4, "ResmanDebugLevel: 4294967295\nRmL"..., 1024) = 822
close(4)                                = 0
stat("/dev/nvidiactl", {st_mode=S_IFCHR|0666, st_rdev=makedev(0xc3, 0xff), ...}) = 0
openat(AT_FDCWD, "/dev/nvidiactl", O_RDWR) = 4
fcntl(4, F_SETFD, FD_CLOEXEC)           = 0
ioctl(4, _IOC(_IOC_READ|_IOC_WRITE, 0x46, 0xd2, 0x48), 0x7ffd4b802090) = 0
openat(AT_FDCWD, "/sys/devices/system/memory/block_size_bytes", O_RDONLY) = 5
read(5, "8000000\n", 99)                = 8
close(5)                                = 0
ioctl(4, _IOC(_IOC_READ|_IOC_WRITE, 0x46, 0xd6, 0x8), 0x7ffd4b802090) = 0
ioctl(4, _IOC(_IOC_READ|_IOC_WRITE, 0x46, 0xc8, 0x900), 0x7fa45608b640) = 0
ioctl(4, _IOC(_IOC_READ|_IOC_WRITE, 0x46, 0x2b, 0x20), 0x7ffd4b802090) = 0
ioctl(4, _IOC(_IOC_READ|_IOC_WRITE, 0x46, 0x2a, 0x20), 0x7ffd4b801f10) = 0
ioctl(4, _IOC(_IOC_READ|_IOC_WRITE, 0x46, 0x29, 0x10), 0x7ffd4b8020e0) = 0
close(4)                                = 0
openat(AT_FDCWD, "/proc/modules", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
read(4, "nvidia_uvm 1171456 0 - Live 0xff"..., 1024) = 1024
close(4)                                = 0
openat(AT_FDCWD, "/proc/driver/nvidia/params", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
read(4, "ResmanDebugLevel: 4294967295\nRmL"..., 1024) = 822
close(4)                                = 0
stat("/dev/nvidiactl", {st_mode=S_IFCHR|0666, st_rdev=makedev(0xc3, 0xff), ...}) = 0
openat(AT_FDCWD, "/dev/nvidiactl", O_RDWR) = 4
fcntl(4, F_SETFD, FD_CLOEXEC)           = 0
ioctl(4, _IOC(_IOC_READ|_IOC_WRITE, 0x46, 0xd2, 0x48), 0x7ffd4b802650) = 0
openat(AT_FDCWD, "/sys/devices/system/memory/block_size_bytes", O_RDONLY) = 5
read(5, "8000000\n", 99)                = 8
close(5)                                = 0
ioctl(4, _IOC(_IOC_READ|_IOC_WRITE, 0x46, 0xd6, 0x8), 0x7ffd4b802650) = 0
ioctl(4, _IOC(_IOC_READ|_IOC_WRITE, 0x46, 0xc8, 0x900), 0x7fa45608b640) = 0
ioctl(4, _IOC(_IOC_READ|_IOC_WRITE, 0x46, 0x2b, 0x20), 0x7ffd4b802650) = 0
ioctl(4, _IOC(_IOC_READ|_IOC_WRITE, 0x46, 0x2a, 0x20), 0x7ffd4b8024b0) = 0
openat(AT_FDCWD, "/proc/self/status", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
read(5, "Name:\tclinfo\nUmask:\t0022\nState:\t"..., 1024) = 1024
read(5, "0,00000000,00000000,00000000,000"..., 1024) = 307
close(5)                                = 0
openat(AT_FDCWD, "/sys/devices/system/node", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 5
fstat(5, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
brk(0x5635e9dbc000)                     = 0x5635e9dbc000
getdents64(5, /* 11 entries */, 32768)  = 360
openat(AT_FDCWD, "/sys/devices/system/node/node0/cpumap", O_RDONLY) = 6
fstat(6, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
read(6, "3\n", 4096)                    = 2
close(6)                                = 0
getdents64(5, /* 0 entries */, 32768)   = 0
brk(0x5635e9db4000)                     = 0x5635e9db4000
close(5)                                = 0
futex(0x7fa45608a018, FUTEX_WAKE_PRIVATE, 2147483647) = 0
get_mempolicy([MPOL_DEFAULT], [000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000], 1024, NULL, 0) = 0
openat(AT_FDCWD, "/proc/modules", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
read(5, "nvidia_uvm 1171456 0 - Live 0xff"..., 1024) = 1024
close(5)                                = 0
openat(AT_FDCWD, "/proc/devices", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
read(5, "Character devices:\n  1 mem\n  4 /"..., 1024) = 517
close(5)                                = 0
stat("/dev/nvidia-uvm", {st_mode=S_IFCHR|0666, st_rdev=makedev(0xf4, 0), ...}) = 0
stat("/dev/nvidia-uvm-tools", {st_mode=S_IFCHR|0666, st_rdev=makedev(0xf4, 0x1), ...}) = 0
openat(AT_FDCWD, "/dev/nvidia-uvm", O_RDWR|O_CLOEXEC) = 5
fcntl(5, F_GETFD)                       = 0x1 (flags FD_CLOEXEC)
ioctl(5, _IOC(_IOC_NONE, 0, 0x1, 0x3000), 0x7ffd4b8026a0) = 0
clock_gettime(CLOCK_MONOTONIC_RAW, {tv_sec=22519, tv_nsec=385202585}) = 0
ioctl(5, _IOC(_IOC_NONE, 0, 0x27, 0), 0x7ffd4b8026b0) = 0
ioctl(4, _IOC(_IOC_READ|_IOC_WRITE, 0x46, 0x2a, 0x20), 0x7ffd4b801270) = 0
ioctl(4, _IOC(_IOC_READ|_IOC_WRITE, 0x46, 0x29, 0x10), 0x7ffd4b802690) = 0
close(4)                                = 0
munmap(0x7fa454b4d000, 135168)          = 0
ioctl(5, _IOC(_IOC_NONE, 0, 0x2, 0x3000), 0) = 0
close(5)                                = 0
close(3)                                = 0
fstat(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(0x88, 0x1), ...}) = 0
write(1, "Number of platforms             "..., 52Number of platforms                               0
) = 52
exit_group(0)                           = ?
+++ exited with 0 +++
```

