Open sudhanshunitinatalkar opened 3 months ago
If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Here are the wsl logs: WslLogs-2024-08-02_21-23-31.zip
[proposed label] gpu
Windows Version
10.0.22631.3880
WSL Version
2.2.4.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.153.1-2
Distro Version
Archlinux
Other Software
Nvidia Game Ready Driver Version: 560.7 Nvidia smi version (Shown in windows): 560.7 Nvidia smi version (Shown in wsl): 560.27
Output of nvidia-smi in wsl:
Output of nvidia-smi in windows terminal:
Repro Steps
No specific configuration required this isue is across all distros Step 1: install latest wsl and nvidia drivers Step 2: install any distro in wsl Step 3: execute "nvidia-smi" in wsl terminal
Expected Behavior
The issue is with the newer drivers, the nvidia driver 537.xx is working fine without any issues and gives expected output:
Actual Behavior
The newer drivers are giving the error segmentation fault in when nvidia-smi is execute in wsl:
Diagnostic Logs
[sudhanshu@lenovo sudhanshu]$ strace -ff nvidia-smi execve("/usr/lib/wsl/lib/nvidia-smi", ["nvidia-smi"], 0x7ffeec77f648 / 24 vars /) = 0 brk(NULL) = 0x206e000 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=20883, ...}) = 0 mmap(NULL, 20883, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fbef2425000 close(3) = 0 openat(AT_FDCWD, "/usr/lib/libpthread.so.0", 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\0\0\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=14288, ...}) = 0 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbef2423000 mmap(NULL, 16400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbef241e000 mmap(0x7fbef241f000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7fbef241f000 mmap(0x7fbef2420000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fbef2420000 mmap(0x7fbef2421000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fbef2421000 close(3) = 0 openat(AT_FDCWD, "/usr/lib/libm.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\0\0\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=973144, ...}) = 0 mmap(NULL, 975176, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbef232f000 mmap(0x7fbef233d000, 536576, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe000) = 0x7fbef233d000 mmap(0x7fbef23c0000, 376832, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x91000) = 0x7fbef23c0000 mmap(0x7fbef241c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xec000) = 0x7fbef241c000 close(3) = 0 openat(AT_FDCWD, "/usr/lib/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\0\0\0\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=14280, ...}) = 0 mmap(NULL, 16400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbef232a000 mmap(0x7fbef232b000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7fbef232b000 mmap(0x7fbef232c000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fbef232c000 mmap(0x7fbef232d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fbef232d000 close(3) = 0 openat(AT_FDCWD, "/usr/lib/libc.so.6", O_RDONLY|OCLOEXEC) = 3 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\2\0\0\0\0\0"..., 832) = 832 pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784 fstat(3, {st_mode=S_IFREG|0755, st_size=2014520, ...}) = 0 pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784 mmap(NULL, 2034616, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbef2139000 mmap(0x7fbef215d000, 1511424, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x24000) = 0x7fbef215d000 mmap(0x7fbef22ce000, 319488, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x195000) = 0x7fbef22ce000 mmap(0x7fbef231c000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1e3000) = 0x7fbef231c000 mmap(0x7fbef2322000, 31672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fbef2322000 close(3) = 0 openat(AT_FDCWD, "/usr/lib/librt.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\0\0\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=14352, ...}) = 0 mmap(NULL, 16400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbef2134000 mmap(0x7fbef2135000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7fbef2135000 mmap(0x7fbef2136000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fbef2136000 mmap(0x7fbef2137000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fbef2137000 close(3) = 0 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbef2132000 arch_prctl(ARCH_SET_FS, 0x7fbef2133500) = 0 set_tid_address(0x7fbef21337d0) = 359 set_robust_list(0x7fbef21337e0, 24) = 0 rseq(0x7fbef2133e20, 0x20, 0, 0x53053053) = 0 mprotect(0x7fbef231c000, 16384, PROT_READ) = 0 mprotect(0x7fbef2137000, 4096, PROT_READ) = 0 mprotect(0x7fbef232d000, 4096, PROT_READ) = 0 mprotect(0x7fbef241c000, 4096, PROT_READ) = 0 mprotect(0x7fbef2421000, 4096, PROT_READ) = 0 mprotect(0x690000, 65536, PROT_READ) = 0 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbef2130000 mprotect(0x7fbef245f000, 8192, PROT_READ) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 munmap(0x7fbef2425000, 20883) = 0 getrandom("\xd3\x6e\xe5\x65\x9e\x1e\xd7\x35", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x206e000 brk(0x208f000) = 0x208f000 openat(AT_FDCWD, "/sys/devices/system/cpu/online", O_RDONLY|O_CLOEXEC) = 3 read(3, "0-15\n", 1024) = 5 close(3) = 0 openat(AT_FDCWD, "/sys/devices/system/cpu/online", O_RDONLY|O_CLOEXEC) = 3 read(3, "0-15\n", 1024) = 5 close(3) = 0 sched_getaffinity(359, 8, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15]) = 8 openat(AT_FDCWD, "/proc/sys/vm/mmap_min_addr", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 read(3, "65536\n", 1024) = 6 close(3) = 0 openat(AT_FDCWD, "/proc/cpuinfo", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 read(3, "processor\t: 0\nvendor_id\t: Authen"..., 1024) = 1024 read(3, " vaes vpclmulqdq rdpid fsrm\nbugs"..., 1024) = 1024 close(3) = 0 openat(AT_FDCWD, "/proc/self/maps", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 read(3, "00400000-00490000 r-xp 00000000 "..., 1024) = 1024 read(3, ".so.6\n7fbef215d000-7fbef22ce000 "..., 1024) = 1024 read(3, "0 26260 /us"..., 1024) = 1024 read(3, " /usr/lib/ld-linux"..., 1024) = 595 read(3, "", 1024) = 0 close(3) = 0 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=20883, ...}) = 0 mmap(NULL, 20883, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fbef2425000 close(3) = 0 openat(AT_FDCWD, "/usr/lib/wsl/lib/libnvidia-ml.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\0P\22\1\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0555, st_size=233984, ...}) = 0 mmap(NULL, 4374840, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_DENYWRITE, -1, 0) = 0x7fbef1d03000 mmap(0x7fbef1e00000, 2277688, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0) = 0x7fbef1e00000 munmap(0x7fbef1d03000, 1036288) = 0 munmap(0x7fbef202d000, 1057080) = 0 mprotect(0x7fbef1e27000, 2093056, PROT_NONE) = 0 mmap(0x7fbef2026000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x26000) = 0x7fbef2026000 mmap(0x7fbef202c000, 312, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fbef202c000 close(3) = 0 mprotect(0x7fbef2026000, 20480, PROT_READ) = 0 munmap(0x7fbef2425000, 20883) = 0 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=20883, ...}) = 0 mmap(NULL, 20883, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fbef2425000 close(3) = 0 openat(AT_FDCWD, "/usr/lib/wsl/lib/libdxcore.so", 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\0\0\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0555, st_size=942048, ...}) = 0 mmap(NULL, 968348, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbef2043000 mmap(0x7fbef20a6000, 512000, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x62000) = 0x7fbef20a6000 mmap(0x7fbef2123000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xde000) = 0x7fbef2123000 mmap(0x7fbef212b000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe5000) = 0x7fbef212b000 mmap(0x7fbef212c000, 13980, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fbef212c000 close(3) = 0 mprotect(0x7fbef2123000, 32768, PROT_READ) = 0 openat(AT_FDCWD, "/dev/dxg", O_RDONLY|O_CLOEXEC) = 3 munmap(0x7fbef2425000, 20883) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0x3e, 0x18), 0x7ffd893e50b0) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0x3e, 0x18), 0x7ffd893e50b0) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0x9, 0x18), 0x7ffd893e4020) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0x9, 0x18), 0x7ffd893e4020) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0x9, 0x18), 0x7ffd893e4020) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0x9, 0x18), 0x7ffd893e4020) = 0 openat(AT_FDCWD, "/usr/lib/wsl/drivers/nvltig.inf_amd64_cfec3e7de6520682/libnvidia-ml.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\260q\1\0\0\0\0\0"..., 832) = 832 fstat(4, {st_mode=S_IFREG|0555, st_size=1578128, ...}) = 0 mmap(NULL, 18307336, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_DENYWRITE, -1, 0) = 0x7fbef0c8a000 mmap(0x7fbef0e00000, 16210184, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0) = 0x7fbef0e00000 munmap(0x7fbef0c8a000, 1531904) = 0 munmap(0x7fbef1d76000, 563464) = 0 mprotect(0x7fbef0f57000, 2093056, PROT_NONE) = 0 mmap(0x7fbef1156000, 176128, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x156000) = 0x7fbef1156000 mmap(0x7fbef1181000, 12536072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fbef1181000 close(4) = 0 mprotect(0x7fbef1156000, 167936, PROT_READ) = 0 futex(0x7fbef202c108, FUTEX_WAKE_PRIVATE, 2147483647) = 0 getpid() = 359 openat(AT_FDCWD, "/sys/devices/system/cpu/online", O_RDONLY|O_CLOEXEC) = 4 read(4, "0-15\n", 1024) = 5 close(4) = 0 openat(AT_FDCWD, "/sys/devices/system/cpu/online", O_RDONLY|O_CLOEXEC) = 4 read(4, "0-15\n", 1024) = 5 close(4) = 0 mmap(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbef1ddf000 sched_getaffinity(359, 8, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15]) = 8 munmap(0x7fbef1ddf000, 135168) = 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 read(4, " vaes vpclmulqdq rdpid fsrm\nbugs"..., 1024) = 1024 close(4) = 0 openat(AT_FDCWD, "/proc/self/maps", O_RDONLY) = 4 brk(0x20b2000) = 0x20b2000 fstat(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 read(4, "00400000-00490000 r-xp 00000000 "..., 1024) = 1024 read(4, "ef1d76000 rw-p 00000000 00:00 0 "..., 1024) = 1024 read(4, "82 /usr/lib"..., 1024) = 1024 read(4, "32b000-7fbef232c000 r-xp 0000100"..., 1024) = 1024 read(4, "bef2420000-7fbef2421000 r--p 000"..., 1024) = 1024 read(4, "f1000-7ffd893f3000 r-xp 00000000"..., 1024) = 73 read(4, "", 1024) = 0 close(4) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0x3e, 0x18), 0x7ffd893e50e0) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0x3e, 0x18), 0x7ffd893e50e0) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0x9, 0x18), 0x7ffd893e4020) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0x9, 0x18), 0x7ffd893e4020) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0x9, 0x18), 0x7ffd893e4020) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0x9, 0x18), 0x7ffd893e4020) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0x2, 0x40), 0x7ffd893e50e0) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20a7190) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20a7310) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20a73a0) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20a7430) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20a7530) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20a76b0) = 0 brk(0x20d3000) = 0x20d3000 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0x9, 0x18), 0x7ffd893e3d80) = 0 getpid() = 359 getpid() = 359 getpid() = 359 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20b2ab0) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20b2ab0) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20b2ab0) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20b2ab0) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20b2ab0) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20b2ab0) = 0 clock_nanosleep(CLOCK_REALTIME, 0, {tv_sec=0, tv_nsec=5000000}, NULL) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20b2ab0) = 0 getpid() = 359 openat(AT_FDCWD, "/etc/localtime", O_RDONLY|O_CLOEXEC) = 4 fstat(4, {st_mode=S_IFREG|0644, st_size=285, ...}) = 0 fstat(4, {st_mode=S_IFREG|0644, st_size=285, ...}) = 0 read(4, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 285 lseek(4, -169, SEEK_CUR) = 116 read(4, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 169 close(4) = 0 getpid() = 359 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0x9, 0x18), 0x7ffd893e3960) = 0 getpid() = 359 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 4 fstat(4, {st_mode=S_IFREG|0644, st_size=20883, ...}) = 0 mmap(NULL, 20883, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7fbef2425000 close(4) = 0 openat(AT_FDCWD, "/usr/lib/wsl/lib/libcuda.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\274\0\0\0\0\0\0"..., 832) = 832 fstat(4, {st_mode=S_IFREG|0555, st_size=154088, ...}) = 0 mmap(NULL, 4346648, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_DENYWRITE, -1, 0) = 0x7fbef09da000 mmap(0x7fbef0a00000, 2249496, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0) = 0x7fbef0a00000 munmap(0x7fbef09da000, 155648) = 0 munmap(0x7fbef0c26000, 1938200) = 0 mprotect(0x7fbef0a23000, 2097152, PROT_NONE) = 0 mmap(0x7fbef0c23000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x23000) = 0x7fbef0c23000 close(4) = 0 mprotect(0x7fbef0c23000, 4096, PROT_READ) = 0 munmap(0x7fbef2425000, 20883) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0x3e, 0x18), 0x7ffd893e48e0) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0x3e, 0x18), 0x7ffd893e48e0) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0x9, 0x18), 0x7ffd893e3850) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0x9, 0x18), 0x7ffd893e3850) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0x9, 0x18), 0x7ffd893e3850) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0x9, 0x18), 0x7ffd893e3850) = 0 openat(AT_FDCWD, "/usr/lib/wsl/drivers/nvltig.inf_amd64_cfec3e7de6520682/libcuda.so.1.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 \260\r\0\0\0\0\0"..., 832) = 832 fstat(4, {st_mode=S_IFREG|0555, st_size=29080400, ...}) = 0 mmap(NULL, 33678176, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_DENYWRITE, -1, 0) = 0x7fbeee9e1000 mmap(0x7fbeeea00000, 31581024, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0) = 0x7fbeeea00000 munmap(0x7fbeee9e1000, 126976) = 0 munmap(0x7fbef081f000, 1966944) = 0 mprotect(0x7fbef03e4000, 2093056, PROT_NONE) = 0 mmap(0x7fbef05e3000, 1937408, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x19e3000) = 0x7fbef05e3000 mmap(0x7fbef07bc000, 402272, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fbef07bc000 close(4) = 0 mprotect(0x7fbef05e3000, 872448, PROT_READ) = 0 sched_get_priority_max(SCHED_RR) = 99 sched_get_priority_min(SCHED_RR) = 1 futex(0x7fbef0c252f0, FUTEX_WAKE_PRIVATE, 2147483647) = 0 fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(0x88, 0), ...}) = 0 write(1, "Fri Aug 2 20:06:22 2024 \n", 32Fri Aug 2 20:06:22 2024 ) = 32 write(1, "+-------------------------------"..., 90+---------------------------------------------------------------------------------------+ ) = 90 write(1, "| NVIDIA-SMI 535.120 "..., 90| NVIDIA-SMI 535.120 Driver Version: 537.58 CUDA Version: 12.2 | ) = 90 write(1, "|-------------------------------"..., 90|-----------------------------------------+----------------------+----------------------+ ) = 90 write(1, "| GPU Name Pers"..., 180| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. | ) = 180 write(1, "| "..., 90| | | MIG M. | ) = 90 write(1, "|==============================="..., 90|=========================================+======================+======================| ) = 90 getpid() = 359 getpid() = 359 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20b4920) = 0 getpid() = 359 getpid() = 359 getpid() = 359 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20b49a0) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20b4a20) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20b4e30) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20b4e30) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20b4e30) = 0 getpid() = 359 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20b4e30) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20b4e30) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20b4e30) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20b4e30) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20b4e30) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20b4e30) = 0 getpid() = 359 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20b4e30) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20b4e30) = 0 getpid() = 359 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0x9, 0x18), 0x7ffd893e3ae0) = 0 getpid() = 359 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20b4e30) = 0 getpid() = 359 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20b4e30) = 0 getpid() = 359 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20b4e30) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20b4e30) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20b4e30) = 0 getpid() = 359 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20b4e30) = 0 getpid() = 359 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20b4e30) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20b4e30) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20b4e30) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20b4e30) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20b4e30) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20b4e30) = 0 getpid() = 359 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20b4e30) = 0 getpid() = 359 write(1, "| 0 NVIDIA GeForce RTX 3050 ."..., 90| 0 NVIDIA GeForce RTX 3050 ... On | 00000000:01:00.0 Off | N/A | ) = 90 write(1, "| N/A 35C P0 "..., 90| N/A 35C P0 7W / 85W | 0MiB / 4096MiB | 0% Default | ) = 90 write(1, "| "..., 90| | | N/A | ) = 90 write(1, "+-------------------------------"..., 90+-----------------------------------------+----------------------+----------------------+ ) = 90 getpid() = 359 write(1, " "..., 90 ) = 90 write(1, "+-------------------------------"..., 90+---------------------------------------------------------------------------------------+ ) = 90 write(1, "| Processes: "..., 180| Processes: | | GPU GI CI PID Type Process name GPU Memory | ) = 180 write(1, "| ID ID "..., 90| ID ID Usage | ) = 90 write(1, "|==============================="..., 90|=======================================================================================| ) = 90 getpid() = 359 getpid() = 359 getpid() = 359 getpid() = 359 mmap(NULL, 4136960, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbeee60e000 mmap(NULL, 2064384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbeee416000 mmap(NULL, 2064384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbeee21e000 mmap(NULL, 2064384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbeee026000 getpid() = 359 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20b4e30) = 0 getpid() = 359 getpid() = 359 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20b4e30) = 0 munmap(0x7fbeee416000, 2064384) = 0 munmap(0x7fbeee21e000, 2064384) = 0 munmap(0x7fbeee026000, 2064384) = 0 munmap(0x7fbeee60e000, 4136960) = 0 write(1, "| No running processes found "..., 90| No running processes found | ) = 90 write(1, "+-------------------------------"..., 90+---------------------------------------------------------------------------------------+ ) = 90 getpid() = 359 getpid() = 359 getpid() = 359 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20b4e30) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20b4e30) = 0 getpid() = 359 getpid() = 359 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20b4e30) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20b4e30) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20b4e30) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20b4e30) = 0 ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x47, 0xd, 0x20), 0x20b4e30) = 0 exit_group(0) = ? +++ exited with 0 +++ [sudhanshu@lenovo sudhanshu]$