#
#asahi-dev · 2026-08-29 13:18
sofusbasicly there is no interop, each client should know "this format needs this drm-modifier"
#asahi-dev · 2026-08-29 13:17
chadmedi recommend the overlay plane with interchange support so that you dont smush the tty
#asahi-dev · 2026-08-29 13:17
chadmedreplace plane-id with the drm object id of whichever surface you want to put the video on
#asahi-dev · 2026-08-29 13:17
chadmedkmssink driver-name=apple skip-vsync=true plane-id=40
#asahi-dev · 2026-08-29 13:16
sofusthanks...
#asahi-dev · 2026-08-29 13:16
sofusgod dam :(
#asahi-dev · 2026-08-29 13:15
chadmedits just apple
#asahi-dev · 2026-08-29 13:15
sofusit fails at the open step, i tried with driver-name=apple-drm and appledrm
#asahi-dev · 2026-08-29 13:14
chadmedyou need to disable vsync, we dont have fences
#asahi-dev · 2026-08-29 13:14
chadmedim not 100% sure how v4l2 format and drm format modifier interop is supposed to work at this point, maybe we need to allow interchange even when its not explicitly requested by a drm client
#asahi-dev · 2026-08-29 13:14
sofusi might be stupid, but i was not able to get it running, even without interchange
#asahi-dev · 2026-08-29 13:13
chadmedyou might want to try gstreamer's kmssink
#asahi-dev · 2026-08-29 13:12
sofusyes
#asahi-dev · 2026-08-29 13:12
chadmedhave you applied both the kernel and mesa branches
#asahi-dev · 2026-08-29 13:12
sofusi suppose my hardcoded offsets/strides are wrong, but it would be nice if theres an "easy" way to do this
#asahi-dev · 2026-08-29 13:11
sofuschadmed: how would you recommend i test the interchange stuff? I tried just adding the formats to ffmpeg and building mpv+ffmpeg, but i think the gpu rejects that
#asahi-dev · 2026-08-29 12:50
yukaand/or u-boot
#asahi-dev · 2026-08-29 12:50
yukaYeah I can figure out how to add it to /chosen/bootargs, just wasn't sure if it would actually be picked up by the kernel
#asahi-dev · 2026-08-29 12:46
jannauyuka: looks like it'll easier to handle in kboot.c:dt_set_chosen() directly
#asahi-dev · 2026-08-29 12:42
sven(the binary re problem)
#asahi-dev · 2026-08-29 12:42
svenand hopefully i'll have the hv up on at least m4 soon(tm) so that the problem disappears
#asahi-dev · 2026-08-29 12:41
sven*also
#asahi-dev · 2026-08-29 12:41
svenwe should probably as add nohibernate=1 or however that arg is called instead of carring that downstream patch that we have
#asahi-dev · 2026-08-29 12:41
jannauand adding m4 support to u-boot
#asahi-dev · 2026-08-29 12:41
ivoszbg[m]sven: ic ic
#asahi-dev · 2026-08-29 12:40
sven+they
#asahi-dev · 2026-08-29 12:40
sven(some context regarding binary re: unless you're experienced most people end up writing asm2c code and we're trying to be as careful as possible to avoid making apple angry because if send a c&d or similar the project is effectively dead)
#asahi-dev · 2026-08-29 12:40
ivoszbg[m]will see
#asahi-dev · 2026-08-29 12:40
ivoszbg[m]like by adding a "reversed" prefix or something
#asahi-dev · 2026-08-29 12:40
jannauafter implementing kboot_append_chosen()
#asahi-dev · 2026-08-29 12:40
ivoszbg[m]yuka: i might just mark the whole branch
#asahi-dev · 2026-08-29 12:40
jannausome thing like `if (m4) kboot_append_chosen("bootargs", "idle=none");` should work
#asahi-dev · 2026-08-29 12:39
yukathank you jannau
#asahi-dev · 2026-08-29 12:39
jannauu-boot handles bootargs via /chosen/bootargs, see linux.py / kboot_set_chosen
#asahi-dev · 2026-08-29 12:38
yukaOf course we can't force you to do anything in your fork, but it would be appreciated so that nobody accidentally pulls or reads those commits who does not want to be involved with binary re
#asahi-dev · 2026-08-29 12:37
yukaivoszbg[m] also please make it obvious in the commit message that it is binary re derived work, something like [TAINTED] prefix
#asahi-dev · 2026-08-29 12:36
ivoszbg[m]sven: yeah i get it, will just keep that work of mine in my fork :P
#asahi-dev · 2026-08-29 12:35
svenwe really try to avoid that whenever possible here
#asahi-dev · 2026-08-29 12:35
svenand yeah, no code contributions if you've done binary re
#asahi-dev · 2026-08-29 12:35
yukaI have a lot of nodes just commented out in mine
#asahi-dev · 2026-08-29 12:34
yukapmgr is also a bit tricky on t604x and t6050
#asahi-dev · 2026-08-29 12:34
ivoszbg[m]think we're missing just smp now
#asahi-dev · 2026-08-29 12:34
svenbut as soon as it has the basics stuff (smp, irq, serial console, etc.) i'll take them
#asahi-dev · 2026-08-29 12:33
sveni'm not gonna accept device tress without smp fwiw
#asahi-dev · 2026-08-29 12:32
chadmedsven: ack
#asahi-dev · 2026-08-29 12:32
chaos_princessyes, if you edit the wiki with new registers - it counts as that
#asahi-dev · 2026-08-29 12:32
yukaor something like that
#asahi-dev · 2026-08-29 12:32
yukaYes, exactly. You know how it works. Now you have to document it so that I can write the upstreamable code.
#asahi-dev · 2026-08-29 12:32
ivoszbg[m]yuka: i'd guess that the "This involves having separate teams, one of which does the reverse engineering and writes documentation, and the other implements that documentation into the final product" would apply here though?
#asahi-dev · 2026-08-29 12:31
svenchadmed: no idea, ours i guess though

plus ›