#
✕ nick:sofus
#asahi-dev · 2026-10-25 16:39
sofusTechnically the driver depends on magic-mouse having mtp thing, but maybe that can just be ignored. If the dockchannel-hid driver works with the actuator, maybe its enough to simply write 'depends on: xxx'
#asahi-dev · 2026-10-25 16:38
sofusAmazing! Im not super familiar with how to handle dependencies. The dockchannel-hid driver which i imagine is the biggest pre-requisite, is activly being upstreamed
#asahi-dev · 2026-10-22 20:39
sofusJamesCalligeros[m]: i dont think a few reads actually matters, most of the time is spent waiting for the hw, we cant program it any faster
#asahi-dev · 2026-10-22 20:38
sofusEveryday is a bad day for github :(
#asahi-dev · 2026-10-21 21:10
sofushuh i remembered it as more, there is also the smaller address space quirk, but thats peanuts
#asahi-dev · 2026-10-21 20:55
sofusbut i dont think its enough to matter
#asahi-dev · 2026-10-21 20:54
sofusthat sould be for the neo. in avd-next the tiers are used a few other places i think
#asahi-dev · 2026-10-21 20:47
sofuswe could collapse the tiers at the cost of a few extra reads. We could do the same for the versions but i would prefer not to (most registers differ)
#asahi-dev · 2026-10-21 20:31
sofusUnkown on m1, but otherwise yes. What would the benefit be by reducing the amount?
#asahi-dev · 2026-10-20 08:43
sofusmaybe updating to expect multi-plane could also fix the other bug
#asahi-dev · 2026-10-20 08:40
sofuscant it be called once per plane?
#asahi-dev · 2026-10-19 14:07
sofusbtw, should the gpu export the buffer as interchange?
#asahi-dev · 2026-10-19 14:05
sofusfair, i think mpv ignores height/width. The rest should be copied. Maybe the incorrect buffer size could come from a pitch*height (which would be wrong)
#asahi-dev · 2026-10-19 14:00
sofuswhat do you think is wrong?
#asahi-dev · 2026-10-19 13:05
sofusno sorry i confused myself and looked at hwdec instead of vo
#asahi-dev · 2026-10-19 13:02
sofusi think the format could come from ffmpeg
#asahi-dev · 2026-10-19 13:01
sofusoh no :(
#asahi-dev · 2026-10-19 12:45
sofusafbc is not even used, i have no clue why its there
#asahi-dev · 2026-10-19 12:41
sofuschadmed: are you sure? At least not for the dcp driver right?
#asahi-dev · 2026-10-19 12:40
sofussorry, brainfart. fullscreen and 'mpv --video-unscaled' can help
#asahi-dev · 2026-10-19 12:38
sofusit works for me, are you sure its doing direct scanout?
#asahi-dev · 2026-10-19 12:37
sofuschadmed: did you check direct scanout works?
#asahi-dev · 2026-10-19 12:27
sofusthe size should come from the avd driver. It wants 64 aligned width and 16 aligned height
#asahi-dev · 2026-10-19 12:25
sofusthe size should not differ between codecs, so thats kinda confusing
#asahi-dev · 2026-10-19 12:24
sofusyeah thats one of the 'types'
#asahi-dev · 2026-10-19 12:16
sofusas in interchange buffer size is wrong? That must mean either vaapi or gpu gets the wrong size
#asahi-dev · 2026-10-19 11:52
sofusworks for me on dwl if you want something lightweight
#asahi-dev · 2026-10-19 11:51
sofusanything wlroots based will likely be ok. I had to `WLR_RENDERER=vulkan` and `WLR_RENDER_DRM_DEVICE=/dev/dri/renderD128`
#asahi-dev · 2026-10-19 11:39
sofushmm i dont think i did anything special. I had all sort of issues until i forced my compositor to use vulkan. Im not sure if something like that could apply to kwin
#asahi-dev · 2026-10-19 08:31
sofuswhy in the world would the highlight color be so subtle??
#asahi-dev · 2026-10-19 08:28
sofusthe part where it sets bytesperline if the format is interchange
#asahi-dev · 2026-10-19 08:11
sofusremove this https://github.com/sofus13/linux/commit/79c4964f53b0678b4e3f37f4ca167546234fbad0#diff-a86fccc634687965763a3bf4ae1daddf5c036ce1fb6c7f7722c73eab15ddf33aR133
#asahi-dev · 2026-10-19 08:11
sofusoh sorry. Thats a kernel change i forgot to handle in the vaapi driver
#asahi-dev · 2026-10-19 07:43
sofusi think its the setup, some alignment thing and a third thing
#asahi-dev · 2026-10-19 07:42
sofussometimes every second tile on the first row look correct
#asahi-dev · 2026-10-19 07:41
sofusthere seems to a few different kinds of errors. Sometimes the 'shapes' are kinda correct and its just blocky. Other times it looks mostly uninitialized (the cyan color + a few blocky things)
#asahi-dev · 2026-10-19 07:39
sofusrender incorrectly
#asahi-dev · 2026-10-19 07:38
sofusoh you mean asahi-wip...
#asahi-dev · 2026-10-19 07:38
sofusi have used direct scanout for the last few weeks
#asahi-dev · 2026-10-19 07:38
sofusi did try to fix the interchange setup, but saw no difference. Also note the metadata setup
#asahi-dev · 2026-10-19 07:37
sofusthanks, AX makes a lot more sense. I pushed kernel changes to avd-interchange and vaapi to interchange. Please test that direct scanout works first
#asahi-dev · 2026-10-19 07:12
sofuswill do
#asahi-dev · 2026-10-19 07:09
sofusi can prepare a little patch for you, otherwise it would be the ml version together with the vaapi vrapper branch
#asahi-dev · 2026-10-19 07:07
sofusi also think it suffers from the same BOMDAS error for the packed formats, but im not sure if they can even be imported
#asahi-dev · 2026-10-19 07:07
sofusJamesCalligeros[m]: no, i tried a few things but could not get fix it / change anything. Mesa ignores the offset and the size calculations seem wrong (including meta)
#asahi-dev · 2026-10-18 11:44
sofusm3 pro, i had the same deferred probe and cio pmgr things
#asahi-dev · 2026-10-18 11:40
sofuschadmed: re usb issue. I had the exact same symptoms, iirc CONFIG_USB4=y fixed it
#asahi-dev · 2026-10-16 10:05
sofusleio: yeah exactly
#asahi-dev · 2026-10-16 10:05
sofusno v4l2 fourccs are actually fourcc's
#asahi-dev · 2026-10-16 09:32
sofusthanks, it was mainly for the v4l2-fourccs, but im considering renaming my other stuff from 'comp' to 'ix', i think being consistent makes sense

plus ›