#
✕ nick:jannau
#asahi-gpu · 2026-02-28 07:48
jannauyou can't really compare gpu userspace features to macos since it's will be a different implementation due to metal vs. opengl/vulkan
#asahi-gpu · 2026-02-28 07:45
jannauI think it's entirely possible that firefox' webgpu support isn't finished and that it is disabled for reasons
#asahi-gpu · 2026-02-28 07:40
jannauonly radeonsi, intel and zink implement EXT_semaphore(_fd)? in mesa
#asahi-gpu · 2026-02-28 07:39
jannaucalling a implementation broken because it doesn't implement an extension seems a little over the top. before EXT_semaphore_fd it needs needs EXT_semaphore first.
#asahi-gpu · 2026-02-18 22:27
jannauMary: no problem. I could have done it myself as well. no idea if that mr was actually importnat
#asahi-gpu · 2026-02-08 19:23
jannauso is interleaved CbCr for NV10 and P010
#asahi-gpu · 2026-02-08 13:52
jannaucommented in !34960 that using glcts for all tests at least doesn't slow the tests down on asahi
#asahi-gpu · 2026-02-08 13:45
jannauI saw with the combined list Fails in KHR-GL46.texture_query_lod.sampler{1,2,3}D_test but not with the original suite toml
#asahi-gpu · 2026-02-08 13:14
jannaulet's do that. any specific reason for the non-pot surface width/height? CI config in mesa uses 256/256 consistently
#asahi-gpu · 2026-02-08 13:03
jannauoliver: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39763 and update lamci.sh. test_gl will then execute the OpenGL CTS
#asahi-gpu · 2026-02-08 12:11
jannauit finished on g14s without unexpected failures
#asahi-gpu · 2026-02-08 10:47
jannauduh. I guess I'll finish the asahi OpenGL CI expectations now
#asahi-gpu · 2026-02-08 10:46
jannaudue to the placement in the best_modifier array I expect interchange to be used even when it shouldn't be. but yes when CTS passes it'll a good idea to break interchange on purpose to verify that it is exercised
#asahi-gpu · 2026-02-08 10:43
jannaufor development it'll probably more comfortable to have a local CTS build so you can run single tests under a debugger
#asahi-gpu · 2026-02-08 10:41
jannauthe tests test everything. your mesa changes are responsible to allow only working use cases
#asahi-gpu · 2026-02-08 10:31
jannauCTS runs have the potential to crash the GPU so do not run this with unsaved work in your desktop session
#asahi-gpu · 2026-02-08 10:30
jannauoliver: https://gitlab.freedesktop.org/jannau/lamci
#asahi-gpu · 2026-02-07 22:07
jannauit is annoying to build and run. I have some scripts to use the container images mesa builds for their CI
#asahi-gpu · 2026-02-07 22:06
jannauvulkan and opengl CTS is at https://github.com/KhronosGroup/VK-GL-CTS/tree/main
#asahi-gpu · 2026-02-07 22:05
jannauthe hope is that CTS run will find if there are corner cases which can be triggered by the mesa drivers
#asahi-gpu · 2026-02-07 22:04
jannaualso possible that the implementation was simply not finished at the release deadline and so it's not used
#asahi-gpu · 2026-02-07 22:02
jannauit's possibly that that just affects some corner cases like specific GPU generations/revisions/firmware versions
#asahi-gpu · 2026-02-07 22:01
jannauputting DRM_FORMAT_MOD_APPLE_INTERCHANGE_COMPRESSED in front of agx_best_modifiers[] like in the MR might be enough. Based on tracing macos uses shaders when the GPU reads interchange textures. The obvious conclusion was that it can't read them directly
#asahi-gpu · 2026-02-07 21:25
jannauoliver: did you run OpenGL/Vulkan CTS on the mesa changes? Ideally with further changes to ensure the interchange format is used whenever it can be
#asahi-gpu · 2026-02-05 07:54
jannauwe currently do not have to care
#asahi-gpu · 2026-02-05 07:40
jannauI don't think mesa can but the firmware has yuv matrices. not sure if they are used for sampling or rendering to yuv
#asahi-gpu · 2026-02-05 07:30
jannautile size depends on element size, 8-bit YUV has 32x32 tiles
#asahi-gpu · 2026-02-05 07:28
jannauyou don't have to use '&l1r' (fot ARGB2101010) as pixelformat?
#asahi-gpu · 2026-02-05 07:27
jannauoliver: great, congrats
#asahi-gpu · 2026-01-29 11:44
jannaupuzzled how the linear scanout could not match your expectation
#asahi-gpu · 2026-01-29 11:40
jannauoliver: I'm not sure I understand what you're exactly doing. are you trying to scanout a interchange_compressed surface created by a modified mesa? or a interchange surface rendered on macos and dumped?
#asahi-gpu · 2026-01-29 08:35
jannauhttps://www.collabora.com/news-and-blog/blog/2020/04/08/adding-mainline-arm-frame-buffer-compression-support-for-rockchip/ has an overview how AFBC works
#asahi-gpu · 2026-01-29 08:31
jannauI expect the compression metadata to contain offset into the frame buffer to indicate where the tile data is stored. compare how Arm's compressed framebuffer format works
#asahi-gpu · 2026-01-29 08:29
jannauoliver: my point being that is that I expect a mostly solid color picture to compress well. As in just a few bytes per page sized tile. so your linear scanout doesn't look that unexpected to me
#asahi-gpu · 2026-01-29 07:29
jannauoliver: have you looked at the interchange_compressed framebuffer in an image viewer? Does it look like the linear scanout of it?
#asahi-gpu · 2026-01-28 21:29
jannauchadmed was claiming that dcp supports the agx modifiers as well but had trouble filling the compression metadata
#asahi-gpu · 2026-01-28 21:28
jannaudoes the amount of data change if you render a more complex (less compressible) scene?
#asahi-gpu · 2026-01-07 20:59
jannaui.e. at least one of the options was enabled
#asahi-gpu · 2026-01-07 20:58
jannaubigmac: eric tested gles1,no-gles2,no-opengl / no-gles1,gles2,no-opengl / gles1,gles2,opengl / gles1,gles2,no-opengl / no-gles1,no-gles2,opengl
#asahi-gpu · 2026-01-07 20:53
jannaualso I don't really expect much (if any) differences from replacing the direct comparissons with the helper calls
#asahi-gpu · 2026-01-07 20:49
jannaualyssa: fixing https://gitlab.freedesktop.org/mesa/mesa/-/issues/8340 it seems
#asahi-gpu · 2026-01-07 20:23
jannaudoes that change if only disable 1 or 2 of those options?
#asahi-gpu · 2026-01-07 20:08
jannaucan you check with `LD_DEBUG=files glxgears ...` if the files from your devenv and nothing else gets loaded? I don't see how " -D opengl=false -D gles1=disabled -D gles2=disabled" can end up with any working OpenGL *
#asahi-gpu · 2026-01-07 20:01
jannaubigmac: Eric was comparing file sizes of the library and did not disable every OpenGL api
#asahi-gpu · 2026-01-07 19:48
jannauhk is the vulkan driver. the opengl driver is called asahi. I'm not sure what keeps working with (desktop) OpenGL and OpenGL ES 1.x, 2.x and 3.x disabled. I would expect supertuxkart not to work at all
#asahi-gpu · 2025-12-20 17:23
jannauyes, that's broken. hopefully nicer to fix than using vulkan sparse cts tests
#asahi-gpu · 2025-12-20 16:56
jannauoh, I forgot to write a test for BIND_SINGLE_PAGE
#asahi-gpu · 2025-12-20 16:51
jannauat least we have now some igt-gpu-toosl tests. no command queue / submit tests yet though
#asahi-gpu · 2025-12-20 16:49
jannauunfortunate. The simple VM_BIND tests I wrote for igt-gpu-tools do not fail. I guess I have to debug vk-cts/mesa instead.
#asahi-gpu · 2025-11-02 12:52
jannaufixes pushed to asahi-wip

plus ›