#asahi-dev · 2023-08-19 02:50
eilnno luck#asahi-dev · 2023-08-19 02:50
eiln> 522: Does not support 1 plane for Skye WARP#asahi-dev · 2023-08-18 22:09
eilnfor 420 at least both planes have to be page aligned#asahi-dev · 2023-08-18 22:09
eilnE_OVR_BUFFER_ONEPLANAR_YUV422 not supported#asahi-dev · 2023-08-18 22:09
eilnthis tells me no#asahi-dev · 2023-08-18 22:09
eilnDMA input: YUV420_2Plane, tile mode#asahi-dev · 2023-08-18 22:09
eilnDMA input: YUV420_2Plane, Non-tile mode#asahi-dev · 2023-08-18 22:09
eilnDMA input: YUV422_1Plane, Non-tile mode#asahi-dev · 2023-08-18 22:09
eilnthese tell me yes#asahi-dev · 2023-08-18 22:08
eilnjannau: I'm only now looking into non-macos defaults#asahi-dev · 2023-08-18 21:26
nicolas17this is for experimenting/research; for production use I need a SBC, and my 2 raspberry pis won't work (1B and 3B) because they have hubs#asahi-dev · 2023-08-18 21:25
nicolas17sven: that's still great#asahi-dev · 2023-08-18 20:47
jannaueiln: does the ISP support YUYV? I think most uvc based webcams use that as raw format. I suspect that's the main reason why true multi-planar formats are not supported#asahi-dev · 2023-08-18 19:52
sventhat currently breaks device mode for sone reason #asahi-dev · 2023-08-18 19:51
svenonly if you disable usb3 support #asahi-dev · 2023-08-18 19:42
nicolas17I want to connect USB-A -> USB-C -> MacBook Pro, have the Mac act as a USB *peripheral*, exchange some messages with the host, and do a role-swap (I think the host initiates that but I'd have to accept it)#asahi-dev · 2023-08-18 19:38
nicolas17is "USB OTG" supported?#asahi-dev · 2023-08-18 17:45
eilnWith that vlc works OOTB (the one pre-installed on KDE), so we just need the ffmpeg multiplanar patches (which I'll try to upstream)#asahi-dev · 2023-08-18 17:45
eilnv4l2loopback is a GPL module, and I just included it as part of CONFIG_VIDEO_APPLE_ISP objs for now#asahi-dev · 2023-08-18 17:45
eilnOfc we can kill two birds and do some vanity filtering while at it#asahi-dev · 2023-08-18 17:45
eilnUsers would use the bog-standard yuv420p in /dev/video1#asahi-dev · 2023-08-18 17:45
eilnffmpeg -f v4l2 -i /dev/video0 -pix_fmt yuv420p -f v4l2 /dev/video1#asahi-dev · 2023-08-18 17:45
eilnWe can pipe the ffmpeg filtered input into a virtual v4l2 loopback device#asahi-dev · 2023-08-18 17:44
eilnI was patching vlc until I realized I can be a bit smarter#asahi-dev · 2023-08-18 13:38
chadmedit still fails reliably on machines with tas2770 supposedly but idk whether thats due to the codecs or how apple has wired up the gpio pins on those particular boards#asahi-dev · 2023-08-18 13:38
chadmedhmm okay#asahi-dev · 2023-08-18 13:36
povikif the sleeps are the same as in probe, then that's in spec, so it doesn't make much sense that it would be too short#asahi-dev · 2023-08-18 13:35
povikthere's always the explanation that it can happen on any wakeup with low probability, and rapid cycling is how you hit it#asahi-dev · 2023-08-18 13:33
chadmedwill test that too #asahi-dev · 2023-08-18 13:33
chadmedgiven the only failure mode left seems to be rapidly cycling awake-sleep-awake the issue now is probably just that the sleeps in the pm ops are not long enough#asahi-dev · 2023-08-18 13:32
chadmedand finally get sleep at least halfway towards working #asahi-dev · 2023-08-18 13:31
chadmedshould pull https://github.com/chadmed/linux/tree/snd-pm-v3 in too when we merge this #asahi-dev · 2023-08-18 13:30
povikand you can then see if it helps with the cracks#asahi-dev · 2023-08-18 13:30
povikok, i guess i should freshen that up and let it be merged into asahi#asahi-dev · 2023-08-18 13:29
chadmedall the ivsense/sample rate detection stuff worked fine#asahi-dev · 2023-08-18 13:29
chadmednah they were related to something else, something about cpu pstates#asahi-dev · 2023-08-18 13:28
poviki don't know of any outstanding issue, but haven't touched that in a while#asahi-dev · 2023-08-18 13:28
poviksince marcan was asking the other day if we can merge that#asahi-dev · 2023-08-18 13:28
povikoh, you think those were ivsense related?#asahi-dev · 2023-08-18 13:28
chadmed(i did update the dtbs)#asahi-dev · 2023-08-18 13:28
chadmeddidnt test long enough to hit it, got a load of kernel oopses and stuff so just came back to 6.4-asahi-6 #asahi-dev · 2023-08-18 13:27
povikbut still... that noise?#asahi-dev · 2023-08-18 13:27
povikhah#asahi-dev · 2023-08-18 13:27
chadmedi pulled sound/ivsense-improvements and tried it earlier and there was an audible difference in the sound so those quirks must do something important#asahi-dev · 2023-08-18 13:26
povikah, i don't know, i stay away from coreaudio#asahi-dev · 2023-08-18 13:26
dsharshakovDSP and raw coreaudio configs to try playing back raw on macos#asahi-dev · 2023-08-18 13:26
povikwe don't know what the latter part does#asahi-dev · 2023-08-18 13:26
povikthe linux driver does some configuration, the apple driver does that too, and some undocumented bits on top of it#asahi-dev · 2023-08-18 13:25
povikthere's no interchangeable format#asahi-dev · 2023-08-18 13:25
povikwhat you mean by swapping config file contents?