Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
imgui/ | H | 25-Apr-2025 | - | 785 | 573 | |
README.md | H A D | 25-Apr-2025 | 2.4 KiB | 92 | 71 | |
aub_mem.c | H A D | 25-Apr-2025 | 12.3 KiB | 436 | 339 | |
aub_mem.h | H A D | 25-Apr-2025 | 2.6 KiB | 79 | 38 | |
aub_read.c | H A D | 25-Apr-2025 | 13.5 KiB | 428 | 346 | |
aub_read.h | H A D | 25-Apr-2025 | 2.6 KiB | 77 | 35 | |
aub_write.c | H A D | 25-Apr-2025 | 28 KiB | 843 | 662 | |
aub_write.h | H A D | 25-Apr-2025 | 3.9 KiB | 143 | 88 | |
aubinator.c | H A D | 25-Apr-2025 | 12.2 KiB | 422 | 321 | |
aubinator_error_decode.c | H A D | 25-Apr-2025 | 29.4 KiB | 965 | 788 | |
aubinator_error_decode_lib.c | H A D | 25-Apr-2025 | 1.8 KiB | 71 | 56 | |
aubinator_error_decode_lib.h | H A D | 25-Apr-2025 | 464 | 22 | 12 | |
aubinator_error_decode_xe.c | H A D | 25-Apr-2025 | 11.5 KiB | 352 | 292 | |
aubinator_error_decode_xe.h | H A D | 25-Apr-2025 | 487 | 21 | 12 | |
aubinator_viewer.cpp | H A D | 25-Apr-2025 | 36.7 KiB | 1,241 | 956 | |
aubinator_viewer.h | H A D | 25-Apr-2025 | 2.9 KiB | 103 | 81 | |
aubinator_viewer_decoder.cpp | H A D | 25-Apr-2025 | 36.2 KiB | 1,009 | 829 | |
aubinator_viewer_urb.h | H A D | 25-Apr-2025 | 3.5 KiB | 97 | 75 | |
error2aub.c | H A D | 25-Apr-2025 | 16.9 KiB | 550 | 434 | |
error2hangdump.c | H A D | 25-Apr-2025 | 12.9 KiB | 441 | 343 | |
error2hangdump_lib.c | H A D | 25-Apr-2025 | 1.4 KiB | 70 | 55 | |
error2hangdump_lib.h | H A D | 25-Apr-2025 | 861 | 40 | 26 | |
error2hangdump_xe.c | H A D | 25-Apr-2025 | 4.9 KiB | 160 | 131 | |
error2hangdump_xe.h | H A D | 25-Apr-2025 | 208 | 12 | 4 | |
error_decode_lib.c | H A D | 25-Apr-2025 | 425 | 26 | 17 | |
error_decode_lib.h | H A D | 25-Apr-2025 | 173 | 11 | 3 | |
error_decode_xe_lib.c | H A D | 25-Apr-2025 | 6.8 KiB | 288 | 212 | |
error_decode_xe_lib.h | H A D | 25-Apr-2025 | 2 KiB | 61 | 41 | |
gfx10_context.h | H A D | 25-Apr-2025 | 8.2 KiB | 169 | 127 | |
gfx8_context.h | H A D | 25-Apr-2025 | 7.6 KiB | 159 | 118 | |
intel_aub.h | H A D | 25-Apr-2025 | 6.8 KiB | 181 | 90 | |
intel_context.h | H A D | 25-Apr-2025 | 3.8 KiB | 107 | 56 | |
intel_dev_info.c | H A D | 25-Apr-2025 | 10.6 KiB | 299 | 240 | |
intel_dump_gpu.c | H A D | 25-Apr-2025 | 22.6 KiB | 819 | 637 | |
intel_dump_gpu.in | H A D | 25-Apr-2025 | 3.4 KiB | 157 | 133 | |
intel_hang_replay.c | H A D | 25-Apr-2025 | 21.1 KiB | 669 | 537 | |
intel_hang_viewer.cpp | H A D | 25-Apr-2025 | 23.3 KiB | 812 | 630 | |
intel_noop_drm_shim.c | H A D | 25-Apr-2025 | 19.7 KiB | 623 | 486 | |
intel_sanitize_gpu.c | H A D | 25-Apr-2025 | 11.2 KiB | 437 | 320 | |
intel_sanitize_gpu.in | H A D | 25-Apr-2025 | 1 KiB | 58 | 45 | |
intel_stub_gpu.in | H A D | 25-Apr-2025 | 1.7 KiB | 87 | 70 | |
meson.build | H A D | 25-Apr-2025 | 6.6 KiB | 216 | 199 |
README.md
1# aubinator_error_decode 2 3This tool allows decode an error state dump generated by the kernel 4driver. 5 6Make a copy of the error state file (i915) : 7``` 8$ sudo cp /sys/devices/pci0000:00/0000:00:02.0/drm/card0/error /tmp/error 9$ sudo chmod go+rw /tmp/error 10``` 11 12Make a copy of the error state file (Xe) : 13``` 14$ sudo cp /sys/class/drm/card0/device/devcoredump/data /tmp/error 15$ sudo chmod go+rw /tmp/error 16``` 17 18Then visualize the error state (from the mesa build directory) : 19``` 20$ ./src/intel/tools/aubinator_error_decode /tmp/error 21``` 22 23# intel_stub_gpu 24 25This tool allows faking a particular device at the ioctl level. This 26is useful to test compiler changes (using shader-db/fossils-db 27replays) across a number of device you don't necessarily have access 28too. 29 30Faking a DG2 device : 31``` 32$ intel_stub_gpu -p dg2 fossilize-replay /path/to/fossilize.foz --enable-pipeline-stats /tmp/dg2.csv 33``` 34 35Faking a ICL device : 36``` 37$ intel_stub_gpu -p icl fossilize-replay /path/to/fossilize.foz --enable-pipeline-stats /tmp/icl.csv 38``` 39 40# intel_error2hangdump 41 42This tool converts an error state dump into an 43uncompressed/easy-to-modify binary file (format described in 44`src/intel/common/intel_hang_dump.h`). 45 46Capture the error state (i915) : 47``` 48$ sudo cp /sys/devices/pci0000:00/0000:00:02.0/drm/card0/error /tmp/error 49$ sudo chmod go+rw /tmp/error 50``` 51Capture the error state (Xe) : 52``` 53$ sudo cp /sys/class/drm/card0/device/devcoredump/data /tmp/error 54$ sudo chmod go+rw /tmp/error 55``` 56 57Convert an error state (from the mesa build directory) : 58``` 59$ ./src/intel/tools/intel_error2hang /tmp/error 60``` 61 62A resulting `error.dmp` file will be created 63 64# intel_hang_replay 65 66This tool replays a binary file generated by `intel_error2hangdump`. 67 68From the mesa build directory : 69``` 70$ ./src/intel/tools/intel_hang_replay -d /tmp/error.dmp 71``` 72 73# intel_hang_viewer 74 75This tool is a editor/visualizer for the file generated by 76`intel_error2hangdump`. When replaying on simulation a few tweaks 77might be needed in order for the simulator to accept the input 78commands (this is due to divergences between the simulation & HW 79implementations). 80 81To visualize a file generated from a DG2 error state (from the mesa 82build directory) : 83``` 84./src/intel/tools/intel_hang_viewer -p dg2 /tmp/error.dmp 85``` 86 87To visualize and edit a file generated from a DG2 error state (from the mesa 88build directory) : 89``` 90./src/intel/tools/intel_hang_viewer -e -p dg2 /tmp/error.dmp 91``` 92