ChanServ changed the topic of #asahi-dev to: Asahi Linux: porting Linux to Apple Silicon macs | Non-development talk: #asahi | General development | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi-dev
kujeger has quit [Ping timeout: 480 seconds]
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
aratuk has joined #asahi-dev
kettenis has quit [Remote host closed the connection]
kettenis has joined #asahi-dev
ourdumbfuture has joined #asahi-dev
aratuk has quit []
novafacing9926 has joined #asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
novafacing992 has quit [Ping timeout: 480 seconds]
novafacing9926 is now known as novafacing992
aratuk has joined #asahi-dev
JTL has joined #asahi-dev
aratuk has quit []
kujeger has joined #asahi-dev
ourdumbfuture has joined #asahi-dev
gabuscus has quit []
hightower4 has joined #asahi-dev
hightower3 has quit [Ping timeout: 480 seconds]
gabuscus has joined #asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jeisom has quit [Ping timeout: 480 seconds]
cylm has quit [Ping timeout: 480 seconds]
kevans91 has joined #asahi-dev
<kevans91> maz: hey, is the cs v3.2 hardware reasonably functional in its current state?
crabbedhaloablut has joined #asahi-dev
zhdi has joined #asahi-dev
Major_Biscuit has joined #asahi-dev
gladiac has joined #asahi-dev
Major_Biscuit has quit []
<maz> kevans91: 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!
roxfan has quit [Ping timeout: 480 seconds]
<sven> fwiw, since I replaced the usb connectors my board has been very stable now
<sven> that's v1 though I think
roxfan has joined #asahi-dev
MajorBiscuit has joined #asahi-dev
zhdi has quit [Quit: Connection closed for inactivity]
<kevans91> maz: perfect, thanks!
<kevans91> on 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
<kevans91> I 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
chadmed has quit [Ping timeout: 480 seconds]
milek7 has quit [Remote host closed the connection]
<jannau> how 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
gladiac has quit [Read error: No route to host]
gladiac has joined #asahi-dev
<maz> kevans91: yeah, I switched a couple of things for that exact reason -- the connectors were not easily sourced outside of the LCSC catalog.
bisko has joined #asahi-dev
kujeger has quit [Ping timeout: 480 seconds]
eiln has joined #asahi-dev
<sven> I don't think these usb2-only-type-c connectors are even made outside of china ;)
milek7 has joined #asahi-dev
bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<maz> sven: 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.
<kettenis> jannau: that is puzzling indeed; is it at the first instruction of __libc_start_main@plt?
<_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
<kettenis> the bootstd stuff is still somewhat in flux and buggy
<kettenis> not sure on what timescale this will be all sorted
<_jannau__> no worries, it would have been a convenient method to recover the fedora installs with broken grub configuration if it had worked
<kettenis> __jannau__: that suggests it jumped into the middle of the PLT stub?
<kettenis> (we have BTI enabled for almost everything on OpenBSD)
<kettenis> but having a PLT entry start with NOPs is weird
<kettenis> so gdb might indeed be lying to you
jeisom has joined #asahi-dev
gladiac has quit [Quit: k thx bye]
chadmed has joined #asahi-dev
chadmed has quit [Remote host closed the connection]
chadmed has joined #asahi-dev
ourdumbfuture has joined #asahi-dev
duckworld has quit [Ping timeout: 480 seconds]
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
minecrell has quit [Quit: Ping timeout (120 seconds)]
minecrell has joined #asahi-dev
ourdumbfuture has joined #asahi-dev
Leo3418 has quit [Quit: Applying updates]
Leo3418 has joined #asahi-dev
Deewiant_ has quit [Remote host closed the connection]
kujeger has joined #asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi-dev
bisko has joined #asahi-dev
leitao has joined #asahi-dev
Deewiant has joined #asahi-dev
jjanzic1 has quit [Ping timeout: 480 seconds]
jjanzic1 has joined #asahi-dev
bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bisko has joined #asahi-dev
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Major_Biscuit has joined #asahi-dev
MajorBiscuit has quit [Ping timeout: 480 seconds]
leitao has joined #asahi-dev
leitao has quit []
piroko has joined #asahi-dev
leitao has joined #asahi-dev
leitao has quit []
gladiac has joined #asahi-dev
leitao has joined #asahi-dev
leitao has quit [Remote host closed the connection]
leitao has joined #asahi-dev
leitao has quit []
milek7 has quit [Remote host closed the connection]
cylm has joined #asahi-dev
leitao has joined #asahi-dev
gladiac is now known as Guest1215
gladiac has joined #asahi-dev
Guest1215 has quit [Ping timeout: 480 seconds]
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
leitao has joined #asahi-dev
leitao has quit []
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<eiln> single planar api, no userspace patches, no loopback, 1280x720 33FPS, <1sec to first frame
<eiln> ffmpeg, vlc, gst all work ootb
<eiln> code isn't superb but I consider this usable
<eiln> PR?
<_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
<eiln> oke, will do
leitao has joined #asahi-dev
<_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
leitao has quit []
<sven> yeah, PR sounds good! and nice work :)
leitao has joined #asahi-dev
leitao has quit [Remote host closed the connection]
leitao has joined #asahi-dev
leitao has quit []
<eiln> jannau: 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
<sven> yeah, just tested it with quicktime on macos, it also records at 30 fps by default
leitao has joined #asahi-dev
<_jannau__> a quick search suggest macos uses only 25 or 30 fps so might be an limitation of the sensor
<_jannau__> eiln: ah. are you using single buffer with page aligned luma and chroma?
<eiln> jannau: precisely
<eiln> should be same as iphone 5s specs, which says 1280 x 720 (30fps)
<_jannau__> I expected something more advanced than a 7 year old iphone (at the time of the m1 release)
Major_Biscuit has quit [Ping timeout: 480 seconds]
<eiln> all their cameras share the same driver, so they cheaped out
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
malfunction54 has joined #asahi-dev
leitao has joined #asahi-dev
leitao has quit []
alyssa has joined #asahi-dev
<alyssa> eiln: fedora release bonus feature? \ o /
<eiln> alyssa: hopefully. rushing before the deadline, as always
<eiln> this thing is a damn memory hog btw. fw requests about 0x9000000 in shared surfaces. dont think speed was their top priority
leitao has joined #asahi-dev
<jannau> that sounds outlandish. if used for video would be over 3 seconds of video
<jannau> fedora release dead line got extended. there will be no release this month
<alyssa> getting extensions on deadlines, woohoo!
leitao has quit []
leitao has joined #asahi-dev
iaguis has joined #asahi-dev
leitao has quit []
<iaguis> awesome work!
<iaguis> IIUC m2 laptops have a different camera (1080p) so I guess supporting them will require more work, right?
ourdumbfuture has joined #asahi-dev
duckworld has joined #asahi-dev
<eiln> iaguis: 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
rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
Guest942 has quit [Quit: Bridge terminating on SIGTERM]
<eiln> iaguis: do you have the hw? if I can get a log (from macos) I can try
<ChaosPrincess> the camera is different on basically everything that is not m1, and the adt is a lot thinner in the new ones.
<alyssa> ChaosPrincess: is thin adt good because simpler hardware or bad because less info on the hardware
Jamie has joined #asahi-dev
Jamie is now known as Guest1229
rhysmdnz has joined #asahi-dev
<povik> 18:17 <@alyssa> getting extensions on deadlines, woohoo!
<povik> woo!
<iaguis> eiln: I have an M2 macbook air, happy to get logs from macos
<ChaosPrincess> alyssa: id say closer to "less quirky hardware" in this case
<alyssa> :D
roxfan2 has joined #asahi-dev
Major_Biscuit has joined #asahi-dev
<eiln> f I can't find that one command with the predicates. were gonna do this the stupid way
Major_Biscuit has quit []
<eiln> log show --last 5m --info --debug | grep -iF camera
<eiln> iaguis: do you mind opening/closing the photobooth app & running that command? preferrably after a fresh boot, but not is okay
<iaguis> sure, let me reboot to macos
iaguis has quit [Quit: leaving]
iaguis has joined #asahi-dev
roxfan has quit [Ping timeout: 480 seconds]
<eiln> iaguis: thank you!
<iaguis> thank *you* for working on this :)
leitao has joined #asahi-dev
leitao has quit []
leitao has joined #asahi-dev
jeisom has quit [Ping timeout: 480 seconds]
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leitao has joined #asahi-dev
gladiac has quit [Quit: k thx bye]
<eiln> looks the same, though a proper trace is needed for the power/gpio/iommu stuff & struct data
<eiln> google search suggests iphone8/se2 ish
<eiln> need a more intelligent way of determining the best crop
ocrete has quit [Quit: The Lounge - https://thelounge.chat]
<iaguis> a proper trace is running macos in m1n1 with trace_something.py?
eiln has quit [Quit: WeeChat 4.0.3]
<iaguis> I've been meaning to play with it for a while but it'll probably take me a bit to get it working
lawrence has quit [Remote host closed the connection]
lawrence has joined #asahi-dev
ocrete has joined #asahi-dev
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leitao has joined #asahi-dev
leitao has joined #asahi-dev
leitao has quit []
leitao has joined #asahi-dev
leitao has quit []
ocrete6 has joined #asahi-dev
ocrete is now known as Guest1244
ocrete6 is now known as ocrete
ocrete has quit []
ocrete has joined #asahi-dev
leitao has joined #asahi-dev
crabbedhaloablut has quit []
Guest1244 has quit [Ping timeout: 480 seconds]
<alyssa> eiln: damn, Apple left a LOT of goodies in those logs :-D
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leitao has joined #asahi-dev
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leitao has joined #asahi-dev
leitao has quit [Remote host closed the connection]
leitao has joined #asahi-dev
leitao has quit []
leitao has joined #asahi-dev
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi-dev
qyliss has quit [Quit: bye]
qyliss has joined #asahi-dev
qyliss has quit [Quit: bye]
qyliss has joined #asahi-dev
Bey0ndB1nary has joined #asahi-dev
qyliss has quit []
qyliss has joined #asahi-dev
darkapex has quit [Remote host closed the connection]
darkapex has joined #asahi-dev
jeisom has joined #asahi-dev
qyliss has quit [Quit: bye]
qyliss has joined #asahi-dev
Bey0ndB1nary has quit []
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi-dev