#
…

2022-03-11

00:15al3xtjames has quit [Quit: Ping timeout (120 seconds)]
00:15chadmedpovik: in reference to your comment, you can define one set of woofers as SNDRV_CHMAP_SL and SNDRV_CHMAP_SL in macaudio.c to differentiate them from the "rear" ones, which id probably use just for the (sub)woofers
00:15al3xtjames has joined #asahi-dev
00:17chadmedit doesnt really matter at the end of the day since each driver is still accessible individually if you know its address, but since they really do different jobs as members of the array they should probably be called different things
00:44yuyichao_ has quit [Ping timeout: 480 seconds]
01:34yuyichao_ has joined #asahi-dev
02:04riker77_ has joined #asahi-dev
02:09riker77 has quit [Ping timeout: 480 seconds]
02:09riker77_ is now known as riker77
02:41minkuu[m] has joined #asahi-dev
03:23phiologe has joined #asahi-dev
03:27PhilippvK has quit [Ping timeout: 480 seconds]
03:33kov has quit [Quit: Coyote finally caught me]
03:33kov has joined #asahi-dev
05:56gladiac has joined #asahi-dev
06:13svenmarcan: no :(
06:38jannaumarcan: kettenis didn't want u-boot to become the canonical dtb provider https://github.com/AsahiLinux/m1n1/pull/123
07:14the_lanetly_052 has joined #asahi-dev
07:22ChaosPrincess has quit [Ping timeout: 480 seconds]
07:46marcanhonestly though we should have a separate dtbs package with all the magic autopulling from asahi etc
07:47marcandefinitely shouldn't be in m1n1 itself since that just makes updates more annoying
07:48GlanzmannWhy not take the dtb from the kernel? Or is it to much hassle for building m1n1/u-boot?
07:52_jannau_creating a separate git repo from the splitted device tree repo is not a problem. I'll check how fast the filtering of the asahi kernel branch is
07:54_jannau_Glanzmann: yes, it would be annoying to use the whole kernel repo just for the *.dtsi?
07:55_jannau_on distro level it might make sense to install the dtbs from the kernel build and use them when creating the the m1n1+dtb+u-boot binary
07:57MajorBiscuit has joined #asahi-dev
08:00Major_Biscuit has joined #asahi-dev
08:07MajorBiscuit has quit [Ping timeout: 480 seconds]
08:11marcanwe should be able to fork that, tweak the scripts a bit and merge in the asahi changes in the same way robher does it
08:12marcanI looked at it in the past but I could've sworn someone else here already gave it a shot at some point?
08:13svenI think that shot was the PR jannau linked above that you closed ;)
08:13_jannau_I used it to filter the dts commits in the pull request
08:14_jannau_the problem with using the reposiptory directly is that it is ~2GB large
08:16marcanahh it was merged directly into m1n1? that's why I was confused
08:19_jannau_yes, I used it to rewrite the commits for m1n1
08:20marcanI wonder why that repo is so large though, is there a ref that points back to the full kernel history? there's no way there's 2GB of just DTS changes...
08:21marcan--reference indeed skips most of the objects so something is fishy here
08:22marcanok yeah this tracks back to the whole kernel, lol
08:22marcanwhere...
08:23_jannau_2GB sounds small for the whole kernel history
08:24marcannah it's in here
08:25marcanmy .git in asahi/git/linux is <1GB
08:25marcangit is efficient
08:25marcanand I think there was a snafu at some point in that repo and the whole kernel history got pulled into a merge parent...
08:25j`ey4.1G .git :|
08:27joske has joined #asahi-dev
08:27joskemaybe git repack and or git gc?
08:28marcanfb17f9df8dd0353331 is one of the problems at least, not sure if there are more
08:28marcanthat links the DT-only branch and the rest of mainline history
08:28kenzie35 has quit []
08:28marcanI guess Ian didn't notice? :/
08:29kenzie35 has joined #asahi-dev
08:31marcanv5.9-rc3-dts is the first bad tag
08:31kenzie35 has quit []
08:32marcanhm, but still
08:33kenzie35 has joined #asahi-dev
08:33marcanso this all works as intended except the history got snafu'd at that point
08:33kenzie35 has quit []
08:34marcanthat gives a 128MB repo including checkout
08:36kenzie35 has joined #asahi-dev
08:38marcanyou can file a ticket with GH support to reparent repos
08:38marcanthey did an unfork for us in <24h
08:39marcanhttps://support.github.com/request/fork will give you a silly chatbot auto-form-filler which will file the ticket for you
08:45johey has quit [Ping timeout: 480 seconds]
08:46ChaosPrincess has joined #asahi-dev
08:46marcanlooks like Ian doesn't push the state branches though, so fixing this requires re-doing the entire kernel history...
08:46marcanI'll send off an email
08:48the_lanetly_052 has quit [Ping timeout: 480 seconds]
08:52johey has joined #asahi-dev
08:53zorun has joined #asahi-dev
08:54mpsyesterday I thought how to make m1n1+dtbs+u-boot for alpine
08:55marcandid you see the arch package?
08:55mpsI'm thinking adding trigger script which will concatenate dtbs when kernel is installed and/or upgraded
08:56johey has quit []
08:56mpsmarcan: yes, I did
08:56marcanyou don't *necessarily* always want the kernel/dt to be in sync, but it might be an okay idea for the time being
08:57mpsyes, I think about make similar for alpine
08:58mpsto me this looks as best for now
08:58hizon has quit [Read error: Connection reset by peer]
08:58marcanmail sent re the rebasing repo
08:59marcanI'll be off for 1h, then probably go back to fixing kernel/build issues
09:01johey has joined #asahi-dev
09:26mazmarcan: I've merged the series, please check the conflict resolution
09:35chengsun has joined #asahi-dev
09:42chengsun_ has quit [Ping timeout: 480 seconds]
10:13ketteniswe can always reconsider of course, but U-Boot policy is to take device trees from the Linux kernel as much as possible
10:58johey has quit [Quit: ZNC 1.8.2 - https://znc.in]
10:59johey has joined #asahi-dev
11:06chadmedmarcan, povik: i spent most of today doing a bunch of testing, and i seriously do not think we should be applying whatever transformations macos does to the audio. these speakers actually sound significantly better with far less processing, mostly just a crossover and linear coefficient on the tweeters to tame them back a bit
11:07chadmedhttps://gist.github.com/chadmed/2c772c8fdac8280cb17846388203a213#file-experimental-testing <- ive done a writeup on how i came to these conclusions, including values and an asound.conf to reproduce what i did. of course the final product should be done via FIRs/IIRs rather than forcing it through asound, but it demonstrates what im talking about
11:08chadmedthe only transformation absolutely neccessary through that method though is taming down 400-600 Hz on the main set of woofers a bit, but the rest can actually be feasibly done via plain old ALSA through UCM
11:08poviksuperior audio under asahi when?
11:08povikinteresting
11:09chadmedpovik: well in my opinion, basically as soon as we get the left woofers to stop dropping out randomly if we go with my method
11:09povikhaha, list of music under EQUIPMENT :-p
11:09povikchadmed: working on it
11:11chadmedpart of any good science experiment is being able to reproduce it perfectly, so of course i need to add the list of music i used heh
11:12povikof course
11:12chadmedits far from the weirdest thing ive had to include in a paper, i once had to write a real one about peoples biological reaction to counter-strike match replays
11:18povikwell i won't go through it in detail right now, but thanks for sharing what looks like a great write-up!
11:19chadmedno problem, the main thing is just that whatever macos does actually sucks and we should think about something else when the time comes
11:33marcanchadmed: the FIR/IIR would still be done through asound, there's no other good place to put it AFAICT
11:33marcanit's either this or we put it in pipewire and just pretend everything else doesn't exist
11:33marcanit's definitely not going in the kernel
11:34marcanchadmed: either way we still want to characterize what macos does, if only for comparison purposes within linux, and to see about that stereo magic they do which is a different story
11:35marcanis your testing just by listening, or did you grab samples of the sample streams?
11:35marcanFWIW I also have a calibration mic lying around, so we can plot the real speaker response if we want
11:36* j`eyhopes there will be a simple approach for those that arent picky
11:36marcanthe simple approach is we ship some asound profiles and you just pick the right device :)
11:37marcanalso +1 for ムーンライト伝説 :D
11:39j`eywhy are the first characters so simple compared to the last 2?
11:40marcanbecause the first characters are katakana and spell "moonlight", and the last 2 are kanji (chinese characters) a mean "legend"
11:40marcan*and mean
11:41chadmedmarcan: my testing was just by listening, but i can pull out my calibration mic tomorrow and do some log sweeps or something if you want. ive just brought the "subs" down to 20 Hz and by themselves with a bit of EQ magic they actually sound really really good so ive definitely got more work to do regardless
11:41j`eymarcan: ooh
11:42marcanand if you have the mic lying around I'll certainly defer to you for the sweeps :D
11:42chadmedonly thing im worried about is pipewire exploding constantly, but that happens even without my asound so that seems like a driver thing
11:42marcanj`ey: hiragana and katakana are like lowercase and uppercase, two versions of a vaguely phonetic alphabet, but the usage is more like normal text and italics
11:42marcankanji is a totally different thing that encodes actual meaning in each character so... yeah, a lot denser
11:44chadmedive deferred my japanese minor for two years because i dont quite fancy trying to memorise all the kyouiku kanji in one semester lmao
11:44kettenisideally the filters would be described in the DT somehow
11:44kettenisbut I guess coming up with an agreed upon representation of the filters will be a challenge
11:44marcanchadmed: btw, did you up the pulseaudio resampling quality? IIRC it's... pretty garbage by default
11:45j`eychadmed: マルカン
11:45marcankettenis: nah, the linux audio world has given up on that, that's why we have ALSA UCM and all that stuff
11:45marcanand whatever android does etc
11:46marcanI'm not aware of any push to fully describe the audio chain in the DT and I'm not going to block us on that :p
11:46marcan(for better or for worse)
11:46chadmedmarcan: i left it on the default because it was working okayish for what i was doing, but the crackling starts becoming very apparent once i start messing around in carla so thats another job for tomorrow's to do list
11:46marcanwait carla on top of PA?
11:46chadmedyeah jack and pipewire kept exploding...
11:47marcanyeah that's weird
11:47marcanhonestly if you're doing serious audio testing you should probably be using JACK
11:47marcanpipewire is good but the automagic resampling scares me a bit, JACK is a lot dumber (and thus more predictable)
11:47marcanPA is, well, PA
11:48marcan"good enough for listening", woudln't be doing quality tests through it if I can help it though :-)
11:48chadmedyeah i know but i couldnt get it going properly, with or without my custom config
11:48marcanweird, I should look into that I guess
11:48marcanoh, also, we need safeties for the blowing up speakers problem
11:48marcanpossibly a DT-side volume cap or something like that
11:48poviknoted in TODO
11:49marcando we know how macOS caps, is it in the gain setting at the amps or does it just send quieter sample streams and consider that headroom for the filters/etc?
11:49marcan(or both?)
11:49poviki don't
11:49marcanshould look into that, I guess
11:49povikwill be easy enough to check next time i have macos under hyper
11:50marcanthis is another Unsolved Linux Problem (sigh), I blew up my Chromebook speakers by clicking the wrong thing in alsamixer...
11:50marcanbut at least even if we can clip the drivers a bit, we should limit the max gain kernel-side to something that won't immediately blow them up
11:50povikyeah, i had to work out something to hide some knobs from userspace
11:50povikapple,macaudio driver does it now
11:50marcanthen we can leave some headroom for the filters anyway
11:50povikbut it requires some changes to ASoC i will a have to push through
11:51marcanyeah, this is all for good cause and I consider *this* a release blocker
11:51marcanbtw, I'm leaning towards not shipping audio (beyond jack-only and mac mini speaker maybe?) for the first release, if only because I want to make sure we nail the safety bit
11:51chadmedyeah it would suck if people blew up their speakers, and i guarantee no ones going to read my little "hey dont turn the volume up" comment in asound
11:51marcanand now the DT updates aren't a problem
11:51marcanso we can push that whenever we feel confident
11:52povikgood by me
11:52marcanyeah, I've been saying these machines are unbrickable, and I've abused GPIOs enough to be quite confident we'll be fine there
11:52marcanbut you can *definitely* blow up your speakers
11:52marcandefinitely don't want people ending up there
11:52kettenisthe tas2770 chip has "Real-Time Diagnostics Using I/V Speaker Sense"
11:53poviki don't have the capacity to rush it to the release anyway
11:53chadmedyeah im thinking we hide that stuff plus the "amp gain" sliders from userspace entirely
11:53marcanyeah, of course, I meant not even the guesswork DTs
11:53povikbut still we want to update some bits as there are fixes to known issues
11:54marcanand yeah, honestly, the specific kernel driver should hide all the nonsense, the ASoC idea of exposing everything by default is batshit insane and *completely* unsuitable for desktop systems like these
11:54marcanmaybe you can get away with it on embedded with custom userspace
11:54marcanabsolutely not on a macbook
11:54povikall on the same page here :)
11:56povikchadmed: i am just thinking about capping the "amp gain" knobs
11:57chadmedhonestly i have them at zero and the speakers already start clipping at like 70% volume
11:57povikkettenis: macos drives the speakers with the I/V sense set up
11:57povikit's gues over the I2S bus back to the SoC
11:57poviks/it's gues/it goes/
11:57kettenisyes, that is my understanding as well
11:58povikthe speaker amp drivers have an option to enable the I/V sense stuff, but i don't see any way the signals are picked up by anything
11:58povik^^ in linux
11:58povikmeaning the codec side gets enabled, but then the signals don't reach anything
12:00povikchadmed: something is broken there then, stand by on that front
12:02arndmarcan: is it intentional that you have not sent any dt changes for 5.18 my way? I see one small patch for the pmu that went into linux-next through the arm64 tree, but nothing else.
12:03povikalso, continuing on what marcan said, the option to enable I/V sense circuitry is exposed... as a knob to userspace :D
12:04kettenispovik: that makes absolutely no sense
12:05kettenislimiting the gain is probably the best we can do without embarking onto an interesting research project ;)
12:05marcanarnd: it is, we haven't really upstreamed anything worth adding this time and t6000 isn't ready yet. I guess it vaguely is as of today, but without the DART changes USB/PCIe don't work so... still rather useless with no way to do networking
12:05marcanbeen focusing on tying up a bunch of jellybean drivers for a public alpha release, then I can kick the kernel upstreaming train again :)
12:05johey has quit [Quit: ZNC 1.8.2 - https://znc.in]
12:06johey has joined #asahi-dev
12:06marcanalso t6002 might make me redo how we organize the t600x device trees, so that's another reason not to rush that one
12:06kettenispersonally I would have liked to see the ans2/nvme bindings and dt changes upstreamed even if there are still some loose ends in the Linux driver
12:07marcanyeah, that was the plan, but... kinda got stuck on that one :(
12:07marcanOTOH they are trivial enough there's a good chance they won't change
12:07svenI guess I could even send a first nvme RFC. this atcphy has just been more fun than sending patches
12:07marcansven: tbh just the schema would be good to get in at least
12:07ketteniswell, if it changes, expect some serious pushback from my end
12:07marcanno point in rushing the RFC for the driver, that won't go in at this point
12:07marcanbut a little binding could
12:08svenI’m not sure there’s much more to change for the driver fwiw
12:08svenat least nothing that can’t be fixed later anyway
12:09marcanwe did just change the binding relatively recently to fix the power domains
12:09marcanso that was good to catch
12:09marcancan't think of anything else that could be wrong
12:10svenyeah. maybe some discussions about the compatibles or something but those can happen in the ML anyway
12:10svenso I guess I can just submit bindings/rtkit/SART/nvme as a single series?
12:11marcanyeah, just put the bindings patch first so if that gets ACKed I can push it via our tree or something
12:11marcanI expect the rest will need several takes anyway
12:11svenyeah, I think those are supposed to come first anyway
12:11matthewayers[m]Something else I find interesting is how no networks appear under the network config menu in Debian.. is this because of wpa_supplicant.conf doing something fun or is there a disconnect somewhere in the driver when it discovers networks?
12:11marcanI assume you saw the changes I made in our bits/ branch right?
12:11arndmarcan: ok, sounds good. just making sure we aren't missing the merge window by accident. Sounds like 5.19 will be bigger then.
12:12svenI saw some, but I guess I’ll just squash the fix up commits
12:12sventhe atomic rtkit stuff can go in with smc then
12:12marcanOTOH it doesn't actually matter if the DT binding makes it in early at that point
12:12marcanonce it's ACKed that's all kettenis cares about
12:12marcanso no reason to rush the merge either
12:13svenonce it’s in there’s less temptation to change anything ;)
12:13arndnot sure how much time I'll be able to spare on t6002 bringup myself, I might wait for you to get it all running first and use a VM guest until then.
12:13marcanof course
12:13marcanarnd: when does yours arrive?
12:13marcaneh, it'll be done by then :)
12:14marcanthe bringup will be a day of work and then a couple months of bikeshedding over whether to use macros or patch dtc for the devicetrees ;)
12:14svenyou people aren’t helping what little control I still have left that prevents me from buying that thing :P
12:14marcanahahahaha
12:15matthewayers[m]marcan: would you consider the networks not appearing under a desktop env to be release blocking too, since the majority of end-users don’t even know how that works?
12:16marcanmatthewayers[m]: the desktop env I ship will have networks appear, at least they appear for me on KDE :)
12:16marcanwhere does this problem occur?
12:16arndsven: feel free to come visit me in Dettenhause when I have mine and you want to try stuff out
12:16arndDettenhausen'
12:17svenhah, that’s actually not that far from me :)
12:19marcanmatthewayers[m]: FWIW the first release criteria is "core image boots and runs on everything with the expected hardware working at the kernel level and iwd for wifi; plasma image boots and runs on everything and the KDE/preinstalled frontends for stuff that is supposed to work work as expected"
12:19marcan(plasma image will have NetworkManager backed by iwd)
12:20matthewayers[m]marcan: Debian 11 with GNOME. I believe they appeared under KDE when I ran it yesterday afternoon.
12:20marcanother desktops/userspace stacks/network stacks/etc are out of scope at this point, i.e. I want people to report these bugs as part of this first release
12:20matthewayers[m]marcan: Good thing I like KDE :)
12:21marcanobviously there will be bugs, and some bugs will even have nothing to do with us (e.g. wpa_supplicant doesn't work for WPA3 because it doesn't support what brcmfmac uses; clearly not our problem at *this* stage, though something we might want to submit a patch for at some point)
12:21marcanbut also by having people running this, hopefully some subset will be devs willing to track down these problems and fire out patches themselves and save us work :)
12:22j`eymatthewayers[m]: are you sure wifi came up? a few people have had issues with it coming up, so it miht be that rather than a GNOME/DE issue
12:22marcanyeah that's a different issue (that one *is* a release blocker)
12:23matthewayers[m]I was able to ping 1.1.1.1 with 0% packet loss
12:23matthewayers[m]I’ll do more testing today once I finish my last assignment for the week
12:24marcanI think for some people it comes up or not randomly on any given boot
12:24marcanif it doesn't you won't see the device at all
12:26matthewayers[m]Gotcha. I’ll de-stress with the soothing Mac startup chime and see what the frequency of that is on my build. I’m using asahi-next
12:27marcanactually going to get into kernel-wrangling mode now, so hopefully I'll fix some of these things
12:27marcanfirst figure out wtf is going on with the Mac Mini module stuff
12:50mpsmarcan: you are not only one who fried speakers on chromebook, also I did about 2-3 years ago
12:52marcanmine literally melted the plastic case
12:52marcanlike the outer case
12:53poviklet's see we can keep our "0 speakers blown" stat until the safeties are in
12:53mpsmy just starting to 'crackle' when playing anything, and speech can't be understand by anyone
12:54mpsfried them also with alsaconf knobs
12:55mpsbut jack works and using headphones is ok
12:55marcanthankfully I was working for Google at the time, so after I shouted angrily at an internal mailing list someone was nice enough to send me replacement speakers for free
12:55marcanand I do believe they fixed that particular problem
12:55povikno they didn't :D
12:55povikasoc still doesn't behave sanely
12:55marcanI *thought* they did on that model at least!
12:55marcanthe samsung arm chromebook
12:56marcan(at least with official kernels)
12:56marcanasoc in general, yeah, no
12:56mpsI tried to find them on the net and order but didn't found, thank you samsung ;p
12:57mpsmarcan: also samsung one plus rk3399?
12:57amarioguy has joined #asahi-dev
12:57marcanno, the exynos one
12:57marcanthe first one
12:57mpsah, I have also exynos peach pi, didn't had problem with it
12:58mpsactually peach pi is best one of all notebooks I used till now
13:00mpsgood keyboard, good anti glare screen, good battery life and fast enough for daily work, only not so for compiling
13:17marcanah, just realized what was wrong with the Mini. nothing, it's just that the firstboot systemd stuff runs before any modules load so it wasn't loading the USB keyboard support...
13:17marcanhonestly I don't like that unit, I'm going to just turn off the timezone prompt
13:18j`eywtf was going on? nothing :D
13:27ChaosPrincess has quit [Remote host closed the connection]
13:29amarioguy has quit [Ping timeout: 480 seconds]
13:53darkapex has joined #asahi-dev
14:00amarioguy has joined #asahi-dev
14:38yuyichao_ has quit [Ping timeout: 480 seconds]
14:41joske has quit [Remote host closed the connection]
14:46nico_32 has quit [Remote host closed the connection]
14:48nico_32 has joined #asahi-dev
14:56ChaosPrincess has joined #asahi-dev
14:56yuyichao_ has joined #asahi-dev
15:12bisko has quit [Read error: Connection reset by peer]
15:23marcanmaz: rebased asahi on top of yesterday's linux-next + irqchip-next, everything seems in order on t6000
15:23marcanthough I noticed I explicitly have to specify firestorm/icestorm to `perf stat`, otherwise by default it only shows the icestorm counters which confused me
15:53amarioguy has quit [Ping timeout: 480 seconds]
15:56amarioguy has joined #asahi-dev
15:59Major_Biscuit has quit []
16:02mazmarcan: that's how we deal with big.little. one PMU per CPU type.
16:02mazthe perf tool is not exactly friendly with this sort of setups.
16:03marcanright...
16:12jannaumaz: one of the imac configs doesn't used pcie port 2. I deleted the port in the model specific dts file. That causes mismatched MSI interrupts. It's trivial to fix in the dts
16:13jannaufixing it in the dts is probably the right thing, the port doesn't vanishes just because it's unused
16:31mazjannau: I'm not sure I get what you changed exactly. we should be able to handle having less ports being described, but it could be that there is a driver bug using the number of ports
16:32mazbut yeah, the port does exist on the HW, and we should just mark it as disabled.
16:37yuyichao_ has quit [Quit: Konversation terminated!]
16:38yuyichao has joined #asahi-dev
16:39henje[m] has joined #asahi-dev
16:52svenugh.. looks like adding the usb phy node and connecting it to dwc3 but disabling the atcphy driver results in dwc3 not being probed :(
17:28mazjannau: so we leave the port in the state it was left by the FW?
17:34jannauyes, we should not do anything with it as the port is missing from apple's devicetree as well
17:35jannauthat was the reason I deleted the the node
17:40amarioguy has quit [Ping timeout: 480 seconds]
17:44roxfan has quit [Remote host closed the connection]
17:44kettenishmm, because of some rebasing and force pushes on my side marcan's u-boot merge request has some conflicts
17:44kettenisbut those conflicts are in files that aren't relevant
17:47kettenisany advice on how to resolve this?
17:47kettenisshould I just cherry-pick the one commit that matters from that branch?
17:47roxfan has joined #asahi-dev
17:48marcankettenis: yeah, just cherry-pick
17:48marcanyou could also use git-rebase --onto, but for one or a couple commits cherry-pick is easier
17:49mazjannau: I'm debugging something else ATM, I'll try to have a look later.
17:52amarioguy has joined #asahi-dev
17:52kettenismarcan: thanks cherry-pick it is then
17:58marcansven: that's expected
17:58marcanthere's no good way around that, same thing happened with pmgr
17:58marcanwe're going to have DT compat breaks like that early on
17:58svenstill a bit annoying but no way around it
17:58marcan(chainloading works!)
17:58svenoh, nice!
17:58marcanI'm trying to put together a DT filtered tree
17:59marcankind of annoying because I'm on linux-next so I have a good 10k commits of junk on top of the devicetree-rebasing repo...
17:59marcan(and git filter-branch sucks)
17:59marcanoh, you hadn't noticed the chainloading thing?
17:59marcanthat's all pushed and live at the installer et al
18:00svenI only noticed that you were working on it but didn’t realize it was done
18:00marcanyeah, I know, but that's not what upstream uses (yet)
18:01marcanand I'm not sure I want to diverge right now
18:01marcanmight try it later
18:01jannauprobably not an option if you want to work on top of devicetree-rebasing
18:02marcanpovik: btw, re what Glanzmann mentioned, see the nvme driver for an example of how to handle multiple power domains properly
18:02jannauit was painless and reasonably fast for filtering devicetree-rebasing for m1n1
18:02marcanhm, might give it a try
18:02marcanfor now I'm going to let this run overnight :p
18:03marcannot sure if it'll be (much) faster on subsequent runs if I keep the state branch or not (I am resetting the upstream branches but doing a merge-a-fu on the filter state)
18:03marcanETA is 1h30 :')
18:03marcanand that's after I hacked it to move the tempdir to a ramdisk
18:13kettenishmm, the aic2 DT changes break things for me
18:13marcanthey're supposed to, the binding changed incompatibly
18:14marcan(for t6000)
18:17kettenisyeah, but the timing sucks a bit :(
18:18kettenisI can work around this i the DT though by extending the first register set a bit
18:18marcannot sure if linux will like the overlapped map...
18:24marcanlooks like it does
18:24marcankettenis: https://mrcn.st/p/8Jdd6Ul9 you can use this as an interim hack
18:24marcanhope it's short-lived though :(
18:27kettenisright, that's what I did
18:28kettenislet's see what I need to change in my driver to make it work
18:30* marcan-> sleep
18:52PaterTemporalis has joined #asahi-dev
19:38povikmarcan: it's fixed in wip (and yes, i did use the nvme driver for reference)
19:39Glanzmannpovik: Is the wip branch ready for merging into asahi?
19:39povikit's not. let me extract what's safe to merge
19:46amarioguy has quit [Ping timeout: 480 seconds]
19:52kettenisok, found a relatively clean way to support both the old and the new DT
19:53kettenispushed a DT resync to the u-boot repo
19:53kettenisnow also has the nvme shutdown patch in it
20:01PaterTemporalis has quit [Remote host closed the connection]
20:03PaterTemporalis has joined #asahi-dev
20:06gladiac has quit [Quit: k thx bye]
20:54jannauyeah, t600x dcp crash fixed, constantly missed a mapped page for disp0
21:10ChaosPrincess has quit [Remote host closed the connection]
21:49darkapex1 has joined #asahi-dev
21:50darkapex has quit [Ping timeout: 480 seconds]
21:53jannauargh apple, why? ServiceRelay::sr_set_uint_prop() and ServiceRelay::sr_setProperty_int()
21:55nico_32consistency in naming function, what's that? :)
21:57jannaualso the uint one is only used for a single property with a value of 0. the int one is used with properties which should be unsigned
22:06ChaosPrincess has joined #asahi-dev
22:27jannauand a working dcp framebuffer on t6001
22:42int80 has joined #asahi-dev
22:43Dcow[m]1so it can hit the alpha release? or something else to fix?
22:51ChaosPrincess has quit [Remote host closed the connection]
23:09jannauprobably not although a scaled display is nice on on the retina screen
23:10jannaunot sure if we can as easily hide the notch with dcp
23:11svenugh… brought to you by hours of debugging: 1) when the usb2 phy is powered down the dwc3 soft reset never completes and ofc dwc3 only calls phy_power_on *after* that soft reset ofc
23:11svenand 2) if a phy is connected to a port and that phy is also connected to dwc3 dwc3 won’t probe anymore (silently ofc) because it assumes an extcon connected to the phy must exist :-(
23:12svenand that’s just for the usb2 part. I bet usb3 doesn’t work yet due to another dumb problem like that
23:39yuyichao has quit [Ping timeout: 480 seconds]
…