Shit! I am getting the exact same output on running strace intel_gpu_top
as the mentioned in comment #7 on the freedesktop discussion.
execve("/usr/bin/intel_gpu_top", ["intel_gpu_top"], [/* 50 vars */]) = 0
brk(NULL) = 0xe18000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5affc85000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=155838, ...}) = 0
mmap(NULL, 155838, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f5affc5e000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libdrm_intel.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\200,@$0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=137704, ...}) = 0
mmap(0x3024400000, 2230368, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3024400000
mprotect(0x3024420000, 2093056, PROT_NONE) = 0
mmap(0x302461f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1f000) = 0x302461f000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libdrm.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@5 \0200\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=62256, ...}) = 0
mmap(0x3010200000, 2157488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3010200000
mprotect(0x301020e000, 2093056, PROT_NONE) = 0
mmap(0x301040d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd000) = 0x301040d000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libpciaccess.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\320 @#0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=41736, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5affc5d000
mmap(0x3023400000, 2134416, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3023400000
mprotect(0x3023408000, 2097152, PROT_NONE) = 0
mmap(0x3023608000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0x3023608000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libunwind.so.8", 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\320\36@%0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=53600, ...}) = 0
mmap(0x3025400000, 2207432, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3025400000
mprotect(0x302540c000, 2093056, PROT_NONE) = 0
mmap(0x302560b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb000) = 0x302560b000
mmap(0x302560d000, 57032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x302560d000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/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\260`@\0020\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=142152, ...}) = 0
mmap(0x3002400000, 2212904, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3002400000
mprotect(0x3002418000, 2093056, PROT_NONE) = 0
mmap(0x3002617000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x3002617000
mmap(0x3002619000, 13352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3002619000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/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\0P\t\302\0010\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1870352, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5affc5c000
mmap(0x3001c00000, 3967392, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3001c00000
mprotect(0x3001dbf000, 2097152, PROT_NONE) = 0
mmap(0x3001fbf000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1bf000) = 0x3001fbf000
mmap(0x3001fc5000, 14752, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3001fc5000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/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\0V\200\0020\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=1091704, ...}) = 0
mmap(0x3002800000, 3178744, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3002800000
mprotect(0x3002908000, 2093056, PROT_NONE) = 0
mmap(0x3002b07000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x107000) = 0x3002b07000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libz.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\260\35\300\0020\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=107432, ...}) = 0
mmap(0x3002c00000, 2199848, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3002c00000
mprotect(0x3002c19000, 2093056, PROT_NONE) = 0
mmap(0x3002e18000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x18000) = 0x3002e18000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/liblzma.so.5", 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\320 @\0100\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=139936, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5affc5b000
mmap(0x3008400000, 2232456, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3008400000
mprotect(0x3008421000, 2093056, PROT_NONE) = 0
mmap(0x3008620000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x20000) = 0x3008620000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/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\240\r\0\0020\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=17240, ...}) = 0
mmap(0x3002000000, 2109680, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3002000000
mprotect(0x3002003000, 2093056, PROT_NONE) = 0
mmap(0x3002202000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x3002202000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5affc5a000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5affc58000
arch_prctl(ARCH_SET_FS, 0x7f5affc58740) = 0
mprotect(0x620000, 4096, PROT_READ) = 0
mprotect(0x302461f000, 4096, PROT_READ) = 0
mprotect(0x301040d000, 4096, PROT_READ) = 0
mprotect(0x3023608000, 4096, PROT_READ) = 0
mprotect(0x302560b000, 4096, PROT_READ) = 0
mprotect(0x3002617000, 4096, PROT_READ) = 0
mprotect(0x3001fbf000, 16384, PROT_READ) = 0
mprotect(0x3002b07000, 4096, PROT_READ) = 0
mprotect(0x3002e18000, 4096, PROT_READ) = 0
mprotect(0x3000225000, 4096, PROT_READ) = 0
mprotect(0x3008620000, 4096, PROT_READ) = 0
mprotect(0x3002202000, 4096, PROT_READ) = 0
munmap(0x7f5affc5e000, 155838) = 0
set_tid_address(0x7f5affc58a10) = 16439
set_robust_list(0x7f5affc58a20, 24) = 0
rt_sigaction(SIGRTMIN, {0x3002405b50, [], SA_RESTORER|SA_SIGINFO, 0x3002411390}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x3002405be0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x3002411390}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
stat("/sys/bus/pci/devices", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
brk(NULL) = 0xe18000
brk(0xe39000) = 0xe39000
open("/proc/mtrr", O_WRONLY|O_CLOEXEC) = -1 EACCES (Permission denied)
open("/sys/bus/pci/devices", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
getdents(3, /* 22 entries */, 32768) = 688
getdents(3, /* 0 entries */, 32768) = 0
close(3) = 0
open("/sys/bus/pci/devices/0000:00:00.0/config", O_RDONLY|O_CLOEXEC) = 3
pread64(3, "\206\200\20\31\6\0\220 \7\0\0\6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 48, 0) = 48
close(3) = 0
open("/sys/bus/pci/devices/0000:00:01.0/config", O_RDONLY|O_CLOEXEC) = 3
pread64(3, "\206\200\1\31\7\4\20\0\7\0\4\6\0\0\201\0\0\0\0\0\0\0\0\0\0\1\1\0\340\340\0 "..., 48, 0) = 48
close(3) = 0
open("/sys/bus/pci/devices/0000:00:02.0/config", O_RDONLY|O_CLOEXEC) = 3
pread64(3, "\206\200\33\31\7\4\20\0\6\0\0\3\0\0\0\0\4\0\0\333\0\0\0\0\f\0\0p\0\0\0\0"..., 48, 0) = 48
close(3) = 0
open("/sys/bus/pci/devices/0000:00:04.0/config", O_RDONLY|O_CLOEXEC) = 3
pread64(3, "\206\200\3\31\2\0\220\0\7\0\200\21\0\0\0\0\4\0\22\335\0\0\0\0\0\0\0\0\0\0\0\0"..., 48, 0) = 48
close(3) = 0
open("/sys/bus/pci/devices/0000:00:14.0/config", O_RDONLY|O_CLOEXEC) = 3
pread64(3, "\206\200/\241\6\4\220\00210\3\f\0\0\200\0\4\0\21\335\0\0\0\0\0\0\0\0\0\0\0\0"..., 48, 0) = 48
close(3) = 0
open("/sys/bus/pci/devices/0000:00:14.2/config", O_RDONLY|O_CLOEXEC) = 3
pread64(3, "\206\2001\241\2\0\20\0001\0\200\21\0\0\0\0\4`\23\335\0\0\0\0\0\0\0\0\0\0\0\0"..., 48, 0) = 48
close(3) = 0
open("/sys/bus/pci/devices/0000:00:16.0/config", O_RDONLY|O_CLOEXEC) = 3
pread64(3, "\206\200:\241\6\4\20\0001\0\200\7\0\0\200\0\4P\23\335\0\0\0\0\0\0\0\0\0\0\0\0"..., 48, 0) = 48
close(3) = 0
open("/sys/bus/pci/devices/0000:00:17.0/config", O_RDONLY|O_CLOEXEC) = 3
pread64(3, "\206\200*(\7\4\260\0021\0\4\1\0\0\0\0\0\0\23\335\0@\23\335\221\360\0\0\201\360\0\0"..., 48, 0) = 48
close(3) = 0
open("/sys/bus/pci/devices/0000:00:1c.0/config", O_RDONLY|O_CLOEXEC) = 3
pread64(3, "\206\200\20\241\7\0\20\0\361\0\4\6\0\0\201\0\0\0\0\0\0\0\0\0\0\2:\0 \0 "..., 48, 0) = 48
close(3) = 0
open("/sys/bus/pci/devices/0000:00:1c.4/config", O_RDONLY|O_CLOEXEC) = 3
pread64(3, "\206\200\24\241\7\0\20\0\361\0\4\6\0\0\201\0\0\0\0\0\0\0\0\0\0;;\0\320\320\0 "..., 48, 0) = 48
close(3) = 0
open("/sys/bus/pci/devices/0000:00:1c.5/config", O_RDONLY|O_CLOEXEC) = 3
pread64(3, "\206\200\25\241\7\0\20\0\361\0\4\6\0\0\201\0\0\0\0\0\0\0\0\0\0<<\0\360\0\0 "..., 48, 0) = 48
close(3) = 0
open("/sys/bus/pci/devices/0000:00:1c.6/config", O_RDONLY|O_CLOEXEC) = 3
pread64(3, "\206\200\26\241\7\0\20\0\361\0\4\6\0\0\201\0\0\0\0\0\0\0\0\0\0==\0\360\0\0 "..., 48, 0) = 48
close(3) = 0
open("/sys/bus/pci/devices/0000:00:1f.0/config", O_RDONLY|O_CLOEXEC) = 3
pread64(3, "\206\200N\241\7\0\0\0021\0\1\6\0\0\200\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 48, 0) = 48
close(3) = 0
open("/sys/bus/pci/devices/0000:00:1f.2/config", O_RDONLY|O_CLOEXEC) = 3
pread64(3, "\206\200!\241\0\0\0\0001\0\200\5\0\0\200\0\0\300\22\335\0\0\0\0\0\0\0\0\0\0\0\0"..., 48, 0) = 48
close(3) = 0
open("/sys/bus/pci/devices/0000:00:1f.3/config", O_RDONLY|O_CLOEXEC) = 3
pread64(3, "\206\200p\241\6\4\20\0001\0\3\4\0 \0\0\4\200\22\335\0\0\0\0\0\0\0\0\0\0\0\0"..., 48, 0) = 48
close(3) = 0
open("/sys/bus/pci/devices/0000:00:1f.4/config", O_RDONLY|O_CLOEXEC) = 3
pread64(3, "\206\200#\241\3\0\200\0021\0\5\f\0\0\0\0\4 \23\335\0\0\0\0\0\0\0\0\0\0\0\0"..., 48, 0) = 48
close(3) = 0
open("/sys/bus/pci/devices/0000:01:00.0/config", O_RDONLY|O_CLOEXEC) = 3
pread64(3, "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"..., 48, 0) = 48
close(3) = 0
open("/sys/bus/pci/devices/0000:3b:00.0/config", O_RDONLY|O_CLOEXEC) = 3
pread64(3, "i\31\241\340\7\0\20\0\20\0\0\2\0\0\0\0\4\0P\335\0\0\0\0\1\320\0\0\0\0\0\0"..., 48, 0) = 48
close(3) = 0
open("/sys/bus/pci/devices/0000:3c:00.0/config", O_RDONLY|O_CLOEXEC) = 3
pread64(3, "\214\26>\0\6\4\30\0002\0\200\2\0\0\0\0\4\0 \335\0\0\0\0\0\0\0\0\0\0\0\0"..., 48, 0) = 48
close(3) = 0
open("/sys/bus/pci/devices/0000:3d:00.0/config", O_RDONLY|O_CLOEXEC) = 3
pread64(3, "\354\20'R\6\4\20\0\1\0\0\377\0\0\0\0\0\0@\335\0\0\0\0\0\0\0\0\0\0\0\0"..., 48, 0) = 48
close(3) = 0
open("/sys/bus/pci/devices/0000:00:02.0/config", O_RDONLY|O_CLOEXEC) = 3
pread64(3, "\206\200\33\31\7\4\20\0\6\0\0\3\0\0\0\0\4\0\0\333\0\0\0\0\f\0\0p\0\0\0\0"..., 256, 0) = 64
pread64(3, "", 192, 64) = 0
close(3) = 0
open("/sys/bus/pci/devices/0000:00:02.0/resource", O_RDONLY|O_CLOEXEC) = 3
read(3, "0x00000000db000000 0x00000000dbf"..., 512) = 512
close(3) = 0
open("/sys/bus/pci/devices/0000:00:02.0/resource0", O_RDWR|O_CLOEXEC) = -1 EACCES (Permission denied)
write(2, "(intel_gpu_top:16439) intel-mmio"..., 132(intel_gpu_top:16439) intel-mmio-CRITICAL: Test assertion failure function intel_mmio_use_pci_bar, file ../../lib/intel_mmio.c:145:
) = 132
write(2, "(intel_gpu_top:16439) intel-mmio"..., 75(intel_gpu_top:16439) intel-mmio-CRITICAL: Failed assertion: !(error != 0)
) = 75
write(2, "(intel_gpu_top:16439) intel-mmio"..., 77(intel_gpu_top:16439) intel-mmio-CRITICAL: Last errno: 13, Permission denied
) = 77
write(2, "(intel_gpu_top:16439) intel-mmio"..., 68(intel_gpu_top:16439) intel-mmio-CRITICAL: Couldn't map MMIO region
) = 68
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
write(1, "Stack trace:\n", 13Stack trace:
) = 13
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5affc84000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5affc83000
mincore(0x7ffc2fad2fc7, 1, 0x7ffc2fad2fc7) = -1 EINVAL (Invalid argument)
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
msync(0x7ffc2fad3000, 4096, MS_ASYNC) = 0
open("/proc/16439/maps", O_RDONLY) = 3
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5affc82000
read(3, "00400000-00421000 r-xp 00000000 "..., 4096) = 4058
open("/usr/bin/intel_gpu_top", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0755, st_size=147136, ...}) = 0
mmap(NULL, 147136, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7f5affc5e000
close(4) = 0
close(3) = 0
munmap(0x7f5affc82000, 4096) = 0
munmap(0x7f5affc5e000, 147136) = 0
write(1, " #0 [_init+0x83d9]\n", 20 #0 [_init+0x83d9]
) = 20
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
open("/proc/16439/maps", O_RDONLY) = 3
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5affc82000
read(3, "00400000-00421000 r-xp 00000000 "..., 4096) = 4058
open("/usr/bin/intel_gpu_top", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0755, st_size=147136, ...}) = 0
mmap(NULL, 147136, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7f5affc5e000
close(4) = 0
close(3) = 0
munmap(0x7f5affc82000, 4096) = 0
munmap(0x7f5affc5e000, 147136) = 0
write(1, " #1 [_init+0x6036]\n", 20 #1 [_init+0x6036]
) = 20
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
open("/proc/16439/maps", O_RDONLY) = 3
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5affc82000
read(3, "00400000-00421000 r-xp 00000000 "..., 4096) = 4058
open("/usr/bin/intel_gpu_top", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0755, st_size=147136, ...}) = 0
mmap(NULL, 147136, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7f5affc5e000
close(4) = 0
close(3) = 0
munmap(0x7f5affc82000, 4096) = 0
munmap(0x7f5affc5e000, 147136) = 0
write(1, " #2 [_init+0x1301]\n", 20 #2 [_init+0x1301]
) = 20
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
open("/proc/16439/maps", O_RDONLY) = 3
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5affc82000
read(3, "00400000-00421000 r-xp 00000000 "..., 4096) = 4058
open("/lib/x86_64-linux-gnu/libc-2.23.so", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0755, st_size=1870352, ...}) = 0
mmap(NULL, 1870352, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7f5affa8f000
close(4) = 0
close(3) = 0
munmap(0x7f5affc82000, 4096) = 0
munmap(0x7f5affa8f000, 1870352) = 0
write(1, " #3 [__libc_start_main+0xf0]\n", 30 #3 [__libc_start_main+0xf0]
) = 30
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
open("/proc/16439/maps", O_RDONLY) = 3
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5affc82000
read(3, "00400000-00421000 r-xp 00000000 "..., 4096) = 4058
open("/usr/bin/intel_gpu_top", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0755, st_size=147136, ...}) = 0
mmap(NULL, 147136, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7f5affc5e000
close(4) = 0
close(3) = 0
munmap(0x7f5affc82000, 4096) = 0
munmap(0x7f5affc5e000, 147136) = 0
write(1, " #4 [_init+0x2f61]\n", 20 #4 [_init+0x2f61]
) = 20
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
open("/proc/16439/maps", O_RDONLY) = 3
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5affc82000
read(3, "00400000-00421000 r-xp 00000000 "..., 4096) = 4058
read(3, "3023400000-3023408000 r-xp 00000"..., 4096) = 1912
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7f5affc82000, 4096) = 0
write(1, " #5 [<unknown>+0x2f61]\n", 24 #5 [<unknown>+0x2f61]
) = 24
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
getppid() = 16435
readlink("/proc/16435/exe", "/usr/bin/strace", 1024) = 15
ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
write(2, "Test (null) failed.\n", 20Test (null) failed.
) = 20
write(2, "**** DEBUG ****\n", 16**** DEBUG ****
) = 16
write(2, "(intel_gpu_top:16439) intel-mmio"..., 132(intel_gpu_top:16439) intel-mmio-CRITICAL: Test assertion failure function intel_mmio_use_pci_bar, file ../../lib/intel_mmio.c:145:
) = 132
write(2, "(intel_gpu_top:16439) intel-mmio"..., 75(intel_gpu_top:16439) intel-mmio-CRITICAL: Failed assertion: !(error != 0)
) = 75
write(2, "(intel_gpu_top:16439) intel-mmio"..., 77(intel_gpu_top:16439) intel-mmio-CRITICAL: Last errno: 13, Permission denied
) = 77
write(2, "(intel_gpu_top:16439) intel-mmio"..., 68(intel_gpu_top:16439) intel-mmio-CRITICAL: Couldn't map MMIO region
) = 68
write(2, "**** END ****\n", 16**** END ****
) = 16
open("/dev/kmsg", O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 EACCES (Permission denied)
clock_gettime(CLOCK_MONOTONIC_RAW, {1552, 401756341}) = 0
write(1, "FAIL (-1.000s)\n", 15FAIL (-1.000s)
) = 15
exit_group(99) = ?
+++ exited with 99 +++