#
#asahi-dev · 2023-09-29 15:34
linaActually removed it now anyway, in a fixup
#asahi-dev · 2023-09-29 15:30
linaI'm going to leave it all night starting/killing captures while looping some ffmpeg compiles, if nothing goes horribly wrong I think we're good ^^
#asahi-dev · 2023-09-29 15:21
linaOK, looks much cleaner now ^^
#asahi-dev · 2023-09-29 15:13
linaSo on signals all that breaks...
#asahi-dev · 2023-09-29 15:13
linaAaaaa we're using wait_event_interruptible_timeout() for commands ;;
#asahi-dev · 2023-09-29 15:11
linaI think there is something weird that happens when you kill -9 the app using the camera. Shutdown fails, but I see the same VB2 callbacks getting called...
#asahi-dev · 2023-09-29 15:02
linaThe recovery stuff I tried to add doesn't work... it gets the PS going, but then random CPUs get wedged immediately after that ;;
#asahi-dev · 2023-09-29 13:37
linaPushed some pmgr-related stuff, hope it improves the Âcorner cases...
#asahi-dev · 2023-09-29 12:37
linaeiln: I'm running into a rare pmgr issue where the main isp_sys domain refuses to power on with bit 0x800 set, and setting bit 0x1000 fixes/resets it. I'll try to figure out what that means... I think it's one of the ones you used?
#asahi-dev · 2023-09-29 11:06
leiowas too eager to try to help, as gst is an area I at least know :)
#asahi-dev · 2023-09-29 11:04
leioaight
#asahi-dev · 2023-09-29 11:04
linaI want to hit the weird error handling corner cases, not just clean exit
#asahi-dev · 2023-09-29 11:03
linaThe point is actually letting it exit uncleanly ^^
#asahi-dev · 2023-09-29 11:03
leiofwiw, if you want your gstreamer pipeline to exit more cleanly for this after a random amount of time/frames, v4l2src has num-buffers property to which you could give a random number of frames to let through as well and then end-of-stream and exit
#asahi-dev · 2023-09-29 10:57
jannegI'll test t6001 with 13.5 as well, need do new install for that
#asahi-dev · 2023-09-29 10:56
linaOK ^^
#asahi-dev · 2023-09-29 10:56
janneglina: I'll rebase my t8112 branch but probably won't do anything else
#asahi-dev · 2023-09-29 10:56
linaI also fixed vertical video in ffmpeg ^^ (sent them the patch)
#asahi-dev · 2023-09-29 10:55
linaThis is what I'm running now: while true; do timeout -k 1 -s 9 $((1+RANDOM%3)).$(printf %03d $((RANDOM%1000))) gst-launch-1.0 v4l2src ! 'video/x-raw,width=720,height=1280' ! videoconvert ! fakesink; done
#asahi-dev · 2023-09-29 10:55
linaBasically error/early abort handling needs work I think
#asahi-dev · 2023-09-29 10:55
linaI'm running gstreamer in a random kill loop now to see if I can find any weird races. So far one thing I am seeing is DART translation faults after shutdown, and also I think the suspend thing doesn't work in some cleanup paths?
#asahi-dev · 2023-09-29 10:54
linaeiln, janneg: Pushed a bunch of fixes and refactoring to my branch again, but I didn't get around to looking at t8112... I think there are still weird races and things like that around startup/shutdown.
#asahi-dev · 2023-09-29 09:28
jannegsure, go back to relax and recover
#asahi-dev · 2023-09-29 09:28
svenmy brain doesn’t fully work yet so feel free to take over :)
#asahi-dev · 2023-09-29 09:27
svenhah, I was just going to suggest he could talk to you :)
#asahi-dev · 2023-09-29 09:27
jannegjonmasters: ah, I see, you're already in contact with sven on mastodon
#asahi-dev · 2023-09-29 09:22
jannegI've seen some weird PCIe issues with that branch. a samsung evo 980 nvme did not work at all, an intel 2.5GB nic in a HP usb4 hub did not deliver IRQs
#asahi-dev · 2023-09-29 09:20
jannegnecessary thunderbolt device tree changes might be only hooked up for the m1 mac mini
#asahi-dev · 2023-09-29 09:19
janneghotplug in that branch is not reliable, you might need to connect/disconnect a few times
#asahi-dev · 2023-09-29 09:17
jannegcanonical source of the DTBs is the kernel tree which are appended to m1n1 as payload and are filled with information on the system
#asahi-dev · 2023-09-29 09:16
jannegjonmasters: see atcphy-20230219, nothing else is public since public WIP branches unfortunately result in user support per private emails
#asahi-dev · 2023-09-29 09:06
jonmastersI found the USB4 DART patches from March but I assume I also need corresponding updated DTBs for those...anyone got a pointer to where I can find the bits? I assume I'll need to patch an m1n1 too
#asahi-dev · 2023-09-29 07:25
jonmasters(this is NOT for an eGPU, this is to try some simple PCIe devices for fun in an enclosure)
#asahi-dev · 2023-09-29 07:24
jonmastershi folks, I would like to take a look at the wip thunderbolt support - is there a good branch to be looking at?
#asahi-dev · 2023-09-28 21:38
ChaosPrincessyea, its a weird machine
#asahi-dev · 2023-09-28 21:38
eilnah
#asahi-dev · 2023-09-28 21:37
ChaosPrincessm2 mba uses the new "14 inch mbp but 13" chassis, while m2 mbp is re-using the m1 chassis
#asahi-dev · 2023-09-28 21:36
eilnI just realized the m2 macbook air is 1080p but the pro regressed to 720p. that is weird
#asahi-dev · 2023-09-28 21:13
jannegeiln: I think 0x9587146752 is just a printf bug. 9587146752 == 0x23b704000
#asahi-dev · 2023-09-28 21:12
jannegeiln: already used a common define for the buffer count: https://github.com/jannau/linux/commit/ff6bed0bba9ebb8fdc1d56601d179979a76a3eca
#asahi-dev · 2023-09-28 21:06
eilneven better, CH print overflows for non-CH ioctls. I am surely on the 91012th sensor.
#asahi-dev · 2023-09-28 21:05
eiln> ISPASC: CH = 0x16384, CMD = 0x0011 [CISP_CMD_SET_ISP_PMU_BASE], receive at 105531.734 ms, delta: 1.0234 ms.
#asahi-dev · 2023-09-28 21:05
eiln> ISPASC: PMU base is 0x9587146752
#asahi-dev · 2023-09-28 21:05
eilnlina: 16 looks like count in BUFFER_POOL_CONFIG_SET
#asahi-dev · 2023-09-28 20:51
jannegI'm going to assume that 0x23b704000 (fw 12.4) and 0x9587146752 (fw 13.5) are identical but it beats me why anyone would want tot print PMU base as decimal
#asahi-dev · 2023-09-28 20:32
leioproxy timeout*
#asahi-dev · 2023-09-28 20:32
leiodoing the proxy fallback to get around the u-boot crash :)
#asahi-dev · 2023-09-28 20:31
leioyup, thanks, I have that going good now in the fedora install now
#asahi-dev · 2023-09-28 20:30
jannegnote that you need to build m1n1 with rust/chainloading for stage1
#asahi-dev · 2023-09-28 20:29
leiothen I'll let it use the non-patched one afterall and just replace it later in 1TR if needed

plus ›