#
…

2022-06-09

00:42ComradeMisato[m]<Dementor[m]> "I use a matrix client 😉..." <- what matrix client works on asahi 🤔 should i try element
00:55ComradeMisato[m]btw marcan: i used diskutil to uninstall asahi before per this video and nothing has happened so far. is the video wrong? https://www.youtube.com/watch?v=nMnWTq2H-N0
00:55ComradeMisato[m] * btw marcan: i used disk utility to uninstall asahi before per this video and nothing has happened so far. is the video wrong? https://www.youtube.com/watch?v=nMnWTq2H-N0
00:55ComradeMisato[m] * btw marcan: i used disk utility to uninstall asahi before per this video and nothing bad has happened so far. is the video wrong? https://www.youtube.com/watch?v=nMnWTq2H-N0
00:56tpw_rulesjust replace "NixOS' there with "Asahi" in your mind as you read it
00:56tpw_rulesdon't use the graphical disk utility app. it's buggy and bad
00:56ComradeMisato[m]i dont need instructions bc i already did it per the video
00:57tpw_rulesthen the video might be wrong. there are instructions i know work properly
00:57tpw_rulesif you want help you'll have to be more clear about what the video said, what you did, and what went wrong
00:57ComradeMisato[m]nothing bad has happened so far, as i previously said
00:57ComradeMisato[m]nothing went wrong lol
00:57ComradeMisato[m]i just wanted the guy's input
00:57tpw_rulesoh, i see, you edited it. those don't show up properly on irc
00:58tpw_rulesanyway what did the video say might happen that's bad? like i said IME disk utility.app is buggy and sucky and diskutil is not a whole lot better. i crashed disk utility.app once trying to make a FAT partition with lowercase letters in the name
01:00ComradeMisato[m]tpw_rules: Nothing really. I mean what I'm trying to say is that using Disk Utility app is not recommended officially, however the video (and following the instructions on said video) shows no errors so far yet. I am just wondering if theres something in the video that the creator did not take into account
01:01tpw_rulesoh, not really probably. just that it's unclear and hard to use
01:01tpw_rulesif the video creator came up with good instructions then they are most likely just fine
01:02tpw_rulesi screwed up my m1 mini and had to DFU restore it trying to remove asahi with disk utility...
01:02tpw_rulesbut that was really my fault
01:45riker77_ has joined #asahi
01:50riker77 has quit [Ping timeout: 480 seconds]
01:50riker77_ is now known as riker77
02:43PhilippvK has quit [Ping timeout: 480 seconds]
03:12marvin24 has joined #asahi
03:15marvin24_ has quit [Ping timeout: 480 seconds]
03:21kov has quit [Quit: Coyote finally caught me]
03:27pyropeter1 has joined #asahi
03:29PyroPeter_ has quit [Ping timeout: 480 seconds]
03:29boardwalk has quit [Quit: Ping timeout (120 seconds)]
03:30boardwalk has joined #asahi
04:24amarioguy has quit [Remote host closed the connection]
04:24amarioguy has joined #asahi
04:57the_lanetly_052__ has joined #asahi
05:04rootbeerdan has joined #asahi
05:12jluthra has quit [Remote host closed the connection]
05:12jluthra has joined #asahi
05:15Chainfire has joined #asahi
05:20jannaukettenis: it looks like they moved the input controller to the SoC. It looks like it's now a standard ASC coprocessor so it might use rtkit, otoh it has an interrupt and regs so it might be accessible directly
05:21jannauevents appear to be still HID
06:14eroux has joined #asahi
06:14rootbeerdan has quit [Ping timeout: 480 seconds]
06:36the_lanetly_052__ has quit [Ping timeout: 480 seconds]
06:44rootbeerdan has joined #asahi
07:22MajorBiscuit has joined #asahi
07:50os9 has joined #asahi
07:51os has quit [Read error: Connection reset by peer]
07:52eroux_ has joined #asahi
07:52eroux has quit [Read error: Connection reset by peer]
07:59bps2 has joined #asahi
08:24voliteon has joined #asahi
08:48MajorBiscuit has quit [Ping timeout: 480 seconds]
08:54MajorBiscuit has joined #asahi
09:10voliteonI only just learnt of Asahi Linux. Love the idea!
09:23MajorBiscuit has quit [Ping timeout: 480 seconds]
09:25MajorBiscuit has joined #asahi
09:35MajorBiscuit has quit [Ping timeout: 480 seconds]
09:36marcandockchannel is trivial
09:36marcanhopefully it's similarly trivial :)
09:37marcanI guess they shoved the keyboard controller into the main SoC now, sounds like something they'd do
09:44j`eywe still need SPI for mesa and something else, so we cant not upstream that :P
09:52MajorBiscuit has joined #asahi
10:23MajorBiscuit has quit [Ping timeout: 480 seconds]
10:28MajorBiscuit has joined #asahi
10:30ChaosPrincess has quit [Quit: WeeChat 3.5]
10:32ChaosPrincess has joined #asahi
10:36MajorBiscuit has quit [Ping timeout: 480 seconds]
10:43Ry_Darcy has quit [Remote host closed the connection]
10:49eroux_ has quit []
10:52eroux has joined #asahi
11:10nsklaus_i've heard some feedback saying asahi makes the laptop to run hotter than macos, i was wondering what part of the planned future work is supposed to correct that ? CPU deep idle maybe ? or is it something else ?
11:12nsklaus_( to note, i haven't installed asahi myself yet, i'm waiting for sound speaker support to land, as having sound is important for me )
11:12j`eythe CPU doing software rendering doesnt help either, i guess
11:12nsklaus_.. so i cannot confirm first hand that it does indeed run hotter ..
11:12voliteoninteresting
11:12nsklaus_ChaosPrincess: thanks for confirmation
11:13Dcow[m]It is, but yeah - CPU is constantly consumed by software rendering, so much less idle mode so it is hotter
11:14Dcow[m]Can't say drastically, but yeah
11:14Dcow[m]prays for lina here ;)
11:14nsklaus_it may be interesting to locate where the heat zone are on the laptop, physically speaking. it might be an indication of what part exactly is not properly handling hardware ?
11:15nsklaus_ah i see, so gpy driver, cpu deep idle, and such will probably improve on that situation then ?
11:16ChaosPrincessit is likely to do so, yes
11:16Dcow[m]also, afaik, some pcie sleep issues here, so count this too
11:17Dcow[m]don't really remember which exactly, but something pcie or wifi related
11:18nsklaus_i have seen the lina's challenge video ;) the 3months caesar vs cleopatra challenge, it was kind of funny ;) maybe when the 3 months date is reached there could be substantial progress on that front too then ?
11:19nsklaus_the "three meow" ;)
11:19nsklaus_there's pcie sleep isssues too i read ?
11:19nsklaus_dologne[m]
11:20nsklaus_err tab error
11:20j`eyyes the wifi driver crashes when trying to sleep
11:21nsklaus_interesting.. i haven't said so before, so i take the opportunity to say congrats on the first release, i read good feedback about it so far, wish you all courage for the remaining work ahead
11:29rootbeerdan has quit [Ping timeout: 480 seconds]
11:33kov has joined #asahi
11:34eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:39eroux has joined #asahi
12:23rootbeerdan has joined #asahi
12:33MajorBiscuit has joined #asahi
12:40rootbeerdan has quit [Ping timeout: 480 seconds]
12:46rootbeerdan has joined #asahi
12:58rootbeerdan has quit [Read error: Connection reset by peer]
12:58rootbeerdan has joined #asahi
13:12citizen1[m] has left #asahi [#asahi]
13:43rootbeerdan has quit [Read error: Connection reset by peer]
13:44rootbeerdan has joined #asahi
13:44Ry_Darcy has joined #asahi
13:48Ry_Darcy has quit [Remote host closed the connection]
13:49opticron has quit [Ping timeout: 480 seconds]
14:12rootbeerdan has quit [Remote host closed the connection]
14:13rootbeerdan has joined #asahi
14:25bps2 has quit [Remote host closed the connection]
14:30rootbeerdan has quit [Ping timeout: 480 seconds]
14:39eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:04LinuxM1 has joined #asahi
15:11nsklaus_i wonder if macbook air m2 will heat mor than m1, i mean even using macos ?
15:14rootbeerdan has joined #asahi
15:17eroc1990 has quit [Quit: The Lounge - https://thelounge.chat]
15:22rootbeerdan has quit [Ping timeout: 480 seconds]
15:33psydroid[m]hopefully it will, so we'll have a higher chance of surviving next winter
15:35nsklaus_and do plancha cooking, like on intels ? ;)
15:42eroc1990 has joined #asahi
15:58millenialhacker has joined #asahi
16:38MajorBiscuit has quit [Ping timeout: 480 seconds]
16:49povikmps: why are you not running a sound server? :-p
16:49povik(not a serious questin, but a question about your use-case did arose on the list: https://lore.kernel.org/asahi/YqIhYPBpVcvz9iLQ@sirena.org.uk/#t )
16:49LinuxM1 has quit [Quit: Leaving]
16:55mpspovik: I don't like them, they are more problem than useful
16:56mpssetting alsa directly is more convenient, simple and stable, ime
17:07Dcow[m]povik: did admac get merged?
17:08j`eydont think so
17:08ketteniseven OpenBSD has a (rather minimal) sound server
17:10j`eyoh nice, i found v3, not v4
17:12mpspovik: reading ML messages I think you are correct, i.e. your reasoning but I'm far from expert in the field
17:13j`eyDcow[m]: cant find it on vinods git :/
17:15j`ey(oh applied today, so probably just not pushed)
17:15derzahl has joined #asahi
17:20povikmps: well in the end it's not an issue of correctness but of being worth the added complexity...
17:20povikyeah, couldn't find merged admac too
17:20poviki have a fix for it already
17:22Dcow[m]I guess fixes are easier to get merged
17:22poviksure they are
17:22povikwant to insert the right Fixes: tag though
17:22svendepending on the maintainer they might even just squash the fix in
17:23svenbut anyway, nice job on ADMAC :-)
17:23Dcow[m]within current window?
17:23Dcow[m]yeah, right! congrats!
17:24svenI’ve seen fixes squashed in as long as they’re only on -next since some maintainers don’t mind rebasing there
17:24svencant squash anything after the PR is sent to Linus ofc
17:26povikmy experience is that fixes weren't squashed
17:27povikthanks, good it finally got merged
17:27j`eypovik: and macaudio looks like it got some good feedback
17:28svenI think it’s rather rare, I’ve only seen it once or twice
17:28sveniirc for something small in pcie, but it’s been a while
17:28kettenispovik: yes some changes are going to be needed
17:29povikah, the interrupts= thing i bet
17:29kettenisthat needs to be rolled into the asahi linux branch sooner than later as well
17:29povikhow is your driver so short?!
17:30povikless than half the no. of lines of the linux one
17:31povik> sooner than later
17:31povikah, i see you've got to know me :-p
17:32mpspovik: so, using plain alsa is more complex than using sound server? I don't undertand quite well
17:33povikyes, in case you want some of the features the sound server would otherwise take care of implemented in kernel
17:33povikhere, the speakers/headphones switching based on jack detection
17:35mpsI use acpid to detect jack plugs in and switch output in script with amixer
17:35derzahlwhoa, you guys are talking about audio? i just came here to ask what I would need to do to make noises come out of my macbook air speakers, even at the risk of blowing them out
17:36mpsderzahl: you have to edit DTS file for air and remove 'disabled' line there, and rebuild DTS and add them to m1n1+u-boot
17:36derzahlthere _seems_ to be a working driver. the audio hw is detected, controls are all there in pavuctl and alsamixer. but..silence
17:37derzahlmps: gotcha! thanks
17:38derzahlso u-boot is what loads the .dtb?
17:38mpsderzahl: no, m1n1 loads it
17:38j`eyits just that you m1n1 is combined with u-boot and the dts in stage 2
17:39derzahlwhat if i just added a "devicetree" line in grub? wouldnt that override?
17:39kettenispovik: the driver is short because it just does what I need for playing back audio
17:39mpsderzahl: this doesn't work
17:39ketteniswould almost certainly fail
17:40povikderzahl: the reason that can't work is that there are things that need to be filled into the devicetree by m1n1, and grub won't put those in
17:41derzahlj`ey: so remove line 122 completely? or set status = "enabled";
17:41povikyou can just remove it
17:41poviki think status="okay" would work too?
17:42derzahlok, will remove then
17:42mpsusually will do
17:43j`eypovik: I think jannau found a bug in our device trees because we had status="ok", which is the same as disabled :P
17:43derzahlcan I add the dtb to m1n1 from the OS or do I need to do it at boot? I havent played around with it much yet
17:44mpspovik: input events have these two signals for jack, SW_HEADPHONE_INSERT and SW_MICROPHONE_INSERT but I think you know this
17:44povikj`ey: yeah, i can see how that would happen
17:44povikbut i thought status="ok" is... ok?
17:45j`eypovik: probably just misremembered what the bug was then
17:46povikmps: i don't! didn't need to know it so far, maybe i will
17:47mpsah, ok. I use input events for a lot of things
17:48kettenisit needs to be "okay", "ok" isn't recognized by some devicetree consumers
17:50derzahlj`ey: ok, and I think m1n1-update has a pacman hook that runs automatically, right? I recall it running when I installed a new kernel. so maybe I can just comment out line 112 in the dts, rebuild the dtb. then reinstalling the kernel should kick off m1m1-update
17:50jannauthe keyboard was broken in u-boot on m1 pro/max because linux accepts the non standard 'status = "ok";' but u-boot doesn't
17:50kettenis(and "ok" isn't mentioned in the devicetree specificatin)
17:51derzahlor change to status="okay"...maybe commenting out wont work it seems
17:51mpsderzahl: I just commented it
17:52j`eyderzahl: that might work? or just run the update-m1n1 script manually.. just make sure you back up your m1n1.bin on the EFI/ESP partition
17:54j`eypovik: see, I was right! uboot doesnt accept "ok"!
17:55povikyeah, and i hate it :-p
17:55povikdoes anyone here know C?
17:55povikwhy do i need this patch: https://tpaste.us/Kenq
17:55povikfor context
17:55povik#define FLAG_DESC_NOTIFYBIT(16)
17:55povikuh it ate the tabs
17:56povik#define FLAG_DESC_NOTIFY BIT(16)
17:56povikwhat rule does apply here that the numeric constant is an unsigned long argument to the variadic function?
17:57j`ey#define BIT(nr) (UL(1) << (nr))
17:58povikok, now that i understand it i can send it
18:00derzahlok, all ready to go with the new $ESP/m1n1/boot.bin
18:00j`eyderzahl: save the old one
18:01derzahlspeaks wont blow before I get booted into gnome and try to test audio will they?:)
18:01povikshouldn't blow until that point :p
18:02derzahland re: update-m1n1, am I correct in my reading, that only the dtb file from the last installed kernel will be loaded?
18:02j`eyarch only has one kernel at a time (apparently..)
18:03derzahlwould be nice to be able to load on a per kernel basis. not sure how often the dtb changes...
18:04derzahl has quit [Remote host closed the connection]
18:07svenwould also be annoying to implement
18:07sventhe dtb ideally is backward and forward compatible *for things that are upstream*
18:08svenfor everything else, well, it’s called alpha for a reason
18:08derzahl has joined #asahi
18:09kettenisone approach for making modifications to a device tree is using overlays
18:09kettenisu-boot can do that I believe (but I've never used that myself)
18:10derzahlok assholes im back. my speakers are blown my ears are ringing and my dick fell off. I need addresses to send to me lawyer RIGHT NOW
18:10derzahljk. sound works beautifully so far:)
18:10ciggi has quit [Ping timeout: 480 seconds]
18:10j`eyjust keep the volume low
18:11kettenisvlad the bad, kremlin, moscow, russia ;)
18:11povikyeah, when you write in caps i read it as shouting
18:12derzahlj`ey: so is the only problem that there is no proper limiter? shouldnt that be fairly easy to code for?
18:12povikyeah j`ey
18:12povikwhy isn't that done already?
18:13j`eyderzahl: povik is lazy
18:13povikah, busted
18:14mpskettenis: iirc there were some efforts to load dtb overlays on running systems but I don't if it ever materialized to something to even test
18:17ciggi has joined #asahi
18:17eramon[m]Hi, I was wondering if the binaries used by the asahi installer (kernel + dtb) are available somewhere to download?
18:19j`eyeramon[m]: theyre in the asahi pacman repo i suppose
18:20eramon[m]Do you know the url of the repo?
18:22eramon[m]Thank you :)
18:26derzahlwell thanks for the tips. maybe ill give it a try loading from grub instead of m1n1? I made a grub script that will extract the dtb from each kernel and create a "devicetree" line in the grub.cfg when it is generated
18:27derzahlfor another aarch64 laptop i have
18:28j`eyderzahl: you probably wont even get video output if you do that :P
18:31derzahlj`ey: ill play around with it when i have the chance a report back
18:33derzahlbtw, anyone know who is working on the fedora port? Anyone from redhat or just the community?
18:34Moprius has joined #asahi
18:37the_lanetly_052__ has joined #asahi
18:43derzahl has quit [Remote host closed the connection]
18:45svenloading the DT from grub is a bad idea in general
18:45svensee https://github.com/AsahiLinux/m1n1/blob/main/src/kboot.c for all the things that have to be patched
18:46svengrub won’t do any of that which will break many things
18:46Moprius has quit [Remote host closed the connection]
18:47Moprius has joined #asahi
19:01the_lanetly_052__ has quit [Ping timeout: 480 seconds]
19:23Gaspare has joined #asahi
19:33vdanielmo has joined #asahi
19:33MichaelMesser[m]https://twitter.com/never_released/status/1534889394242572288?cxt=HHwWgMC-lbPxgs0qAAAA Apparently, no 32 bit. Has some tried something like i386_set_ldt that Wine uses to run 32 bit Windows apps on M1?
20:19vdanielmo has quit [Quit: vdanielmo]
20:29Moprius has quit [Quit: Konversation terminated!]
21:21opticron has joined #asahi
21:22Gaspare has quit [Quit: Gaspare]
21:36derzahl has joined #asahi
21:37derzahlnoticed tons of commits on m1n1:master
21:38derzahlmost i dont understand....dont suppose theres a menu?:)
21:38povikyou mean like a boot menu?
21:38derzahlim back to trying to get zfsbootmenu working
21:38j`eym1n1 just boots a payload, no menu
21:38tpw_rulesno, there's no input
21:39tpw_ruleszfsbootmenu working is between you and u-boot
21:39opticron has quit [Read error: No route to host]
21:39derzahlgotcha, keep mixing up m1n1 and u-boot
21:39opticron has joined #asahi
21:40derzahli can boot it from grub. and i booted the efi once from u-boot
21:40j`eyhmm zfsbootmenu uses kexec, so hopefully it wont start the other cores
21:41derzahlthe interface is pretty f'd up. keyboard input often slows to a crawl or doesnt echo
21:41tpw_rulesthere was a problem with that in u-boot due to a ludicrous timer interal
21:41derzahlj`ey: other cores? why would we not want them to start?
21:41tpw_rulesbut that was fixed
21:42tpw_rulesdoes your keyboard work well in u-boot and grub?
21:42povikderzahl: kexec won't work then
21:42derzahltpw_rules: yes
21:43j`eyderzahl: until we have psci, we cant stop/start cores. which kexec needs. but if zfsbootmenu doesnt start the cores it should be ok
21:44derzahli have not been ableto get it working so...maybe kexec is why.hm
21:44tpw_rulesthere was that m1n1/asahi/whatever alternative that was just a chain of kexecs so someone has gotten something working
21:44j`eykexec is after youve selected a kernel
21:45j`eyderzahl: so if you havent gotten to zfsmenu at all, thats not the issue
21:45derzahlIve gotten to the menu
21:46derzahlbut it gets all garbly, so im hoping to get better output...make sure its not a mistake i made in config
21:47derzahlim new to zfsbootmenu. just got it set up on an old x86 macbook air
21:47derzahlseemed like th best way to get my encrypted zfs root booted on asahi...i dunno
21:48derzahlim open to other suggestions. but i would like boot env's to work
22:11jackbijou[m] has joined #asahi
22:29derzahl has quit [Remote host closed the connection]
22:36opticron has quit [Ping timeout: 480 seconds]
22:45derzahl has joined #asahi
23:11opticron has joined #asahi
23:31derzahlyeh, got zfsbootmgr running cleanly now. just straight says that it 'cannot load' the kernel
23:32derzahlany alternative suggestions?
23:34j`eyderzahl: debug it a bit?
23:34j`eyor maybe theres a way to get verbose errors
…