Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clinfo not working with Intel Iris Xe Graphics in WSL #548

Closed
cvelloth opened this issue Jun 21, 2022 · 4 comments
Closed

clinfo not working with Intel Iris Xe Graphics in WSL #548

cvelloth opened this issue Jun 21, 2022 · 4 comments

Comments

@cvelloth
Copy link

cvelloth commented Jun 21, 2022

Processor 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz 1.80 GHz
Installed RAM 16.0 GB (15.7 GB usable)
System type 64-bit operating system, x64-based processor
Pen and touch Touch support with 10 touch points

clinfo on wsl gives number of platforms 0

#300

@cvelloth
Copy link
Author

root@cvelloth-mobl:/home/cvelloth/neo# strace -s 255 -f clinfo
execve("/usr/bin/clinfo", ["clinfo"], 0x7fffe664d5b8 /* 19 vars /) = 0
brk(NULL) = 0x7fffb90a0000
arch_prctl(0x3001 /
ARCH_??? /, 0x7fffc122dad0) = -1 EINVAL (Invalid argument)
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=81765, ...}) = 0
mmap(NULL, 81765, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fb9d038c000
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\200A\0\0\0\0\0\0@\0\0\0\0\0\0\0@\241\0\0\0\0\0\0\0\0\0\0@\08\0\10\0@\0\34\0\33\0\1\0\0\0\5\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\354\206\0\0\0\0\0\0\354\206\0\0\0\0\0\0\0\0 \0\0\0\0\0\1\0\0\0\6\0\0\0\250\224\0\0\0\0\0\0\250\224 \0\0\0\0\0\250\224 \0\0\0\0\0d\v\0\0\0\0\0\0\250\v\0\0\0\0\0\0\0\0 \0\0\0\0\0\2\0\0\0\6\0\0\0\320\234\0\0\0\0\0\0\320\234 \0\0\0\0\0\320\234 \0\0\0\0\0\0\2\0\0\0\0\0\0\0\2\0\0\0\0\0\0\10\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0\0\2\0\0\0\0\0\0\0\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=43072, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb9d0380000
mmap(NULL, 2138192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb9d0170000
mprotect(0x7fb9d0179000, 2097152, PROT_NONE) = 0
mmap(0x7fb9d0379000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9000) = 0x7fb9d0379000
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\0 \22\0\0\0\0\0\0@\0\0\0\0\0\0\0\340A\0\0\0\0\0\0\0\0\0\0@\08\0\v\0@\0\37\0\36\0\1\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\0\0\0H\16\0\0\0\0\0\0H\16\0\0\0\0\0\0\0\20\0\0\0\0\0\0\1\0\0\0\5\0\0\0\0\20\0\0\0\0\0\0\0\20\0\0\0\0\0\0\0\20\0\0\0\0\0\0\211\21\0\0\0\0\0\0\211\21\0\0\0\0\0\0\0\20\0\0\0\0\0\0\1\0\0\0\4\0\0\0\0000\0\0\0\0\0\0\0000\0\0\0\0\0\0\0000\0\0\0\0\0\0\300\6\0\0\0\0\0\0\300\6\0\0\0\0\0\0\0\20\0\0\0\0\0\0\1\0\0\0\6\0\0\0p=\0\0\0\0\0\0pM\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=18848, ...}) = 0
mmap(NULL, 20752, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb9d0160000
mmap(0x7fb9d0161000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7fb9d0161000
mmap(0x7fb9d0163000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7fb9d0163000
mmap(0x7fb9d0164000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7fb9d0164000
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\300A\2\0\0\0\0\0@\0\0\0\0\0\0\0\30\347\36\0\0\0\0\0\0\0\0\0@\08\0\16\0@\0D\0C\0\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\20\3\0\0\0\0\0\0\20\3\0\0\0\0\0\0\10\0\0\0\0\0\0\0\3\0\0\0\4\0\0\0\240\346\33\0\0\0\0\0\240\346\33\0\0\0\0\0\240\346\33\0\0\0\0\0\34\0\0\0\0\0\0\0\34\0\0\0\0\0\0\0\20\0\0\0\0\0\0\0\1\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\0\0\0\350\24\2\0\0\0\0\0\350\24\2\0\0\0\0\0\0\20\0\0\0\0\0\0\1\0\0\0\5\0\0\0\0 \2\0\0\0\0\0\0 \2\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\20\3\0\0\0\0\0\0\20\3\0\0\0\0\0\0\10\0\0\0\0\0\0\0\3\0\0\0\4\0\0\0\240\346\33\0\0\0\0\0\240\346\33\0\0\0\0\0\240\346\33\0\0\0\0\0\34\0\0\0\0\0\0\0\34\0\0\0\0\0\0\0\20\0\0\0\0\0\0\0\1\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\0\0\0\350\24\2\0\0\0\0\0\350\24\2\0\0\0\0\0\0\20\0\0\0\0\0\0\1\0\0\0\5\0\0\0\0 \2\0\0\0\0\0\0 \2\0\0\0\0\0\0 \2\0\0\0\0\0$v\27\0\0\0\0\0$v\27\0\0\0\0\0\0\20\0\0\0\0\0\0\1\0\0\0\4\0\0\0\0\240\31\0\0\0\0\0\0\240\31\0\0\0\0\0\0\240\31\0\0\0\0"..., 784, 64) = 784
pread64(3, "\4\0\0\0\20\0\0\0\5\0\0\0GNU\0\2\0\0\300\4\0\0\0\3\0\0\0\0\0\0\0", 32, 848) = 32
pread64(3, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0\30x\346\264ur\f|Q\226\236i\253-'o\256m\35\356\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\3\0\0\0\2\0\0\0\0\0\0\0", 68, 880) = 68
fstat(3, {st_mode=S_IFREG|0755, st_size=2029592, ...}) = 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\20\3\0\0\0\0\0\0\20\3\0\0\0\0\0\0\10\0\0\0\0\0\0\0\3\0\0\0\4\0\0\0\240\346\33\0\0\0\0\0\240\346\33\0\0\0\0\0\240\346\33\0\0\0\0\0\34\0\0\0\0\0\0\0\34\0\0\0\0\0\0\0\20\0\0\0\0\0\0\0\1\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\0\0\0\350\24\2\0\0\0\0\0\350\24\2\0\0\0\0\0\0\20\0\0\0\0\0\0\1\0\0\0\5\0\0\0\0 \2\0\0\0\0\0\0 \2\0\0\0\0\0\0 \2\0\0\0\0\0$v\27\0\0\0\0\0$v\27\0\0\0\0\0\0\20\0\0\0\0\0\0\1\0\0\0\4\0\0\0\0\240\31\0\0\0\0\0\0\240\31\0\0\0\0\0\0\240\31\0\0\0\0"..., 784, 64) = 784
pread64(3, "\4\0\0\0\20\0\0\0\5\0\0\0GNU\0\2\0\0\300\4\0\0\0\3\0\0\0\0\0\0\0", 32, 848) = 32
pread64(3, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0\30x\346\264ur\f|Q\226\236i\253-'o\256m\35\356\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\3\0\0\0\2\0\0\0\0\0\0\0", 68, 880) = 68
mmap(NULL, 2037344, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb9cff60000
mmap(0x7fb9cff82000, 1540096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7fb9cff82000
mmap(0x7fb9d00fa000, 319488, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19a000) = 0x7fb9d00fa000
mmap(0x7fb9d0148000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1e7000) = 0x7fb9d0148000
mmap(0x7fb9d014e000, 13920, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fb9d014e000
close(3) = 0
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb9cff50000
arch_prctl(ARCH_SET_FS, 0x7fb9cff50740) = 0
mprotect(0x7fb9d0148000, 16384, PROT_READ) = 0
mprotect(0x7fb9d0164000, 4096, PROT_READ) = 0
mprotect(0x7fb9d0379000, 4096, PROT_READ) = 0
mprotect(0x7fb9d03e9000, 4096, PROT_READ) = 0
mprotect(0x7fb9d03cd000, 4096, PROT_READ) = 0
munmap(0x7fb9d038c000, 81765) = 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) = 0x7fffb90a0000
brk(0x7fffb90c1000) = 0x7fffb90c1000
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/intel.icd", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=41, ...}) = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=41, ...}) = 0
lseek(4, 0, SEEK_SET) = 0
read(4, "/usr/local/lib/intel-opencl/libigdrcl.so\n", 41) = 41
lseek(4, 41, SEEK_SET) = 41
close(4) = 0
openat(AT_FDCWD, "/usr/local/lib/intel-opencl/libigdrcl.so", 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\0\3\0\0\0\0\0@\0\0\0\0\0\0\0(\270c\0\0\0\0\0\0\0\0\0@\08\0\7\0@\0\34\0\33\0\1\0\0\0\5\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\0000\262O\0\0\0\0\0000\262O\0\0\0\0\0\0\0 \0\0\0\0\0\1\0\0\0\6\0\0\0\30\300O\0\0\0\0\0\30\300o\0\0\0\0\0\30\300o\0\0\0\0\0\301\366\23\0\0\0\0\0\230\324\33\0\0\0\0\0\0\0 \0\0\0\0\0\2\0\0\0\6\0\0\0000\256P\0\0\0\0\0000\256p\0\0\0\0\0000\256p\0\0\0\0\0p\2\0\0\0\0\0\0p\2\0\0\0\0\0\0\10\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0\310\1\0\0\0\0\0\0\310\1\0\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0755, st_size=6537000, ...}) = 0
mmap(NULL, 9147568, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7fb9cf690000
mprotect(0x7fb9cfb8c000, 2097152, PROT_NONE) = 0
mmap(0x7fb9cfd8c000, 1310720, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x4fc000) = 0x7fb9cfd8c000
mmap(0x7fb9cfecc000, 513200, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fb9cfecc000
close(4) = 0
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=81765, ...}) = 0
mmap(NULL, 81765, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7fb9d038c000
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\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220q\0\0\0\0\0\0@\0\0\0\0\0\0\0h\\2\0\0\0\0\0\0\0\0\0@\08\0\r\0@\0'\0&\0\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\330\2\0\0\0\0\0\0\330\2\0\0\0\0\0\0\10\0\0\0\0\0\0\0\3\0\0\0\4\0\0\0\20\202\1\0\0\0\0\0\20\202\1\0\0\0\0\0\20\202\1\0\0\0\0\0\34\0\0\0\0\0\0\0\34\0\0\0\0\0\0\0\20\0\0\0\0\0\0\0\1\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\0\0\0\250Z\0\0\0\0\0\0\250Z\0\0\0\0\0\0\0\20\0\0\0\0\0\0\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
pread64(4, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0{E6\364\34\332\245\210\204\10\350-\0106\343=\317Cdf\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\3\0\0\0\2\0\0\0\0\0\0\0", 68, 824) = 68
fstat(4, {st_mode=S_IFREG|0755, st_size=157224, ...}) = 0
pread64(4, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0{E6\364\34\332\245\210\204\10\350-\0106\343=\317Cdf\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\3\0\0\0\2\0\0\0\0\0\0\0", 68, 824) = 68
mmap(NULL, 140408, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7fb9cf66d000
mmap(0x7fb9cf673000, 69632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x6000) = 0x7fb9cf673000
mmap(0x7fb9cf684000, 24576, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x17000) = 0x7fb9cf684000
mmap(0x7fb9cf68a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x1c000) = 0x7fb9cf68a000
mmap(0x7fb9cf68c000, 13432, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fb9cf68c000
close(4) = 0
openat(AT_FDCWD, "/usr/local/lib/libigdgmm.so.11", 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\360p\0\0\0\0\0\0@\0\0\0\0\0\0\0@.\10\0\0\0\0\0\0\0\0\0@\08\0\7\0@\0\34\0\33\0\1\0\0\0\5\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\5\340\7\0\0\0\0\0\5\340\7\0\0\0\0\0\0\0 \0\0\0\0\0\1\0\0\0\6\0\0\0\240\350\7\0\0\0\0\0\240\350'\0\0\0\0\0\240\350'\0\0\0\0\0pD\0\0\0\0\0\0\340D\0\0\0\0\0\0\0\0 \0\0\0\0\0\2\0\0\0\6\0\0\0\260\375\7\0\0\0\0\0\260\375'\0\0\0\0\0\260\375'\0\0\0\0\0\0\2\0\0\0\0\0\0\0\2\0\0\0\0\0\0\10\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0\310\1\0\0\0\0\0\0\310\1\0\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0644, st_size=537920, ...}) = 0
mmap(NULL, 2633088, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7fb9cf3e0000
mprotect(0x7fb9cf45f000, 2093056, PROT_NONE) = 0
mmap(0x7fb9cf65e000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x7e000) = 0x7fb9cf65e000
close(4) = 0
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libstdc++.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\0\341\t\0\0\0\0\0@\0\0\0\0\0\0\0\0\324\35\0\0\0\0\0\0\0\0\0@\08\0\f\0@\0\"\0!\0\1\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\0\0\0\360Z\t\0\0\0\0\0\360Z\t\0\0\0\0\0\0\20\0\0\0\0\0\0\1\0\0\0\5\0\0\0\0\t\0\0\0\0\0\0\t\0\0\0\0\0\0\t\0\0\0\0\0a\4\17\0\0\0\0\0a\4\17\0\0\0\0\0\0\20\0\0\0\0\0\0\1\0\0\0\4\0\0\0\0p\30\0\0\0\0\0\0p\30\0\0\0\0\0\0p\30\0\0\0\0\0\317\216\4\0\0\0\0\0\317\216\4\0\0\0\0\0\0\20\0\0\0\0\0\0\1\0\0\0\6\0\0\0x\t\35\0\0\0\0\0x\31\35\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0644, st_size=1956992, ...}) = 0
mmap(NULL, 1972224, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7fb9cf1f0000
mprotect(0x7fb9cf286000, 1290240, PROT_NONE) = 0
mmap(0x7fb9cf286000, 987136, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x96000) = 0x7fb9cf286000
mmap(0x7fb9cf377000, 299008, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x187000) = 0x7fb9cf377000
mmap(0x7fb9cf3c1000, 57344, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x1d0000) = 0x7fb9cf3c1000
mmap(0x7fb9cf3cf000, 10240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fb9cf3cf000
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\0\300\323\0\0\0\0\0\0@\0\0\0\0\0\0\0\350\334\24\0\0\0\0\0\0\0\0\0@\08\0\v\0@\0!\0 \0\1\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\0\0\0\10\303\0\0\0\0\0\0\10\303\0\0\0\0\0\0\0\20\0\0\0\0\0\0\1\0\0\0\5\0\0\0\0\320\0\0\0\0\0\0\0\320\0\0\0\0\0\0\0\320\0\0\0\0\0\0\265o\n\0\0\0\0\0\265o\n\0\0\0\0\0\0\20\0\0\0\0\0\0\1\0\0\0\4\0\0\0\0@\v\0\0\0\0\0\0@\v\0\0\0\0\0\0@\v\0\0\0\0\0\24\213\t\0\0\0\0\0\24\213\t\0\0\0\0\0\0\20\0\0\0\0\0\0\1\0\0\0\6\0\0\0\200\315\24\0\0\0\0\0\200\335\24\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0644, st_size=1369384, ...}) = 0
mmap(NULL, 1368336, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7fb9cf0a1000
mmap(0x7fb9cf0ae000, 684032, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0xd000) = 0x7fb9cf0ae000
mmap(0x7fb9cf155000, 626688, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0xb4000) = 0x7fb9cf155000
mmap(0x7fb9cf1ee000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x14c000) = 0x7fb9cf1ee000
close(4) = 0
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libgcc_s.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\3405\0\0\0\0\0\0@\0\0\0\0\0\0\0\330\222\1\0\0\0\0\0\0\0\0\0@\08\0\v\0@\0\35\0\34\0\1\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\0\0\0()\0\0\0\0\0\0()\0\0\0\0\0\0\0\20\0\0\0\0\0\0\1\0\0\0\5\0\0\0\0000\0\0\0\0\0\0\0000\0\0\0\0\0\0\0000\0\0\0\0\0\0U\20\1\0\0\0\0\0U\20\1\0\0\0\0\0\0\20\0\0\0\0\0\0\1\0\0\0\4\0\0\0\0P\1\0\0\0\0\0\0P\1\0\0\0\0\0\0P\1\0\0\0\0\0l3\0\0\0\0\0\0l3\0\0\0\0\0\0\0\20\0\0\0\0\0\0\1\0\0\0\6\0\0\0\310\215\1\0\0\0\0\0\310\235\1\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0644, st_size=104984, ...}) = 0
mmap(NULL, 107592, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7fb9cf080000
mmap(0x7fb9cf083000, 73728, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x3000) = 0x7fb9cf083000
mmap(0x7fb9cf095000, 16384, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x15000) = 0x7fb9cf095000
mmap(0x7fb9cf099000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x18000) = 0x7fb9cf099000
close(4) = 0
mprotect(0x7fb9cf099000, 4096, PROT_READ) = 0
mprotect(0x7fb9cf1ee000, 4096, PROT_READ) = 0
mprotect(0x7fb9cf3c1000, 45056, PROT_READ) = 0
mprotect(0x7fb9cf68a000, 4096, PROT_READ) = 0
mprotect(0x7fb9cf65e000, 8192, PROT_READ) = 0
mprotect(0x7fb9cfd8c000, 65536, PROT_READ) = 0
set_tid_address(0x7fb9cff50a10) = 860
set_robust_list(0x7fb9cff50a20, 24) = 0
rt_sigaction(SIGRTMIN, {sa_handler=0x7fb9cf673bf0, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7fb9cf681420}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {sa_handler=0x7fb9cf673c90, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7fb9cf681420}, 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
futex(0x7fb9cf3cf6bc, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7fb9cf3cf6c8, FUTEX_WAKE_PRIVATE, 2147483647) = 0
brk(0x7fffb90e2000) = 0x7fffb90e2000
brk(0x7fffb9104000) = 0x7fffb9104000
brk(0x7fffb9126000) = 0x7fffb9126000
brk(0x7fffb914c000) = 0x7fffb914c000
brk(0x7fffb916d000) = 0x7fffb916d000
brk(0x7fffb918e000) = 0x7fffb918e000
brk(0x7fffb91af000) = 0x7fffb91af000
brk(0x7fffb91d1000) = 0x7fffb91d1000
brk(0x7fffb9206000) = 0x7fffb9206000
openat(AT_FDCWD, "igdrcl.config", O_RDONLY) = -1 ENOENT (No such file or directory)
brk(0x7fffb9227000) = 0x7fffb9227000
munmap(0x7fb9d038c000, 81765) = 0
getdents64(3, /* 0 entries */, 32768) = 0
unlink("igdrcl.log") = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/by-path", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD128", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD129", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD130", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD131", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD132", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD133", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD134", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD135", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD136", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD137", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD138", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD139", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD140", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD141", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD142", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD143", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD144", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD145", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD146", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD147", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD148", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD149", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD150", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD151", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD152", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD153", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD154", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD155", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD156", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD157", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD158", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD159", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD160", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD161", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD162", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD163", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD164", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD165", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD166", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD167", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD168", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD169", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD170", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD171", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD172", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD173", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD174", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD175", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD176", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD177", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD178", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD179", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD180", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD181", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD182", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD183", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD184", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD185", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD186", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD187", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD188", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD189", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD190", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD191", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/usr/lib/wsl/lib/libdxcore.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
close(3) = 0
fstat(1, {st_mode=S_IFCHR|0660, st_rdev=makedev(0x4, 0x1), ...}) = 0
ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
write(1, "Number of platforms 0\n", 52Number of platforms 0
) = 52
exit_group(0) = ?
+++ exited with 0 +++
root@cvelloth-mobl:/home/cvelloth/neo#

@JablonskiMateusz
Copy link
Contributor

Hi @cvelloth
As per readme: To allow NEO access to GPU device make sure user has permissions to files /dev/dri/renderD*.
In attached log I see you don't have such files:

openat(AT_FDCWD, "/dev/dri/by-path", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD128", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD129", O_RDWR) = -1 ENOENT (No such file or directory)

Please ensure that i915 module is correctly initialized.

@cvelloth
Copy link
Author

Hi @cvelloth As per readme: To allow NEO access to GPU device make sure user has permissions to files /dev/dri/renderD*. In attached log I see you don't have such files:

openat(AT_FDCWD, "/dev/dri/by-path", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD128", O_RDWR) = -1 ENOENT (No such file or directory)
fstat(-1, 0x7fffc122d120) = -1 EBADF (Bad file descriptor)
openat(AT_FDCWD, "/dev/dri/renderD129", O_RDWR) = -1 ENOENT (No such file or directory)

Please ensure that i915 module is correctly initialized.

Hi @JablonskiMateusz ,

Missed to add that i am working in wsl with this. The issue is on the wsl version of ubuntu 20.04. The graphics driver is correctly installed and is updated to the latest version.
How can i check the i915 drivers in this case ?

Thanks,
Chandana

@cvelloth cvelloth changed the title clinfo not working with Intel Iris Xe Graphics clinfo not working with Intel Iris Xe Graphics in WSL Jun 23, 2022
@cvelloth
Copy link
Author

Issue resolved after updating the WSL version 2 and updating the kernel.

System Requirements:: Windows 10 21H2 or later
WSL Kernel :: 5.10.16.3 or later
Driver :: 30.0.100.9955 or latest
WSL Version :: 2

Tested with neo driver version ::
intel-gmmlib_21.2.1_amd64.deb
intel-igc-opencl_1.0.8517_amd64.deb
intel-ocloc_21.35.20826_amd64.deb
intel-igc-core_1.0.8517_amd64.deb
intel-level-zero-gpu_1.2.20826_amd64.deb
intel-opencl_21.35.20826_amd64.deb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants