#
…

2023-08-30

00:08ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
00:10ourdumbfuture has joined #asahi-dev
01:08kujeger has quit [Ping timeout: 480 seconds]
01:13ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
01:29aratuk has joined #asahi-dev
01:32kettenis has quit [Remote host closed the connection]
01:33kettenis has joined #asahi-dev
01:33ourdumbfuture has joined #asahi-dev
01:33aratuk has quit []
01:38novafacing9926 has joined #asahi-dev
01:43ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
01:45novafacing992 has quit [Ping timeout: 480 seconds]
01:45novafacing9926 is now known as novafacing992
01:49aratuk has joined #asahi-dev
01:54JTL has joined #asahi-dev
01:54aratuk has quit []
01:56kujeger has joined #asahi-dev
01:56ourdumbfuture has joined #asahi-dev
02:00gabuscus has quit []
02:12hightower4 has joined #asahi-dev
02:19hightower3 has quit [Ping timeout: 480 seconds]
02:32gabuscus has joined #asahi-dev
02:40ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
02:48jeisom has quit [Ping timeout: 480 seconds]
04:14cylm has quit [Ping timeout: 480 seconds]
04:20kevans91 has joined #asahi-dev
04:52kevans91maz: hey, is the cs v3.2 hardware reasonably functional in its current state?
05:08crabbedhaloablut has joined #asahi-dev
05:58zhdi has joined #asahi-dev
06:05Major_Biscuit has joined #asahi-dev
06:09gladiac has joined #asahi-dev
06:10Major_Biscuit has quit []
07:07mazkevans91: functional enough for me! it really is v3.1 with minor changes that I consider forward looking, and there is no SW-visible difference between any of the v3 revisions. if you're building it, let me know how it fares!
07:36roxfan has quit [Ping timeout: 480 seconds]
07:39svenfwiw, since I replaced the usb connectors my board has been very stable now
07:39sventhat's v1 though I think
08:02roxfan has joined #asahi-dev
08:02MajorBiscuit has joined #asahi-dev
08:07zhdi has quit [Quit: Connection closed for inactivity]
08:14kevans91maz: perfect, thanks!
08:15kevans91on a totally unrelated note, if anyone wants some unpopulated cs v3.1 PCBs for the cost of shipping from the center of the US, I'll havw 3 from OSHPark in a couple weeks
08:22kevans91I ordered them then realized that the 3.2 BOM is easier for me to source, but the pcb layout is just different enough that it's mot worth my time to figure out if I can pull some hackery to make it work... but OSHPark helpfully expedited my order since they had some extra space
08:25chadmed has quit [Ping timeout: 480 seconds]
08:39milek7 has quit [Remote host closed the connection]
08:45jannauhow would chromium on fedora end up to with sigill (iff bti is enabled) in __libc_start_main@plt ? backtrace is not not useful, only frame below is _start with 'bti c' but the function call is a bl, unfortunately it branches to different address than I end up at
08:52gladiac has quit [Read error: No route to host]
08:52gladiac has joined #asahi-dev
08:54mazkevans91: yeah, I switched a couple of things for that exact reason -- the connectors were not easily sourced outside of the LCSC catalog.
09:05bisko has joined #asahi-dev
09:08kujeger has quit [Ping timeout: 480 seconds]
09:09eiln has joined #asahi-dev
09:20svenI don't think these usb2-only-type-c connectors are even made outside of china ;)
09:20milek7 has joined #asahi-dev
09:22bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
09:31mazsven: quite possibly. v3.2 is using a good old trusted full fat Molex, which is a bit of a pain to route. but at least, you can it anywhere.
09:33kettenisjannau: that is puzzling indeed; is it at the first instruction of __libc_start_main@plt?
09:38_jannau__I don't know. it's the 3rd instruction according to gdb's disassembly but I don't really trust that. the two previous instructions are nops
09:38kettenisthe bootstd stuff is still somewhat in flux and buggy
09:39kettenisnot sure on what timescale this will be all sorted
09:41_jannau__no worries, it would have been a convenient method to recover the fedora installs with broken grub configuration if it had worked
09:41kettenis__jannau__: that suggests it jumped into the middle of the PLT stub?
09:43kettenis(we have BTI enabled for almost everything on OpenBSD)
09:44kettenisbut having a PLT entry start with NOPs is weird
09:45kettenisso gdb might indeed be lying to you
09:51jeisom has joined #asahi-dev
09:57gladiac has quit [Quit: k thx bye]
09:58chadmed has joined #asahi-dev
09:58chadmed has quit [Remote host closed the connection]
09:59chadmed has joined #asahi-dev
10:33ourdumbfuture has joined #asahi-dev
10:49duckworld has quit [Ping timeout: 480 seconds]
11:01ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
11:13minecrell has quit [Quit: Ping timeout (120 seconds)]
11:14minecrell has joined #asahi-dev
11:19ourdumbfuture has joined #asahi-dev
11:35Leo3418 has quit [Quit: Applying updates]
11:35Leo3418 has joined #asahi-dev
11:59Deewiant_ has quit [Remote host closed the connection]
12:06kujeger has joined #asahi-dev
12:30ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
12:41ourdumbfuture has joined #asahi-dev
12:43bisko has joined #asahi-dev
12:57leitao has joined #asahi-dev
13:04Deewiant has joined #asahi-dev
13:14jjanzic1 has quit [Ping timeout: 480 seconds]
13:24jjanzic1 has joined #asahi-dev
13:57bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
13:57bisko has joined #asahi-dev
13:58leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:59Major_Biscuit has joined #asahi-dev
14:01MajorBiscuit has quit [Ping timeout: 480 seconds]
14:01leitao has joined #asahi-dev
14:03leitao has quit []
14:03piroko has joined #asahi-dev
14:04leitao has joined #asahi-dev
14:06leitao has quit []
14:11gladiac has joined #asahi-dev
14:12leitao has joined #asahi-dev
14:12leitao has quit [Remote host closed the connection]
14:14leitao has joined #asahi-dev
14:15leitao has quit []
14:15milek7 has quit [Remote host closed the connection]
14:16cylm has joined #asahi-dev
14:23leitao has joined #asahi-dev
14:25gladiac is now known as Guest1215
14:25gladiac has joined #asahi-dev
14:31Guest1215 has quit [Ping timeout: 480 seconds]
14:42leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:54bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
15:02leitao has joined #asahi-dev
15:02leitao has quit []
15:03ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
15:14eilnsingle planar api, no userspace patches, no loopback, 1280x720 33FPS, <1sec to first frame
15:14eilnffmpeg, vlc, gst all work ootb
15:14eilncode isn't superb but I consider this usable
15:19_jannau__eiln: \o/ great. If you think a PR is fine then create a PR. we've certainly merged things for testing which still had issues
15:22eilnoke, will do
15:23leitao has joined #asahi-dev
15:23_jannau__does the single planar api uses YUYV/YUV2? any idea why you only get 33fps? is that a hw/fw/config issue or is it related to the single planar format? I would have expected that the camera/isp delivers 60fps
15:24leitao has quit []
15:24svenyeah, PR sounds good! and nice work :)
15:29leitao has joined #asahi-dev
15:29leitao has quit [Remote host closed the connection]
15:30leitao has joined #asahi-dev
15:30leitao has quit []
15:32eilnjannau: it's not really single planar, I just hacked it to get it working with the single planar api. to userland it's NV12. as for the frame rate that's what macos sets it as. will see if we can go higher, but all those filters do take time
15:33svenyeah, just tested it with quicktime on macos, it also records at 30 fps by default
15:39leitao has joined #asahi-dev
15:40_jannau__a quick search suggest macos uses only 25 or 30 fps so might be an limitation of the sensor
15:41_jannau__eiln: ah. are you using single buffer with page aligned luma and chroma?
15:41eilnjannau: precisely
15:42eilnshould be same as iphone 5s specs, which says 1280 x 720 (30fps)
15:44_jannau__I expected something more advanced than a 7 year old iphone (at the time of the m1 release)
15:44Major_Biscuit has quit [Ping timeout: 480 seconds]
15:46eilnall their cameras share the same driver, so they cheaped out
15:49leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:57malfunction54 has joined #asahi-dev
15:59leitao has joined #asahi-dev
16:00leitao has quit []
16:03alyssa has joined #asahi-dev
16:03alyssaeiln: fedora release bonus feature? \ o /
16:08eilnalyssa: hopefully. rushing before the deadline, as always
16:08eilnthis thing is a damn memory hog btw. fw requests about 0x9000000 in shared surfaces. dont think speed was their top priority
16:14leitao has joined #asahi-dev
16:14jannauthat sounds outlandish. if used for video would be over 3 seconds of video
16:16jannaufedora release dead line got extended. there will be no release this month
16:17alyssagetting extensions on deadlines, woohoo!
16:18leitao has quit []
16:20leitao has joined #asahi-dev
16:20iaguis has joined #asahi-dev
16:20leitao has quit []
16:21iaguisawesome work!
16:21iaguisIIUC m2 laptops have a different camera (1080p) so I guess supporting them will require more work, right?
16:22ourdumbfuture has joined #asahi-dev
16:37duckworld has joined #asahi-dev
16:41eilniaguis: not that much. all their cameras share the same driver, which is why this is as big as it is. we list sensors up to the XS Max (VD56G0), though we probably won't ever need that. probably just boilerplate with output presets & different filters, if required
16:42rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
16:42Guest942 has quit [Quit: Bridge terminating on SIGTERM]
16:43eilniaguis: do you have the hw? if I can get a log (from macos) I can try
16:44ChaosPrincessthe camera is different on basically everything that is not m1, and the adt is a lot thinner in the new ones.
16:45alyssaChaosPrincess: is thin adt good because simpler hardware or bad because less info on the hardware
16:46Jamie has joined #asahi-dev
16:46Jamie is now known as Guest1229
16:47rhysmdnz has joined #asahi-dev
16:47povik18:17 <@alyssa> getting extensions on deadlines, woohoo!
16:48iaguiseiln: I have an M2 macbook air, happy to get logs from macos
16:52ChaosPrincessalyssa: id say closer to "less quirky hardware" in this case
16:54roxfan2 has joined #asahi-dev
16:56Major_Biscuit has joined #asahi-dev
16:57eilnf I can't find that one command with the predicates. were gonna do this the stupid way
16:57Major_Biscuit has quit []
16:57eilnlog show --last 5m --info --debug | grep -iF camera
16:57eilniaguis: do you mind opening/closing the photobooth app & running that command? preferrably after a fresh boot, but not is okay
16:58iaguissure, let me reboot to macos
16:58iaguis has quit [Quit: leaving]
16:59iaguis has joined #asahi-dev
17:01roxfan has quit [Ping timeout: 480 seconds]
17:06eilniaguis: thank you!
17:07iaguisthank *you* for working on this :)
17:17leitao has joined #asahi-dev
17:17leitao has quit []
17:19leitao has joined #asahi-dev
17:25jeisom has quit [Ping timeout: 480 seconds]
17:34leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:36leitao has joined #asahi-dev
17:52gladiac has quit [Quit: k thx bye]
18:06eilnlooks the same, though a proper trace is needed for the power/gpio/iommu stuff & struct data
18:06eilngoogle search suggests iphone8/se2 ish
18:07eilnneed a more intelligent way of determining the best crop
18:08ocrete has quit [Quit: The Lounge - https://thelounge.chat]
18:15iaguisa proper trace is running macos in m1n1 with trace_something.py?
18:17eiln has quit [Quit: WeeChat 4.0.3]
18:25iaguisI've been meaning to play with it for a while but it'll probably take me a bit to get it working
18:27lawrence has quit [Remote host closed the connection]
18:30lawrence has joined #asahi-dev
18:34ocrete has joined #asahi-dev
18:36leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:38leitao has joined #asahi-dev
18:39leitao has joined #asahi-dev
18:43leitao has quit []
18:45leitao has joined #asahi-dev
18:46leitao has quit []
19:01ocrete6 has joined #asahi-dev
19:01ocrete is now known as Guest1244
19:01ocrete6 is now known as ocrete
19:02ocrete has quit []
19:02ocrete has joined #asahi-dev
19:06leitao has joined #asahi-dev
19:08crabbedhaloablut has quit []
19:18Guest1244 has quit [Ping timeout: 480 seconds]
19:23alyssaeiln: damn, Apple left a LOT of goodies in those logs :-D
19:47ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
19:57leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:01leitao has joined #asahi-dev
20:07leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:52leitao has joined #asahi-dev
20:52leitao has quit [Remote host closed the connection]
21:02leitao has joined #asahi-dev
21:02leitao has quit []
21:05leitao has joined #asahi-dev
21:13leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:25ourdumbfuture has joined #asahi-dev
21:54qyliss has quit [Quit: bye]
21:58qyliss has joined #asahi-dev
22:07qyliss has quit [Quit: bye]
22:10qyliss has joined #asahi-dev
22:11Bey0ndB1nary has joined #asahi-dev
22:12qyliss has quit []
22:14qyliss has joined #asahi-dev
22:18darkapex has quit [Remote host closed the connection]
22:19darkapex has joined #asahi-dev
22:19jeisom has joined #asahi-dev
22:20qyliss has quit [Quit: bye]
22:22qyliss has joined #asahi-dev
22:22Bey0ndB1nary has quit []
22:46ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
22:53ourdumbfuture has joined #asahi-dev
23:40ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
23:42ourdumbfuture has joined #asahi-dev
…