12:05 hakzsam: agd5f_: hi, were you able to make progress on reporting VM faults to the userspace? You sent me a branch few months ago. This could be very useful for debugging VM faults in RADV because it should be possible to associate VA ranges to vulkan objects somehow (use-after-free could be detected that way for example)
12:06 hakzsam: there is a couple of gpu postmortem vk extensions that I would like to implement but with the current state of things it's not possible
14:50 agd5f: hakzsam, branch is still there, just waiting for userspace to make use of it: https://gitlab.freedesktop.org/agd5f/linux/-/commits/gpu_fault_info_ioctl
14:50 agd5f: IIRC, there was a vulkan extention that could use this
14:50 hakzsam: yeah
14:51 hakzsam: I didn't know that you was waiting for userspace because I was waiting for kernelspace :)
14:51 hakzsam: I will hook up it then
14:52 hakzsam: can you rebase eventually though?
14:52 agd5f: yeah, I will rebase
14:52 hakzsam: thanks
17:48 cheako: For RMV `scripts/setup.sh` references `/sys/kernel/tracing/` isn't the supposed to be `/sys/kernel/debug/tracing/`?
17:55 pixelcluster: cheako: no, /sys/kernel/debug/tracing is the legacy directory that was used before 4.1, see https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/trace/ftrace.rst#n69
18:49 cheako: pixelcluster: What's the application name supposed to be? I tried the readlink from `/proc/###/exe` and I tried the process `$0`.
18:50 cheako: that's `/home/cheako/.steam/debian-installation/compatibilitytools.d/GE-Proton7-29/files/bin/wine64-preloader` and `Z:\home\cheako\.steam\debian-installation\steamapps\common\No Man's Sky\Binaries\NMS.exe`
18:52 cheako: Venemo: Are there instructions for running RMV on the steamdeck?
18:52 Venemo: yes
18:53 Venemo: though I don't think this is practical at the moment. current mesa version shipped on the Deck doesn't have the RMV support yet
18:54 pixelcluster: cheako: what do you need the app name for?
18:54 cheako: pixelcluster: If I don't need the apps name, then I'm following the wrong instructions.
18:54 pixelcluster: which instructions do you follow?
18:57 cheako: Honestly what I'm working on for instructions is "Use radeon memory visualiser, it's runs immediatly after thinking about it" Then there is "You click on ok inside Radeon Developer Panel."
18:58 pixelcluster: the radeon developer panel isn't used at all by radv
18:59 pixelcluster: you just run the setup.sh script and set the environment variables MESA_VK_MEMORY_TRACE=n to capture the nth frame, or MESA_VK_MEMORY_TRACE_TRIGGER=/tmp/file to capture as soon as a file named /tmp/file is created
19:01 Venemo: but all that is a moot point until we ship a new enough mesa on the Deck
19:04 pixelcluster: seems like they're currently trying on desktop
19:04 pixelcluster: which works with 23.0/main
19:27 cheako: I'm on multiple systems.
23:33 cheako: Does anyone know why 8 months ago I was interested in the line count of these files? line_count("debug/dri/0/amdgpu_vram_mm"), line_count("debug/dri/0/amdgpu_gtt_mm"),