#asahi-gpu · 2023-07-29 21:20
jannauthat was the only remaining ASAN error in deqp-{egl,gles2,gles3}#asahi-gpu · 2023-07-29 20:17
jannaucomment in llvmpipe's set_constant_buffer suggest asahi's implementation is not sound#asahi-gpu · 2023-07-29 20:02
jannaubreaks if dEQP-GLES2.functional.shaders.swizzles.vector_swizzles.mediump_vec4_wz_vertex is before it in the case list#asahi-gpu · 2023-07-29 19:57
jannautest passes if run standalone, but fails using deqp-runner's case list#asahi-gpu · 2023-07-29 19:04
jannauI gather the problem is that nothing calls agx_set_constant_buffer(..., NULL); when the program is deleted but I don't see what's supposed to do that in the _mesa_delete_program call path#asahi-gpu · 2023-07-29 19:02
jannauthis is probably easier with mesa internals knowledge: https://gist.github.com/jannau/7a65b5baba0b77c9ff7e924c659666f1#asahi-gpu · 2023-07-29 18:37
jannauand there is a use after free in dEQP-ES2#asahi-gpu · 2023-07-29 17:41
jannauany ideas why this didn't cause problems so far?#asahi-gpu · 2023-07-29 17:35
jannauhttps://gitlab.freedesktop.org/asahi/mesa/-/merge_requests/115 I'll look at the memleaks later#asahi-gpu · 2023-07-29 17:25
jannauyes, looks much better with ASAN_OPTIONS=detect_leaks=0, Pass: 2067 and no fails#asahi-gpu · 2023-07-29 17:19
jannaumaybe consistent memleaks#asahi-gpu · 2023-07-29 17:18
jannau"Pass: 0, Fail: 3760, ..." :(#asahi-gpu · 2023-07-29 17:17
jannauevery deqp-egl tests seems to fail under asan#asahi-gpu · 2023-07-29 17:10
jannauthe code was that way since over a year though#asahi-gpu · 2023-07-29 17:06
jannauyes, that's easily fixed, still issues though#asahi-gpu · 2023-07-29 17:02
jannauI'll update to asahi-20230725 to see if it still reproduces#asahi-gpu · 2023-07-29 17:01
jannauasahi-20230706 has according to asan a stack overflow in agx_link_varyings_vs_fs#asahi-gpu · 2023-07-29 13:54
jannauso rewriting mesa in rust it is ;)#asahi-gpu · 2023-07-29 13:52
jannauwhat's the best way to track that? compile mesa with asan? running firefox under valgrind has too much noise#asahi-gpu · 2023-07-29 10:19
jannauit's a little suspicious though that it has only be reported in #asahi-alt with asahi-6.4* and not by asahilinux users who are still on asahi-6.3*#asahi-gpu · 2023-07-29 07:56
jannaumps claims the crashes are not reproducible with asahi-6.4-1 but asahi-6.4-2 with the same mesa version which seems implausible since that's just dart and dcp changes#asahi-gpu · 2023-07-29 07:38
jannauwhen you feel better. take care#asahi-gpu · 2023-07-29 07:37
jannaunot a good one, use firefox for hours/days. seemed to occur less often after updating asahi-20230725, asahi changes in asahi-6.4-3 might be related, see also discussion in #asahi-alt over the last copule of days#asahi-gpu · 2023-07-29 07:21
jannauthe bo looks corrupt#asahi-gpu · 2023-07-29 07:17
jannaubacktrace https://gist.github.com/jannau/4ba4250fded46e41b6ebcc50fd6abedf#asahi-gpu · 2023-07-29 07:13
jannauapaprently an agx_bo with dev == NULL#asahi-gpu · 2023-07-29 07:11
jannaufirefox crashes are agx related. finally one after enabling symbols:: SIGSEV in agx_bo_unreference() ../mesa-asahi-20230725/src/asahi/lib/agx_bo.c:190#asahi-gpu · 2023-07-29 06:25
jannauglxgears seems to kill xwayland here and gnome doesn't restart it#asahi-gpu · 2023-07-29 05:02
jannauXwayland is even more broken for me under gnome. On login I get a broken KGpg window but after that some X11 applications are completly broken, for example glxgears#asahi-gpu · 2023-07-29 04:38
jannaurelevant branch https://gitlab.freedesktop.org/xorg/xserver/-/commits/xwayland-23.1?ref_type=heads#asahi-gpu · 2023-07-29 04:37
jannauRetr0id: can you try to downgrade to Xwayland 23.1.1#asahi-gpu · 2023-07-29 04:36
jannauthere are related changes in Xwayland 23.1.2, for example https://gitlab.freedesktop.org/xorg/xserver/-/commit/73e0510dee175b5c834c1d4c2cb24071b7f84bbf#asahi-gpu · 2023-07-29 04:31
jannauXWayland has probably a lot less commits and there was iirc a release recently#asahi-gpu · 2023-07-29 04:30
jannauI would start with mutter (gnome's compositor) if you're reasonably sure that the gnome update broke it#asahi-gpu · 2023-07-22 17:36
jannauunfortunately many missing symbols but nothing suspicious. killed cleanly and no further kernel messages#asahi-gpu · 2023-07-22 14:28
jannauis there anything useful I can do while the firefox is still "running"?#asahi-gpu · 2023-07-22 14:27
jannau61 times "Blocking due to fragment queue full", 4 times with vertex in dmesg#asahi-gpu · 2023-07-22 14:26
jannausigh, I think I have for the first time the firefox hang. unfortunately on asahi-6.4-3 / asahi-20230706#asahi-gpu · 2023-07-22 12:48
jannauare the regions always the same size?#asahi-gpu · 2023-07-19 11:12
jannaua new DRM format as well#asahi-gpu · 2023-07-19 10:03
jannaulina: https://github.com/jannau/m1n1/tree/m2_dptx_v13_3#asahi-gpu · 2023-07-19 10:00
jannaulooking for the right branch#asahi-gpu · 2023-07-19 09:59
jannaulina: not yet#asahi-gpu · 2023-07-07 14:12
jannaubut I'm using x11_egl as target#asahi-gpu · 2023-07-07 14:12
jannaulina: the pbuffer variant of that test fails as well #asahi-gpu · 2023-07-07 14:10
jannaulina: for i in $(seq 1000); do if ./glcts -n dEQP-EGL.functional.render.multi_context.gles2.rgb888_window | grep -q 'Failed: *1/1'; then echo "$i repeat(s) until fail"; break; fi ; done#asahi-gpu · 2023-07-05 20:57
jannauand the next target where fractional scaling breaks the x11_egl CTS. let's hope my fix gets merged soon so we can run under native wayland#asahi-gpu · 2023-07-05 20:03
jannau"56/56 sessions passed, conformance test PASSED"#asahi-gpu · 2023-07-05 19:30
jannauyou're correct. I think I mixed it up with the SoC family codename#asahi-gpu · 2023-07-05 19:11
jannaulet me test if that breaks something on m1/m2