Open SebastianGrans opened 2 years ago
could you attach logs from strace when running clinfo?
Sure! Here it is:
Ubuntu 20.04 image:
execve("/usr/bin/clinfo", ["clinfo"], 0x7ffc63087610 /* 8 vars */) = 0
brk(NULL) = 0x5641409b5000
arch_prctl(0x3001 /* ARCH_??? */, 0x7ffd24102a80) = -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=7428, ...}) = 0
mmap(NULL, 7428, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f2d53768000
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"..., 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) = 0x7f2d53766000
mmap(NULL, 2138192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f2d5355b000
mprotect(0x7f2d53564000, 2097152, PROT_NONE) = 0
mmap(0x7f2d53764000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9000) = 0x7f2d53764000
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"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=18848, ...}) = 0
mmap(NULL, 20752, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f2d53555000
mmap(0x7f2d53556000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7f2d53556000
mmap(0x7f2d53558000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f2d53558000
mmap(0x7f2d53559000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f2d53559000
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"..., 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
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"..., 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"..., 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"..., 68, 880) = 68
mmap(NULL, 2037344, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f2d53363000
mmap(0x7f2d53385000, 1540096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f2d53385000
mmap(0x7f2d534fd000, 319488, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19a000) = 0x7f2d534fd000
mmap(0x7f2d5354b000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1e7000) = 0x7f2d5354b000
mmap(0x7f2d53551000, 13920, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f2d53551000
close(3) = 0
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2d53360000
arch_prctl(ARCH_SET_FS, 0x7f2d53360740) = 0
mprotect(0x7f2d5354b000, 16384, PROT_READ) = 0
mprotect(0x7f2d53559000, 4096, PROT_READ) = 0
mprotect(0x7f2d53764000, 4096, PROT_READ) = 0
mprotect(0x56413fc04000, 4096, PROT_READ) = 0
mprotect(0x7f2d53797000, 4096, PROT_READ) = 0
munmap(0x7f2d53768000, 7428) = 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) = 0x5641409b5000
brk(0x5641409d6000) = 0x5641409d6000
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=52, ...}) = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=52, ...}) = 0
lseek(4, 0, SEEK_SET) = 0
read(4, "/usr/lib/x86_64-linux-gnu/intel-"..., 52) = 52
lseek(4, 52, SEEK_SET) = 52
close(4) = 0
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/intel-opencl/libigdrcl.so", 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\24\2\0\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0644, st_size=5049688, ...}) = 0
mmap(NULL, 5156584, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7f2d52e75000
mprotect(0x7f2d52e95000, 3661824, PROT_NONE) = 0
mmap(0x7f2d52e95000, 3076096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x20000) = 0x7f2d52e95000
mmap(0x7f2d53184000, 581632, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x30f000) = 0x7f2d53184000
mmap(0x7f2d53213000, 1261568, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x39d000) = 0x7f2d53213000
mmap(0x7f2d53347000, 102120, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f2d53347000
close(4) = 0
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=7428, ...}) = 0
mmap(NULL, 7428, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7f2d53768000
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"..., 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="..., 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="..., 68, 824) = 68
mmap(NULL, 140408, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7f2d52e52000
mmap(0x7f2d52e58000, 69632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x6000) = 0x7f2d52e58000
mmap(0x7f2d52e69000, 24576, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x17000) = 0x7f2d52e69000
mmap(0x7f2d52e6f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x1c000) = 0x7f2d52e6f000
mmap(0x7f2d52e71000, 13432, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f2d52e71000
close(4) = 0
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/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\340r\0\0\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0644, st_size=457416, ...}) = 0
mmap(NULL, 459360, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7f2d52de1000
mprotect(0x7f2d52de8000, 413696, PROT_NONE) = 0
mmap(0x7f2d52de8000, 380928, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x7000) = 0x7f2d52de8000
mmap(0x7f2d52e45000, 28672, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x64000) = 0x7f2d52e45000
mmap(0x7f2d52e4d000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x6b000) = 0x7f2d52e4d000
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"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0644, st_size=1956992, ...}) = 0
mmap(NULL, 1972224, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7f2d52bff000
mprotect(0x7f2d52c95000, 1290240, PROT_NONE) = 0
mmap(0x7f2d52c95000, 987136, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x96000) = 0x7f2d52c95000
mmap(0x7f2d52d86000, 299008, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x187000) = 0x7f2d52d86000
mmap(0x7f2d52dd0000, 57344, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x1d0000) = 0x7f2d52dd0000
mmap(0x7f2d52dde000, 10240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f2d52dde000
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"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0644, st_size=1369384, ...}) = 0
mmap(NULL, 1368336, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7f2d52ab0000
mmap(0x7f2d52abd000, 684032, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0xd000) = 0x7f2d52abd000
mmap(0x7f2d52b64000, 626688, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0xb4000) = 0x7f2d52b64000
mmap(0x7f2d52bfd000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x14c000) = 0x7f2d52bfd000
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"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0644, st_size=104984, ...}) = 0
mmap(NULL, 107592, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7f2d52a95000
mmap(0x7f2d52a98000, 73728, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x3000) = 0x7f2d52a98000
mmap(0x7f2d52aaa000, 16384, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x15000) = 0x7f2d52aaa000
mmap(0x7f2d52aae000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x18000) = 0x7f2d52aae000
close(4) = 0
mprotect(0x7f2d52aae000, 4096, PROT_READ) = 0
mprotect(0x7f2d52bfd000, 4096, PROT_READ) = 0
mprotect(0x7f2d52dd0000, 45056, PROT_READ) = 0
mprotect(0x7f2d52e6f000, 4096, PROT_READ) = 0
mprotect(0x7f2d52e4d000, 8192, PROT_READ) = 0
mprotect(0x7f2d53213000, 45056, PROT_READ) = 0
set_tid_address(0x7f2d53360a10) = 270
set_robust_list(0x7f2d53360a20, 24) = 0
rt_sigaction(SIGRTMIN, {sa_handler=0x7f2d52e58bf0, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f2d52e66420}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {sa_handler=0x7f2d52e58c90, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f2d52e66420}, 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(0x7f2d52dde6bc, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f2d52dde6c8, FUTEX_WAKE_PRIVATE, 2147483647) = 0
brk(0x5641409f7000) = 0x5641409f7000
brk(0x564140a1a000) = 0x564140a1a000
brk(0x564140a3d000) = 0x564140a3d000
brk(0x564140a5e000) = 0x564140a5e000
brk(0x564140a80000) = 0x564140a80000
brk(0x564140aa1000) = 0x564140aa1000
brk(0x564140ad9000) = 0x564140ad9000
brk(0x564140b0e000) = 0x564140b0e000
mmap(NULL, 147456, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2d52a71000
munmap(0x7f2d53768000, 7428) = 0
getdents64(3, /* 0 entries */, 32768) = 0
unlink("igdrcl.log") = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD128", O_RDWR) = 4
ioctl(4, DRM_IOCTL_VERSION, 0x7ffd241014e0) = 0
openat(AT_FDCWD, "/dev/dri/renderD129", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD130", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD131", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD132", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD133", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD134", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD135", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD136", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD137", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD138", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD139", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD140", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD141", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD142", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD143", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD144", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD145", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD146", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD147", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD148", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD149", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD150", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD151", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD152", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD153", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD154", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD155", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD156", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD157", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD158", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD159", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD160", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD161", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD162", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD163", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD164", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD165", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD166", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD167", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD168", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD169", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD170", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD171", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD172", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD173", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD174", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD175", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD176", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD177", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD178", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD179", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD180", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD181", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD182", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD183", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD184", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD185", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD186", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD187", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD188", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD189", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD190", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/dri/renderD191", O_RDWR) = -1 ENOENT (No such file or directory)
ioctl(4, DRM_IOCTL_I915_GETPARAM, 0x7ffd24102510) = 0
ioctl(4, DRM_IOCTL_I915_GETPARAM, 0x7ffd24102510) = 0
close(4) = 0
close(3) = 0
fstat(1, {st_mode=S_IFREG|0644, st_size=16927, ...}) = 0
munmap(0x7f2d52a71000, 147456) = 0
write(1, "Number of platforms "..., 52Number of platforms 0
) = 52
exit_group(0) = ?
+++ exited with 0 +++
Pinging @JablonskiMateusz :)
According to strace, "clinfo" loads the Intel driver and noticed the GPU device (I'm assuming renderD128
is the correct one).
I was trying to run a Docker image based on ubuntu 20.04 on a machine running 22.04 which resulted in the GPU not being detected. Is it possible to make this work?
The machine was running the latest release (22.39.24347), but I also tried running release 20.13.16352 which is the latest supported by 20.04, but that didn't work either.
Except for the kernel, what drivers you have installed on the host, does not affect HW support in your containers.
You did not mention which HW you have. It's possible that Intel HW user-space drivers in your Ubuntu 20.04 container just are too old for your HW.
If Ubuntu 20.04 HWE (HW enabling) packages are not enough (Ubuntu HWE stack may include just kernel and Mesa 3D drivers), you can install latest Intel (user-space) driver packages to your containers as documented here: https://dgpu-docs.intel.com/installation-guides/index.html
PS. Note that in case of Intel dGPU (discrete GPU) support, because all of dGPU support is not yet in upstream, there are / can be dGPU related uAPI differences. Therefore your host kernel i915 GPU driver needs to match the user-space drivers in your containers (and on your host if you want things to work also on host) i.e. be from same repo.
(Because of this potential API disconnect and how it limits your kernel selection, I would recommend using Ubuntu's own (HWE) drivers when those are new enough to support your HW, and using Intel repository packages only until full driver support for given HW is in upstream / Ubuntu.)
Hi @SebastianGrans could you provide which driver version do you have on ubuntu 20 image and what GPU do you have (device id would be specific enough). As @eero-t said, I think this gpu may not be supported yet in the driver on your ubuntu 20 image
I was trying to run a Docker image based on ubuntu 20.04 on a machine running 22.04 which resulted in the GPU not being detected. Is it possible to make this work?
The machine was running the latest release (22.39.24347), but I also tried running release 20.13.16352 which is the latest supported by 20.04, but that didn't work either.
Dockerfile: