#
…

2022-10-28

00:26thelounge7571340 has joined #asahi-dev
00:26thelounge7571340 has quit [Remote host closed the connection]
00:37Etrien__ has quit [Read error: Connection reset by peer]
00:57millenialhacker has joined #asahi-dev
01:10millenialhacker has quit [Ping timeout: 480 seconds]
01:11Dcow has quit [Remote host closed the connection]
01:13zzywysm_ has joined #asahi-dev
01:14Dcow has joined #asahi-dev
01:18zzywysm has quit [Ping timeout: 480 seconds]
01:25Dcow has quit [Ping timeout: 480 seconds]
01:30thelounge7571340 has joined #asahi-dev
01:31thelounge7571340 has quit [Remote host closed the connection]
01:32zzywysm_ has quit [Quit: Textual IRC Client: www.textualapp.com]
01:33Etrien has joined #asahi-dev
01:38zzywysm has joined #asahi-dev
01:39chadmed has joined #asahi-dev
01:50Dcow has joined #asahi-dev
01:59Dcow has quit [Ping timeout: 480 seconds]
02:01Etrien__ has joined #asahi-dev
02:05Etrien___ has joined #asahi-dev
02:06Etrien has quit [Ping timeout: 480 seconds]
02:09Etrien__ has quit [Ping timeout: 480 seconds]
02:12Etrien has joined #asahi-dev
02:17Etrien___ has quit [Ping timeout: 480 seconds]
02:25Dcow has joined #asahi-dev
02:33Dcow has quit [Ping timeout: 480 seconds]
02:36thelounge7571340 has joined #asahi-dev
02:36thelounge7571340 has quit [Remote host closed the connection]
02:44Etrien has quit [Remote host closed the connection]
02:51Mary has quit [Quit: The Lounge - https://thelounge.chat]
02:51Mary has joined #asahi-dev
02:59Dcow has joined #asahi-dev
03:08Dcow has quit [Ping timeout: 480 seconds]
03:08chadmed has quit [Quit: Konversation terminated!]
03:16Etrien has joined #asahi-dev
03:34Dcow has joined #asahi-dev
03:37thelounge7571340 has joined #asahi-dev
03:38thelounge7571340 has quit [Remote host closed the connection]
03:42Dcow has quit [Ping timeout: 480 seconds]
03:45nicolas17 has quit [Quit: Konversation terminated!]
03:46chadmed has joined #asahi-dev
04:04chadmedpovik: 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
04:04chadmedso thats no good
04:05chadmedi 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
04:08Dcow has joined #asahi-dev
04:13tobhe_ has joined #asahi-dev
04:16Dcow has quit [Ping timeout: 480 seconds]
04:17tobhe has quit [Ping timeout: 480 seconds]
04:35Etrien has quit [Remote host closed the connection]
04:35Etrien has joined #asahi-dev
04:39thelounge7571340 has joined #asahi-dev
04:40thelounge7571340 has quit [Remote host closed the connection]
04:42chadmed has quit [Quit: Konversation terminated!]
04:44Dcow has joined #asahi-dev
04:52Dcow has quit [Ping timeout: 480 seconds]
05:03chadmed has joined #asahi-dev
05:15chadmed has quit [Quit: Konversation terminated!]
05:45thelounge7571340 has joined #asahi-dev
05:45thelounge7571340 has quit [Remote host closed the connection]
05:48millenialhacker has joined #asahi-dev
06:09Etrien__ has joined #asahi-dev
06:11millenialhacker has quit [Ping timeout: 480 seconds]
06:15Etrien has quit [Ping timeout: 480 seconds]
06:17millenialhacker has joined #asahi-dev
06:25Dcow has joined #asahi-dev
06:25Etrien has joined #asahi-dev
06:29SSJ_GZ has joined #asahi-dev
06:30Etrien__ has quit [Ping timeout: 480 seconds]
06:33Dcow has quit [Ping timeout: 480 seconds]
06:49chadmed has joined #asahi-dev
06:50uur has joined #asahi-dev
06:50ChaosPrincess has quit [Remote host closed the connection]
06:52ChaosPrincess has joined #asahi-dev
06:53uur has quit [Quit: Leaving.]
06:55uur has joined #asahi-dev
07:02thelounge7571340 has joined #asahi-dev
07:02thelounge7571340 has quit [Remote host closed the connection]
07:06uur has quit [Ping timeout: 480 seconds]
07:09millenialhacker_ has joined #asahi-dev
07:11povikchadmed: there's a timer for this in ASoC, let me look it up
07:12uur has joined #asahi-dev
07:12chadmedinteresting, 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
07:13chadmedso i think its definitely something outside of the driver's remit
07:13poviksee pmdown_time in soc-core.c
07:13povikto quote:
07:13povik * Power down the audio subsystem pmdown_time msecs after close is called.
07:13povik * This is to ensure there are no pops or clicks in between any music tracks
07:13povik * due to DAPM power cycling.
07:13povikit's a module parameter so you can play around with it
07:14chadmedinteresting
07:15millenialhacker has quit [Remote host closed the connection]
07:18millenialhacker_ has quit [Ping timeout: 480 seconds]
07:20chadmed has quit [Quit: Konversation terminated!]
07:20uur has quit [Remote host closed the connection]
07:24gabuscus has quit [Ping timeout: 480 seconds]
07:26gabuscus has joined #asahi-dev
07:29uur has joined #asahi-dev
07:31uur has quit [Remote host closed the connection]
07:44chadmed has joined #asahi-dev
07:54chadmedseems to definitely be whatever pipewire does to get asoc to mute the stream. jack has significantly less clicking even at absolutely abhorrent volumes
07:55uur has joined #asahi-dev
08:03King_In1 has joined #asahi-dev
08:03nullroute_ has joined #asahi-dev
08:03al3xtjames9 has joined #asahi-dev
08:03enron9 has joined #asahi-dev
08:03Chainsaw_ has joined #asahi-dev
08:04thelounge7571340 has joined #asahi-dev
08:04cptcobalt_ has joined #asahi-dev
08:04steev_ has joined #asahi-dev
08:04thelounge7571340 has quit [Remote host closed the connection]
08:04arnd_ has joined #asahi-dev
08:04Manouchehri_ has joined #asahi-dev
08:04liszt_ has joined #asahi-dev
08:05linxz_ has joined #asahi-dev
08:05jonmasters_ has joined #asahi-dev
08:05chadmed has quit [Quit: Konversation terminated!]
08:05snek_ has joined #asahi-dev
08:05yuyichao has joined #asahi-dev
08:06Z750 has joined #asahi-dev
08:06nepeat_ has joined #asahi-dev
08:07yuyichao_ has quit [synthon.oftc.net larich.oftc.net]
08:07kov has quit [synthon.oftc.net larich.oftc.net]
08:07nullroute has quit [synthon.oftc.net larich.oftc.net]
08:07King_InuYasha has quit [synthon.oftc.net larich.oftc.net]
08:07nepeat has quit [synthon.oftc.net larich.oftc.net]
08:07al3xtjames has quit [synthon.oftc.net larich.oftc.net]
08:07enron has quit [synthon.oftc.net larich.oftc.net]
08:07artemist has quit [synthon.oftc.net larich.oftc.net]
08:07princesszoey has quit [synthon.oftc.net larich.oftc.net]
08:07Z751 has quit [synthon.oftc.net larich.oftc.net]
08:07Manouchehri has quit [synthon.oftc.net larich.oftc.net]
08:07arnd has quit [synthon.oftc.net larich.oftc.net]
08:07steev has quit [synthon.oftc.net larich.oftc.net]
08:07linxz has quit [synthon.oftc.net larich.oftc.net]
08:07cptcobalt has quit [synthon.oftc.net larich.oftc.net]
08:07liszt has quit [synthon.oftc.net larich.oftc.net]
08:07snek has quit [synthon.oftc.net larich.oftc.net]
08:07Chainsaw has quit [synthon.oftc.net larich.oftc.net]
08:07kevans91 has quit [synthon.oftc.net larich.oftc.net]
08:07al3xtjames9 is now known as al3xtjames
08:07nullroute_ is now known as nullroute
08:07enron9 is now known as enron
08:07linxz_ is now known as linxz
08:07jonmasters has quit [synthon.oftc.net larich.oftc.net]
08:07Chainsaw_ is now known as Chainsaw
08:07cptcobalt_ is now known as cptcobalt
08:07steev_ is now known as steev
08:07Manouchehri_ is now known as Manouchehri
08:07artemist has joined #asahi-dev
08:07kevans91 has joined #asahi-dev
08:08princesszoey has joined #asahi-dev
08:09uur has quit [Remote host closed the connection]
08:09kov has joined #asahi-dev
08:15uur has joined #asahi-dev
08:17Dcow has joined #asahi-dev
08:20uur has quit [Remote host closed the connection]
08:25Dcow has quit [Ping timeout: 480 seconds]
08:33uur has joined #asahi-dev
08:37kazuki has joined #asahi-dev
08:52Dcow has joined #asahi-dev
08:55uur has quit [Remote host closed the connection]
08:56uur has joined #asahi-dev
08:58uur has quit [Remote host closed the connection]
09:00uur has joined #asahi-dev
09:00Dcow has quit [Ping timeout: 480 seconds]
09:02uur has quit [Remote host closed the connection]
09:05thelounge7571340 has joined #asahi-dev
09:05thelounge7571340 has quit [Remote host closed the connection]
09:06kazukichadmed: Looks like EAS isn't working, the EM never gets registered to begin with
09:28bluetail has quit [Ping timeout: 480 seconds]
09:29Etrien__ has joined #asahi-dev
09:31Etrien has quit [Ping timeout: 480 seconds]
09:34Dcow has joined #asahi-dev
09:35chadmed has joined #asahi-dev
09:35chadmedkazuki: any idea why it would be failing on opp-microvolt? it should pass over that because theres no opp-microvolt prop
09:36chadmedif im reading correctly, for some reason it just unconditionally fails if theres no opp-microvolt regardless of other props being present?
09:39uur has joined #asahi-dev
09:41uur has quit [Remote host closed the connection]
09:48Etrien has joined #asahi-dev
09:52Etrien__ has quit [Ping timeout: 480 seconds]
09:55uur has joined #asahi-dev
09:57uur has quit [Remote host closed the connection]
09:58uur has joined #asahi-dev
10:00kujeger has joined #asahi-dev
10:07chadmedit might be because we havent any power regulators associated with the cpus/clusters, and the function assumes you do
10:08chadmedthats very silly
10:11thelounge7571340 has joined #asahi-dev
10:11thelounge7571340 has quit [Remote host closed the connection]
10:28chadmed has quit [Quit: Page closed]
10:34chadmed has joined #asahi-dev
10:34chadmedok yep that is precisely what the problem was
10:34chadmedopp-microvolt = <1>; in every opp makes the em register successfully
10:34uur has quit [Remote host closed the connection]
10:37chadmedi 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
10:38uur has joined #asahi-dev
10:40kov has quit [Quit: Coyote finally caught me]
10:50uur has quit [Remote host closed the connection]
10:51uur has joined #asahi-dev
10:57Etrien__ has joined #asahi-dev
10:58Etrien__ has quit [Read error: Connection reset by peer]
10:59Etrien__ has joined #asahi-dev
11:00mrkajetanp has joined #asahi-dev
11:02Etrien has quit [Ping timeout: 480 seconds]
11:07mrkajetanp has quit [Remote host closed the connection]
11:09kazukichadmed: Yeah it's caused by the regulators not being there, idk which regulators it's referring to though
11:10chadmedDT convention is to link VRMs to the cores, then describe the voltage and current at each opp in the opp table
11:10kazuki> opp-microvolt = <1>; in every opp makes the em register successfully
11:10kazukiHuh, I tried that and it didn't work
11:11chadmeddid you update m1n1
11:11chadmedthatll do it :P
11:11chadmedif you make changes to the DTs you need to run update-m1n1, which concatenates the new ones into the boot payload
11:12chadmedthe kernel doesnt load the DT at runtime, m1n1 puts it into memory and it is forwarded to the kernel by u-boot
11:13chadmedmachine stays noticeably cooler which is lovely, but it kinda slaughters sw rendering performance lmao
11:13kazukiOh, so why DTB was never being updated
11:14chadmedif 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
11:16kazukiAh thanks, I renamed the package so I guess that's why it never got updated
11:17bluetail has joined #asahi-dev
11:18chadmedi 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
11:18thelounge7571340 has joined #asahi-dev
11:19thelounge7571340 has quit [Remote host closed the connection]
11:21chadmed has quit [Quit: Konversation terminated!]
11:23kazuki has quit [Quit: Konversation terminated!]
11:23chadmed has joined #asahi-dev
11:31uur has quit [Remote host closed the connection]
11:33uur has joined #asahi-dev
11:44uur has quit [Remote host closed the connection]
11:47uur has joined #asahi-dev
11:48ethan has joined #asahi-dev
11:52ethan is now known as amateurece
12:14nela has quit [Quit: leaving.]
12:25thelounge7571340 has joined #asahi-dev
12:25thelounge7571340 has quit [Remote host closed the connection]
12:35compassion2 has joined #asahi-dev
12:40compassion has quit [Ping timeout: 480 seconds]
12:40compassion2 is now known as compassion
13:22roxfan2 has joined #asahi-dev
13:27roxfan has quit [Ping timeout: 480 seconds]
13:31thelounge7571340 has joined #asahi-dev
13:31thelounge7571340 has quit [Remote host closed the connection]
13:41fmstrat has joined #asahi-dev
13:49Gaspare has joined #asahi-dev
14:34uur has quit [Remote host closed the connection]
14:36compassion has quit [Quit: lounge quit]
14:36compassion has joined #asahi-dev
14:37thelounge7571340 has joined #asahi-dev
14:38thelounge7571340 has quit [Remote host closed the connection]
14:53svenjannau: if display-subsystem fails to probe but dcp itself probensthe kernel panics when you shutdown
14:54sven[ 11.646816] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000
14:54sven[ 11.684656] Call trace:
14:54sven[ 11.685447] dcp_push+0xd4/0x3b0
14:54sven[ 11.686318] iomfb_shutdown+0x40/0x118
14:54sven[ 11.687257] dcp_platform_shutdown+0x14/0x20
15:04_jannau_unintended side effect of dcp_start(), not really happy about the cross module/device initialization
15:05_jannau_other drm drivers (rockchip iirc) uses components, apple_drv currently doesn't probe as soon as a single dcp/dcpext* doesn't
15:06svenin this case it didn't probe because I added links to the phy and crossbar and messed up my probe code
15:06mpsChaosPrincess: what is status of your pwm patch for keyboard backlight
15:07ChaosPrincesswaiting for merg
15:07mpsah, good
15:07mpsI works for me very fine, even made small daemon to timeout it after some seconds
15:08mpstested on m1pro macbook and m1 mbp
15:08_jannau_do you plan to send it out for upstream submission?
15:08ChaosPrincessi run it on m1 mpb too, but only rely on kde's backlight handling
15:09ChaosPrincess_jannau_: i have sent a pr to the asahi repo
15:09ChaosPrincessor should i send it to linux mailing lists?
15:09svencan'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
15:10ChaosPrincessidk if anyone tested it on a m2, but im confident it works on m1/m1pro
15:10sveni'd probably just send it then
15:11svenjust make sure to e.g. not include the m2 parts already since I don't think those device trees are upstream yet ;)
15:11_jannau_the PR is unfortunately only for linux-asahi
15:12svenusually I use the latest rc as a base for my submissions
15:12_jannau_ChaosPrincess: I think I tested it on the M2 macbook pro but will do that tonight
15:14uur has joined #asahi-dev
15:15_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
15:15uur has quit [Remote host closed the connection]
15:16uur has joined #asahi-dev
15:17_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
15:17svenbah... atcphy.c seems to get stuck at color_mode = -1 for all modes again. wonder what I broke this time
15:22_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
15:23svenI think it happens when anything with the link rate PHY setup goes wrong
15:23svenI assume it somehow notices that the connection isn't stable and that's how it reacts
15:26lonjil has quit [Quit: No Ping reply in 180 seconds.]
15:27lonjil has joined #asahi-dev
15:28uur has quit []
15:30uur has joined #asahi-dev
15:44thelounge7571340 has joined #asahi-dev
15:44thelounge7571340 has quit [Remote host closed the connection]
15:49uur has quit [Read error: Connection reset by peer]
15:49uur1 has joined #asahi-dev
15:57chengsun_ has joined #asahi-dev
16:00chengsun has quit [Ping timeout: 480 seconds]
16:00uur1 has quit [Quit: Leaving.]
16:08Gaspare has quit [Quit: Gaspare]
16:16maria has joined #asahi-dev
16:26uur has joined #asahi-dev
16:31SSJ_GZ has quit [Read error: Connection reset by peer]
16:32SSJ_GZ has joined #asahi-dev
16:56maria has quit [Quit: WeeChat 3.5]
16:58Gaspare has joined #asahi-dev
17:00maria has joined #asahi-dev
17:04thelounge7571340 has joined #asahi-dev
17:04thelounge7571340 has quit [Remote host closed the connection]
17:07maria has quit [Quit: The Lounge - https://thelounge.chat]
17:07maria has joined #asahi-dev
17:07maria is now known as Guest4362
17:08Guest4362 is now known as maria
17:22uur1 has joined #asahi-dev
17:26uur has quit [Ping timeout: 480 seconds]
17:29ChaosPrincessBtw, since we were talking upstreaming, is someone working on it? What's the general status?
17:34uur1 has quit [Quit: Leaving.]
17:36uur has joined #asahi-dev
17:43nicolas17 has joined #asahi-dev
18:12thelounge7571340 has joined #asahi-dev
18:13thelounge7571340 has quit [Remote host closed the connection]
18:24Gaspare has quit [Quit: Gaspare]
18:58chadmed has quit [Remote host closed the connection]
19:09thasti_ has quit [Remote host closed the connection]
19:16thasti has joined #asahi-dev
19:19jluthra_ has quit [Remote host closed the connection]
19:20jluthra_ has joined #asahi-dev
19:20thelounge7571340 has joined #asahi-dev
19:20thelounge7571340 has quit [Remote host closed the connection]
19:34seam0s has joined #asahi-dev
19:35seam0s has quit []
19:47r0ni has quit [Quit: Textual IRC Client: www.textualapp.com]
20:07millenialhacker has joined #asahi-dev
20:07lkron has joined #asahi-dev
20:13r0ni has joined #asahi-dev
20:13r0ni has quit []
20:16r0ni has joined #asahi-dev
20:22thelounge7571340 has joined #asahi-dev
20:22thelounge7571340 has quit [Remote host closed the connection]
20:51snek_ has quit []
20:52snek has joined #asahi-dev
21:29thelounge7571340 has joined #asahi-dev
21:29thelounge7571340 has quit [Remote host closed the connection]
21:40Gaspare has joined #asahi-dev
21:42thelounge7571340 has joined #asahi-dev
21:42thelounge7571340 has quit [Remote host closed the connection]
21:50Gaspare has quit [Quit: Gaspare]
21:50Dcow has quit [Remote host closed the connection]
21:51Dcow has joined #asahi-dev
21:54amarioguy has quit [Quit: Leaving]
21:59Gaspare has joined #asahi-dev
22:06Gaspare has quit [Quit: Gaspare]
22:15millenia_ has joined #asahi-dev
22:15millenia_ has quit [Remote host closed the connection]
22:15millenia_ has joined #asahi-dev
22:16millenia_ has quit [Remote host closed the connection]
22:16millenia_ has joined #asahi-dev
22:16millenia_ has quit [Remote host closed the connection]
22:17millenia_ has joined #asahi-dev
22:18millenialhacker has quit [Read error: No route to host]
22:18millenialhacker has joined #asahi-dev
22:27millenia_ has quit [Ping timeout: 480 seconds]
22:56thelounge7571340 has joined #asahi-dev
22:56thelounge7571340 has quit [Remote host closed the connection]
23:01Dcow has quit [Remote host closed the connection]
23:02Dcow has joined #asahi-dev
23:03uur_ has joined #asahi-dev
23:04Dcow_ has joined #asahi-dev
23:09uur has quit [Ping timeout: 480 seconds]
23:11Dcow has quit [Ping timeout: 480 seconds]
23:14uur_ has quit []
23:18lkron has quit [Quit: Lost terminal]
23:21Dcow_ has quit [Remote host closed the connection]
23:35Dcow has joined #asahi-dev
23:36Dcow has quit [Remote host closed the connection]
23:36Dcow has joined #asahi-dev
23:57thelounge7571340 has joined #asahi-dev
23:58thelounge7571340 has quit [Remote host closed the connection]
…