using mesa intel_dump_gpu failed , print `bo map failed`
System information
zhanghe@zhanghe-System-Product-Name:~/mesa$ meson devenv -C builddir/ inxi -GSC
System: Host: zhanghe-System-Product-Name Kernel: 6.5.0-28-generic x86_64 bits: 64 Desktop: Unity Distro: Ubuntu 22.04.4 LTS (Jammy Jellyfish) CPU: Info: 12-core model: AMD Ryzen 9 5900X bits: 64 type: MT MCP cache: L2: 6 MiB Speed (MHz): avg: 2301 min/max: 2200/4950 cores: 1: 2200 2: 2521 3: 2200 4: 2200 5: 2200 6: 2931 7: 2200 8: 2200 9: 2200 10: 2850 11: 2937 12: 2200 13: 2200 14: 2200 15: 2200 16: 2195 17: 2200 18: 2200 19: 2200 20: 2200 21: 2200 22: 2200 23: 2200 24: 2200 Graphics: Device-1: Intel driver: i915 v: kernel Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: modesetting unloaded: fbdev,vesa gpu: i915 resolution: 1920x1080~60Hz OpenGL: renderer: Mesa Intel Arc A750 Graphics (DG2) v: 4.6 Mesa 24.1.0-devel (git-ee13512a)
Describe the issue
i want using intel_dump_gpu tool to generate an intel aub file ,but faied with bo map failed
as far as i know, this tool just stub ioctl
call , is this an enviroment issue ?
Regression
zhanghe@zhanghe-System-Product-Name:~/mesa$ export XDG_RUNTIME_DIR=/run/user/1000; meson devenv -C builddir/ /home/zhanghe/mesa/builddir/src/intel/tools/intel_dump_gpu -f 100 -v -- /home/zhanghe/wgpu/debug/wgpu-examples hello_triangle
[running, output file intel.aub, chipset id 0x56a1, gen 0]
[intercept drm ioctl on fd 11]
[intercept drm ioctl on fd 12]
[intercept drm ioctl on fd 13]
[intercept drm ioctl on fd 14]
[intercept drm ioctl on fd 13]
intel_dump_gpu: bo mmap failed
/home/zhanghe/mesa/builddir/src/intel/tools/intel_dump_gpu: line 152: 220825 Aborted (core dumped) LD_PRELOAD="ld_preload" INTEL_DUMP_GPU_CONFIG=
tmp_file "$@"