#
…

2023-11-29

00:24so101 has quit []
00:57tristan2_ has joined #asahi-dev
00:59tristan2 has quit [Ping timeout: 480 seconds]
01:00midou_ has quit [Ping timeout: 480 seconds]
01:00lewurm`` has joined #asahi-dev
01:03lewurm has quit [Ping timeout: 480 seconds]
01:03Dementor has quit [Ping timeout: 480 seconds]
01:12balrog has quit [Quit: Bye]
01:15balrog has joined #asahi-dev
01:18midou has joined #asahi-dev
01:20Dementor has joined #asahi-dev
01:39DannyBmaz: Got the central scrutinizer. Works great on the m3. Thank you!
02:12kidplayer666 has quit [Quit: Connection closed for inactivity]
02:21jeisom has quit [Ping timeout: 480 seconds]
02:57maria has quit [Ping timeout: 480 seconds]
02:57maria has joined #asahi-dev
03:42john-cabaj has quit [Ping timeout: 480 seconds]
04:42tristan2 has joined #asahi-dev
04:43tristan2_ has quit [Ping timeout: 480 seconds]
05:43Wubbzy04 has joined #asahi-dev
05:45capta1nt0ad has joined #asahi-dev
05:55Wubbzy04 has quit [Ping timeout: 480 seconds]
05:56Wubbzy04_ has joined #asahi-dev
06:00Wubbzy04_Hello! I would really like to become a contributor to the project, I've read a bunch of the blog posts and do understand a chunk of it all!
06:01Wubbzy04_New to a open source contributing though, which brought me here to kinda try to talk to people who already are involved in the process.
06:03Wubbzy04_yknow, im also new to IRC Chats lol so if anyone can actually see this message please say something like "its working" hah
06:04elvishjerricco has joined #asahi-dev
06:05elvishjerricco has quit [Remote host closed the connection]
06:08elvishjerricco has joined #asahi-dev
06:15kidplayer666 has joined #asahi-dev
06:17Wubbzy04_ has quit [Ping timeout: 480 seconds]
06:18capta1nt0ad has quit [Ping timeout: 480 seconds]
06:23crabbedhaloablut has joined #asahi-dev
06:26Wubbzy04 has joined #asahi-dev
06:29crabbedhaloablut has quit [Read error: No route to host]
06:30crabbedhaloablut has joined #asahi-dev
06:35skoobasteeve has quit [Ping timeout: 480 seconds]
06:39crabbedhaloablut has quit [Ping timeout: 480 seconds]
06:43crabbedhaloablut has joined #asahi-dev
06:45Wubbzy04 has quit [Ping timeout: 480 seconds]
06:46Wubbzy04 has joined #asahi-dev
06:47gladiac is now known as Guest8515
06:47gladiac has joined #asahi-dev
06:52Wubbzy04_ has joined #asahi-dev
06:53Guest8515 has quit [Ping timeout: 480 seconds]
06:54Wubbzy04 has quit [Ping timeout: 480 seconds]
07:01Wubbzy04_ has quit [Ping timeout: 480 seconds]
07:01elvishjerricco has quit [Read error: Connection reset by peer]
07:01elvishjerricco has joined #asahi-dev
07:10Wubbzy04 has joined #asahi-dev
07:15veebop has quit [Ping timeout: 480 seconds]
07:18Wubbzy04 has quit [Ping timeout: 480 seconds]
07:24mazDannyB: awesome, thanks for letting me know!
07:27Wubbzy04 has joined #asahi-dev
07:58Wubbzy04 has quit [Ping timeout: 480 seconds]
08:07Wubbzy04 has joined #asahi-dev
08:11steven has quit [Quit: ZNC 1.8.2 - https://znc.in]
08:12steven has joined #asahi-dev
08:17pjakobsson has joined #asahi-dev
08:26jannegkettenis: is there a reason why we split the main mmio range up in u-boot?
08:32veloek has joined #asahi-dev
08:48m42uko_ has joined #asahi-dev
08:53m42uko has quit [Ping timeout: 480 seconds]
09:10capta1nt0ad has joined #asahi-dev
09:14Wubbzy04 has quit [Ping timeout: 480 seconds]
09:19Wubbzy04 has joined #asahi-dev
09:19topaz has joined #asahi-dev
09:30veebop has joined #asahi-dev
09:55topaz has quit [Quit: topaz]
10:25Wubbzy04_ has joined #asahi-dev
10:26Wubbzy04 has quit [Ping timeout: 480 seconds]
10:34Wubbzy04_ has quit [Ping timeout: 480 seconds]
10:42Wubbzy04 has joined #asahi-dev
10:53jnn has joined #asahi-dev
10:56Wubbzy04 has quit [Ping timeout: 480 seconds]
10:56jn has quit [Ping timeout: 480 seconds]
11:19Wubbzy04 has joined #asahi-dev
11:32Wubbzy04 has quit [Ping timeout: 480 seconds]
11:34jesse-s has quit [Read error: Connection reset by peer]
11:34msteffen has quit [Write error: connection closed]
11:34jluthra has quit [Write error: connection closed]
11:34jesse-s has joined #asahi-dev
11:34annan_person has quit [Read error: Connection reset by peer]
11:34Manouchehri_ has quit [Read error: Connection reset by peer]
11:34jluthra has joined #asahi-dev
11:34annan_person has joined #asahi-dev
11:34Manouchehri_ has joined #asahi-dev
11:35kidplayer666 has quit [Read error: Connection reset by peer]
11:35irth has quit [Read error: Connection reset by peer]
11:35qyousef has quit [Read error: Connection reset by peer]
11:35irth has joined #asahi-dev
11:35sjg has quit [Read error: Connection reset by peer]
11:35sjg has joined #asahi-dev
11:35qyousef has joined #asahi-dev
11:35kidplayer666 has joined #asahi-dev
11:35msteffen has joined #asahi-dev
11:40Wubbzy04 has joined #asahi-dev
11:47kettenisjanneg: one reason is the PCIe nGnRE "holes"
11:47kettenisthe other reason is to keep the page tables relatively small
11:48kettenisnot sure that actually matters
11:54Wubbzy04 has quit [Ping timeout: 480 seconds]
11:56jeisom has joined #asahi-dev
12:06Wubbzy04 has joined #asahi-dev
12:13chadmed has quit [Remote host closed the connection]
12:14Wubbzy04 has quit [Ping timeout: 480 seconds]
12:22Wubbzy04 has joined #asahi-dev
12:24kidplayer666 has quit [Quit: Connection closed for inactivity]
12:30Wubbzy04_ has joined #asahi-dev
12:30Wubbzy04 has quit [Ping timeout: 480 seconds]
12:40Wubbzy04_ has quit [Ping timeout: 480 seconds]
12:41chadmed has joined #asahi-dev
12:48Wubbzy04 has joined #asahi-dev
12:58Wubbzy04 has quit [Ping timeout: 480 seconds]
13:02Wubbzy04 has joined #asahi-dev
13:34c10l has quit [Quit: Bye o/]
13:39c10l has joined #asahi-dev
14:13Wubbzy04 has quit [Ping timeout: 480 seconds]
14:13kidplayer666 has joined #asahi-dev
14:23Wubbzy04 has joined #asahi-dev
14:32Wubbzy04 has quit [Ping timeout: 480 seconds]
14:41Wubbzy04 has joined #asahi-dev
14:52Wubbzy04 has quit [Ping timeout: 480 seconds]
15:02Wubbzy04 has joined #asahi-dev
15:07john-cabaj has joined #asahi-dev
15:13Wubbzy04 has quit [Ping timeout: 480 seconds]
15:14Wubbzy04 has joined #asahi-dev
15:23Wubbzy04 has quit [Ping timeout: 480 seconds]
15:32Wubbzy04 has joined #asahi-dev
15:34chadmed has quit [Ping timeout: 480 seconds]
15:41Wubbzy04 has quit [Ping timeout: 480 seconds]
15:50Wubbzy04 has joined #asahi-dev
15:53i509vcb has joined #asahi-dev
15:57chadmed has joined #asahi-dev
15:58Wubbzy04_ has joined #asahi-dev
15:59Wubbzy04 has quit [Ping timeout: 480 seconds]
16:03Wubbzy04_ is now known as Wubbzy04
16:23kidplayer666 has quit [Quit: Connection closed for inactivity]
16:23Wubbzy04Hello! I would really like to become a contributor to the project, I've read a bunch of the blog posts and do understand a chunk of it all!
16:23Wubbzy04New to a open source contributing though, which brought me here to kinda try to talk to people who already are involved in the process.
16:25Wubbzy04I'd be happy to just document/test or even some other boring task
16:26Wubbzy04though obviously anything works :)
16:28lonjil has quit [Remote host closed the connection]
16:31gmuuywom has joined #asahi-dev
16:32lonjil has joined #asahi-dev
16:32gmuuywom has quit []
16:44c4sp3r has joined #asahi-dev
16:44ArcaneNibbleWubbzy04: pong. your IRC is working
16:44ArcaneNibblehow familiar are you with linux kernel dev, or reverse engineering?
16:45ArcaneNibbleit'd be nice if Someone(TM) wrote a prores driver
16:49Wubbzy04I had to write a few kernel modules for coursework (college student atm), so I understand the idea behind them
16:50Wubbzy04Id have to learn reverse engineering though, but its something I want to learn so doing it in pursuit of some goal would be cool
16:52erincandescent has joined #asahi-dev
16:59ArcaneNibblethere's #asahi-re for binary RE involving macos drivers, but there's also the option of poking the hardware with m1n1
17:02Wubbzy04do you think there is a preferrable option
17:04Wubbzy04I assume the macos driver approach would be to reverse engineer a macos driver, as to try to re-implement it to work for asahi?
17:06gmuuywom has joined #asahi-dev
17:06c4sp3r has quit [Ping timeout: 480 seconds]
17:09j`eyWubbzy04: RE to understand the HW, then write something in python with m1n1, then write a linux driver
17:12gmuuywom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
17:14gmuuywom has joined #asahi-dev
17:15ArcaneNibbleyeah, you don't want to re-implement exactly what macos does
17:15ArcaneNibbleboth for copyright reasons and also because macos might not always be doing something that makes the most sense for linux (or in general!)
17:17ArcaneNibbleyou should read the copyright and reverse engineering policy first if you haven't already https://asahilinux.org/copyright/
17:17Wubbzy04was just doing that
17:19ArcaneNibbleif you're american like we're assuming and studying CS, you're usually supposed to learn about copyright issues in that one engineering ethics course that nobody pays much attention to ;)
17:19ArcaneNibble(not a dig at you, many people don't understand these issues as well as they ideally should)
17:20Wubbzy04LOL yea I did take a class of that nature
17:21Wubbzy04and yea, I am an american studying CS
17:22gmuuywom has quit [Ping timeout: 480 seconds]
17:25ArcaneNibbleif you're interested in RE you probably want to set up m1n1 with the hypervisor to trace macOS
17:28Wubbzy04Ill work on that
17:37rootbeerdan has joined #asahi-dev
17:41DannyBFWIW - if you need general advice, i'm not just a developer, i'm also an IP lawyer and i've run RE projects safely before :)
17:42DannyBBut i'ma lso not your lawyer, or the project's lawyer, so i can only give you general advice :)
17:44nicolas17damn that screenshot is from 2016
17:45DannyByeah gonna say hopper looks nicer now
17:45DannyBI was responsible for running the team that added windows C++ ABI support to clang/llvm
17:46nicolas17looks nicer, but Apple keeps fucking with the ObjC ABI and random Hopper features keep breaking with it :(
17:46DannyBWhich is the kind of project you want run by an engilawyer
17:47DannyBAnyway, most license clauses are the advanced version of the signs in parking lots that say "not responsible for lost stuff and broken cars" and signs on the back of dump trucks that say "not responsible for broken windshields"
17:47DannyBjust because you write the sign doesn't make it true
17:48DannyB(in mos tstates, dump trucks are responsible for breaking your windshield, and in most parking lots, the store is responsible if your car gets broken into or stuff gets stolen)
17:48nicolas17what a local lawyer with a big presence on twitter calls #LeyMataCartel (law kills sign)
17:50eiln has joined #asahi-dev
17:51* ArcaneNibbleis now in not-USA where the worst of the worst RE restrictions are no longer a thing (e.g. DMCA)
17:51* mazplays Judas Priest's Breaking The Law...
18:00rootbeerdan has quit [Quit: rootbeerdan]
18:00eilnWubbzy04: if you like video you could help fuzz/test coverage for avd
18:01eilnArcaneNibble: I might be able to port APR except I don't have one heh
18:01eilnis decode blocked by a lack of a bitstream parser? if so we could add one to the avd repo
18:02eilnI only see encode in prores.py
18:02ArcaneNibblei don't want to touch linux kernel code because i decompile everything and consider myself super ip-tainted (even though i am quite careful to not taint other people)
18:02ArcaneNibbleoh hm, decode might not ever have been done? or might be sitting in the back of my brain somewhere or in a ghidra project somewhere
18:03ArcaneNibblethe problem is the integration with whatever linux frameworks would be necessary for a "real" driver
18:03eilnyeaah I'm pretty cautious about that. also I don't find disassembly very helpful
18:03ArcaneNibblethe spec for prores bitstreams has been leaked and ffmpeg supports it, although this is missing for prores raw (anybody want to take that?)
18:04eilnis bitstream parsing handled entirely in hardware?
18:05ArcaneNibbleoh wait, it's not leaked, it's actually publicly available
18:05eilnsomeone's gotta parse the headers
18:05eilnwriting one isn't hard, I'm wondering if we have to write one at all
18:06eilnthis affects V4L2 UAPI
18:07ArcaneNibbleyeah i know absolutely nothing about v4l2 uapi and it doesn't interest me much
18:07ArcaneNibblehave to write... a driver?
18:08ArcaneNibblethe m1 max has 2 copies of the prores IP, and the macos driver somehow does some load balancing across them
18:08ArcaneNibbleso we probably want some kind of abstraction
18:09eilnwrite a bitstream parser, sorry
18:11ArcaneNibbleit'd be nice to have one for prores raw
18:11ArcaneNibblejust so it's not a complete black box
18:11ArcaneNibblebut iirc no, we don't need one
18:12jeisom has quit [Remote host closed the connection]
18:12jeisom has joined #asahi-dev
18:13ArcaneNibbleah fuck, prores notes might be on the laptop that died because it got rained on in a field in the netherlands
18:21ArcaneNibblein any case, if the prores decoder has to parse anything at all, it only has to handle the frame header
18:21ArcaneNibblenothing internal
18:23ArcaneNibbleyeah, looks like "decode" at this point consists of one screen of ghidra decompile code only
18:23ArcaneNibbleguess i must've gotten bored
18:28kidplayer666 has joined #asahi-dev
18:30svenfwiw, most European countries have laws that are somewhat similar to the dmca
18:40eiln has quit [Remote host closed the connection]
19:01Wubbzy04So I want to try and write the prores driver, what would a general start be?
19:02Wubbzy04I should first obviosly get m1n1 up and running
19:05Wubbzy04speaking of- I am unsure the best way to do the development
19:07Wubbzy04I have 2 systems: x86 Personal computer, and my m1 macbook air. I assume I would be doing my tests and stuff for the driver on the air, should I be dual-booting asahi & MacOS?
19:07Wubbzy04I dont anticipate doing any of the contributing from my PC
19:19ArcaneNibblewait, does the m1 have prores?
19:23Wubbzy04from a brief look-up, yes
19:23Wubbzy04it has decoding support for prores
19:24Wubbzy04it does not encode from what I am reading
19:26gmuuywom has joined #asahi-dev
19:31jannegwasn't the hw prores decoder/encoder added with m1 pro/max?
19:33crabbedhaloablut has quit []
19:33Wubbzy04I was under the impression that pro/max added accelerators
19:33Wubbzy04but that the base m1 could still decode
19:34c4sp3r has joined #asahi-dev
19:37jannegaccelrators means in this case decoding and encoding engines. those are in apr. the video decoding block supports h264, h265 and vp9
19:43c4sp3r has quit [Ping timeout: 480 seconds]
20:00dylanchapell has quit [Read error: Connection reset by peer]
20:07lena6you'd need to first poke at and trace the hardware with the m1n1 hypervisor and understand how it works, then you can start picturing how a possible driver may be implemented
20:08lena6you can't do step 2 without step 1
20:08dylanchapell has joined #asahi-dev
20:09ArcaneNibbleprores is understood well enough to get started on a driver
20:09ArcaneNibbleeven without the decode descriptor
20:10ArcaneNibbletl;dr it just contains a ring buffer of commands
20:10ArcaneNibbleencode/decode prores/prores-raw (4 possibilities)
20:29Wubbzy04due to lack of storage space preventing me from installing m1n1 and by proxy asahi, I think Im gonna try and make my MacOS boot from my external 2TB SSD so that I have an obscene amount of space lol
20:30Wubbzy04at least compared to my 256GB m1 air
20:30Wubbzy04That shouldnt cause issues with building & running m1n1 right/
20:30Wubbzy04I read online that Apple implemented the ability to boot from external devices recently
20:50lena6iBoot can only boot off of the internal SSD, to secure the boot chain
21:02midou has quit [Read error: Connection reset by peer]
21:04gladiac has quit [Quit: Ping timeout (120 seconds)]
21:04gladiac has joined #asahi-dev
21:13midou has joined #asahi-dev
21:16c4sp3r has joined #asahi-dev
21:25c4sp3r has quit [Ping timeout: 480 seconds]
21:29SalimTerryLi has joined #asahi-dev
21:32SalimTer- has quit [Ping timeout: 480 seconds]
21:34c4sp3r has joined #asahi-dev
21:37c4sp3r has quit []
21:38nicolas17yeah but you can get the 20GB of actual OS into an external disk
21:44kraem has quit [Remote host closed the connection]
21:45kraem has joined #asahi-dev
21:52gmuuywom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
21:53gmuuywom has joined #asahi-dev
21:58gmuuywom has quit []
22:04steven has quit [Quit: ZNC 1.8.2 - https://znc.in]
22:06steven has joined #asahi-dev
22:11gmuuywom has joined #asahi-dev
22:13gmuuywom has quit []
22:15gmuuywom has joined #asahi-dev
22:16gmuuywom has quit []
22:26gmuuywom has joined #asahi-dev
22:51gmuuywom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
22:57gmuuywom has joined #asahi-dev
22:58gmuuywom has quit []
23:00gmuuywom has joined #asahi-dev
23:02gmuuywom has quit []
23:15gmuuywom has joined #asahi-dev
23:20gmuuywom has quit []
23:23gmuuywom has joined #asahi-dev
23:25gmuuywom has quit []
23:25Wubbzy04 has quit [Ping timeout: 480 seconds]
23:31capta1nt0ad has quit [Ping timeout: 480 seconds]
23:32rootbeerdan has joined #asahi-dev
23:43iaguis has quit [Ping timeout: 480 seconds]
23:47gmuuywom has joined #asahi-dev
23:47gmuuywom has quit []
23:50gmuuywom has joined #asahi-dev
23:52Wubbzy04 has joined #asahi-dev
…