marcan 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
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
Etrien__ has quit [Read error: Connection reset by peer]
millenialhacker has joined #asahi-dev
millenialhacker has quit [Ping timeout: 480 seconds]
Dcow has quit [Remote host closed the connection]
zzywysm_ has joined #asahi-dev
Dcow has joined #asahi-dev
zzywysm has quit [Ping timeout: 480 seconds]
Dcow has quit [Ping timeout: 480 seconds]
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
zzywysm_ has quit [Quit: Textual IRC Client: www.textualapp.com]
Etrien has joined #asahi-dev
zzywysm has joined #asahi-dev
chadmed has joined #asahi-dev
Dcow has joined #asahi-dev
Dcow has quit [Ping timeout: 480 seconds]
Etrien__ has joined #asahi-dev
Etrien___ has joined #asahi-dev
Etrien has quit [Ping timeout: 480 seconds]
Etrien__ has quit [Ping timeout: 480 seconds]
Etrien has joined #asahi-dev
Etrien___ has quit [Ping timeout: 480 seconds]
Dcow has joined #asahi-dev
Dcow has quit [Ping timeout: 480 seconds]
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
Etrien has quit [Remote host closed the connection]
Mary has quit [Quit: The Lounge - https://thelounge.chat]
Mary has joined #asahi-dev
Dcow has joined #asahi-dev
Dcow has quit [Ping timeout: 480 seconds]
chadmed has quit [Quit: Konversation terminated!]
Etrien has joined #asahi-dev
Dcow has joined #asahi-dev
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
Dcow has quit [Ping timeout: 480 seconds]
nicolas17 has quit [Quit: Konversation terminated!]
chadmed has joined #asahi-dev
<chadmed> povik: just fyi the popping/clicking thing i mentioned last night isnt anything wrong with the tas2764 driver. mute_stream is only called when wireplumber suspends nodes, which only happens 5 seconds after the node stops being used
<chadmed> so thats no good
<chadmed> i wonder if its always been like that or users complained about codecs taking too long to start back up after being muted and powered down or something
Dcow has joined #asahi-dev
tobhe_ has joined #asahi-dev
Dcow has quit [Ping timeout: 480 seconds]
tobhe has quit [Ping timeout: 480 seconds]
Etrien has quit [Remote host closed the connection]
Etrien has joined #asahi-dev
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
chadmed has quit [Quit: Konversation terminated!]
Dcow has joined #asahi-dev
Dcow has quit [Ping timeout: 480 seconds]
chadmed has joined #asahi-dev
chadmed has quit [Quit: Konversation terminated!]
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
millenialhacker has joined #asahi-dev
Etrien__ has joined #asahi-dev
millenialhacker has quit [Ping timeout: 480 seconds]
Etrien has quit [Ping timeout: 480 seconds]
millenialhacker has joined #asahi-dev
Dcow has joined #asahi-dev
Etrien has joined #asahi-dev
SSJ_GZ has joined #asahi-dev
Etrien__ has quit [Ping timeout: 480 seconds]
Dcow has quit [Ping timeout: 480 seconds]
chadmed has joined #asahi-dev
uur has joined #asahi-dev
ChaosPrincess has quit [Remote host closed the connection]
ChaosPrincess has joined #asahi-dev
uur has quit [Quit: Leaving.]
uur has joined #asahi-dev
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
uur has quit [Ping timeout: 480 seconds]
millenialhacker_ has joined #asahi-dev
<povik> chadmed: there's a timer for this in ASoC, let me look it up
uur has joined #asahi-dev
<chadmed> interesting, i had a play with delaying the transition to SND_SOC_DAPM_PRE_PMD to give the codecs some time to actually mute the DAC's stream but it kept doing it. i even added the DVC_RAMP stuff to try and gracefully bring the volume down
<chadmed> so i think its definitely something outside of the driver's remit
<povik> see pmdown_time in soc-core.c
<povik> to quote:
<povik> * Power down the audio subsystem pmdown_time msecs after close is called.
<povik> * This is to ensure there are no pops or clicks in between any music tracks
<povik> * due to DAPM power cycling.
<povik> it's a module parameter so you can play around with it
<chadmed> interesting
millenialhacker has quit [Remote host closed the connection]
millenialhacker_ has quit [Ping timeout: 480 seconds]
chadmed has quit [Quit: Konversation terminated!]
uur has quit [Remote host closed the connection]
gabuscus has quit [Ping timeout: 480 seconds]
gabuscus has joined #asahi-dev
uur has joined #asahi-dev
uur has quit [Remote host closed the connection]
chadmed has joined #asahi-dev
<chadmed> seems to definitely be whatever pipewire does to get asoc to mute the stream. jack has significantly less clicking even at absolutely abhorrent volumes
uur has joined #asahi-dev
King_In1 has joined #asahi-dev
nullroute_ has joined #asahi-dev
al3xtjames9 has joined #asahi-dev
enron9 has joined #asahi-dev
Chainsaw_ has joined #asahi-dev
thelounge7571340 has joined #asahi-dev
cptcobalt_ has joined #asahi-dev
steev_ has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
arnd_ has joined #asahi-dev
Manouchehri_ has joined #asahi-dev
liszt_ has joined #asahi-dev
linxz_ has joined #asahi-dev
jonmasters_ has joined #asahi-dev
chadmed has quit [Quit: Konversation terminated!]
snek_ has joined #asahi-dev
yuyichao has joined #asahi-dev
Z750 has joined #asahi-dev
nepeat_ has joined #asahi-dev
yuyichao_ has quit [synthon.oftc.net larich.oftc.net]
kov has quit [synthon.oftc.net larich.oftc.net]
nullroute has quit [synthon.oftc.net larich.oftc.net]
King_InuYasha has quit [synthon.oftc.net larich.oftc.net]
nepeat has quit [synthon.oftc.net larich.oftc.net]
al3xtjames has quit [synthon.oftc.net larich.oftc.net]
enron has quit [synthon.oftc.net larich.oftc.net]
artemist has quit [synthon.oftc.net larich.oftc.net]
princesszoey has quit [synthon.oftc.net larich.oftc.net]
Z751 has quit [synthon.oftc.net larich.oftc.net]
Manouchehri has quit [synthon.oftc.net larich.oftc.net]
arnd has quit [synthon.oftc.net larich.oftc.net]
steev has quit [synthon.oftc.net larich.oftc.net]
linxz has quit [synthon.oftc.net larich.oftc.net]
cptcobalt has quit [synthon.oftc.net larich.oftc.net]
liszt has quit [synthon.oftc.net larich.oftc.net]
snek has quit [synthon.oftc.net larich.oftc.net]
Chainsaw has quit [synthon.oftc.net larich.oftc.net]
kevans91 has quit [synthon.oftc.net larich.oftc.net]
al3xtjames9 is now known as al3xtjames
nullroute_ is now known as nullroute
enron9 is now known as enron
linxz_ is now known as linxz
jonmasters has quit [synthon.oftc.net larich.oftc.net]
Chainsaw_ is now known as Chainsaw
cptcobalt_ is now known as cptcobalt
steev_ is now known as steev
Manouchehri_ is now known as Manouchehri
artemist has joined #asahi-dev
kevans91 has joined #asahi-dev
princesszoey has joined #asahi-dev
uur has quit [Remote host closed the connection]
kov has joined #asahi-dev
uur has joined #asahi-dev
Dcow has joined #asahi-dev
uur has quit [Remote host closed the connection]
Dcow has quit [Ping timeout: 480 seconds]
uur has joined #asahi-dev
kazuki has joined #asahi-dev
Dcow has joined #asahi-dev
uur has quit [Remote host closed the connection]
uur has joined #asahi-dev
uur has quit [Remote host closed the connection]
uur has joined #asahi-dev
Dcow has quit [Ping timeout: 480 seconds]
uur has quit [Remote host closed the connection]
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
<kazuki> chadmed: Looks like EAS isn't working, the EM never gets registered to begin with
bluetail has quit [Ping timeout: 480 seconds]
Etrien__ has joined #asahi-dev
Etrien has quit [Ping timeout: 480 seconds]
Dcow has joined #asahi-dev
chadmed has joined #asahi-dev
<chadmed> kazuki: any idea why it would be failing on opp-microvolt? it should pass over that because theres no opp-microvolt prop
<chadmed> if im reading correctly, for some reason it just unconditionally fails if theres no opp-microvolt regardless of other props being present?
uur has joined #asahi-dev
uur has quit [Remote host closed the connection]
Etrien has joined #asahi-dev
Etrien__ has quit [Ping timeout: 480 seconds]
uur has joined #asahi-dev
uur has quit [Remote host closed the connection]
uur has joined #asahi-dev
kujeger has joined #asahi-dev
<chadmed> it might be because we havent any power regulators associated with the cpus/clusters, and the function assumes you do
<chadmed> thats very silly
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
chadmed has quit [Quit: Page closed]
chadmed has joined #asahi-dev
<chadmed> ok yep that is precisely what the problem was
<chadmed> opp-microvolt = <1>; in every opp makes the em register successfully
uur has quit [Remote host closed the connection]
<chadmed> i wonder if it will fly upstream to have core.c check for opp-microwatt if it doesnt find opp-microvolt and only give up if _neither_ are present
uur has joined #asahi-dev
kov has quit [Quit: Coyote finally caught me]
uur has quit [Remote host closed the connection]
uur has joined #asahi-dev
Etrien__ has joined #asahi-dev
Etrien__ has quit [Read error: Connection reset by peer]
Etrien__ has joined #asahi-dev
mrkajetanp has joined #asahi-dev
Etrien has quit [Ping timeout: 480 seconds]
mrkajetanp has quit [Remote host closed the connection]
<kazuki> chadmed: Yeah it's caused by the regulators not being there, idk which regulators it's referring to though
<chadmed> DT convention is to link VRMs to the cores, then describe the voltage and current at each opp in the opp table
<kazuki> > opp-microvolt = <1>; in every opp makes the em register successfully
<kazuki> Huh, I tried that and it didn't work
<chadmed> did you update m1n1
<kazuki> Nope
<kazuki> Why?
<chadmed> thatll do it :P
<chadmed> if you make changes to the DTs you need to run update-m1n1, which concatenates the new ones into the boot payload
<chadmed> the kernel doesnt load the DT at runtime, m1n1 puts it into memory and it is forwarded to the kernel by u-boot
<chadmed> machine stays noticeably cooler which is lovely, but it kinda slaughters sw rendering performance lmao
<kazuki> Oh, so why DTB was never being updated
<kazuki> so my*
<chadmed> yeah
<chadmed> if youre using a source tree thats not where update-m1n1 expects it to be then they still wont be updated, nano $(which update-m1n1) and point the DTBS variable to where your DTs are
<kazuki> Ah thanks, I renamed the package so I guess that's why it never got updated
bluetail has joined #asahi-dev
<chadmed> i kinda wanna tweak of.c to register regulators with just opp-microwatt present but that whole system is just a house of cards and i feel like many things will explode if theres no opp-microvolt
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
chadmed has quit [Quit: Konversation terminated!]
kazuki has quit [Quit: Konversation terminated!]
chadmed has joined #asahi-dev
uur has quit [Remote host closed the connection]
uur has joined #asahi-dev
uur has quit [Remote host closed the connection]
uur has joined #asahi-dev
ethan has joined #asahi-dev
ethan is now known as amateurece
nela has quit [Quit: leaving.]
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
compassion2 has joined #asahi-dev
compassion has quit [Ping timeout: 480 seconds]
compassion2 is now known as compassion
roxfan2 has joined #asahi-dev
roxfan has quit [Ping timeout: 480 seconds]
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
fmstrat has joined #asahi-dev
Gaspare has joined #asahi-dev
uur has quit [Remote host closed the connection]
compassion has quit [Quit: lounge quit]
compassion has joined #asahi-dev
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
<sven> jannau: if display-subsystem fails to probe but dcp itself probensthe kernel panics when you shutdown
<sven> [ 11.646816] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000
<sven> [ 11.684656] Call trace:
<sven> [ 11.685447] dcp_push+0xd4/0x3b0
<sven> [ 11.686318] iomfb_shutdown+0x40/0x118
<sven> [ 11.687257] dcp_platform_shutdown+0x14/0x20
<_jannau_> unintended side effect of dcp_start(), not really happy about the cross module/device initialization
<_jannau_> other drm drivers (rockchip iirc) uses components, apple_drv currently doesn't probe as soon as a single dcp/dcpext* doesn't
<sven> in this case it didn't probe because I added links to the phy and crossbar and messed up my probe code
<mps> ChaosPrincess: what is status of your pwm patch for keyboard backlight
<ChaosPrincess> waiting for merg
<ChaosPrincess> e
<mps> ah, good
<mps> I works for me very fine, even made small daemon to timeout it after some seconds
<mps> tested on m1pro macbook and m1 mbp
<_jannau_> do you plan to send it out for upstream submission?
<ChaosPrincess> i run it on m1 mpb too, but only rely on kde's backlight handling
<ChaosPrincess> _jannau_: i have sent a pr to the asahi repo
<ChaosPrincess> or should i send it to linux mailing lists?
<sven> can't hurt to send it to the mailing lists once you're confident enough that it works and/or had a few people test it
<ChaosPrincess> idk if anyone tested it on a m2, but im confident it works on m1/m1pro
<sven> i'd probably just send it then
<sven> just make sure to e.g. not include the m2 parts already since I don't think those device trees are upstream yet ;)
<_jannau_> the PR is unfortunately only for linux-asahi
<sven> usually I use the latest rc as a base for my submissions
<_jannau_> ChaosPrincess: I think I tested it on the M2 macbook pro but will do that tonight
uur has joined #asahi-dev
<_jannau_> a good base for upstream submission would be marcan's asahi-soc pull request since that's the only base which has m1 pro/ devicetree's
uur has quit [Remote host closed the connection]
uur has joined #asahi-dev
<_jannau_> otherwise early rc (i.e. v6.1-rc1) of the devel kernel is a good base for the driver and the t8103 device tree changes
<sven> bah... atcphy.c seems to get stuck at color_mode = -1 for all modes again. wonder what I broke this time
<_jannau_> I'm still wondering how that logically can happen. I don't see which additional information it needs to eport those compared to the modes itself
<sven> I think it happens when anything with the link rate PHY setup goes wrong
<sven> I assume it somehow notices that the connection isn't stable and that's how it reacts
lonjil has quit [Quit: No Ping reply in 180 seconds.]
lonjil has joined #asahi-dev
uur has quit []
uur has joined #asahi-dev
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
uur has quit [Read error: Connection reset by peer]
uur1 has joined #asahi-dev
chengsun_ has joined #asahi-dev
chengsun has quit [Ping timeout: 480 seconds]
uur1 has quit [Quit: Leaving.]
Gaspare has quit [Quit: Gaspare]
maria has joined #asahi-dev
uur has joined #asahi-dev
SSJ_GZ has quit [Read error: Connection reset by peer]
SSJ_GZ has joined #asahi-dev
maria has quit [Quit: WeeChat 3.5]
Gaspare has joined #asahi-dev
maria has joined #asahi-dev
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
maria has quit [Quit: The Lounge - https://thelounge.chat]
maria has joined #asahi-dev
maria is now known as Guest4362
Guest4362 is now known as maria
uur1 has joined #asahi-dev
uur has quit [Ping timeout: 480 seconds]
<ChaosPrincess> Btw, since we were talking upstreaming, is someone working on it? What's the general status?
uur1 has quit [Quit: Leaving.]
uur has joined #asahi-dev
nicolas17 has joined #asahi-dev
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
Gaspare has quit [Quit: Gaspare]
chadmed has quit [Remote host closed the connection]
thasti_ has quit [Remote host closed the connection]
thasti has joined #asahi-dev
jluthra_ has quit [Remote host closed the connection]
jluthra_ has joined #asahi-dev
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
seam0s has joined #asahi-dev
seam0s has quit []
r0ni has quit [Quit: Textual IRC Client: www.textualapp.com]
millenialhacker has joined #asahi-dev
lkron has joined #asahi-dev
r0ni has joined #asahi-dev
r0ni has quit []
r0ni has joined #asahi-dev
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
snek_ has quit []
snek has joined #asahi-dev
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
Gaspare has joined #asahi-dev
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
Gaspare has quit [Quit: Gaspare]
Dcow has quit [Remote host closed the connection]
Dcow has joined #asahi-dev
amarioguy has quit [Quit: Leaving]
Gaspare has joined #asahi-dev
Gaspare has quit [Quit: Gaspare]
millenia_ has joined #asahi-dev
millenia_ has quit [Remote host closed the connection]
millenia_ has joined #asahi-dev
millenia_ has quit [Remote host closed the connection]
millenia_ has joined #asahi-dev
millenia_ has quit [Remote host closed the connection]
millenia_ has joined #asahi-dev
millenialhacker has quit [Read error: No route to host]
millenialhacker has joined #asahi-dev
millenia_ has quit [Ping timeout: 480 seconds]
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
Dcow has quit [Remote host closed the connection]
Dcow has joined #asahi-dev
uur_ has joined #asahi-dev
Dcow_ has joined #asahi-dev
uur has quit [Ping timeout: 480 seconds]
Dcow has quit [Ping timeout: 480 seconds]
uur_ has quit []
lkron has quit [Quit: Lost terminal]
Dcow_ has quit [Remote host closed the connection]
Dcow has joined #asahi-dev
Dcow has quit [Remote host closed the connection]
Dcow has joined #asahi-dev
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]