#
…

2023-08-18

00:01hightower3 has joined #asahi-dev
00:08hightower4 has quit [Ping timeout: 480 seconds]
00:12ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
00:14ourdumbfuture has joined #asahi-dev
00:24ellyq has quit []
01:09roxfan has joined #asahi-dev
01:15roxfan2 has quit [Ping timeout: 480 seconds]
01:31bpye has quit [Quit: Ping timeout (120 seconds)]
01:31bpye has joined #asahi-dev
01:53ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
02:00gabuscus has quit []
02:02jeisom has quit [Ping timeout: 480 seconds]
02:07ourdumbfuture has joined #asahi-dev
02:30gabuscus has joined #asahi-dev
02:38ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
02:40ourdumbfuture has joined #asahi-dev
03:00ciara has quit [Read error: No route to host]
03:01ciara has joined #asahi-dev
03:12ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
03:17melonai3 has quit [Ping timeout: 480 seconds]
03:54crabbedhaloablut has joined #asahi-dev
03:58melonai3 has joined #asahi-dev
06:49bisko has joined #asahi-dev
07:24compassion1785 has quit [Read error: Connection reset by peer]
07:26compassion1785 has joined #asahi-dev
08:56baozich has joined #asahi-dev
09:25bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
09:38chadmed has quit [Remote host closed the connection]
09:49cylm_ has joined #asahi-dev
09:52baozich has quit [Ping timeout: 480 seconds]
09:58ATiltedTree has quit [Remote host closed the connection]
09:58ATiltedTree has joined #asahi-dev
10:53chadmed has joined #asahi-dev
11:11ourdumbfuture has joined #asahi-dev
11:11ourdumbfuture has quit []
11:12ourdumbfuture has joined #asahi-dev
11:13ourdumbfuture has quit []
11:16ourdumbfuture has joined #asahi-dev
11:27chadmed has quit [Remote host closed the connection]
11:34ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
11:41ourdumbfuture has joined #asahi-dev
12:14compassion1785 has quit [Quit: lounge quit]
12:21jeisom has joined #asahi-dev
12:25compassion1785 has joined #asahi-dev
12:28ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
12:32chadmed has joined #asahi-dev
12:35ourdumbfuture has joined #asahi-dev
12:44chadmedok im 100% certain this stupid clipping is inside the codec now
12:44chadmedbypassed everything, rejigged FIRs to _only_ cut and not boost anything, took the saturator off
12:45chadmedno stage of the dsp graph is clipping at all
12:45chadmedstill get this stupid crackling noise out of the woofers whenever theyre moderately loud
13:07bcrumb has joined #asahi-dev
13:09bcrumb has quit []
13:09bcrumb has joined #asahi-dev
13:10dsharshakov has joined #asahi-dev
13:11dsharshakovchadmed: can you hear the issue if you direct dsp out to headphones or a file?
13:12dsharshakovalso the branch is now mostly ready and MRed
13:13bcrumb has quit []
13:14bcrumb has joined #asahi-dev
13:15chadmeddsharshakov: nah no artefacts at all through the headphones
13:15chadmednothing is clipping anyway and even if it was it wouldnt result in the noises im hearing
13:16chadmedill try something different tomorrow and will get around to adding some comments to the issue and MR
13:16chadmedsome things are a bit janky
13:19dsharshakov"some things are a bit janky" <-- which precisely? any PW side work to do?
13:20dsharshakovis there any way to access raw 6-channel audio from macOS?
13:21dsharshakove.g. by reconfiguring coreaudio
13:22poviki can trace it, finally patched together a working admac tracer
13:22povikbut i don't see how it would help us here
13:23chadmeddsharshakov: the volume control is still a bit weird from KDE, e.g. muting and then unmuting will cause the sink to be opened back up at extremely low volume
13:23povikunless we tried capturing macos samples at full volume, then replayed that stream under linux
13:23chadmedand coreaudio does have a dsp profile for raw access but theres no way to use it/set it as the default from userspace. looks like it was just left in there as an artefact from development
13:24povikwhich if the artifacts appeared would confirm the apple quirks in configuration of the codec are important
13:24dsharshakovwill look at the volume control
13:25dsharshakovwhat if you swap config file contents? or is that baked into binary?
13:25povikwhat you mean by swapping config file contents?
13:25povikthere's no interchangeable format
13:26povikthe linux driver does some configuration, the apple driver does that too, and some undocumented bits on top of it
13:26povikwe don't know what the latter part does
13:26dsharshakovDSP and raw coreaudio configs to try playing back raw on macos
13:26povikah, i don't know, i stay away from coreaudio
13:27chadmedi pulled sound/ivsense-improvements and tried it earlier and there was an audible difference in the sound so those quirks must do something important
13:27povikbut still... that noise?
13:28chadmeddidnt test long enough to hit it, got a load of kernel oopses and stuff so just came back to 6.4-asahi-6
13:28chadmed(i did update the dtbs)
13:28povikoh, you think those were ivsense related?
13:28poviksince marcan was asking the other day if we can merge that
13:28poviki don't know of any outstanding issue, but haven't touched that in a while
13:29chadmednah they were related to something else, something about cpu pstates
13:29chadmedall the ivsense/sample rate detection stuff worked fine
13:30povikok, i guess i should freshen that up and let it be merged into asahi
13:30povikand you can then see if it helps with the cracks
13:32chadmedand finally get sleep at least halfway towards working
13:33chadmedgiven 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
13:33chadmedwill test that too
13:35povikthere's always the explanation that it can happen on any wakeup with low probability, and rapid cycling is how you hit it
13:36povikif 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
13:38chadmedhmm okay
13:38chadmedit 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
13:40bcrumb has quit [Quit: WeeChat 4.0.3]
13:48jeisom has quit [Quit: Leaving]
13:59dsharshakov has quit [Quit: Page closed]
14:15jeisom has joined #asahi-dev
14:26mrhh has joined #asahi-dev
15:15mrhh has quit [Quit: mrhh]
16:03ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
16:09axboe has quit [Remote host closed the connection]
16:12axboe has joined #asahi-dev
16:32ourdumbfuture has joined #asahi-dev
16:42Guest9188 has quit [Quit: Bridge terminating on SIGTERM]
16:42rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
16:45systwi_ has joined #asahi-dev
16:46Jamie has joined #asahi-dev
16:46Jamie is now known as Guest9295
16:47rhysmdnz has joined #asahi-dev
16:51systwi has quit [Ping timeout: 480 seconds]
17:23bisko has joined #asahi-dev
17:26bisko has quit [Read error: Connection reset by peer]
17:27bowad has joined #asahi-dev
17:42eiln has joined #asahi-dev
17:44eilnI was patching vlc until I realized I can be a bit smarter
17:45eilnWe can pipe the ffmpeg filtered input into a virtual v4l2 loopback device
17:45eilnffmpeg -f v4l2 -i /dev/video0 -pix_fmt yuv420p -f v4l2 /dev/video1
17:45eilnUsers would use the bog-standard yuv420p in /dev/video1
17:45eilnOfc we can kill two birds and do some vanity filtering while at it
17:45eilnv4l2loopback is a GPL module, and I just included it as part of CONFIG_VIDEO_APPLE_ISP objs for now
17:45eilnWith that vlc works OOTB (the one pre-installed on KDE), so we just need the ffmpeg multiplanar patches (which I'll try to upstream)
17:49ciara has quit [Read error: Connection reset by peer]
17:52ciara has joined #asahi-dev
17:58derzahl has quit [Remote host closed the connection]
18:06bowad has quit [Ping timeout: 480 seconds]
18:35nela has quit [Quit: bye!]
18:35nela has joined #asahi-dev
19:34jeisom has quit [Ping timeout: 480 seconds]
19:38nicolas17is "USB OTG" supported?
19:42nicolas17I 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)
19:51svenonly if you disable usb3 support
19:52sventhat currently breaks device mode for sone reason
19:58jurplel has joined #asahi-dev
20:10maximbaz has quit [Quit: bye]
20:10maximbaz has joined #asahi-dev
20:11jeisom has joined #asahi-dev
20:47jannaueiln: 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
20:53crabbedhaloablut has quit []
20:57flatz has joined #asahi-dev
21:25nicolas17sven: that's still great
21:26nicolas17this 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
21:31ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
21:35ourdumbfuture has joined #asahi-dev
21:45ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
21:46flatz has quit []
22:08eilnjannau: I'm only now looking into non-macos defaults
22:09eilnthese tell me yes
22:09eilnDMA input: YUV422_1Plane, Non-tile mode
22:09eilnDMA input: YUV420_2Plane, Non-tile mode
22:09eilnDMA input: YUV420_2Plane, tile mode
22:09eilnthis tells me no
22:09eilnE_OVR_BUFFER_ONEPLANAR_YUV422 not supported
22:09eilnfor 420 at least both planes have to be page aligned
22:09ourdumbfuture has joined #asahi-dev
22:19ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
22:20ourdumbfuture has joined #asahi-dev
22:30stipa is now known as Guest9319
22:30stipa has joined #asahi-dev
22:35Guest9319 has quit [Ping timeout: 480 seconds]
22:36jurplel has quit [Ping timeout: 480 seconds]
22:37baozich has joined #asahi-dev
22:39jjanzic has quit [Read error: Connection reset by peer]
22:39jjanzic1 has joined #asahi-dev
22:45baozich has quit [Ping timeout: 480 seconds]
22:46ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
22:55ourdumbfuture has joined #asahi-dev
23:04jurplel has joined #asahi-dev
23:12jurplel has quit [Ping timeout: 480 seconds]
23:16darkapex has quit [Remote host closed the connection]
23:16darkapex has joined #asahi-dev
23:28jurplel has joined #asahi-dev
23:43jeisom has quit [Ping timeout: 480 seconds]
23:50StupidYui has joined #asahi-dev
23:50StupidYui has quit [Remote host closed the connection]
23:52chadmed has quit [Remote host closed the connection]
…