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
brolin has quit [Ping timeout: 480 seconds]
<marcan> I probably regressed it with the race bugfix... sigh.
<marcan> I'm just going to revert that
<marcan> and look at it later
<marcan> kaprests: those are set by m1n1
<marcan> *kaazoo
<marcan> also Pro/Max GPU support is not released anyway
lewurm`` has joined #asahi-dev
brolin has joined #asahi-dev
<marcan> ok, I think I fixed the wifi thing properly now
brolin has quit [Ping timeout: 480 seconds]
baozich has joined #asahi-dev
brolin has joined #asahi-dev
hightower3 has joined #asahi-dev
hightower2 has quit [Ping timeout: 480 seconds]
Method has quit [Ping timeout: 480 seconds]
gabuscus_ has quit []
brolin has quit [Ping timeout: 480 seconds]
gabuscus has joined #asahi-dev
stsmwg has joined #asahi-dev
cylm has joined #asahi-dev
r0ni has quit [Quit: Textual IRC Client: www.textualapp.com]
eidial has joined #asahi-dev
eidial has quit [Remote host closed the connection]
veloek has quit [Remote host closed the connection]
drubrkletern has joined #asahi-dev
<tpw_rules> marcan: have not investigated in detail but the new 2023.04 u-boot won't boot a flash drive that 2023.01 u-boot will. i do the "run bootcmd_usb0" but then the grub on the internal disk starts instead of the one on the flash drive. any idea what's up?
cylm has quit [Ping timeout: 480 seconds]
Method has joined #asahi-dev
<jannau> tpw_rules: use eficonfig to change the boot order or possibly u-boot's efi boot manager. I haven't tried the latter but I would expect it to work
<jannau> not sure if we can fix `run bootcmd_usb0` when a ESP UUID is set
drubrkletern has quit [Remote host closed the connection]
<jannau> kettenis: does this break the openbsd install via uefi-only installer + installer medium? I guess u-boot will try other partitionsmif it doesn't find bootaa64.efi
roxfan2 has joined #asahi-dev
roxfan has quit [Ping timeout: 480 seconds]
baozich has quit [Quit: baozich]
baozich has joined #asahi-dev
hightower3 has quit [Ping timeout: 480 seconds]
chadmed has quit [Remote host closed the connection]
chadmed has joined #asahi-dev
nimprod3l has joined #asahi-dev
bps2 has joined #asahi-dev
hightower2 has joined #asahi-dev
nimprod3l has quit [Quit: Leaving]
tetrakist has joined #asahi-dev
<eric_engestrom> I'm seeing the same "wifi suspend/resume is broken on m2 air" issue as others, but let me balance that by saying that I haven't had any cpuidle/thermal issue since your fix marcan, so thanks for that fix! 👏
<_jannau_> eric_engestrom: with linux-asahi-edge 6.3-asahi7-1? there is a kernel update with a fix from ~10h ago
<eric_engestrom> _jannau_: I saw that and installed it, but I haven't suspended since (trying to avoid that to not have to close everything I'm doing ^^)
<eric_engestrom> is it for the wifi issue?
<_jannau_> yes
<eric_engestrom> awesome!
<eric_engestrom> thanks _jannau_ (and anyone else involved in fixing that) :)
nsklaus has joined #asahi-dev
hays has quit [Remote host closed the connection]
cylm has joined #asahi-dev
<marcan> I broke it and I fixed it ;)
<marcan> it was a last minute race condition fix for the wifi driver and I didn't test suspend...
<marcan> I should've known better too, since I'd already fixed the race condition before... before implementing suspend regressed that by changing how IRQs work. I should've fixed it the equivalent way instead of trying something different.
<marcan> that driver is just cursed
<marcan> I just cannot believe how woefully undermaintained it is, given the maintainer works for Broadcom
hays has joined #asahi-dev
Brandon has joined #asahi-dev
jim_ has joined #asahi-dev
Brandon is now known as heliumlake
roxfan has joined #asahi-dev
jim_ is now known as MustardOnCheese
MustardOnCheese is now known as MustardonCheese
<sven> It’s sad that Broadcom doesn’t seem to care and instead seems to have written that other Android driver :/
<MustardonCheese> HELP REGISTER
<ar> MustardonCheese: wrong window :)
<MustardonCheese> Yeah, been a minute since i've used IRC
roxfan2 has quit [Ping timeout: 480 seconds]
<MustardonCheese> :-)
<alyssa> HELP REGISTER
<alyssa> THE CASH IS ON FIRE
<alyssa> SEND HELP AISLE 3
c10l48 has quit []
<MustardonCheese> Thanks alyssa and ar. cmd on hexchat: /msg NickServ REGISTER password youremail@example.com
MustardonCheese is now known as Mustardon
Mustardon is now known as Mustard
fugi has quit [Quit: bye]
fugi has joined #asahi-dev
c10l48 has joined #asahi-dev
Mustard is now known as ColMustard
ColMustard is now known as ColnMustard
ColnMustard has left #asahi-dev [Leaving]
ColnMustard has joined #asahi-dev
heliumlake has quit [Remote host closed the connection]
ColnMustard has left #asahi-dev [Leaving]
brandon has joined #asahi-dev
brandon is now known as heliumlake
heliumlake has quit []
fugi has quit [Quit: bye]
fugi has joined #asahi-dev
* ellyq chuckles
roxfan2 has joined #asahi-dev
i509vcb has quit [Quit: Connection closed for inactivity]
roxfan has quit [Ping timeout: 480 seconds]
baozich has quit [Ping timeout: 480 seconds]
mkurz has quit [Ping timeout: 480 seconds]
<tpw_rules> jannau: do you know why this behavior changed? did u-boot change a default?
<tpw_rules> the esp uuid change should have been in 2023.01 right if you are talking about what i think you are talking about (the disambiguation between multiple ESPs)
baozich has joined #asahi-dev
baozich has quit [Ping timeout: 480 seconds]
<_jannau_> tpw_rules: the way boot partition is selected changed still our downstream patches
<_jannau_> that broke run bootcmd_usb0
mkurz has joined #asahi-dev
alyssa has left #asahi-dev [#asahi-dev]
r0ni has joined #asahi-dev
SinSinati5 has joined #asahi-dev
mkurz has quit [Remote host closed the connection]
stipa has joined #asahi-dev
SinSinati5 has quit [Remote host closed the connection]
<tpw_rules> _jannau_: can it be reverted or fixed?
<tpw_rules> i'm not sure if it breaks booting from usb with an empty esp on the internal disk but it certainly breaks recovery scenarios
<_jannau_> it changes how you have to boot from the non-blessed partition
roxfan has joined #asahi-dev
roxfan2 has quit [Ping timeout: 480 seconds]
baozich has joined #asahi-dev
<marcan> povik: you weren't planning on bringing up AOP at all, just bypass it and talk straight to the DSP thing?
<tpw_rules> _jannau_: can you point me to the change?
baozich has quit [Ping timeout: 480 seconds]
piroko_ is now known as piroko
nickchan has joined #asahi-dev
baozich has joined #asahi-dev
bps2 has quit [Ping timeout: 480 seconds]
i509vcb has joined #asahi-dev
baozich has quit [Ping timeout: 480 seconds]
c10l48 has quit [Ping timeout: 480 seconds]
<povik> marcan: that's the approach i took with the kernel driver, yeah
<povik> i think a good case can be made for it
nimprod3l has joined #asahi-dev
<povik> at least now when the work involved in figuring out the DSP thing has been done...
nimprod3l has quit [Quit: Leaving]
<marcan> povik: so the issue is AOP does more things
<marcan> does turning it on interfere with what you did?
<marcan> because if so... I think that's not going to work
<marcan> e.g. the ambient light sensor is hooked up there, and it's entirely possible we need AOP to make full system suspend work
<marcan> I'm perfectly okay with bypassing firmware where it only does one thing, but I don't think we want to paint ourselves into the corner of bypassing firmware in a way that locks us out of multiple things we don't know about yet...
<marcan> if you can still boot AOP and explicitly choose not to touch the audio stuff and that still works though, then it's fine
<marcan> but that's something we need to validate
cylm has quit [Ping timeout: 480 seconds]
c10l48 has joined #asahi-dev
<zzywysm> tpw_rules: there are a lot of commits involving the efi_loader, but i'd guess these commits were involved:
<povik> i mean, i was planning on not closing the doors if we need to walk this decision back
<povik> e.g. making sure the macaudio driver and the use-case configuration falls back nicely if the mic input pcm isn't there
<povik> (since presumably an AOP-based implementation of the same would be a soundcard of its own)
<povik> i wasn't considering having a mixed scenario, in which we do boot the AOP and circumvent it for audio still
<povik> there's things that would make me uneasy about this, like the AOP then thinking it owns some of the pstate regs involved, which it could reset at any point
<povik> but maybe it wouldn't be an issue in practice
<marcan> povik: fair
<marcan> as long as we keep both options open
<marcan> I ask this because someone mentioned the ambient light sensor, and I noticed it's under AOP
roxfan2 has joined #asahi-dev
c10l48 has quit []
roxfan has quit [Ping timeout: 480 seconds]
c10l48 has joined #asahi-dev
mkurz has joined #asahi-dev
stsmwg has quit [Quit: Lost terminal]
c10l48 has quit [Ping timeout: 480 seconds]
c10l48 has joined #asahi-dev
c10l48 has quit []
c10l48 has joined #asahi-dev
midou has joined #asahi-dev
c10l48 has quit [Read error: Connection reset by peer]
c10l48 has joined #asahi-dev
hightower2 has quit [Ping timeout: 480 seconds]
brolin has joined #asahi-dev
c10l48 has quit [Ping timeout: 480 seconds]
baozich has joined #asahi-dev
baozich has quit [Ping timeout: 480 seconds]
ciara has joined #asahi-dev
c10l48 has joined #asahi-dev
c10l48 has quit [Ping timeout: 480 seconds]
hightower2 has joined #asahi-dev
c10l48 has joined #asahi-dev
c10l484 has joined #asahi-dev
c10l48 has quit [Read error: Connection reset by peer]
roxfan2 is now known as roxfan
hightower3 has joined #asahi-dev
hightower3 has quit []
brolin has quit [Ping timeout: 480 seconds]
c10l484 has quit [Read error: Connection reset by peer]
c10l484 has joined #asahi-dev
elvishjerricco has quit [Read error: Connection reset by peer]
aafeke_ has joined #asahi-dev
elvishjerricco has joined #asahi-dev
elvishjerricco has quit [Remote host closed the connection]
elvishjerricco has joined #asahi-dev
roxfan2 has joined #asahi-dev
elvishjerricco has quit [Read error: No route to host]
elvishjerricco has joined #asahi-dev
baahemian has joined #asahi-dev
baahemian has quit [Remote host closed the connection]
roxfan has quit [Ping timeout: 480 seconds]
baahemian has joined #asahi-dev
roxfan has joined #asahi-dev
baahemian has quit []
roxfan2 has quit [Ping timeout: 480 seconds]
baahemian has joined #asahi-dev
elvishjerricco has quit [Remote host closed the connection]
elvishjerricco has joined #asahi-dev
elvishjerricco has quit [Read error: Connection reset by peer]
elvishjerricco has joined #asahi-dev
aafeke_ has quit [Quit: aafeke_]
aafeke_ has joined #asahi-dev
<kettenis> The diff that breaks "run bootcmd_usb0" is probably https://github.com/AsahiLinux/u-boot/commit/b1488ddcc7261845e404e915c4db06ec0ee59ecd
<kettenis> I tested the case where nvme doesn't have a bootaa64.efi and it boots from usb just fine then
<kettenis> but I didn't think about testing the case where the designated nvme partition does have a bootaa64.efi
<kettenis> Enabling the EFI boot menu would probably solve the issue since then you can simply pick the USB drive as a boot option from the menu
<kettenis> but I thought the current state would be a good halfway house
<kettenis> turns out it isn't
<tpw_rules> thank you, i am going to probably revert it for my distro assuming that fixes it
<tpw_rules> i thought the multiple ESP was supposed to be handled by scripting logic. did that get removed too?
<kettenis> the scripting stuff is a bit of a hack and possible going away in the future
<tpw_rules> is it still there?
aafeke_ has quit [Quit: aafeke_]
<kettenis> the hack?
baahemian has quit [Ping timeout: 480 seconds]
<tpw_rules> yes
<mps> reverting this patch fixes boot from usb
<tpw_rules> does it break multiple ESPs though?
<mps> tested on m1pro macbook
<mps> tpw_rules: I don't have multiple ESP to test
<tpw_rules> that's why i'm asking if the hack which does the selection is still there
baahemian has joined #asahi-dev
baahemian has quit [Ping timeout: 480 seconds]
baozich has joined #asahi-dev
baozich has quit [Ping timeout: 480 seconds]
compassion18 has joined #asahi-dev
compassion1 has quit [Ping timeout: 480 seconds]
compassion18 is now known as compassion1
cylm has joined #asahi-dev
bps2 has joined #asahi-dev
brolin has joined #asahi-dev
brolin has quit [Ping timeout: 480 seconds]
Thomas___ has quit [Ping timeout: 480 seconds]
mkurz has quit [Ping timeout: 480 seconds]
StupidYui has joined #asahi-dev
Z750 has quit [Quit: bye]
Z750 has joined #asahi-dev
Z750 has quit []
Z750 has joined #asahi-dev
bps2 has quit [Ping timeout: 480 seconds]