#
…

2026-11-17

00:08jsk_ has joined #asahi-dev
00:10jsk has quit [Ping timeout: 480 seconds]
00:12jsk_ is now known as jsk
01:23nicolas17 has quit [Ping timeout: 480 seconds]
01:26nicolas17 has joined #asahi-dev
02:08bit_runner80 has joined #asahi-dev
02:10bit_runner80 has quit [Remote host closed the connection]
02:15JamesCalligeros[m]wow folks are already noticing the trackpad changes thats awesome
02:38MichaelReeves[m]ok so the server is working well, but the problem is I think we might have to hand-roll the websocket and JSONRPC bits (I'm currently using libraries) because all of them, at some point in their dependency chains, have a wheel with native parts which I don't think will work without notarisation.
02:38MichaelReeves[m]so that's what im doing now, should only take a few more hours (I hope)
02:39MichaelReeves[m]this morning I needed to fix some issues I didn't see last night which took a bit, but overall it seems pretty good now
02:50MichaelReeves[m]wait no actually I think I spoke too soon. web sockets library should be fine I think, I was looking into it now
02:56lector5016 has joined #asahi-dev
03:00yurix has quit [Remote host closed the connection]
03:00yurix has joined #asahi-dev
03:00KimTalmo has quit [Remote host closed the connection]
03:09lector1986 has joined #asahi-dev
03:21lector5016 has quit []
03:34lector1986 has quit [Ping timeout: 480 seconds]
03:45lec64380 has joined #asahi-dev
03:49lec64380 has quit [Remote host closed the connection]
03:51lec34620 has joined #asahi-dev
03:53lec34620 has quit [Remote host closed the connection]
03:55lec64676 has joined #asahi-dev
03:56lec64676 has quit [Read error: Connection reset by peer]
03:58lec44838 has joined #asahi-dev
04:07nora_ has joined #asahi-dev
04:09nora has quit [Ping timeout: 480 seconds]
04:11lec44838 has quit [Ping timeout: 480 seconds]
04:11thelounge55 has quit [Ping timeout: 480 seconds]
04:22lec82132 has joined #asahi-dev
04:36lec82132 has quit [Ping timeout: 480 seconds]
04:41lec77863 has joined #asahi-dev
04:55lec77863 has quit [Ping timeout: 480 seconds]
05:00lec95145 has joined #asahi-dev
05:09lec95145 has quit [Ping timeout: 480 seconds]
05:15lec01786 has joined #asahi-dev
05:28lec01786 has quit [Ping timeout: 480 seconds]
05:34lec63993 has joined #asahi-dev
05:43lec63993 has quit [Ping timeout: 480 seconds]
05:47aissen has quit [Ping timeout: 480 seconds]
06:05runxiyu_ has joined #asahi-dev
06:06chadmed has quit [Read error: Connection reset by peer]
06:06chadmed has joined #asahi-dev
06:07runxiyu has quit [Ping timeout: 480 seconds]
06:08chadmed has quit []
06:09chadmed has joined #asahi-dev
06:14SheJessica has joined #asahi-dev
06:16SheJessica has quit [Remote host closed the connection]
06:40sven has quit [Quit: The Lounge - https://thelounge.chat]
06:40sven has joined #asahi-dev
06:51lec08634 has joined #asahi-dev
07:00lec08634 has quit [Ping timeout: 480 seconds]
07:07lec85301 has joined #asahi-dev
07:24lec85301 has quit [Ping timeout: 480 seconds]
07:34Bhyve has joined #asahi-dev
07:42lec85651 has joined #asahi-dev
07:46lec85651 has quit []
07:48lec85799 has joined #asahi-dev
07:52aissen has joined #asahi-dev
07:56ohtwoone has quit [Quit: Cya]
07:58N_Tempus_04 has joined #asahi-dev
08:01lec85799 has quit [Ping timeout: 480 seconds]
08:05ohtwoone has joined #asahi-dev
08:06mattia013 has joined #asahi-dev
08:10mattia013 has quit []
08:11mattia013 has joined #asahi-dev
08:16jvoisin has quit [Ping timeout: 480 seconds]
08:16lec65974 has joined #asahi-dev
08:18sofusjannau: i have not found any tests do you know any? How are you adding fully planer yuv support? I did try to guestimate, but it did not seem to work
08:22jvoisin has joined #asahi-dev
08:25___nick___ has joined #asahi-dev
08:27lec65974 has quit [Ping timeout: 480 seconds]
08:32ohtwoone has quit [Quit: Cya]
08:36ohtwoone has joined #asahi-dev
08:44chadmedi guess we could make some
08:46lec68242 has joined #asahi-dev
09:02lec68242 has quit []
09:04N_Tempus_04 has quit [Read error: Connection reset by peer]
09:11jannausofus: I haven't tested yet. it looked obvious on msr side so I assumed using 3 MSR_STORAGE_1C8B8 planes would work and setting the 3rd plane up would work
09:18sofusYes i tried that also, confusingly it seems only Cb is written to second/third plane
09:21Bhyve has quit []
09:21sofusfor quickly testing you can use `v4l2-ctl`
09:33jannauI was looking for something which verifies the results by comparing it with the result of the same operation in software
09:43sofusthen using gstreamer might be the best option
09:44weirdtreething has quit [Read error: Connection reset by peer]
09:44weirdtreething has joined #asahi-dev
09:51MichaelReeves[m]I ended up just hand rolling WS because I already started it and wanted to finish as it was a cool learning project. works now perfectly, which is great. its only ~300 LoC and I think its cleaner than the mess of external deps and will leave it like that
09:59N_Tempus_04 has joined #asahi-dev
10:00al3xtjames2 has quit [Remote host closed the connection]
10:00al3xtjames2 has joined #asahi-dev
10:04lec54671 has joined #asahi-dev
10:07greguu has joined #asahi-dev
10:09al3xtjames23 has joined #asahi-dev
10:09al3xtjames2 has quit [Remote host closed the connection]
10:09al3xtjames23 is now known as al3xtjames2
10:14lec54671 has quit [Ping timeout: 480 seconds]
10:14___nick___ has quit []
10:19___nick___ has joined #asahi-dev
10:39freetolga has joined #asahi-dev
10:56fake_agent_smith has joined #asahi-dev
11:09lec57968 has joined #asahi-dev
11:22lec57968 has quit [Ping timeout: 480 seconds]
12:00MichaelReeves[m]finally finished going through everything and I've sorted it into nice commits now and it works well. would you like me to try and do that stacked PR thing, or leave it until first one for the refactor is sorted out?
12:01chadmedmight as well give it a go, why not
12:04jannauI think you can only use stacked PRs if the branches are in the target repo
12:06chadmedoh right, another gh enterprise feature they thoughtlessly rolled out to everyone with very little utility
12:06MichaelReeves[m]ah, annoying. well tomorrow I'll push the branch in case anyone wants to see and wait until 1st one is resolved before opening PR
12:07chadmedyou can just open it and say it depends on the first one, or open it as draft
12:07chadmedwe're not gonna merge it prematurely :P
12:28mattia013_ has joined #asahi-dev
12:30salva_ has quit [Read error: No route to host]
12:30salva has joined #asahi-dev
12:32mattia013 has quit [Ping timeout: 480 seconds]
12:32mattia013_ is now known as mattia013
12:38jannauso we're just missing to mark the usb-c ports with "wakeup-source" and fix the irq driver?
12:43lec95972 has joined #asahi-dev
12:47N_Tempus_04 has quit [Ping timeout: 480 seconds]
12:57jannauhuh, I thought aliases were a free form. neither the documentation or the schema yaml mentions any restrictions on entries in /aliases
12:58svenyeah, same *sigh*
12:59svenI also don’t get how the aliases are related to the dt-binding review he wants to retract now
13:00lec95972 has quit [Ping timeout: 480 seconds]
13:00svenwe can just walk the dt in m1n1 instead so I’m just very confused now
13:03jannaumaybe "Do not add instance index (IDs) properties or custom OF aliases" in writing-bindings.rst but it's not clear from the context
13:04jannauI think we just have to mention the aliases in the dt-bindings
13:05svenI’d rather just write code in m1n1 to find the right nodes without aliases 😅
13:05jannausee Documentation/devicetree/bindings/phy/samsung,usb3-drd-phy.yaml for example
13:05jannau"'usbdrd_phy' nodes should have numbered alias in the aliases node, in the form of usbdrdphyN, N = 0, 1... (depending on number of controllers).:"
13:09lec63912 has joined #asahi-dev
13:18lec63912 has quit [Ping timeout: 480 seconds]
13:21sven*sigh*
13:24lec45306 has joined #asahi-dev
13:30N_Tempus_04 has joined #asahi-dev
13:36lec45306 has quit [Ping timeout: 480 seconds]
13:38jannauyou're probably right. I didn't see his email to remove the aliases
14:03al3xtjames2 has quit [Read error: Connection reset by peer]
14:03al3xtjames2 has joined #asahi-dev
14:11al3xtjames2 has quit [Read error: Connection reset by peer]
14:11al3xtjames2 has joined #asahi-dev
14:11aissen has quit [Quit: brb]
14:11aissen has joined #asahi-dev
14:19Bhyve has joined #asahi-dev
14:21Overtone[m] has joined #asahi-dev
14:22Overtone[m]I'm havin an m4 macbook and would like to run or have a part on the development of asahi for my device but that's my only device so what do you recommend?
14:23Overtone[m]I have somewhat mediocre experience with linux (used as my only os for 4yrs at least but wont be that confident still); somewhat say know programming a bit but I'm not by all means experienced in low level programming
14:31N_Tempus_04 has quit [Ping timeout: 480 seconds]
14:41chadmed has quit [Read error: Connection reset by peer]
14:42chadmed has joined #asahi-dev
14:43lec27736 has joined #asahi-dev
14:43chadmed has quit []
14:43chadmed has joined #asahi-dev
14:52lec27736 has quit [Ping timeout: 480 seconds]
15:02thelounge55 has joined #asahi-dev
15:08LarstiQchadmed: hmm, amount of utility depends on how many of your contributors aren't also committers? Definitely not an enterprise only solution
15:09lec91345 has joined #asahi-dev
15:18lec91345 has quit [Ping timeout: 480 seconds]
15:29Bhyve has quit []
15:32jannauOvertone[m]: do you have access second non-appple silicon computer? without it development will be annoying. I believe M4 support is at a state where it is possible do something but it'll be hard to learn from when something does not work
15:34N_Tempus_04 has joined #asahi-dev
15:34jannauthe aliases were a mayor help matching ADT devices
15:35Overtone[m]jannau: I don't have a secondary non-Apple computer.
15:36jannaufixing touchbar and atcphy atm. touchbar was ok. already kinda hardcoded to the only 2 devices
15:36jannauatcphy is annoying
15:36svenah... I was kinda working on atcphy and tbt/nhi in parallel
15:37svenfor atcphy I think we can patch the usb2phy regs to adt reg[2]
15:37sven*match
15:37svenI haven't written much code yet though so feel free to take over :D
15:38svenfor tbt I'd match the "rc" reg to adt reg[2] to find the parent node
15:38svenand then just look for the NHI in its children
15:39lec91672 has joined #asahi-dev
15:40jannauwe don't even have matching addresses? I've factored so far the ADT address collection from dt_disable_missing_devs() and written fdt_node_offset_by_compatible_suffix() so we can iterate over nodes which are compatible to "-atcphy$"
15:41svenso my plan was iterate over nodes by compatible, then extend dt_get_address to dt_get_address_by_index (or maybe even dt_get_address_by_name) to match against the right adt reg index
15:48lec91672 has quit [Ping timeout: 480 seconds]
15:48jannauOvertone[m]: my idea would be to create a secondary macos install and partition your ssd to create a linux VM in macos which uses SSD partitions as storage. The linux partition when could be used from the VM and from booting linux via m1n1 on the secondary macos.
15:49svenoh, lol, or just construct the alias rvalue in m1n1 if we want to hack this :D
15:50jannauThis is a little complicated. If you're confident that you'll manage to set the Linux VM up, we can discuss how to build and boot Linux kernel via m1n1 on the secondary macos
15:50jannaumatching addresses by iterating over compatible FDT node was my plan as well
15:52jannaufor usb the addresses haven't changed (much) so we could probably just hardcode
15:52jannaunot really possible for other devices
15:54svenoh well.. if we need to do that matching anyway we may as well do everything that way then
15:59svenso, uh, do you want to just continue then? As I said, I haven’t written any code yet and just thought about what I was going to do
15:59Overtone[m]s/thing/things/
16:01fl0_idOvertone[m] you could find most of this in docs - VM because it does not work fully / usable on real hardware yet and you have only one machine. second install, because to be able to use it via VM AND via real hardware (eventually) you need to install linux like asahi does, which uses a stub macos install like all asahi installs
16:02fl0_idthe VM would start from you normal macos install
16:02fl0_idbut use physical partitions that the real hardware can also use
16:03Overtone[m]fl0_id: But the real device is the real device yet a virtual machine especially in ARM has only limited subset of the host's; like it can't AFAIK even EL3.
16:03Overtone[m]How would a virtual machine use real hardware's?
16:03fl0_idthat way you could try things more easily. but make extra sure you use the right partitions, and you might need to use terminal commands to create the vm
16:04fl0_idthe VM does not when it is running from the VM, but afaik you can give it access to a real block device/partition
16:04fl0_idthe rest of the hw is virtualized
16:04fl0_idbut when you start if without VM, it will use real HW
16:05Overtone[m]If we're developing the kernel and drivers specifically for Apple Silicon hardware, what exactly can we test in a VM that would be useful for bare-metal bring-up?
16:06lec89087 has joined #asahi-dev
16:07svenyou need the Linux vm to build the Linux kernel, that’s why it was suggested
16:08Overtone[m]Actually you don't. Currently I'm building mainline Linux kernel up; within an APFS case-sensitive storage (not a container, not anything else).
16:08Overtone[m]IDK correct if I'm wrong.
16:09Overtone[m]* APFS case-sensitive virtual storage, * storage partition (not a
16:09fl0_idOvertone[m] first you can familiarize yourself with the setup. yes in theory you can build it without, but it's a pain. afaik case sensitive storage is not enough. and without some more setup, you cannot test anyway. you could also cross-compile on a linux machine...
16:11hardy94 has joined #asahi-dev
16:13Overtone[m]Anyways lets assume I did compile the kernel successfully, no problems right there; whats the next step?
16:15fl0_idfollow the docs, install second normal or stub macos isntall
16:16fl0_idthen install m1n1 over that
16:16fl0_idwith whatever patches you want
16:18svenIt’s all in the docs
16:18fl0_idyou can get this from docs and irc chat logs. basic workflow is observe via m1n1 hypervisor, while being booted into a 2nd macos with kdk installed (macos running in m1n1 hv)
16:22jannauthe main point of using the VM on physical storage is that you can work on the same source when booted Linux and macOS. It's probably the easiest way to install Linux on M4 devices right now and verify that it boots
16:39crabbedhaloablut has quit []
16:39crabbedhaloablut has joined #asahi-dev
16:46lec89087 has quit [Ping timeout: 480 seconds]
17:01Bhyve has joined #asahi-dev
17:18lec61769 has joined #asahi-dev
17:29Ardu0us_ has quit [Quit: %Reality broken: (I)gnore, (R)etry, (A)bort%]
17:30Ardu0us has joined #asahi-dev
17:32N_Tempus_04 has quit [Ping timeout: 480 seconds]
17:33lec61769 has quit [Ping timeout: 480 seconds]
17:37lec19688 has joined #asahi-dev
17:51lec19688 has quit []
18:08Bhyve has quit []
18:10lec30872 has joined #asahi-dev
18:24lec30872 has quit []
18:30freetolga has quit []
18:34yukacloudflare captcha reliably crashes my firefox :/
18:34yuka*M1 Pro
18:44lec00426 has joined #asahi-dev
18:48jannau"Couldn't sanitize GL_RENDERER AGX G13/G14" is expected, "dmabuf image neither requires nor prefers a dedicated allocation" doesn't sound fatal eitherand I can't find references to it in web search
18:56lec00426 has quit [Ping timeout: 480 seconds]
19:00fossdd has quit [Remote host closed the connection]
19:01fossdd has joined #asahi-dev
19:10lec78698 has joined #asahi-dev
19:19lec78698 has quit [Ping timeout: 480 seconds]
19:19roxfan has joined #asahi-dev
19:22roxfan2 has quit [Ping timeout: 480 seconds]
19:55lec43438 has joined #asahi-dev
20:04lec43438 has quit [Ping timeout: 480 seconds]
20:12halloy2736 has joined #asahi-dev
20:15al3xtjames2 has quit [Quit: al3xtjames2]
20:27lec69245 has joined #asahi-dev
20:29sansara has quit []
20:29sansara has joined #asahi-dev
20:32tjemke771 has joined #asahi-dev
20:34tjemke774 has joined #asahi-dev
20:36lec69245 has quit [Ping timeout: 480 seconds]
20:37tjemke77 has quit [Ping timeout: 480 seconds]
20:37tjemke774 is now known as tjemke77
20:37mattia013 has quit [Remote host closed the connection]
20:41halloy2736 has quit [Remote host closed the connection]
20:42tjemke771 has quit [Ping timeout: 480 seconds]
20:43tjemke776 has joined #asahi-dev
20:49tjemke77 has quit [Ping timeout: 480 seconds]
20:49tjemke776 is now known as tjemke77
20:51fake_agent_smith has quit [Ping timeout: 480 seconds]
20:51fake_agent_smith has joined #asahi-dev
21:04___nick___ has quit [Remote host closed the connection]
21:05yurix has quit [Remote host closed the connection]
21:07yurix has joined #asahi-dev
…