#
✕ nick:jannau
#asahi-gpu · 2023-08-20 15:32
jannaualyssa: still terrible with asahi/main, still _mesa_GetTexSubImage_sw/util_format_b10g10r10x2_unorm_unpack_rgba_8unorm
#asahi-gpu · 2023-08-20 14:00
jannaunot a problem, kernel build is underway
#asahi-gpu · 2023-08-20 13:54
jannaualyssa: better but still bad with llvmpipe. I forgot/missed the uapi bump
#asahi-gpu · 2023-08-20 13:36
jannaualyssa: I'll try, building asahi/main right now
#asahi-gpu · 2023-08-20 10:48
jannauutil_format_b10g10r10x2_unorm_unpack_rgba_8unorm() called from _mesa_GetTexImage
#asahi-gpu · 2023-08-20 10:47
jannauhmm, it's not kpipewire but kwin causing the high cpu load
#asahi-gpu · 2023-08-19 18:43
jannauresulting in an almost unusable slow system after starting screen sharing with krfb
#asahi-gpu · 2023-08-19 18:42
jannauasking for this gem: https://invent.kde.org/plasma/kpipewire/-/blob/master/src/dmabufhandler.cpp#L185
#asahi-gpu · 2023-08-19 18:41
jannauis there anything to be done in the driver to improve glReadPixels(..., GL_BGRA, ...) on a fbo backed by b10g10r10x2 texture?
#asahi-gpu · 2023-08-17 23:48
jannausee https://github.com/AsahiLinux/linux/issues/72 there is an upstream bug but I think we're partly to blame as well since the mesa version doesn't change
#asahi-gpu · 2023-08-17 23:46
jannau ~/.config/chromium/Default/GPUCache
#asahi-gpu · 2023-08-17 23:46
jannaualyssa: Chromium has its own shader cache
#asahi-gpu · 2023-08-17 23:32
jannauother than that it seems to work ok. comes up reliably at boot and after display standby. only lightly tested
#asahi-gpu · 2023-08-17 23:29
jannauThis is a problem on fedora since clang and bindgen use libllvm.so from llvm-15/16 which breaks build with asahi
#asahi-gpu · 2023-08-17 23:28
jannaurequires 'pd_ignore_unused' (haven't checked why yet), there seems to be some kind of memory hazard in afk.c or dptx.c. works for me only if compiled with clang
#asahi-gpu · 2023-08-17 23:25
jannauonly atc1 works, should be on all machines the port next to the usb-c port with serial
#asahi-gpu · 2023-08-17 23:24
jannaukernel branch: https://github.com/jannau/linux/tree/asahi-6.4-7pre-dcpext_dp_t602x - only works on t602x with 13.5 fw, tested on j474s
#asahi-gpu · 2023-08-17 23:22
jannaulina, marcan: https://github.com/AsahiLinux/m1n1/pull/320 required m1n1 changes, can be merged immediately
#asahi-gpu · 2023-08-17 20:54
jannauanyway, I'll prepare a branch for testing on the mac pro (and the m2 max macbook pro)
#asahi-gpu · 2023-08-17 20:51
jannaulina: did you find an alternative solution for display/gpu testing on the m2 ultra? I finally got dcpext0/dp-altmode to work on t6020
#asahi-gpu · 2023-08-16 08:47
jannauanother reason for starting with opengl was that it clearly would have a driver which can be used
#asahi-gpu · 2023-08-16 08:45
jannaudocumentation is in https://github.com/dougallj/applegpu, makes sense to (re-)read Alyssa's blog post on agx
#asahi-gpu · 2023-08-16 08:41
jannaufoccus is slowly shifting but I think the main missing features for opengl (es) are not good first task
#asahi-gpu · 2023-08-16 08:39
jannauthe "good-first-task" labelled one in https://gitlab.freedesktop.org/mesa/mesa/-/issues/?sort=created_date&state=opened&label_name%5B%5D=asahi&first_page_size=20 maybe
#asahi-gpu · 2023-08-16 08:39
jannaualyssa might have other start task
#asahi-gpu · 2023-08-16 08:37
jannauI think a good starting task atm might be fixing easy failing test cases from the vulkan cts in https://gitlab.freedesktop.org/asahi/mesa/-/tree/agxv/main
#asahi-gpu · 2023-08-16 08:35
jannau`meson devenv` sets the environment up to test drivers from the dev tree
#asahi-gpu · 2023-08-16 08:34
jannauthe mesa driver OpenGL and vulkan drivers (C) can be tested on the development system
#asahi-gpu · 2023-08-16 08:33
jannauiyes: fast iterating on the rust kernel driver works with a development + test machine using m1n1's lightweight hypervisor
#asahi-gpu · 2023-08-09 23:28
jannaulina: no luck with dcpext on t6020. While the dcp/iomfb protocol didn't change between 13.3 and 13.5, the dptxport protocol did change. not dramatically and I think I fixed everything. It seems to work but dcp fails detect a display
#asahi-gpu · 2023-08-09 11:47
jannauand seems to work when booting with the display connected
#asahi-gpu · 2023-08-09 11:47
jannauflaky in the sense that only every 2nd connect works but is stable once a display was detected
#asahi-gpu · 2023-08-09 11:46
jannaulina: I should be able to get branch with dcpext and flaky usb-c dp-altmode running on the m2 pro mac mini
#asahi-gpu · 2023-08-09 11:27
jannauthat required addtional bits in VDM_BARRIER
#asahi-gpu · 2023-08-09 11:27
jannaulina: failing transform feedback tests were KHR-GLES31.core.draw_indirect.advanced-twoPass-transformFeedback*
#asahi-gpu · 2023-08-09 11:25
jannaulina: cluster coherency is based on macOS tracing on M1 Max https://oftc.irclog.whitequark.org/asahi-gpu/2023-07-05#32280709
#asahi-gpu · 2023-08-01 23:38
jannaulina: mac studio m1 ultra has 'afr-perf-states' in the 13.5 ADT but no "apple,afr-opp" property in the linux devicetree
#asahi-gpu · 2023-08-01 22:17
jannaulol, macOS just flashed a full magenta display on shutdown
#asahi-gpu · 2023-08-01 13:22
jannauI've only noticed firefox and kate crashes
#asahi-gpu · 2023-08-01 13:12
jannaumy understandig was that the buggy PER_VMA_LOCK causes random user space memory corruption
#asahi-gpu · 2023-08-01 13:11
jannaunot necessarily use-after-free but random memory corruption
#asahi-gpu · 2023-08-01 12:28
jannauat least that means we (most likely) do not have a use-after-free in mesa
#asahi-gpu · 2023-08-01 12:27
jannauargh, I can't read. CONFIG_PER_VMA_LOCK is not user selectable. I must have mixed it up with CONFIG_PER_VMA_LOCK_STATS
#asahi-gpu · 2023-07-30 17:19
jannauno, bug still there
#asahi-gpu · 2023-07-30 16:53
jannauI wonder whether this might explain explain the heisenbug, I don't think it explains the firefox crash
#asahi-gpu · 2023-07-30 16:52
jannaualyssa: feel free to close when implement a helper in gallium
#asahi-gpu · 2023-07-30 16:51
jannauasahi specific merge request for the constant buffer upload created
#asahi-gpu · 2023-07-30 04:44
jannaufailing with "../src/gallium/drivers/asahi/agx_pipe.c:503: agx_select_best_modifier: Assertion `agx_linear_allowed(pres)' failed."
#asahi-gpu · 2023-07-30 04:44
jannaulina: "asahi: Force linear for SHARED buffers with no/implicit modifier" broke a bunch of (all?) dEQP-EGL.functional.image.*gles2_cubemap* tests
#asahi-gpu · 2023-07-30 04:42
jannaulina: alyssa found the solution and I'm very unsure how to implement it in a general way

plus ›