#
…

2022-11-21

00:28chadmedpipewire cpu use isnt as odd as i initially thought, its about the same as coreaudio with the same source
01:50Dcow__ has quit []
02:07kettenis_ has joined #asahi-dev
02:07kettenis has quit [Remote host closed the connection]
02:07blazra has quit [Read error: Connection reset by peer]
02:07blazra has joined #asahi-dev
02:23chadmed has quit [Ping timeout: 480 seconds]
02:27Dcow has joined #asahi-dev
02:32chadmed has joined #asahi-dev
03:24user982492 has joined #asahi-dev
03:43DarkShadow44 has quit [Quit: ZNC - https://znc.in]
03:44DarkShadow44 has joined #asahi-dev
04:20Dcow has quit [Quit: dcow]
04:42user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:46capta1nt0ad has quit [Remote host closed the connection]
05:53weitcis has joined #asahi-dev
06:14SSJ_GZ has joined #asahi-dev
06:18digicyc has quit [Remote host closed the connection]
06:18capta1nt0ad has joined #asahi-dev
06:18digicyc has joined #asahi-dev
06:19capta1nt0ad has quit []
06:19capta1nt0ad has joined #asahi-dev
06:20capta1nt0ad has quit []
06:20capta1nt0ad has joined #asahi-dev
06:27digicyc has quit [Remote host closed the connection]
06:28digicyc has joined #asahi-dev
06:36digicyc has quit [Remote host closed the connection]
06:40digicyc has joined #asahi-dev
06:47digicyc has quit [Remote host closed the connection]
06:47digicyc has joined #asahi-dev
07:30digicyc2 has joined #asahi-dev
07:32digicyc has quit [Ping timeout: 480 seconds]
07:45joske has joined #asahi-dev
07:45joskethat's interesting :-) (and nice)
07:50cylm has quit [Quit: WeeChat 3.6]
08:20capta1nt0ad has quit [Remote host closed the connection]
08:21capta1nt0ad has joined #asahi-dev
08:30DarkShadow44 has quit [Quit: ZNC - https://znc.in]
08:30DarkShadow44 has joined #asahi-dev
08:35joske has quit [Quit: Leaving]
08:49weitcis has quit [Remote host closed the connection]
08:59StupidYui has quit [Ping timeout: 480 seconds]
09:09_jannau_sven's tipd irq event initialization fix and my dwc3 extcon fix are in v6.1-rc6
09:12mazmba-m2 up and running (more or less)
09:16_jannau_marcan: if you want to release today or tomorrow I think we should merge the M2 DCP changes later
09:19_jannau_https://github.com/jannau/linux/tree/asahi-6.1-rc5-11-dcp-m2 has however two dcp fixes: https://github.com/jannau/linux/commit/8ad923e369cd0999b42c683abfddb2a6807b88c2 fixes setting max_brightness on devices with max brightness of 525 nits (j293, j456, j457, j413, j493)
09:52maria has quit [Ping timeout: 480 seconds]
09:54leitao has joined #asahi-dev
09:59joske has joined #asahi-dev
10:00joske_jannau_: M2 DCP confirmed working on M2 mba!
10:03maria has joined #asahi-dev
10:05joske has quit [Quit: Leaving]
10:07marco_santi has joined #asahi-dev
10:07marco_santi has quit []
10:16yrlf has joined #asahi-dev
10:20Dcow has joined #asahi-dev
10:25MajorBiscuit has joined #asahi-dev
10:30leitao has quit [Ping timeout: 480 seconds]
10:38poviki think i have the LEAP mostly figured out: https://github.com/povik/leap-isa
10:54poviklet me point out the special instructions for 1st stage processing of PDM streams: https://github.com/povik/leap-isa/pull/1
11:18Dcow has quit [Remote host closed the connection]
11:23Dcow has joined #asahi-dev
12:05Dcow has quit [Quit: dcow]
12:07Dcow has joined #asahi-dev
14:12marcan_jannau_: cherry-picked on the respective branches, going to rebase on rc6 now and run a build and make some OS builds
14:12marcansven: will do
14:13beeblebrox has joined #asahi-dev
14:26bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:26marcanplan is to write post & release tomorrow
14:47marcanasahi-6.1-rc6-1 tagged and pushed
14:50svenyou can drop 73d651c07433712e97cb0c7121e8d50492397639 since 6d8fc203b28ff8f6115fbe5eaf584de8b824f4fa is upstream now fwiw
14:51marcansven: ack, dropped
14:51marcanany reason to respin? should be harmless right?
14:51svenit's completely harmless
14:52marcanok, will go into the next rev if there is one before release, otherwise shrug
14:52sventhey both do the same thing, my patch is just the minimal possible change because the more complex rework confused people on the ML
14:52svenand apparently the author never followed up anyway *shrug*
15:01bisko has joined #asahi-dev
15:03StupidYui has joined #asahi-dev
15:08beeblebrox has quit [Quit: Konversation terminated!]
15:09marcanI'm getting an oops in platform_dma_configure on m2, possibly in the dcp driver iommu path
15:09marcanany idea what's up with that?
15:09marcan_jannau_: ^
15:09marcanlooks like a memset in alloc_io_pgtable_ops?
15:11_jannau_did you merge the m2-dcp changes completely?
15:11marcanI *think* so but I might've snafu'd something
15:12_jannau_ah, sorry those are quite WIP so I didn't think there are ready
15:12marcanoh I misread your message, you said merge the M2 DCP changes *later*
15:12marcanas in after the release
15:13* marcanpulls out git reflog
15:14_jannau_yes, changed handling of locked darts is not really ready
15:15_jannau_do you have the m1n1 changes for M2 DCP support?
15:15marcanoh, then yeah that would be the other part of the problem
15:16marcan_jannau_: is the 36bit dma mask change harmless enough to leave in?
15:17_jannau_marcan: it should be and I tested on t6002 but only briefly. iova space will be limited by the 32-bit aperture we set in apple-dart.c anyway
15:18marcanok, cool
15:18marcanTagging and pushing asahi-6.1-rc6-2 with backed out DART changes & DT for t8112
15:22marcanpovik: around?
15:30beeblebrox has joined #asahi-dev
15:33lewurm has quit [Quit: ZNC 1.8.2+deb2build5 - https://znc.in]
15:33lewurm has joined #asahi-dev
15:52bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:53jlco has quit [Ping timeout: 480 seconds]
16:05marcanok, bumped the ucm stuff and pulseaudio again to override upstream, looks like the headphone jack does what it's supposed to on an updated M2
16:05marcan_jannau_, sven, povik: last call before I kick off some image builds
16:06svenshould be fine. anything updates I have are unstable at best
16:07_jannau_marcan: do you have the mac studio (mac mini) ucm config fix from povik's repo?
16:07marcanyes, I updated to v1
16:07marcanhaven't tested it but it should be there
16:07_jannau_ok, nothing else from my side
16:08_jannau_I tested it on the mac studio
16:08_jannau_mini should be ok since the speaker is not disabled
16:10rowanG337 has joined #asahi-dev
16:10marcanaudio definitely does not play terribly nicely with suspend/resume, you get a momentary looped-buffer glitch on suspend and on resume the headphones jack is dead until a hotplug (at least with PA)
16:10marcanbut at least it does come back after a hotplug, so no major loss
16:12jlco has joined #asahi-dev
16:16kettenis_ah, that reminds me, need to test how well that works under OpenBSD now that I have suspend/resume (mostly) working
16:19marcansven: FYI, given the state of lina's GPU stuff, the only thing stopping me from daily driving this as my main asahi machine at this point is thunderbolt
16:19marcanjuuuust saying ;)
16:19svenno worries, i'm on it :D
16:19svensame situation here tbh
16:19svenI think I know how to bring TB up
16:20svenjust need to find some annoying bug somewhere that makes part of the MMIO still SError
16:20svendp-over-tbt is probably the biggest part that I still have no idea about
16:20svenbut I need tbt itself up before that anyway
16:21svenjust need to finish this small adventure into USB PD and drivers/usb/typec and clean the DP altmode stuff up before
16:22sven$ cat ./devices/platform/soc/235010000.i2c/i2c-0/0-003f/typec/port1/port1-partner/port1-partner.0/displayport/pin_assignment
16:23svenit kinda works. just need to ignore lockdep complaining about a possible deadlock and the missing calls to the usb role switch which makes atcphy WARN
16:29_jannau_I've already switched to the m1 max macbook as main laptop in september and suffered with dcp but without gpu driver. For tha mac studio I need at least dp-altmode since hdmi 2.0 is not sufficient to drive my display
16:30sveni might just suffer for a while replugging cables and use this usb3+dp hub with my macbook air
16:33marcanI don't actually block on dp-over-tbt, funny enough (though it will be a funny port situation dedicating one port to firewire, but doable)
16:33_jannau_dcpext init seems to work a lot better if I keep the monitor on via osd after plugging it in
16:34cylm has joined #asahi-dev
16:34_jannau_i.e. if the monitor timeouts during dcpext init dcpext gets confused and can not reacitivate the link
16:35svenI mostly block on dp-over-tbt because I don't want to switch setups between $work and my macbook
16:36svenit's probably not that bad anyway once tbt is up (famous last words and all that)
16:42bisko has joined #asahi-dev
16:50gpanders has left #asahi-dev [WeeChat 3.7.1]
16:59MajorBiscuit has quit [Ping timeout: 480 seconds]
17:39roxfan2 has joined #asahi-dev
17:46roxfan has quit [Ping timeout: 480 seconds]
17:52tobhe has joined #asahi-dev
17:57tobhe_ has quit [Ping timeout: 480 seconds]
18:09marcanbuilding images again because of course things broke with the asahi-scripts changes...
18:13roxfan2 is now known as roxfan
18:23povikmarcan: here
18:26marcanpovik: can I get another invite to the ucm repo so I can try to move it? I cloned it but I'm not sure if you prefer a move
18:26poviki prefer a move
18:26poviklet's see...
18:27povikmarcan: invite sent
18:28marcanpovik: looks like that gives me push access, is there a way to make me owner/similar so I can try the move stuff in settings?
18:28poviklookiong
18:28povik*looking
18:28marcanoh wait, maybe this is the flow
18:28marcanyou can initiate a transfer to my *personal* account
18:28marcanthat should be acceptable by me
18:29povikhaha, let's try it
18:29marcanthen I should be able to move it into the org
18:29povikinitiated
18:31marcanpovik: looks like it worked :)
18:31marcanand it preserved your access \o.
18:32povikyeah, and there's a continuity redirect. that's all i ever wanted
18:34marcangreat :)
18:34marcanpovik: you now have Maintain privileges via the Audio Team I just created
18:54svenhuh, so this explains why I didn’t see any mux set events when relying on typec to trigger to switch to altmode, https://github.com/torvalds/linux/blob/eb7081409f94a9a8608593d0fb63a1aa3d6f95d8/drivers/usb/typec/mux.c#L296
18:55svenapparently the supported svids need to listed because there can be different muxes for different altmodes?!
19:01marcanOK, new images pushed to dev installer
19:01marcansmoke tested on M2, works except the Calamares installer is missing the wallpaper (probably just a new filename now)
19:01marcanplease test :)
19:02marcanplease also test asahi-dev on every system not running it yet (to test upgrade continuity)
19:03* marcanoff to sleep
19:13MajorBiscuit has joined #asahi-dev
19:32chengsun has quit [Quit: Quit]
19:33chengsun has joined #asahi-dev
19:39rowanG337 has quit [Quit: Leaving]
20:08Tramtristis the asahi-dev installer packaged somewhere for fresh install?
20:10jannauthe dev installer is `curl -L https://alx.sh/dev | sh`
20:11Tramtristthanks jannau
20:12svenalright, just the lockdep issue remaining but otherwise altmode now correctly works with the typec subsystem :)
20:31MajorBiscuit has quit [Quit: WeeChat 3.6]
20:34Dcow has quit []
20:40Dcow has joined #asahi-dev
20:44jannauso someone has to look into dynamic connector <-> crtc/dcpext linking? not sure how well that will work
20:46jannauI think drm expects that available modes/edid are already avaiable at the connector level
20:49jannaumarcan: 3 installs without installation related problems. devices: j274, j314c, j375d, macOS: 12.3, 13.0, 12.3 1tr, all into free space, 1 expert mode install
20:50svenhrm, so we’ll have three connectors per dcpext
20:50svenif we get a hotplug event can we just assign a connector to a dcpext and bring it up enough to get the edid and only then let drm know?
20:51jannauupgraded all asahi installs to the latest asahi-dev (from asahi-dev) without issues
20:52svenwe’ll also have to rewrite the oob hpd thingy so that there’s no race between tipd and drm probe
20:54jannaumarcan: one post install issue: audio is broken when starting firefox with headphones connected, replugging the headphones fixes it
20:54jluthra has quit [Remote host closed the connection]
20:55jluthra has joined #asahi-dev
20:56jannauI was thinking of the somewhat constructed case of connecting a second display to a m1 device but I guess switching from that was always going to be problematic
20:57svenyeah, that case is always going to be an issue
20:58svenI still have to check and see if I can hack dual display support but I actually don’t have two displays around right now
20:59jannauhow the the oob hotplug supposed to work? ensuring probe order via device links?
21:00svenprobably similar to usb-role-switch
21:00jannauI'm not really happy about all those static dependencies, especially since there were 2 m1 mbp 13" where booting dcpext failed
21:01svenor maybe just caching the state if tipd probes first
21:01svenand caching the callback if drm probes first so that it just doesn’t matter
21:03svenhaven’t really thought about it
21:03svenit also doesn’t matter much yet since the only issue right now is that you just can’t have the display connected at boot time if you want it to work reliably
22:02bisko has quit [Read error: Connection reset by peer]
22:07bisko has joined #asahi-dev
22:53SSJ_GZ has quit [Ping timeout: 480 seconds]
23:10nicolas17 has joined #asahi-dev
23:29tobhe_ has joined #asahi-dev
23:33tobhe has quit [Ping timeout: 480 seconds]
23:41fossdd has quit [Ping timeout: 480 seconds]
…