#asahi-dev · 2026-09-24 10:12
jannauafaik DRM_IOCTL_MODE_CREATE_DUMB is not supposed to be work/used with modifiers#asahi-dev · 2026-09-24 10:05
sofusit gets it via DRM_IOCTL_MODE_CREATE_DUMB#asahi-dev · 2026-09-24 10:00
sofusi found it, its using the pitch 'calculcated by the kms driver' to calculate the offsets according to a comment#asahi-dev · 2026-09-24 09:58
JamesCalligeros[m]If the clients are not implementing their consumed APIs properly then they are broken#asahi-dev · 2026-09-24 09:58
JamesCalligeros[m]sofus: the drm driver should not be doing special handling for misbehaving clients#asahi-dev · 2026-09-24 09:54
jannausven: indeed, took a while to consider that the apple one is the only one which needs dt-bindings#asahi-dev · 2026-09-24 09:53
jannausofus: then gstreamer is broken and implicitly relies on either having just a single plane, no offset for the chroma plane(s) or "knowing" the right offset for specific hardware #asahi-dev · 2026-09-24 09:48
svenours was the first (and possibly only) that uses dt-bindings#asahi-dev · 2026-09-24 09:48
sofusi calculate the offset in the dcp driver right now, but i would assume thats forbidden#asahi-dev · 2026-09-24 09:47
svenjannau: probably because i forgot to add it when I added the initial nvme driver :(#asahi-dev · 2026-09-24 09:46
sofusi think thats for something else. At least with gstreamer i think it ignores all v4l2 fields for the drm sizes/pitches#asahi-dev · 2026-09-24 09:44
jannaudoes anyone know if the "NVM EXPRESS DRIVER" MAINTAINERS entry intentionally does not cover Documentation/devicetree/bindings/nvme/#asahi-dev · 2026-09-24 09:36
jannaudata_offset#asahi-dev · 2026-09-24 09:36
jannausofus: data offset in v4l2_plane: https://www.kernel.org/doc/html/v4.9/media/uapi/v4l/buffer.html#c.v4l2_plane#asahi-dev · 2026-09-24 09:32
sofusis userspace supposed to handle the size calculation? In particular the offset to the second plane#asahi-dev · 2026-09-24 09:32
integralpilotyay :)#asahi-dev · 2026-09-24 09:29
JamesCalligeros[m]Lets goooo#asahi-dev · 2026-09-24 09:28
sofusyes! after changing tile_bytes calculation, using 10/20 for bpp and changing the dcp format to 'p420' it works!#asahi-dev · 2026-09-24 09:12
sofusit could actually be the same format as the one i found#asahi-dev · 2026-09-24 09:11
sofusyeah p010 is wrong for interchange i think, or at least avd seems to output something else. We should have 10 bpp (ie. packed)#asahi-dev · 2026-09-24 08:47
sofusthanks!#asahi-dev · 2026-09-24 08:44
jannauhttps://gist.github.com/jannau/3ccc65814c73a8549c04f82e2262730f#asahi-dev · 2026-09-24 08:39
sofusi think im using the wrong format#asahi-dev · 2026-09-24 08:36
sofusi have only tested nv12, but yes#asahi-dev · 2026-09-24 08:35
JamesCalligeros[m]8 bit formats work right?#asahi-dev · 2026-09-24 08:35
JamesCalligeros[m]Janne had some manifest of pixel formats a little while ago but i cant find it#asahi-dev · 2026-09-24 08:20
sofusim talking about yuv surfaces, im getting Decomp fail messages#asahi-dev · 2026-09-24 08:13
JamesCalligeros[m]What is wrong? dcp works with 10 bit argb#asahi-dev · 2026-09-24 08:09
sofusi meant everything, because something is wrong#asahi-dev · 2026-09-24 08:08
JamesCalligeros[m]Its the same#asahi-dev · 2026-09-24 08:07
sofusie tile size and so on#asahi-dev · 2026-09-24 08:06
sofusdoes anyone have the data for a 10b interchange surface?#asahi-dev · 2026-09-24 05:47
schappi2610[m]* thanks a lot. I tested USB-C DisplayPort Alt Mode on my M2 Pro MacBook Pro 14" (2023) with Fairydust.... (full message at <https://matrix.org/oftc/media/v1/media/download/AQ2JnefWkghXySg4eVu6YnKsWrQ9HRpou78yW7vuBWvYIjbXi_mCxXieOv9a3dlw8n-N4_ZLRP57iVJ9PW1gI1ZCehGgz4gwAG1hdHJpeC5vcmcvVEtlWE1VY1JUQ2ZFY2ViUFp5d0tBZlFw>)#asahi-dev · 2026-09-24 05:44
schappi2610[m]* thanks a lot. I tested USB-C DisplayPort Alt Mode on my M2 Pro MacBook Pro 14" (2023) with Fairydust.... (full message at <https://matrix.org/oftc/media/v1/media/download/Afgk4PiLfd-GjbRp_hFIjc1mdOqQxD29oXBUUjejZe-GovA49PV6GZOC5AwyrH9wDj5g_kfIxYD3H7i64ywB2JdCehGgr7WwAG1hdHJpeC5vcmcvdlhieXdqS1B6d1JaUnNnRXNPdEJMRXdM>)#asahi-dev · 2026-09-24 05:43
schappi2610[m]thanks a lot. I tested USB-C DisplayPort Alt Mode on my M2 Pro MacBook Pro 14" (2023) with Fairydust.... (full message at <https://matrix.org/oftc/media/v1/media/download/Ad_se1dwfgGYSVwLIGBpVLnIZlS-QRAho1xWAf4bHVshdCngHqEVBZn_mESRUpsmOkX0IcgF8v0TbHd6FOn0tG1CehGgmRJwAG1hdHJpeC5vcmcvdG1GY055b0Z3RE1CSXdOSXRPWEZYUUdU>)#asahi-dev · 2026-09-24 05:36
JamesCalligeros[m]yes this is expected#asahi-dev · 2026-09-24 05:36
myriaCurrently fairydust blesses a port iirc, so I think this is expected?#asahi-dev · 2026-09-24 05:31
schappi2610[m]integralpilot: it took a while yesterday but it worked. i expanded my grub to boot both kernels: fairydust and stable. Now i encounter the situation that i can use my DP-USB-C monitor on USB-C port 2 but not on Port 1. No big deal for me. in the logs i can see that there is happening a lot when plugging in ;-) USB-C → DP → HPD → EDID/Modi → Modeset → HPD fails → Disconnect → Reconnect → again Modeset#asahi-dev · 2026-09-23 20:34
fl0_id_MaximilianKenfenheuer[m] I think someone wanted to take a look... maybe check irc logs (search) and ask if they are still on it. or check PRs...#asahi-dev · 2026-09-23 19:48
MaximilianKenfenheuer[m]I was planning on taking a look at the keyboard layout stuff, especially fn keys - anyone else on this? #asahi-dev · 2026-09-23 19:48
MaximilianKenfenheuer[m]Hi all! #asahi-dev · 2026-09-23 18:03
tryhard[m]is that like a gaming concept#asahi-dev · 2026-09-23 12:52
FatAutisticMessAs long as this channel is linked to irc i can regenerate my ip endlessly.. you can't ban them all#asahi-dev · 2026-09-23 12:51
FatAutisticMessSurrender! To the Terran Empire!#asahi-dev · 2026-09-23 09:06
integralpilothi! yes, you should install the fairydust kernel if you'd like to test dp alt-mode :)#asahi-dev · 2026-09-23 07:40
schappi2610[m]currently i am on stable but i could install the fairydust kernel to load the right modules.#asahi-dev · 2026-09-23 07:40
schappi2610[m]connected#asahi-dev · 2026-09-23 07:40
schappi2610[m]connected#asahi-dev · 2026-09-23 07:40
schappi2610[m]=== /sys/class/drm/card2-HDMI-A-1/status ===#asahi-dev · 2026-09-23 07:40
schappi2610[m]=== /sys/class/drm/card2-eDP-1/status ===