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
hightower3 has joined #asahi-dev
hightower4 has quit [Ping timeout: 480 seconds]
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi-dev
ellyq has quit []
roxfan has joined #asahi-dev
roxfan2 has quit [Ping timeout: 480 seconds]
bpye has quit [Quit: Ping timeout (120 seconds)]
bpye has joined #asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gabuscus has quit []
jeisom has quit [Ping timeout: 480 seconds]
ourdumbfuture has joined #asahi-dev
gabuscus has joined #asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi-dev
ciara has quit [Read error: No route to host]
ciara has joined #asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
melonai3 has quit [Ping timeout: 480 seconds]
crabbedhaloablut has joined #asahi-dev
melonai3 has joined #asahi-dev
bisko has joined #asahi-dev
compassion1785 has quit [Read error: Connection reset by peer]
compassion1785 has joined #asahi-dev
baozich has joined #asahi-dev
bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chadmed has quit [Remote host closed the connection]
cylm_ has joined #asahi-dev
baozich has quit [Ping timeout: 480 seconds]
ATiltedTree has quit [Remote host closed the connection]
ATiltedTree has joined #asahi-dev
chadmed has joined #asahi-dev
ourdumbfuture has joined #asahi-dev
ourdumbfuture has quit []
ourdumbfuture has joined #asahi-dev
ourdumbfuture has quit []
ourdumbfuture has joined #asahi-dev
chadmed has quit [Remote host closed the connection]
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi-dev
compassion1785 has quit [Quit: lounge quit]
jeisom has joined #asahi-dev
compassion1785 has joined #asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chadmed has joined #asahi-dev
ourdumbfuture has joined #asahi-dev
<chadmed>
ok im 100% certain this stupid clipping is inside the codec now
<chadmed>
bypassed everything, rejigged FIRs to _only_ cut and not boost anything, took the saturator off
<chadmed>
no stage of the dsp graph is clipping at all
<chadmed>
still get this stupid crackling noise out of the woofers whenever theyre moderately loud
bcrumb has joined #asahi-dev
bcrumb has quit []
bcrumb has joined #asahi-dev
dsharshakov has joined #asahi-dev
<dsharshakov>
chadmed: can you hear the issue if you direct dsp out to headphones or a file?
<dsharshakov>
also the branch is now mostly ready and MRed
bcrumb has quit []
bcrumb has joined #asahi-dev
<chadmed>
dsharshakov: nah no artefacts at all through the headphones
<chadmed>
nothing is clipping anyway and even if it was it wouldnt result in the noises im hearing
<chadmed>
ill try something different tomorrow and will get around to adding some comments to the issue and MR
<chadmed>
some things are a bit janky
<dsharshakov>
"some things are a bit janky" <-- which precisely? any PW side work to do?
<dsharshakov>
is there any way to access raw 6-channel audio from macOS?
<dsharshakov>
e.g. by reconfiguring coreaudio
<povik>
i can trace it, finally patched together a working admac tracer
<povik>
but i don't see how it would help us here
<chadmed>
dsharshakov: 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
<povik>
unless we tried capturing macos samples at full volume, then replayed that stream under linux
<chadmed>
and 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
<povik>
which if the artifacts appeared would confirm the apple quirks in configuration of the codec are important
<dsharshakov>
will look at the volume control
<dsharshakov>
what if you swap config file contents? or is that baked into binary?
<povik>
what you mean by swapping config file contents?
<povik>
there's no interchangeable format
<povik>
the linux driver does some configuration, the apple driver does that too, and some undocumented bits on top of it
<povik>
we don't know what the latter part does
<dsharshakov>
DSP and raw coreaudio configs to try playing back raw on macos
<povik>
ah, i don't know, i stay away from coreaudio
<chadmed>
i pulled sound/ivsense-improvements and tried it earlier and there was an audible difference in the sound so those quirks must do something important
<povik>
hah
<povik>
but still... that noise?
<chadmed>
didnt test long enough to hit it, got a load of kernel oopses and stuff so just came back to 6.4-asahi-6
<chadmed>
(i did update the dtbs)
<povik>
oh, you think those were ivsense related?
<povik>
since marcan was asking the other day if we can merge that
<povik>
i don't know of any outstanding issue, but haven't touched that in a while
<chadmed>
nah they were related to something else, something about cpu pstates
<chadmed>
all the ivsense/sample rate detection stuff worked fine
<povik>
ok, i guess i should freshen that up and let it be merged into asahi
<povik>
and you can then see if it helps with the cracks
<chadmed>
and finally get sleep at least halfway towards working
<chadmed>
given 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
<chadmed>
will test that too
<povik>
there's always the explanation that it can happen on any wakeup with low probability, and rapid cycling is how you hit it
<povik>
if 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
<chadmed>
hmm okay
<chadmed>
it 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
bcrumb has quit [Quit: WeeChat 4.0.3]
jeisom has quit [Quit: Leaving]
dsharshakov has quit [Quit: Page closed]
jeisom has joined #asahi-dev
mrhh has joined #asahi-dev
mrhh has quit [Quit: mrhh]
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
axboe has quit [Remote host closed the connection]
axboe has joined #asahi-dev
ourdumbfuture has joined #asahi-dev
Guest9188 has quit [Quit: Bridge terminating on SIGTERM]
rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
systwi_ has joined #asahi-dev
Jamie has joined #asahi-dev
Jamie is now known as Guest9295
rhysmdnz has joined #asahi-dev
systwi has quit [Ping timeout: 480 seconds]
bisko has joined #asahi-dev
bisko has quit [Read error: Connection reset by peer]
bowad has joined #asahi-dev
eiln has joined #asahi-dev
<eiln>
I was patching vlc until I realized I can be a bit smarter
<eiln>
We can pipe the ffmpeg filtered input into a virtual v4l2 loopback device
<eiln>
Users would use the bog-standard yuv420p in /dev/video1
<eiln>
Ofc we can kill two birds and do some vanity filtering while at it
<eiln>
v4l2loopback is a GPL module, and I just included it as part of CONFIG_VIDEO_APPLE_ISP objs for now
<eiln>
With that vlc works OOTB (the one pre-installed on KDE), so we just need the ffmpeg multiplanar patches (which I'll try to upstream)
ciara has quit [Read error: Connection reset by peer]
ciara has joined #asahi-dev
derzahl has quit [Remote host closed the connection]
bowad has quit [Ping timeout: 480 seconds]
nela has quit [Quit: bye!]
nela has joined #asahi-dev
jeisom has quit [Ping timeout: 480 seconds]
<nicolas17>
is "USB OTG" supported?
<nicolas17>
I 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)
<sven>
only if you disable usb3 support
<sven>
that currently breaks device mode for sone reason
jurplel has joined #asahi-dev
maximbaz has quit [Quit: bye]
maximbaz has joined #asahi-dev
jeisom has joined #asahi-dev
<jannau>
eiln: 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
crabbedhaloablut has quit []
flatz has joined #asahi-dev
<nicolas17>
sven: that's still great
<nicolas17>
this 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
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…]
flatz has quit []
<eiln>
jannau: I'm only now looking into non-macos defaults
<eiln>
these tell me yes
<eiln>
DMA input: YUV422_1Plane, Non-tile mode
<eiln>
DMA input: YUV420_2Plane, Non-tile mode
<eiln>
DMA input: YUV420_2Plane, tile mode
<eiln>
this tells me no
<eiln>
E_OVR_BUFFER_ONEPLANAR_YUV422 not supported
<eiln>
for 420 at least both planes have to be page aligned
ourdumbfuture has joined #asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi-dev
stipa is now known as Guest9319
stipa has joined #asahi-dev
Guest9319 has quit [Ping timeout: 480 seconds]
jurplel has quit [Ping timeout: 480 seconds]
baozich has joined #asahi-dev
jjanzic has quit [Read error: Connection reset by peer]
jjanzic1 has joined #asahi-dev
baozich has quit [Ping timeout: 480 seconds]
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi-dev
jurplel has joined #asahi-dev
jurplel has quit [Ping timeout: 480 seconds]
darkapex has quit [Remote host closed the connection]
darkapex has joined #asahi-dev
jurplel has joined #asahi-dev
jeisom has quit [Ping timeout: 480 seconds]
StupidYui has joined #asahi-dev
StupidYui has quit [Remote host closed the connection]
chadmed has quit [Remote host closed the connection]