2022-03-19
00:00eroux has joined #asahi
00:01eroux has quit []
00:01yuyichao has quit [Ping timeout: 481 seconds]
00:02tpw_rulesmore or less, i think some people were complaining earlier that the scroll speed was too fast
00:03nicolas17 has joined #asahi
00:06bisko has joined #asahi
00:11brentr123[m]Wow it takes a long time to extract root.img into disk0s7 partition
00:14brentr123[m]j`ey: OH DAMNNNNNN
00:18nicolas17https://github.com/tpwrules/nixos-m1/blob/main/docs/uefi-standalone.md well that was fast
00:19Retr0idpsa: your system may temporarily hard-lock while doing the partition shrink, don't freak out and it will come back in a minute or so
00:20al3xtjames6 has joined #asahi
00:21bisko has quit [Ping timeout: 480 seconds]
00:23al3xtjames has quit [Ping timeout: 480 seconds]
00:23al3xtjames6 is now known as al3xtjames
00:27Retr0idwelp, my partition shrink failed, I suppse that's an Apple Problem rather than an asahi problem
00:29AmyLarane[m] has joined #asahi
00:29rqou_been playing around and noticed that running qemu-system-aarch64 with KVM enabled seems to make the trackpad more "stutter-y" (and with possibly more "Read package crc mismatch" errors in dmesg). is this a known issue?
00:32ichi[sheher][m] has joined #asahi
00:32AmyLarane[m] is now known as casually-blue[m]
00:33sheepgoose has joined #asahi
00:37_alicea lot of people seem to be tripping up on the system freezing while the container resize happens… it might be worth adding a notice in the installer output before it does the command ><
00:38_alicebootcamp assistant has a message like this when it does the same resize for windows installation; "Your Mac will stop responding while resizing the startup volume; this may last for several minutes or hours. Please do not quit Boot Camp Assistant, power off the computer, or restart until the operation is complete."
00:38Retr0idyeah I almost did a hard-reboot when it happened, which would almost certainly have broken my fs even more...
00:38nicolas17marcan: I have seen you say "this is like the third APFS data recovery situation I find myself in, I have no idea how Apple shipped this..." maybe you're supressing bad memories :P
00:39Retr0idon that note, first aid succeeded, but the shrink still errored out with exactly the same output - will try running first aid again from recovery
00:39brentr123[m]OMG THIS IS FUCKING AWESOME
00:43brentr123[m]I deleted the Asahi partition, how do I get my space back?
00:44tpw_rulesbrentr123[m]: https://github.com/tpwrules/nixos-m1/blob/main/docs/uefi-standalone.md#nixos-uninstallation
00:44brentr123[m]Not nixos
00:46creechy has joined #asahi
00:49cobre[m] has joined #asahi
00:50cobre[m]Where's the best place to create a support ticket for an issue I'm having with the installer script?
00:50tpw_rulesif you are feeling quiet today, it's probably here though: https://github.com/AsahiLinux/asahi-installer
00:51cobre[m]I'll create a GitHub issue, and then maybe we can chat about it here or something. That alright?
00:51sheepgoose has quit [Ping timeout: 480 seconds]
00:54turo has joined #asahi
00:56tpw_rulesi would think it would have given you at least the operation to resize, and failed there
00:57tpw_rulesthere's this thing apple calls a "tidewater mark" or so, but basically if there's a snapshot it can't rearrange the blocks
00:58cobre[m]Is that what's mentioned in the blog post with a link to this: https://appleinsider.com/articles/21/06/26/how-to-delete-time-machine-local-snapshots-in-macos
00:58cobre[m]By the way here's my GH Issue, with the logs/output of the script: https://github.com/AsahiLinux/asahi-installer/issues/29
01:03cobre[m]Ah it says it found some corruption, so i’ll pop into recovery mode real quick to try to fix that
01:04tpw_rulesyeah, the bug is that the asahi linux installer unceremoniously died instead of telling you to do this
01:05nicolas17...I just remembered I probably still have an APFS container for sandcastle on my phone >.>
01:11turo has quit []
01:12turo_ has joined #asahi
01:12tpw_rulesyou'll need it for future macOS updates. currently, you have to have installed an OS with macOS so Apple's stuff can update the system firmware before Asahi can use it. afaik fixing that is on the roadmap
01:13jaime10[m]Hey guys, I just finished configuring sway on my M1 air and made a Guide for anyone interested: https://github.com/jaime10a/SwayM1
01:13jaime10[m]I think it should be usefull to configure the touchpad and keyboard.
01:13jaime10[m]If you find any mistakes pls feel free to contribute:)
01:14Retr0idugh, first aid says it completed successfully, but doesn't actually fix the issue (re-running first-aid results in the exact same outputs again) https://gist.github.com/DavidBuchanan314/7e694a2a93805ae227650fdb025c87ba
01:14brentr123[m]M0x8FF[m]: Scroll up for a while someone told me
01:14brentr123[m]Earlier
01:14tpw_rulesM0x8FF[m]: i wrote how to do it here. just replace "nixos" with "asahi" as you read it: https://github.com/tpwrules/nixos-m1/blob/main/docs/uefi-standalone.md#nixos-uninstallation
01:18nicolas17damn just freed 4GB on my iPhone by deleting the android-sandcastle volume I forgot I still had
01:19nicolas17asahi's patches for M1 are much cleaner, and now I wonder if support for other SoCs like A10 could be added more easily
01:21Retr0idit is simultaneously impressive and concerning how apfs continues to mostly function while in a corrupted state
01:26brentr123[m]macOS protects
01:26brentr123[m]You from diskutil erasing the Mac disk right?
01:27tpw_rulesat least with Disk Utility, if you try, it will prompt you go to through a "reset the whole system" flow
01:30bisko has joined #asahi
01:31nyanpasu64 has joined #asahi
01:33nyanpasu64apparently the apfs resizing hung my m1 mba for over 1 minute, in what started out as a disk io lockup
01:33nyanpasu64it unfroze right as i was in the process of joining this chat to report
01:33tpw_rulesnyanpasu64: yeah that's expected, it really should print a scary warning before doing it
01:34nicolas17<_alice> a lot of people seem to be tripping up on the system freezing while the container resize happens… it might be worth adding a notice in the installer output before it does the command ><
01:34nyanpasu64anyway i clicked away from the terminal, so you'd have to print a warning right before/after asking for confirmation (y), not when the freeze occurs
01:35zx2[m] has joined #asahi
01:36kameks has joined #asahi
01:37zx2[m]agree about the warning, I didn't know it was expected until I saw this chat. Going well now though!
01:37nyanpasu64dual boot on 256 GB SSD is really pushing the limits lol
01:38tpw_rulesftr i also found that if you ctrl-c it while it does the check, it doesn't seem to release whatever disk io lock it has
01:39bisko has quit [Ping timeout: 480 seconds]
01:40* zx2[m]uploaded an image: (797KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/NeGNIJqWQzvnyNKaomlFjoWi/image.png >
01:40nyanpasu64tpw_rules: you mean the os doesn't freeze if you don't use other apps during resizing (even though that's no better than having a frozen computer)?
01:43_aliceit does that for both the getting-firmware-from-apple-cdn step, and the root.img extraction too
01:45tpw_rulesi've run it dozens of times, but i have this personal flaw where i get mesmerized and incapacitated by progress bars and scrolling messages
01:45zamadatix has joined #asahi
01:45Retr0idI think I fixed my fs issues, my fix was: boot recovery, open terminal, diskutil unmountdisk /dev/disk3, fsck_apfs /dev/disk3 (and hit y a bunch of times)
01:46chadmed has joined #asahi
01:50creechy has quit [Ping timeout: 480 seconds]
01:57nyanpasu64asahi dpi works in strange ways
02:00nyanpasu64screen brightness: {yes, no}
02:01nyanpasu64it'll be hell having 3 keyboard layouts I switch between regularly
02:01zx2[m]incredible work by the team. It was super easy to install and feels surprisingly usable already
02:02kita99 has quit [Ping timeout: 480 seconds]
02:12nyanpasu64what's a hack? brightness or dpi?
02:14Kalissaac[m] has joined #asahi
02:20Emantor has quit [Quit: ZNC - http://znc.in]
02:20Emantor has joined #asahi
02:21nyanpasu64compiling librewolf on m1 arch will be... interesting
02:26LuigyLeon[m]tpw_rules nixos-m1 may be missing config for sound on mbp, right?
02:27LuigyLeon[m]oh I mean even just the headphone jack
02:27LuigyLeon[m]not even speakers
02:29LuigyLeon[m]just guessing from an diff between configs with one from release
02:29tpw_rulesLuigyLeon[m]: quite possibly? the only machine i have is the mac mini so i can't test. does it show up as an audio device?
02:29brentr123[m]So the time machine file from the software update didn’t have a date associated with it, how would I go about removing it
02:30LuigyLeon[m][ 1.452580] ALSA device list:
02:30LuigyLeon[m][ 1.453489] No soundcards found.
02:30tpw_rulesLuigyLeon[m]: but some people have reported that audio is intermittent even if set up correctly and you may have to reboot a bunch
02:30chadmedthe devicetree has sound disabled on purpose, you can blow your speakers up if you dont know what youre doing
02:30LuigyLeon[m]oh I see xD in that case can totally hold off
02:32LuigyLeon[m]oh I have the mbp 14"
02:32LuigyLeon[m]ah, that explains it :)
02:34nyanpasu64should i even try replacing pulse with pipewire?
02:45zamadatix has quit [Quit: Leaving]
02:56nyanpasu64will there eventually be a plan to swap alt and super?
02:56nyanpasu64will speaker dsp be on the level of easyeffects or lower level?
02:57chadmedspeaker dsp will (hopefully) be inside pipewire itself, exactly as the repo has it with some tweaks pending on advice from the pipewire devs
02:57jaime10[m]Ive been playing around for a while and now I my password doesnt work for sudo anymore.. But when I su $user it works. Any idea how to fix?
02:57jaime10[m]also cant su root cause it has no password..
02:58chadmedhttps://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2210 for reference, this is what we plan on doing with pipewire
03:00jx0 has joined #asahi
03:01jaime10[m]Ok nevermind it worked from tty.. so weird
03:01nyanpasu64interesting
03:02nyanpasu64I'm a small time pipewire developer (kinda sorta)
03:03jx0 has quit []
03:05sa1 has joined #asahi
03:06doggkruse has joined #asahi
03:07chadmedthe main issue for me is that wim can say "wireplumber already does this" as much as he wants, it doesnt mean that it's the correct, easy, most flexible or user-friendly way to handle it
03:07bisko has joined #asahi
03:07nyanpasu64personally i dislike speakers that rely on non-integrated dsp, like these speakers i dug out of my garage and have missing treble and ??? (possibly boomy) bass
03:08nyanpasu64and i have to set easyeffects rules on my desktop, and find a different program to play to the speakers from my phone
03:08chadmedyeah but it is part and parcel of these kinds of devices now, and simply refusing to support them properly wont make them go away
03:08nyanpasu64can you elaborate on wireplumber?
03:08chadmednot really because it has negative documentation and actually doesnt do what wim says it does :P
03:09chadmedi actually dont know what he means by "wireplumber already does this" because it literally doesnt
03:09nyanpasu64and pipewire and wireplumber keep changing around behavior
03:09nyanpasu64like handling requests to listen to monitors, they made it rewrite a flag then reverted then reinstated
03:10nyanpasu64and repeatedly shuffling the id reuse scheme (id reuse used to break pulseaudio apps until they found a way to avoid exposing reused ids to pulse)
03:10nyanpasu64and last time i checked, id reuse still caused races and ABA problems with wireplumber
03:10nyanpasu64yeah
03:11nyanpasu64it was literally designed for cars
03:11chadmedim currently only interested in supporting pipewire-media-session with these machines because its so dumb that it just obeys what ive told pipewire to do and doesnt try to be a smartarse and apply its own rules
03:12doggkruseHello, I had a repeating error with the installer script for today's alpha release. Looking for info on how to best provide the feedback
03:12nyanpasu64oh lol
03:15bisko has quit [Ping timeout: 480 seconds]
03:16nyanpasu64(there is no way to tell which speaker is plugged into a headphone jack and apply different effects. ideally you'd put an equalization dongle on each speaker's cable. sadly every extra dongle costs money unlike software DSP.)
03:16nyanpasu64(what about soft modems? i wasn't around then)
03:19chadmedsoftware modems would do DSP on the signal in software rather than a real modem which would do it with a dedicated IC
03:19nyanpasu64just for confirmation, pulse/pipewire profiles are a layer of audio/volume/mute routing and volume/mute defaults, on top of the raw alsa controls in alsamixer with dozens of parameters I'm clueless about?
03:20doggkruseyeah, that's what I gathered but unsure why. I'm in the US with 400/40 cable and its very reliable
03:20chadmednyanpasu64: well thats the problem we are trying to solve with this pipewire functionality. it would look at a database of installed profiles and apply the correct one for the plugged in device/s
03:20nicolas17seems like it could be smarter and download the whole subfile but that would need zip format knowledge
03:21tpw_rulesok. that's between the script and apple's servers. not sure we can do a lot about that. but thanks for coming to report it
03:21nicolas17tpw_rules: I mean like if a file inside the zip is 25MB (compressed) then make a range request for exactly that 25MB, instead of getting chunks as the zipfile module asks for them
03:22nyanpasu64tbh pushing DSP to software, requiring one driver per machine per os, makes me sad... but the company making hardware doesn't care about alternative oses
03:22tpw_rulesnicolas17: oh. not sure that would meaningfully improve things? i think it's only downloading like one 1GB file or so
03:22nyanpasu64iirc modern usb audio interfaces can't expose all their capabilities through standard UAC profiles, and rely on Windows-only drivers
03:23chadmedeh, this sort of thing belongs in software these days imo. in fact as i say in the readme of my repo, its a good thing because it means we can replace apple's shit sounding DSP with our own
03:24chadmedit really isnt that much work to "support" devices, and whether or not its actually good or bad is irrelevant
03:24chadmedit is happening, and has been happening for over a decade, and is going to keep happening
03:24doggkruse has quit [Read error: Connection reset by peer]
03:24nyanpasu64i don't exactly like dsp the way it's been done before
03:25chadmedwe can either choose to support it properly so that users have a halfway decent experience with their devices, or we can sook and whinge about it and refuse to implement basic support for it and alienate our users
03:25nyanpasu64dell laptops which don't detect headphones plugged in without installing realtek waves bloatware
03:25nyanpasu64and if i disable all effects the speakers sound bad, and otherwise the headphones sound bad with effects i don't want
03:25chadmedluckily pipewire already has the functionality to apply effect chains to only a specific node
03:26nyanpasu64interesting
03:26chadmedwhat we need from pipewire is the ability to hide the targeted hardware device from users so that they cant select it
03:26chadmedas well as a generalised way to apply these parameters so that we dont have a billion different projects duplicating the functionality randomly
03:27chadmedwhich as i say, is fine for embedded devices that are usually closed off/limit user interaction to a walled garden anyway
03:28nyanpasu64lol macos stereo widener
03:28nicolas17I saw a twitter thread (in spanish) about the state and history of the Linux audio stack
03:29chadmednicolas17: the sad thing is that the stack doesnt actually suck, what sucks is that you need to be proficient with at least 3 different scripting languages and an audio engineer to actually make it not suck
03:29nicolas17getting progressively more complex until the conclusion of https://pbs.twimg.com/media/FJdBw4UWQAA2o7s.png
03:29nyanpasu64one of the neat things about pipewire (and jack) is having signal graphs with a fixed latency no matter how many components you chain
03:30nyanpasu64so you can erase the latency of convolutional reverb by piggybacking off the period/quantum size
03:30nyanpasu64I'm half an audio engineer lol
03:31nyanpasu64(convolutional eq as well)
03:31chadmedi was one for the better part of a decade, doing serious live reinforcement stuff for 5-6 of those years
03:32chadmedand joe blow isnt going to bother setting up jack autostart scripts and learning lua + asound syntax + pipewire.conf syntax + carla + REW just so his laptop doesnt sound bad
03:32nyanpasu64you mean laptops can not sound bad?
03:33piroko has joined #asahi
03:35nicolas17trying to make a phone call (which would switch to the other bluetooth profile that supports microphone) would sometimes do nothing (silence), sometimes disconnected from bluetooth, sometimes started making horrible noises on the headphones and firmware was so stuck that the power button didn't respond... and sometimes worked
03:37nyanpasu64some of the worst things i've seen are bluetooth receiver audio with over 1 second of latency
03:37nyanpasu64and the car audio with over 1 second of latency, aptX audio compresion (ok), and entering a phone call would switch to 64khz CVSD compression (dreadful)
03:38kov has quit [Quit: Coyote finally caught me]
03:40phiologe has joined #asahi
03:40nicolas17chadmed: meh I'm not an audiophile :P (surely if I was I wouldn't be using bluetooth?)
03:48matqua[m] has joined #asahi
03:57doggkruse has joined #asahi
03:59doggkruseThe theme of the night: everything works on the third try.... Wifi didn't load FW on the first boot, loaded but non-operational on the second and the third boot it works
04:00dirbaio[m] has joined #asahi
04:00dirbaio[m] is now known as dirbaio
04:00opticronhmmm...I'm thinking the kernel I've got on debian doesn't have the requisite audio changes to test speakers
04:05doggkruse has quit [Quit: Konversation terminated!]
04:06doggkruse has joined #asahi
04:07nyanpasu64wifi dies when i logout and back in
04:07nyanpasu64and possibly randomly otherwise
04:07nyanpasu64i have to reconnect to a specific network
04:11AbhayNayar[m] has joined #asahi
04:12nicolas17fullmac means the wifi protocol is implemented in the firmware and not in the kernel, right?
04:13bisko has joined #asahi
04:16marvin24_ has joined #asahi
04:16linearcannon has joined #asahi
04:17silverocean[m] has joined #asahi
04:18nicolas17"A FullMAC device hides the complexity of the 802.11 protocol from the main CPU, instead providing an 802.3 (Ethernet) interface; a SoftMAC design implements only the timing-critical part of the protocol in hardware/firmware and the rest on the host."
04:19marvin24 has quit [Ping timeout: 480 seconds]
04:21bisko has quit [Ping timeout: 480 seconds]
04:23jochum has joined #asahi
04:26jochum_ has quit [Ping timeout: 480 seconds]
04:29silverocean[m]Has anyone ran into "Failed to find boot partition `run distro_bootcmd` to boot from any partition"?
04:29eroux has joined #asahi
04:32silverocean[m]tpw_rules: Yes, I am. It doesn't seem to get past U-Boot.
04:32silverocean[m]tpw_rules: I tried on a MacBook Air and it worked great. Not so much on my 16-inch MacBook Pro (M1 Max).
04:33silverocean[m]tpw_rules: Yes, it is!
04:33tpw_rulesok, that's strange. and this is also the first linux install on it? you just have macos and then this is the first time you've run asahi and you haven't been able to boot into it at all on that machine?
04:34silverocean[m]tpw_rules: yep, I only had macOS before, and it's my first time installing Asahi on it. Doesn't boot into it at all.
04:35silverocean[m]tpw_rules: It doesn't boot. Instead I get "Device 0: unknown device".
04:36silverocean[m]nicolas17: yep, everything went fine in the installer
04:36tpw_rulesthere should be 5 partitions. but it sounds like something went wrong writing the partitions in the installer
04:36silverocean[m]tpw_rules: there's no output when I run that.
04:36silverocean[m]looks like the nvme drive isn't recognized?
04:36silverocean[m]tpw_rules: yep, I chose option 1 (the full distro)
04:36silverocean[m]tried to reboot several times
04:37silverocean[m]I wonder if this has anything to do with the fact that the Mac has 4TB storage
04:37silverocean[m]macOS boots fine!
04:37silverocean[m]tpw_rules: nothing shows up
04:38silverocean[m]tpw_rules: let me try that in a moment
04:40nyanpasu64...and the classic hang at shutdown
04:40nyanpasu64personally I'd increase the systemd tty log level by default
04:40nyanpasu64i also need to enable alt sysrq
04:41nyanpasu64is this stuff possible on asahi?
04:42Skirmisher has joined #asahi
04:44Guest1237 has joined #asahi
04:44nyanpasu64there might be some wms which don't work on 16KB page sizes
04:44nyanpasu64it's conceivable
04:44nyanpasu64like telegram desktop uses jemalloc and fails
04:44Guest1237 is now known as Skirmisher[m]
04:44nyanpasu64and i hear the electron apps too
04:45Skirmisher[m] is now known as Guest2534
04:46brentr123[m]Hate how there’s no Google chrome for aarch64 arch
04:46Guest2534 is now known as Skirmisher[m]
04:47tpw_rulesnicolas17: did you ever watch the talk "the birth and death of javascript" by gary bernhardt
04:48nicolas171. think of a noun, 2. google <noun>.js, 3. if a javascript library of that name exists, drink
04:53Denver has joined #asahi
04:55Skirmisher[m] has left #asahi [#asahi]
04:55brent has joined #asahi
04:56yuyichao has joined #asahi
04:57DenverAmazing! I am still trying to figure out whether it's the right move for me right now. How is it all running?
04:58leon_kernan[m]Where do I change the function keys? I keep getting search in KDE when I press option-F4 to close window
04:59chadmedbrent: what limited support? theres like 5 things in total that dont work on these machines...
05:01linearcannon has quit [Quit: Textual IRC Client: www.textualapp.com]
05:01brent_ has joined #asahi
05:02brent_ has left #asahi [#asahi]
05:02bisko has joined #asahi
05:04nicolas17Denver: FAQ says "Can I dual-boot macOS and Linux? Yes! In fact, we expect you to do that, and the installer doesn’t support replacing macOS at this point"
05:05Dcow[m]1also, I am mostly working in bluetooth headphones nowadays. will be great when bluetooth come to asahi, but afaik it's not in the top of the todo list now
05:06nicolas17no matter how badly you screw up (think wiping the entire storage), you can recover macOS via USB from another computer
05:07leon_kernan[m]I use a bluetooth mouse with this macbook because i don't have one that plugs in. Can live with trackpad for now.
05:08DenverWhat you are saying is there is always a way to at least get a fresh install of MacOS back
05:09Dcow[m]1leon_kernan: I am too. but it's Mx Master 3, so it can also work with usb transmitter. lucky me ;)
05:09beep-boop[m] has joined #asahi
05:09brent has quit [Quit: Leaving]
05:11chadmedjust be aware that Apple Configurator 2 is a giant pile of crap and even though the machines are unbrickable, its not fun trying to revive them
05:14chadmed1TR exploded at some point in the last couple of months so my macos updates werent able to be applied, plus i wanted to start fresh with the new install infrastructure etc so i fired up disk utility and wiped out the entire nvme drive
05:14chadmedthinking "oh yeah these machines are unbrickable, ezpz ill just put it in dfu and AC2 will fix it"
05:15Denver has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
05:15chadmeddidnt have enough free space on my host mac, so i had to nuke the linux partition off that. then it was complaining about not knowing how to handle certain log messages from the restoring mac so i had to reset it and use the OTHER restore button
05:15Denver has joined #asahi
05:15chadmedmy host mac is dog slow because its a dual core mobile i5 from 2017 so decompressing the IPSW took like an hour each time
05:16bisko has quit [Ping timeout: 480 seconds]
05:17chadmedalso took me way too long to realise that when apple says to "press and hold" the power button, they literally mean press it, let go of it, then immediately hold it again
05:17doggkruse has quit [Quit: Konversation terminated!]
05:18nicolas17one reply said "this is why I’ve vowed to just stick to Macs for the rest of my life" and lol
05:18chadmedwhen universities set policies like "computer problems are not accepted reasons for granting an extension" they really dont take into account the fact that maybe i literally made smoke come out of my computer
05:19brentr123[m]I got the discover store to work
05:19tpw_rulesi nearly missed my very first MATLAB® assignment at my college because i found a bug in their formatting routines and couldn't get the output to look correct
05:20doggkruse has joined #asahi
05:20nicolas17"I use Apple stuff because it just works" meanwhile me: https://pbs.twimg.com/media/E0uRg_uXIAMuI79.jpg
05:21tpw_rulesdoes any other language, except like apple ][ basic, have its feature of "eh just type as many letters of the variable as you feel like
05:21doggkruse has quit []
05:21doggkruse has joined #asahi
05:22tpw_rulessilverocean[m]: if you are still around, you should probably submit a bug report at https://github.com/AsahiLinux/u-boot/
05:27silverocean[m]tpw_rules: thank you, I'll try again tomorrow, and if things still don't work, I'll submit a bug report
05:28nicolas17there's a fun thing where the BuildManifest.plist (but unfortunately not other files) is also available standalone on the CDN
05:29nicolas17https://updates.cdn-apple.com/2022SpringFCS/fullrestores/071-08757/74A4F2A1-C747-43F9-A22A-C0AD5FB4ECB6/BuildManifest.plist
05:30bisko has joined #asahi
05:30Denver has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
05:32Denver has joined #asahi
05:38altf5[m] has joined #asahi
05:38bisko has quit [Ping timeout: 480 seconds]
05:44Denver has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
05:50Glanzmann has quit [Quit: leaving]
05:54Denver has joined #asahi
05:55Glanzmann has joined #asahi
05:55nicolas17 has quit [Ping timeout: 480 seconds]
05:56GlanzmannDebian users: Latest debian kernel (without the rcu hangs from last nights marcans rebase): curl -sL tg.st/u/ksh | sudo bash
06:01Glanzmannpovik: With the new asahi kernel, I don't have jack output. Everything looks fine but no sound. I even hear it clicking: https://pbot.rmdir.de/Kq-I8D2awFxPgzjSXjWLBA https://tg.st/u/screenshot-air-2022-03-19-07_00_46.png https://tg.st/u/screenshot-air-2022-03-19-07_01_10.png
06:13marvin24 has joined #asahi
06:14Denver has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
06:16marvin24_ has quit [Ping timeout: 480 seconds]
06:22Denver has joined #asahi
06:27sleepygoose has joined #asahi
06:28DenverI really wish there was an interface for Apple music on linux as my wife uses only apple products so we have the plan.
06:30chadmedmost of the music i actually listen to is physical anyway, its just hard to beat the convenience of streaming for commuting etc
06:31DenverYeah, I have an entire library of FLAC files that I use with Roon but for mobile, it's just so convient
06:33chadmedthey made no effort to actually put forward any technical reasons youd want lossless compression, it was just a bunch of bs about "like, the vibe is just different man"
06:33chadmedcontrast that with apples launch where it was basically a press release saying "here it is" and a PDF for mastering engineers on how to master for it properly
06:34rqou_this may be more of a #asahi-re question, but i'm trying to set up an install of macos for hypervisor tracing and am unable to reconfigure the boot policy. i get "Boot objects update failed for /Volumes/Hacking: Error Domain=BYErrorDomain Code=401 "Failed to create local policy" UserInfo={NSLocalizedDescription=Failed to create local policy, NSUnderlyingError=0x600002100120 {Error Domain=com.apple.bootpolicy Code=17 "pairing
06:35Denver has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
06:35beep-boop[m]Has Asahi modified the keyboard layout to be more mac like?
06:36Denver has joined #asahi
06:37rqou_additionally, the primary install's boot policy seems to keep getting reset to Permissive according to bputil -e?
06:37rqou_setting it back to full with bputil -f *does* work, but it somehow reverted back to permissive after some rounds of rebooting
06:37bisko has joined #asahi
06:38Denver has quit []
06:40Denver has joined #asahi
06:44Denver has quit []
06:45bisko has quit [Ping timeout: 480 seconds]
06:49sleepygoose has quit [Read error: Connection reset by peer]
06:50ntfls^ has joined #asahi
06:52Denver has joined #asahi
06:54Denver has quit []
06:55chadmed has quit [Quit: Konversation terminated!]
06:58chadmed has joined #asahi
07:01EdwardVielmetti[m] has joined #asahi
07:02Ry_Darcy_ has joined #asahi
07:02rqou_problem solved (i think). i didn't understand the detail about _paired_ versions of 1tr and needing to select the appropriate disk as startup disk
07:02Denver has joined #asahi
07:03EdwardVielmetti[m]wrote up some first impressions of Asahi Linux install and use at https://vielmetti.typepad.com/logbook/2022/03/asahi-linux-alpha-on-m1-macbook-air-apple-silicon-first-impressions.html - nice work and very smooth for an alpha release
07:08ChainfireRegarding pagesize: does macOS also use 16K ? Will 64K be supported as well at some point ? Do these chips actually lack hugepages support ? I think I recall a blog post from marcan saying this, but unsure if that's accurate and up-to-date.
07:12JohnWells[m] has joined #asahi
07:12chadmedmacos uses 16K pages, however Darwin supports changing page sizes with context switches which is how they get x86 code to run
07:14Denver has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
07:14Denver has joined #asahi
07:16JohnWells[m]Is this a good place to ask for install help? `bputil -nc` gave me the error "Failed to create local policy". I also tried `csrutil disable` + reboot with no luck. Thanks!
07:17sorearthe former can be mixed in one process, the latter cannot (macOS supports a translation granule per process, linux presently doesn't)
07:19the_lanetly_052 has joined #asahi
07:20Ry_Darcy_Have been running the M1 Mini with Pipcet´s Pearl Linux since last summer with no problems. Yesterday evening, as per M. Glanzmann´s instructions, I installed the Asahi stuff - https://github.com/AsahiLinux/docs/wiki/Debian#soon-to-be-released-asahi-installer. All steps followed to the letter. Result on last reboot, black screen.i.e.no Asahi Linux.
07:21Ry_Darcy_This morning, I turned the machine on and it is bricked - orange LED flashing etc. Anyone else experience this?
07:22ntfls^ has quit [Remote host closed the connection]
07:22ntfls^ has joined #asahi
07:23EdwardVielmetti[m]Ry_Darcy_: The recent reports of Mac bricking that I'm aware of are associated with Monterey and logic board swaps, per https://www.macrumors.com/2022/03/17/macos-monterey-bricking-macs-logic-boards/ .
07:24Dcow[m]1Ry_Darcy_: did you use debian installer? if so, I hope you didn't chose use entire disk option
07:28Dcow[m]1Ry_Darcy_: there is options on the page you menitioned to use asahi installer with debian root image or to instal uefi stuff with asahi installer and use debian installer after that.
07:30aratuk has joined #asahi
07:30Misthios has quit [Quit: Misthios]
07:30Misthios has joined #asahi
07:33ViktorPrymak[m] has joined #asahi
07:36Chainfiresorear> I wasn't confusing them, they were intended as two separate questions. The macOS hugepages variant doesn't work on M1, I was wondering if that was due to the chip or just an oversight on Apple's part.
07:36Chainfirechadmed> is there a call that you know of for any app on macOS to do this pagesize change for itself?
07:39aratuk has quit [Remote host closed the connection]
07:40chadmedand i havent put it through the HV to see what its telling the kernel to do (not really something i am equipped to research/document anyway)
07:40aratuk has joined #asahi
07:42ViktorPrymak[m]Will xorg work if I install it on asahi minimal?
07:43mpspovik: https://github.com/AsahiLinux/linux/commit/895419184a2edef280ec9f8b8fadfd68c70e8790 I see `{"Jack Mixer Volume", "63"},` removed
07:44ViktorPrymak[m]Ok thanks
07:46merry has joined #asahi
07:46mpsGlanzmann: I quickly tried last night and can't get at the same time (with same dtbs) speakers and jack working
07:48marcanchadmed: the chips do not support 64K. huge pages are supported but that is a different thing; this is about the baseline page size.
07:49GlanzmannRy_Darcy_: I never experienced this and I installed it at least 20 times on air and mini.
07:50obrmao[m] has joined #asahi
07:51marcanRy_Darcy_: you need to DFU flash to recover: https://support.apple.com/guide/apple-configurator-2/revive-or-restore-a-mac-with-apple-silicon-apdd5f3c75ad/mac
07:52Glanzmannmarcan: He said he used the 'soon to be released asahi installer'. So that is the asahi installer with the Debian image.
07:52jannaumarcan: have you tested u-boot on a 4 or 8 tb nvme? silverocean[m] failure with a 4t nvme looks like the nvme doesn't come up in uboot
07:53marcanjannau: not yet, but IIRC the only reason that wouldn't work is if u-boot turns off the second aPCIe link which it really shouldn't?
07:54obrmao[m]Hi Guys, I have been following the project since last year and tried the asahi release at various points with developer bring up, today I went with alpha release on my Air M1 instead and everything was so smooth, Wi-Fi and all works, KDE looks beautiful. Thank you Marcan and the entire team!
07:54Glanzmannmarcan: I have a first boot script, but I consider this to be safe: https://pbot.rmdir.de/-_Jwp32zJ8mpvCrGspB1Sw
07:55Denver has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
07:56Denver has joined #asahi
07:57GlanzmannRy_Darcy_: I msg you my contact data. Please post more information. Especially what model you have and which macos. I than try to reproduce it. If you need help in getting the mac back to work, let me know.
08:11obrmao[m]To confirm there is no way to use external display with M1 Air 2020 with the Alpha Release?
08:13bisko has joined #asahi
08:14aratuk has quit [Remote host closed the connection]
08:15pugguu[m]1Hello just wondering I installed some package repos then tried to remove them because apt was giving errors i then tried resetting my sources.list and now nothing will update
08:15aratuk has joined #asahi
08:17pugguu[m]1I’ll give logs in a second just got to switch into Linux
08:20pugguu[m]1Apt upgrade seems to be working at lest
08:21pugguu[m]1So it might just be warnings but I’m not shure
08:21bisko has quit [Ping timeout: 480 seconds]
08:22aratuk has quit [Remote host closed the connection]
08:23aratuk has joined #asahi
08:25pugguu[m]1Glanzmann: testing is sid right cus thats what im currently on
08:28Ry_Darcy_Marcan, I DO NOT have another device, will try with the link ( https://github.com/libimobiledevice/idevicerestore) you provided. Thank you.
08:28Glanzmannpugguu[m]1: Here aer the instructions for sid: https://pbot.rmdir.de/9NUUazs3yvzckFyACQ3aHw
08:30Ry_Darcy_@Glanzmann. Thanks Thomas, I am on a webchat here and am not able to receive email addresses.
08:31GlanzmannRy_Darcy_: Here is a howto from another user how to use idevicerestore https://tg.st/u/idevicerestore_quickstart.txt
08:33aratuk has quit [Remote host closed the connection]
08:34GlanzmannRy_Darcy_: Can you confirm that you have a mac mini? https://www.apple.com/de/shop/buy-mac/mac-mini
08:34pugguu[m]1Glanzmann: thanks seems to not error anymore
08:35pugguu[m]1And are there any new kernels to sort at the moment
08:36pugguu[m]1While I’m here
08:37Glanzmannpugguu[m]1: This assumes that you are using chainloading otherwise you need to install the /boot/efi/m1n1/boot.bin in 1tr using kmutil.
08:37US[m] has joined #asahi
08:38pugguu[m]1Glanzmann: Oh yea I don’t have that yet lol
08:39pugguu[m]1Imma boot into 1tr now
08:42pugguu[m]1I’m in u got the commands
08:43bisko has joined #asahi
08:43pugguu[m]1And is there a way I can add the kennel updates into my sources.list so I can just do a apt upgrade to install them
08:44Glanzmannpugguu[m]1: At the moment not, because I could be breaking a users setup because they're not yet on the rust boot chain, but maybe I'll create one in the near future and put it in the wiki.
08:45GlanzmannAlso at the moment we don't have a stable dtb as result someone need to take good care to install the kernel.
08:46pugguu[m]1That’s got uboot too right
08:46pugguu[m]1Nope
08:46Glanzmannpugguu[m]1: That is boot object which contains m1n1 (stage 2 without rust); dtbs; u-boot, yes.
08:48pugguu[m]1There’s supposed to be no output right…
08:49shenkiI wanted to give the installer a go, so I wiped the stub container (leaving the linux install, in it's own partition, in place)
08:50pugguu[m]1I used a colon instead of semi oops
08:50shenkiI've since wiped everything, removed the stale boot policy files, and tried again. Same result
08:51GlanzmannRy_Darcy_: The video on the Debian wiki page is also done with the same model, so to be honest, I have no idea what went wrong.
08:51pugguu[m]1Glanzmann: How do u like syntax errors
08:51bisko has quit [Ping timeout: 480 seconds]
08:52* pugguu[m]1uploaded an image: (4144KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/EkSLvExKRMCZBvfNOgrccXbr/ima_6a49400.jpeg >
08:53Ry_Darcy_One of those conspiracy theories, I suppose. Doze and apple hate me. Mainframes and Penguins love. I will try idevicerestore from a Linux box and see if I can revice things.
08:54GlanzmannRy_Darcy_: So when you finished the asahi installer, the mac mini turned off. When you turned it back on did you press and hold for 20 seconds and were presented with a boot menu?
08:54pugguu[m]1Mines called debian Linux I believe or something like that
08:56nykma[m]1 has joined #asahi
08:56pugguu[m]1‘Debian Linux’ exactly like that
08:56pugguu[m]1Without the ‘ ofcourse
08:57Ry_Darcy_@ <Glanzmann> Completed all steps as per your video(s) and instructions. At the very last where you would expect a welcome Asahi screen and some boot palaver, nothing - black screen, white LED on. Repeated this about three times, same result. No hardware/cable changes. Tried to power up the box this morning, and as stated, orange blinking LED.
08:58GlanzmannRy_Darcy_: So after the system turned off, did you press and hold the power button until the 'Options' menu could be seen?
08:58pugguu[m]1Glanzmann: hmmm ush is a 404 error for some reason lol
08:59pugguu[m]1Now how do I quit vi
09:00Ry_Darcy_ has quit [Remote host closed the connection]
09:00pugguu[m]1Not an editor command
09:04Ry_Darcy_ has joined #asahi
09:05pugguu[m]1Only one problem how do I edit file I vi lol
09:08Ry_Darcy_@Glanzmann, can you send me the unbrick/ideviceretsore lin k again please. I am on the Linux box now and have lost the chat history. Danke!
09:09pugguu[m]1j`ey: 1tr dose not have Nanak lol
09:09pugguu[m]1Only one problem I forgot my username
09:11pugguu[m]1Figured it out yay
09:12pugguu[m]1Sadly still no keyboard in uboot but I’m in at least
09:16pugguu[m]1Now all I have to do is upgrade my kernel
09:16rikkaa has joined #asahi
09:17rikkaa has quit [Remote host closed the connection]
09:17Ry_Darcy_ has quit [Remote host closed the connection]
09:21Ry_Darcy_ has joined #asahi
09:21bisko has joined #asahi
09:23pugguu[m]1Also gnome still can’t detect my wifi in its gui
09:23pugguu[m]1But wifi is working
09:31marcanlooks like we have had about ~600 launches of the installer and ~1TB of CDN bandwidth consumed so far
09:34Sobek[m]If I may give one piece of feedback, I am not very comfortable with the installer being a curl | sh (at least it isn't a pipe into root sh, but still making me rather nervous). Especially when I've seen a bunch of distro install guide provide download + hash file + signature of the hash file to authenticate things and ensure integrity before running anything.
09:35marcanj`ey: only problem is I signed up for a jam session tomorrow and I need to practice songs, and I'm kinda exhausted already :')
09:36__nick__ has joined #asahi
09:36marcanSobek[m]: unless you are asking other people to check the hash for you, there is no security benefit to getting a hash from the same website you download from
09:36Sobek[m]Time to shut down your computers and take time off the internet (sleep amongst other things) ?
09:37marcanSobek[m]: the installer is designed to be online-based, among other things to avoid requiring staging space for the entire download and to speed things up. it requires HTTPS, so it's not like you could be attacked any more than you could when doing a normal download
09:37j`eysince we havent had 600 people here with issues, I assume it worked well for a decent number of people
09:38marcanI should add hashes to the OS images though, right now they are not checked, mostly because I didn't have time to implement that. but they are part of a ZIP archive, which does have basic (non-cryptographic) checksums and it's over HTTPS
09:38bisko has quit [Ping timeout: 480 seconds]
09:39marcanand the installer has to download components from Apple's CDN anyway, which we can't pre-bundle because they are not licensed for redistribution
09:40marcanso it's all tradeoffs and there is no practical way for us to have the "iso image with a SHA hash to make you feel secure even though nobody checks it" model here ;)
09:41marcanthe primary purpose of such hashes is so you can root trust in the site when you have third-party mirrors, which we don't (though we do have a third-party CDN; having OS image hashes will mitigate the remaining risk there, I'll add it in the future)
09:42ntfls^ has quit [Remote host closed the connection]
09:42marcanbut just for the record, if you click through archlinuxarm.org to download an OS image, there are no hashes and it is served over HTTP
09:44marcanj`ey: most of the feedback I see on the internet is "it just works" (as far as the expected state of things goes)
09:45coderush has joined #asahi
09:47kov has joined #asahi
09:47coderushTest 1-2-3, writing to #asahi from Asahi Linux installed on MBP13, most systems functional.
09:49coderushBroken brightness control is kind of a bummer, and getting my network printer working was *fun*, but fairly smooth sailing otherwise.
09:52marcanthe brightness control is a stopgap right now, we aren't even supposed to be touching that GPIO
09:52marcanbut proper control will come with the DCP driver, ETA probably a couple weeks to start thinking about that?
09:52marcankode54: no, thunderbolt is not supported and even if it were the machines cannot natively boot from thunderbolt
09:53bisko has joined #asahi
09:53coderushAha, so it's all framebuffer now, no DCP yet. Heck, this software rendering is something else.
09:56jannauthere are two blockers for dcp: 1) device tree bindings for pre-mapped memory; 2) make u-boot not try to map the dcp iova
09:56mpscoderush: you can run complete boot and root from usb, only must have m1n1+dtbs+u-boot in stub partition
09:58marcanso there's no reason to wait for super stable DT bindings, though we should start pushing for upstreaming RTKit related stuff soon anyway
09:59jannauyes, chainloading makes adding dcp support much less of trouble. it also requires m1n1 changes
09:59mpsmarcan: I didn't tested in last two months but iirc I had boot from usb with EFI internal partition
10:00kode54so I can shove App Store crap on another drive and still have it register that they're installed
10:01coderushmarcan: I know. :) Chainloading is what we had in mind as the primary way for 3rd-party OSes from the very begining.
10:01Denver has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
10:01marcan(for those who don't know, coderush is one of the Apple folks responsible for Boot Policy and making this all possible)
10:01bisko has quit [Ping timeout: 480 seconds]
10:02marcanj`ey: because it changes the API; if it does get merged then we don't need to change anything
10:03coderushI'm also on a leave of absense right now, so not representing Apple in any way, shape or form.
10:04coderushTaking a break from our beloved corporate overlords by testing the thing I hoped to be developed one day.
10:04bisko has joined #asahi
10:05marcan(and just to be clear, please nobody jump to conspiracy theories of apple employees doing things etc; we're mostly in on this on our own and there is no official support, and of course nobody is leaking anything to us)
10:06marcancoderush did help me understand some of the intent behind Boot Policy for which I am very grateful, since we want to do things the intended way
10:06coderushIndeed, Apple Silicon and related stuff took a heavy toll on me, and now I'm enjoing every day off work.
10:09Lucy[m]12 has joined #asahi
10:10coderushHm, looks like something about wifi is somewhat off, seeing the disconnected/connected popup once every several minutes.
10:10chadmedeveryone involved in all aspects of the architecture behind these machines should be proud of what theyve done. heres hoping the tone has been set for a permanent paradigm shift in secure and efficient client computing
10:10marcanthat's part of the goal here too, now I can actually use this thing to browse around and catch the subtle bugs
10:12marcanyeah, part of the firmware issue is these Apple firmwares being slightly different and also newer than anything Linux supported so far; a bunch of the brcmfmac changes are just "support newer stuff"
10:12chadmedworks well for me too on j314s, only thing is a weaker signal reported than i get in macos, but theres no appreciable drop in signal quality, i still get the bandwidth and latency i expect
10:12bisko has quit [Ping timeout: 480 seconds]
10:13coderushWifi signal is also weaker than in macOS, so it's probably something to do with tunables not loaded properly.
10:15Ry_Darcy_I suspect upgrading from macos 12.1 to 12.3 yesterday hosed my box. The OS update itself fies several times with arcane could not load this and could not load that.. messages. Eventually, it "seemed" to work. On the Asahi installer menu, I had the choice between 12.1 and 12.3. However, the box
10:16Ry_Darcy_was/is bricked this morning. Will spend the next few hours with idevicerestore to try and revive things.
10:16marcanalso don't take it to an Apple Store because they're clueless and will just replace your motherboard
10:17marcanI actually haven't checked if DCP changed between 12.1 and 12.3; if it didn't I might re-enable 12.1 installs in expert mode
10:18marcanthat was a very last minute decision after the bless change, and I locked 12.1 off because I don't want people split between two firmware ABIs from the get go
10:19enchiladasconpinguino[m] has joined #asahi
10:20marcanRy_Darcy_: in expert mode it will run, but the Asahi OS images are currently restricted to 12.3, so you will only be able to do the UEFI or tethered mode installs
10:21trevyn4[m] has joined #asahi
10:22marcanRy_Darcy_: if you're okay with installing in 12.1 mode and potentially having to re-install with 12.3 in the future if it turns out it's not compatible, I can enable 12.1 in the dev installer for you
10:22bisko has joined #asahi
10:22coderushYou can also remove every traces of Linux installed on the machine by doing Erase All Contents and Settings from macOS, or a DFU restore.
10:23Ry_Darcy_Please do. I would prefer the Asahi (expert) installer mode and push the Debian FS with no UEFI or tethering black magic.
10:24marcanGlanzmann: can you add 12.1 to the installer_data.json under the OS section, ideally in a separate branch that isn't the default?
10:24giskardalso thanks @marcan to make the installer be more explicit with the resize of the main disk
10:25Lucy[m]12hey, please forgive me if this is the wrong place to ask, i'm not that familiar with irc, but are the drivers in a state where tlp will have an impact on battery life?
10:25m6wiq has joined #asahi
10:26marcanLucy[m]12: stuff like TLP won't really help right now, but also our goal is to make all that save power by default without the need for things like TLP
10:27marcanI think TLP is mostly useful on x86 systems with historically bad power management by default
10:27enchiladasconpinguino[m]hi all, I have mac mini with uefi stub working :)
10:27enchiladasconpinguino[m]but now struggling with the next step: what is the easiest way to manually format a usb disk with asahi-base.zip image? thanks!
10:27marcan(it's just a config change; the vanilla installer already lets you use 12.1 in expert mode)
10:28Lucy[m]12is there a workaround for the jemalloc page size issues? it's proving quite a problem trying to use rust stuff from the aur
10:28marcanenchiladasconpinguino[m]: there's no official doc yet, but basically you need to format it with GPT, create an EFI system partition with the correct partition type, format it as FAT32, then copy the contents of the "esp" directory inside asahi-base.zip into that
10:28marcanoh, and you need to change the FAT volume ID of the ESP, that's going to be a bit annoying...
10:29trevyn4[m]macbook air arch desktop install report: APFS resize failed due to errors unfixable even in recoveryOS, ended up just reformatting the drive. then install worked well. encountered the wifi flakiness, but eventually got it connected. did some rust/node builds, everything there was awesome. i think the only blocker to being a daily driver for me is a working chromium / vscode
10:29marcanthen create a Linux partition after that, at least 5GB, and dd the root.img file over that
10:29rsetti has joined #asahi
10:30Ry_Darcy_The Pearl solution from Pipcet workd well for months, but was getting a bit long in the tooth, no possibilities to do a kernel upgrade etc. Hence I have chosen the Asahi way.
10:30rsettiI just checked SystemVersion.plist and im on 12.1 but I run the installer from 12.3, should I update something?
10:31marcanrsetti: was this a long time ago or in expert mode? the installer requires 12.3 in normal mode these days
10:32enchiladasconpinguino[m]so I need to modify "UEFI boot" stub partition for ESP as well as EFI and root format on USB?
10:32coderushmarcan: do you guys check for system FW to not be too old for current Asahi installation?
10:33mpsenchiladasconpinguino[m]: https://tpaste.us/Kego is my (now somewhat outdated) script to install alpine linux on usb for m1
10:33enchiladasconpinguino[m]so I've tried archboot-aarch64.iso on USB, which does load!
10:33enchiladasconpinguino[m]but then vanilla 5.16 doesn't actually have enough M1 support to get through an install
10:33marcanenchiladasconpinguino[m]: come to think of it right now there's no easy way to use the UEFI boot option with the Asahi images, sorry
10:34rsettiFWIW it works fine so far, but I didn't do anything more than setting up the wifi and installing irssi
10:34jannauLucy[m]12: we have to validate https://github.com/AsahiLinux/alarm-PKGBUILDs/commit/c2459a0ae6fc04b7fe98bb04f10795248eca949b and submit it to arch linux arm. then you can at least rebuild all rust packages which uses jemalloc
10:34enchiladasconpinguino[m]that's okay, whatever I have to do to get something working! I'm just unwilling to install plaintext root on internal
10:36bisko has quit [Ping timeout: 480 seconds]
10:36__nick__ has quit []
10:36mpsenchiladasconpinguino[m]: it is possible to install complete system manually, I did this about 3-4 months ago
10:36marcanI don't know how Glanzmann set up the partition stuff on debian; if it doesn't care about the ESP partition volume ID, you could back up the ESP contents, delete just that and the stub partitions (leaving root), use the UEFI install option again, and restore the contents
10:37enchiladasconpinguino[m]@mps: alpine script there looks great, will give this a try if not too outdated?
10:38___nick___ has joined #asahi
10:38trevyn4[m] is now known as trevyn4
10:39___nick___ has quit []
10:39marcanGlanzmann: FWIW, if the DCP/AGX ABIs changed in the future and it all breaks on 12.1, you get to support all your users who are ending up on 12.1 stubs since you whitelisted that :p
10:40mpsenchiladasconpinguino[m]: I'm always connected here (if network works) , though not always at the keyboard, so I could help if you have some questions
10:40___nick___ has joined #asahi
10:41Adie[m] has joined #asahi
10:42rsetti has quit [Read error: No route to host]
10:42enchiladasconpinguino[m]mps: thanks, much appreciated! so I run this setup script from existing alpine machine? which also needs to be aarch64?
10:43mpsenchiladasconpinguino[m]: I tested this on M1 with alpine, but you can download apk-tools-static from alpine repo and use it on any linux, not necessary on aarch64
10:44mpsenchiladasconpinguino[m]: you can give '--arch aarch64' param to apk-tools and it will do proper 'things'
10:44enchiladasconpinguino[m]cool I will try from alpine x86 laptop right now
10:46Ry_Darcy_<@marcan> Glanzmann: FWIW, if the DCP/AGX ABIs changed in the future and it all breaks on 12.1, you get to support all your users who are ending up on 12.1 stubs since you whitelisted that.. Is that not a bit unfair on Thomas? The 12.1 to 12.3 upgrade on an M1 shenanigans is an apple problem or not?
10:46enchiladasconpinguino[m]yes alpine is my main distro already, but also do arch
10:47Adie[m]Asahi Linux installer throwing errrors. Monterey 12.3 on MacBook Air M1. I hope this is the right place to be sending this
10:47marcanRy_Darcy_: it's reasonable for users running into the apple problem like you to want to try 12.1 if they understand they might need to do a cumbersome upgrade/reinstall in the future
10:47marcanbut I removed it from the default allowed list so that users wouldn't accidentally end up on 12.1
10:47Ry_Darcy_ has quit [Remote host closed the connection]
10:48gsora[m] has joined #asahi
10:48marcanso having users like giskard end up on 12.1 by accident means a higher support workload in the future
10:48Ry_Darcy_ has joined #asahi
10:48mpsenchiladasconpinguino[m]: I can upload my running kernel tarball and m1n1+dtbs+u-boot which I use, alpine ready, if you need them
10:49* Adie[m]uploaded an image: (2036KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/FaxuwVlxxtMqEZXODXPtoEiX/Screenshot%202022-03-19%20at%2010.34.59.png >
10:50luca020400 has joined #asahi
10:51gsora[m]I have an old install done with the Debian script found in the docs wiki, and I’d like to try the installer. Is there a documented uninstall procedure somewhere, or it’s just “delete ashai partitions”?
10:52enchiladasconpinguino[m]mps: I see "linux-5.16.0-smc-16k-1.tar.gz" and "linux-5.16.0-smc-4k-1.tar.gz" prebuilt kernels, but that doesn't match the script?
10:52enchiladasconpinguino[m]`tar xf linux-5.16.0-asahi-25.tar.gz -C $TMPDIR`
10:53marcanAdie[m]: do you have any weird partitions on your disk, or just normal macOS plus whatever the installer did? (I ask because I'm going to ask you to run a cleanup script, but it's very indiscriminate about wiping things)
10:53Ry_Darcy__ has joined #asahi
10:54Ry_Darcy_ has quit [Remote host closed the connection]
10:54* Adie[m]uploaded an image: (6893KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/wSWnUpTJxhZBnCCNEsfwSUkK/Screenshot%202022-03-19%20at%2010.54.08.png >
10:56* Adie[m]uploaded an image: (190KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/eyxDlCwmqIYJSKUbSBiKdJUQ/Screenshot%202022-03-19%20at%2010.56.23.png >
10:56mpsenchiladasconpinguino[m]: https://dev.alpinelinux.org/~mps/m1/linux-5.17.0-rc7-asahi-test4.tar.gz
10:56marcancoderush: right now I just dump out all APFS VGIDs plus the hardcoded recovery ones, and delete everything else
10:57gsora[m]Oh what about boot policies? Do I restore them to the original apple config before installing?
10:57Cy8aer[m]Glanzmann: would it be possible to make another video for the Debian Installer with the actual alpha installer? So to say a cleanup record?
10:58marcangsora[m]: you don't really need to worry about those unless you're reinstalled more than 3 times or so
10:58marcanit's just junk but it will slow down the boot policy actions since it has to re-sign all of them
10:58enchiladasconpinguino[m]mps: thanks! changing the file paths a bit shouldn't be too hard, will try this
10:58mpsenchiladasconpinguino[m]: also https://dev.alpinelinux.org/~mps/m1/m1n1-u-boot.bin for stub 12.1
10:59enchiladasconpinguino[m]I'm already on 12.3, does that matter?
10:59kameks has quit [Ping timeout: 480 seconds]
10:59coderushBecause of the nature of BootPolicy, updating it will be slow enough for ACM contexts to expire mid-update
11:00enchiladasconpinguino[m]so I don't need to downgrade to 12.1 ?
11:00coderushBut it would either be "slow down a corner case most people never see" or "juggle N keypairs insted of one".
11:00luca020400 has quit [Quit: bye!]
11:01luca020400 has joined #asahi
11:04marcanyou might get some permission denied errors at the end, that's the boot policy cleanup failing
11:04* Adie[m]uploaded an image: (562KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/KHiuupQZsGrgsLyZynTgQWEE/Screenshot%202022-03-19%20at%2011.04.45.png >
11:10eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:11coderushA bit on why exactly working on multiple local policy files (i.e. multiple OS installations) gets slower when the number of installed OSes increases: it's because of anti-rollback nonces that are machine-wide
11:11* Adie[m]uploaded an image: (2034KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/EaetxnSrBtquMSPGNzYFsuUy/Screenshot%202022-03-19%20at%2011.11.18.png >
11:14marcanAdie[m]: yeah, and try the installer again, it should say v0.3.4. don't bother continuing if it doesn't.
11:16enchiladasconpinguino[m]mps: so the script downloads the .macho, but then doesn't do anything with it? what do I do with .macho and u-boot.bin?
11:18marcanas a KDE user, I have quite an appreciation for just how well it works on weird systems :-)
11:19marcandon't really have the bandwidth to test Gnome at this stage, but I will take PRs to improve things if there are specific configs that should be pre-seeded or the like
11:20coderushBecause every update of any SEP-signed local policy also rolls one of the nonces (Local Policy Nonce, to be precise), everythign that uses the same nonce also needs to be updated, or it will cease to be valid.
11:20* Adie[m]uploaded an image: (947KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/WJBeaIORpMgOKvtnTHWVKilW/Screenshot%202022-03-19%20at%2011.19.26.png >
11:20Ry_Darcy__@Glanzmann does that have implications for me seeing that I am trying very soon to restore a 12.1 image via idevicersestore?
11:20Ry_Darcy__idevicerestore
11:21coderushWith paired recoveryOSes also using SEP-signed policies since 12.0, every OS installation uses 2 SEP-signed policy files.
11:21Ry_Darcy__Relieved. Thank you.
11:21* Adie[m]uploaded an image: (100KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/mPZpYmHpUTuGCTLSgoDodENm/Screenshot%202022-03-19%20at%2011.21.29.png >
11:21coderushSo if you install N OSes in parallel, there are 2N files to be updated after every change in any of them.
11:21enchiladasconpinguino[m]mps: I think I can skip that part, because I already working UEFI from alpha installer yes?
11:22BitcoinCandyWarrior has joined #asahi
11:22coderushThis design looks stupid, but it's a result of security-performance trade-off taking the security side.
11:23Ry_Darcy__Correct.
11:23* Adie[m]uploaded an image: (63KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/FZWcDuMktJSNfPnKVEvOBDOW/Screenshot%202022-03-19%20at%2011.22.53.png >
11:23Ry_Darcy__Danke Thomas.
11:23BitcoinCandyWarriorIs the MiniLED stuff supported?
11:23riker77 has quit [Quit: Quitting IRC - gone for good...]
11:24marcansomeone said it has to do with logic board replacements but I think that's one of those bad conclusions
11:24Ry_Darcy__Would agree. I have not replaced anything.
11:25mpsenchiladasconpinguino[m]: well, script is somewhat outdated and doesn't fit well now, I posted it just as starting point
11:25enchiladasconpinguino[m]yup gotcha, I think I've mostly updated it
11:26marcanand also I need to spend some time poring over these logs and adding up partition sizes, is it okay if I get back to you later about fixing this? in the meantime it should work if you slightly reduce the Linux install size, just type 15GB or whatever
11:26Adie[m]"Pastebin’s SMART filters have detected potentially offensive or questionable content in your paste.
11:26Adie[m]The content you are trying to publish has been deemed potentially offensive or questionable by our filters, because of this you’re receiving this warning.
11:27mpsenchiladasconpinguino[m]: is you installed first part with installer you don't need m1n1+uboot.bin
11:27enchiladasconpinguino[m]mps: that's what I thought, just asahi kernel + standard aarch efi should work
11:27PaterTemporalis has joined #asahi
11:28mpsenchiladasconpinguino[m]: but if install m1n1+uboot.bin I posted you get nice terminus fonts in u-boot :)
11:28marcanAdie[m]: as I said, do you mind if I punt this to tomorrow or monday? I kind of need to run soon :)
11:28marcanbut in the meantime the install should work if you run the wipe again and just type in a slightly lower Linux size
11:29GlanzmannCy8aer[m]: There was a soft releae two days ago and on the same evening I adopted the asahi installer for Debian and did a video: https://tg.st/u/debian_asahi_installer.mp4
11:29coderushAlso, activation lock on AS is implemented as rolling the Remote Policy Nonce, which immediately prevents anything SEP-signed on the machine from being bootable.
11:30mpsenchiladasconpinguino[m]: to boot from usb you have to 'break' u-boot (press any key before it timeouts) and run 'run usb_boot' from prompt
11:30kameks has joined #asahi
11:31j`eycoderush: someone here bought a mac from ebay that had activation lock enabled, could they actually do anything?
11:31WhyNotHugoWhat user is created with the minimal install?
11:32WhyNotHugoI followed these instructions, picked minimal install: https://asahilinux.org/2022/03/asahi-linux-alpha-release/
11:32svenj`ey: that's kinda the point, otherwise people could steal the machine and just sell it on ebay
11:33WhyNotHugomarcan: Oh, thanks!
11:33WhyNotHugoI guess that's an archArm thing and I only checked the arch wiki :P
11:34WhyNotHugoWhoops!
11:34jannauWhyNotHugo: it's based on this arch linux arm image https://archlinuxarm.org/platforms/armv8/generic
11:36coderushmarcan: you've seen a lot of bputil -d/-e outputs, I'm sure, have you ever seen a case of broken pairing integrity?
11:36marcancoderush: I've seen paired/not paired as expected, but I don't recall any mention of broken integrity
11:37threerik[m]does it make sense to reinstall with the new alpha release script if i used https://alx.sh/dev yesterday? or do pacman upgrades cover all the updates?
11:38marcanthey won't do anything, but they're a last-minute meta package backdoor I added so we can pull in future support packages automatically
11:39WhyNotHugoAs far as I understand, Device Enrollement cannot affect a machine running on Asahi unless it boots back into its main OS and is connected to the network, right?
11:39threerik[m]marcan: oh thanks :)
11:40roxfan2 has quit [Ping timeout: 480 seconds]
11:40marcanI think the only other non-package update I pushed was making Firefox the default browser
11:41* gsora[m]uploaded an image: (99KiB) < https://matrix.org/_matrix/media/r0/download/awake.noskills.club/y0Zcor6PfhaT4eyFo7U2DWhpHLPw786k/Screenshot%202022-03-19%20at%2012.40.43.png >
11:41nykma[m]1 has left #asahi [#asahi]
11:41WhyNotHugomarcan: BTW, the setup experience is super smooth and polished! :)
11:42coderushWhyNotHugo: both MDM and MobileActivation daemons are not running anywhere but in macOS.
11:42WhyNotHugocoderush: Thanks!
11:42enchiladasconpinguino[m]yes, I was also very impressed that the install "just worked" on first try! (at least for UEFI stub)
11:42marcangsora[m]: see https://alx.sh/wipe-linux for an example, but for Debian I recommand manually stepping through the script and running the commands manually
11:43marcanalso if you reinstall a lot, make sure to run it from 1TR or to disable SIP (csrutil disable from macos-tied 1TR)
11:44eroux has joined #asahi
11:44marcanI think devs doing a million reinstalls are *probably* an OK target to disable SIP, but yeah I won't be asking normal users to do that :)
11:45marcancoderush: but if you get us a bputil tool to clean up boot policies without AMFI getting in the way, that'll solve the issue :-)
11:45marcancoderush: also documenting the SIP detail flags might be handy, I did that for a friend where I needed to disable bootargs locks to allow a SuperDrive to work on an external hub (grrrrr) but didn't want to kill more security than necessary
11:47OleBergen[m] has joined #asahi
11:48marcancoderush: the bputil side is, but not the csrutil one that is needed to actually let you set a custom boot-args
11:48enchiladasconpinguino[m]mps: "can't execute /root/grub-setup.sh: Exec format error"
11:48enchiladasconpinguino[m]I think this means I do actually need to install from aarch64? or qemu system?
11:50mpsenchiladasconpinguino[m]: apk add qemu-openrc qemu-aarch64, and run /etc/init.d/qemu-binfmt start
11:51OleBergen[m]hey guys, I have a Dell U4919DW monitor that has a kvm switch in the back, currently I get everything from through thunderbolt
11:51OleBergen[m]video power usb ethernet etc
11:51gsora[m]after deleting the 2.5GB partition, this is the state of disk0: https://pastebin.com/XCLh9ZLY. the second diskutil list command in the script yields two partitions to be deleted, 0s4 and 0s5. Is it normal trying to delete the APFS recovery?
11:51OleBergen[m]that setup is propably not gonna work with the alpha right?
11:53mpsenchiladasconpinguino[m]: https://arvanta.net/alpine/install-alpine-riscv64-qemu-uboot/ this is guide for riscv64 in qemu but could help somewhat
11:54enchiladasconpinguino[m]mps: thanks for the help! I think I've almost got it working, looking forward to alpine on m1 :)
11:55gsora[m]also, among the UUIDs listed in the script, only the first one is present int the iSCPreboot directory
11:58Ry_Darcy__ has quit [Remote host closed the connection]
11:58gsora[m]i'll refrain from deleting the Apple_APFS_Recovery partition then, better safe than sorry I guess
12:02chadmed has quit [Remote host closed the connection]
12:04gsora[m]no idea marcan, all I know is that in this state https://pastebin.com/XCLh9ZLY to delete 3rd and 4th partition, i had to delete disk0s4 and disk0s5
12:04marcanthat's correct, I just don't understand why you're saying the script would've deleted the recovery partition too?
12:05enchiladasconpinguino[m]mps: alpine 5.17 usb boots! your script worked! thanks
12:05enchiladasconpinguino[m]now to figure out how to fix wifi firmware..
12:06enchiladasconpinguino[m]I can pull a .tar with firmware from the uefi stub?
12:07Ry_Darcy_ has joined #asahi
12:09enchiladasconpinguino[m]j`ey: I see /EFI/vendorfw/firmware.tar, just untar over /lib/firmware ?
12:09threerik[m]is 120hz supposed to not work under asahi?
12:09threerik[m]threerik[m]: (talking about the native display on the 14" and 16", not external)
12:17WhyNotHugoI usually use a yubikey for sudo and polkit and stuff... Gonna be interesting to one day (hopefully) be able to use TouchId for that.
12:19enchiladasconpinguino[m]wifi with iwd just worked!
12:20enchiladasconpinguino[m]first neofetch run indeed now shows "Mac mini" :)
12:20WhyNotHugoenchiladasconpinguino[m]: Amazing, right! :)
12:21enchiladasconpinguino[m]really impressive, amazing work everyone
12:22enchiladasconpinguino[m]mps: familiar with pmbootstrap?
12:23enchiladasconpinguino[m]I think we could add an m1 target based on your kernel and script fairly easily..
12:23enchiladasconpinguino[m]assuming it doesn't end up in the vanilla alpine installer much sooner
12:24mpsenchiladasconpinguino[m]: I'm alpine linux-edge kernel maintainer, and not only this kernel ;)
12:25enchiladasconpinguino[m]oh awesome
12:27mpsenchiladasconpinguino[m]: I already have APKBUILD for linux-asahi in my local repo, but didn't merged to aports yet, waiting for more stable release and upstreamed most things
12:28enchiladasconpinguino[m]well my dream is now that alpine-standard-3.16-aarch64.iso will boot ootb on m1s !
12:29enchiladasconpinguino[m]maybe that is too soon idk, might stay edge?
12:30enchiladasconpinguino[m]yeah, that's what I thought
12:30enchiladasconpinguino[m]realistically quite a while
12:30enchiladasconpinguino[m]going to probably try awesome wm and xfce here on the mini next ;)
12:31enchiladasconpinguino[m]that's why I was thinking reuse the "embedded device" stuff with pmbootstrap
12:31enchiladasconpinguino[m]where weird kernel and other customizations are well handled, and does installs with edge
12:32enchiladasconpinguino[m]^ at least for alpine
12:32mpsyes, but I'm not much interested in pmbootstrap, I waste my free time mostly on alpine base, and because this I wrote 'you are free to prove me wrong' ;)
12:33enchiladasconpinguino[m]haha yup, totally understandable
12:34enchiladasconpinguino[m]situation with arch is much better in the short term I think, existing standard uefi archboot-aarch64.iso could add asahi packages on install without too much work
12:47mpsenchiladasconpinguino[m]: if you have improvements/fixes/ideas for install script I posted it will be appreciated if you post it to me or somewhere else
12:59coderush has quit []
13:00m6wiq1 has joined #asahi
13:01ciggi has joined #asahi
13:01ciggi_ has quit [Read error: Connection reset by peer]
13:06m6wiq has quit [Ping timeout: 480 seconds]
13:12Chainfiremarcan> just out of 'academic' interest, which memory controller optimization isn't enabled yet?
13:13marcanChainfire: there is a power management setting that engages when the CPUs increase in frequency
13:13marcanthat was in the old cpufreq patchset but I decided to punt on it for now since its impact is negligible and things changed on M1 Pro/Max/Ultra, and it might make sense to wait until more of the memory controller is understood
13:14riker77 has joined #asahi
13:15enchiladasconpinguino[m]question, should I expect virtualization/VMs to work with latest kernel?
13:15enchiladasconpinguino[m]I see "kvm: virtual gic" in the dmesg, which is encouraging ..
13:15Ry_Darcy__ has joined #asahi
13:16Chainfirewell that code I mentioned is absolutely pointless, I just like to play with optimizing it, so no biggy there, just interest.
13:16enchiladasconpinguino[m]excellent, virt-manager time!
13:20mpsenchiladasconpinguino[m]: `qemu-system-aarch64 -bios QEMU_EFI.fd -machine virt -m 1G -cpu host -smp cores=4 -accel kvm -nographic -cdrom alpine-standard-3.15.0-aarch64.iso`
13:22enchiladasconpinguino[m]cool as soon as I get desktop setup done, I will try this
13:23enchiladasconpinguino[m]existing parallels VMs might even work with just disk format convert ;)
13:25rikkaa has joined #asahi
13:29Ry_Darcy__ has quit [Remote host closed the connection]
13:33roxfan has joined #asahi
13:34Ry_Darcy_ has quit [Remote host closed the connection]
13:38MajorBiscuit has joined #asahi
13:39MajorBiscuit has quit []
13:41m6wiq1 has quit []
13:42tpw_rulesmps: did you see this page: https://github.com/AsahiLinux/docs/wiki/SW%3AAlternative-Distros ? do you have anything to add here?
13:44rikkaaqemu-system-aarch64: -accel kvm: -m and ,maxmem option values require an IPA range (40 bits) larger than the one supported by the host (36 bits)
13:49MajorBiscuit has joined #asahi
13:54kode54macOS Monterey added the setting, but it either doesn't work, or it just forgets to reset it on reboot
13:58ah-[m]I meant from an asahi installation from about 1-2 months ago to the alpha version. i currently have m1n1 + u-boot installed manually, and just a default alarm setup
14:00rikkaatpw_rules: what desktop environment do you use at nixos? i try xfce, but webkitgtk build fail.
14:02MajorBiscuit has quit [Quit: WeeChat 3.4]
14:05enchiladasconpinguino[m]bug: machine cannot reboot properly yet? poweroff/halt works
14:05enchiladasconpinguino[m]reboot just hangs, never comes back
14:07Major_Biscuit has joined #asahi
14:07Major_Biscuit has quit []
14:07Major_Biscuit has joined #asahi
14:07enchiladasconpinguino[m]maybe its a pmu fix in recent patch
14:08enchiladasconpinguino[m]hrmm then probably alpine specific issue..
14:11mpsenchiladasconpinguino[m]: I'm using asahi with alpine as my primary workstation for nearly 4 months
14:13enchiladasconpinguino[m]mps: m1 mac mini
14:13creechy has joined #asahi
14:14mpsenchiladasconpinguino[m]: maybe I didn't enabled something in kernel for mini, I don't have this machine so couldn't test
14:14bligma[m]wait is my laptop supposed to freeze during partition phase of install? sorry if wrong channel
14:21tt022[m] has joined #asahi
14:28zorunmarcan: is there a contact email address for the project? I'd like to contact lwn.net about the M1 in the gcc farm, and keep you in copy
14:35joshtau has joined #asahi
14:38enchiladasconpinguino[m]question, how do I load the aquantia kernel module? I saw ethernet was marked as working yes? only getting wifi interface
14:42joshtauHi, I'm using a M1 Macbook Air, and installed asahilinux and it worked great, did a system update (sudo pacman -Syu), it upgraded these packages: https://gist.github.com/joshuataylor/9c8a6021d3c5ccddf97290fdb9d0aec9 , now when I reboot and login it goes to a black screen after showing the KDE spinner, and showing these errors: https://gist.github.com/joshuataylor/da4f18f6b67d5b8db3754c89ff21e38f . Highly doubt that an upgrade bricked
14:42joshtauit. The screen goes black, I can access it via ssh but can't change to a virtual console. Is there a better place to log this issue? (sorry)
14:46rikkaa` has joined #asahi
14:47rikkaa has quit [Remote host closed the connection]
14:47MZG[m] has joined #asahi
14:50Ry_Darcy_ has joined #asahi
14:51Chainfiremarcan> you note Chromium has the page-size issue, so I assume someone tried to build it? Cross from x86 or on the m1?
14:53jannauChainfire: it's known what needs to be changed and someone was working on it and in contact with the chromium team
14:53rikkaa has joined #asahi
14:54jannaujoshtau: brightness is currently just off and on, strange that something turns it to 0% automatically
14:54chir4gm has joined #asahi
14:56rikkaa` has quit [Remote host closed the connection]
14:57Ry_Darcy_For anyone who might be affected by the macos 12.3 update blight (brick): idevicerestore *.ipsw will not work as so, needed to supply the -e (erase) flag to get the process to move as idevicerestore was stuck on the "waiting for device to enter restore mode" even though the device was in this mode already.
14:59enchiladasconpinguino[m]mps: this one https://dev.alpinelinux.org/~mps/m1/linux-5.17.0-rc7-asahi-test4.tar.gz
15:02mpsenchiladasconpinguino[m]: I see I didn't enabled CONFIG_NET_VENDOR_AQUANTIA, is this ethernet in mini? if yes I can do build it now and upload
15:04Ry_Darcy_ has quit [Remote host closed the connection]
15:06enchiladasconpinguino[m]wiki just says "linux-asahi (5.17)" for ethernet support
15:06enchiladasconpinguino[m]so I think there is an Asahi patch on top of the aquantia driver (?)
15:08jannauthe only change necessary for the aquantia nic was a change to read the mac address from the device tree but that should be already upstream
15:10tpw_rulesrikkaa: webkitgtk should be able to build for 16K if you have 16GB ram and a few gigs of swap. i've done it before
15:11enchiladasconpinguino[m]mps: other missing module is btrfs btw
15:12enchiladasconpinguino[m]not a lot of software supports 16k pages, gonna be awhile on that one tbh
15:12enchiladasconpinguino[m]so .. why not 4k by default for now ?
15:13enchiladasconpinguino[m]no chrome, no electron, no games ..
15:14enchiladasconpinguino[m]lol correct
15:15enchiladasconpinguino[m]for root yes I do btrfs on some machines, but all data is zfs
15:15enchiladasconpinguino[m]btrfs is quite reliable now for single disks
15:17rikkaatpw_rules: Why do many things need to be compiled, is it because there are not enough nix compilation servers or unstable is too new
15:17tpw_rulesrikkaa: because you chose to use the 16k kernel. libunwind is a base package of a lot of things in nixos, and it doesn't work on 16k
15:18tpw_rulesyou shouldn't need to compile anything really if you set the 4k kernel option and the cross compiled kernel option appropriately
15:18vmeson has quit [Quit: Konversation terminated!]
15:21enchiladasconpinguino[m]mps: I can safely just re-extract tarball over root?
15:22enchiladasconpinguino[m]kk thanks
15:22vmeson has joined #asahi
15:22tpw_rulesrikkaa: ah, well that i can't say. usually unstable won't advance until stuff is compiled. but try 4k first
15:22tpw_rulesit will probably have to compile a new kernel and u-boot, but that should only take 5 or so minutes
15:24diego[m]1 has joined #asahi
15:26diego[m]1 is now known as xyaman
15:26kovj`ey, kode54 indeed, been using gnome for a while now, with debian and fedora, both working fine
15:27kovI am actually going to reinstall the air now and see if I can write up a guide for manually installing fedora
15:27kovI need to do the reinstall anyway to get the chainloading stuff and be on the new firmware ABI
15:28m6wiq has joined #asahi
15:29enchiladasconpinguino[m]mps: should only be `CONFIG_BTRFS_FS=m`
15:38enchiladasconpinguino[m]that one is optional, but doesn't hurt afaik `CONFIG_BTRFS_FS_POSIX_ACL=y`
15:41Ry_Darcy_ has joined #asahi
15:43bisko has joined #asahi
15:43Ry_Darcy_Managed to restore to 12.1 and repeated Thomas G ´s steps from curl -sL to the last messages "wrapping up", "press enter to continure" Still getting a black screen i.e. no screen output. Not a tty nada. No hardware/cable change in the meantime. Ideas?
15:49marvin24_ has joined #asahi
15:50Ry_Darcy_I might be forced to... Why does Thomas G 's installer not work - at least for me. I follow all of the instructions to the letter. Scratches head...
15:51bisko has quit [Ping timeout: 480 seconds]
15:52bisko has joined #asahi
15:53marvin24 has quit [Ping timeout: 480 seconds]
15:54Nspace has quit []
15:54bdju_ has quit [Quit: Reconnecting]
15:55bdju has joined #asahi
15:56Nspace has joined #asahi
15:56GlanzmannRy_Darcy_: If you want you can msg me your email address. I'll be in one hour back home and test the installation on the mini and also record it and let you know how it went.
15:57GlanzmannOtherwise I'll report back in the irc channel. you can check the irc logs here: alx.sh > community
16:04Ry_Darcy_The Asahi installer installer in expert mode will not accept a base macos of 12.1. Message "Your system firmware is too old"... shite.
16:06tpw_rulesRy_Darcy_: why can't you upgrade to 12.3 again? do you have one of the mbps with a replacement motherboard?
16:07Lazurus has joined #asahi
16:08tpw_rulesyou might have to be patient then. you need to have installed 12.3 on the machine at least once before so the system firmware is updated before the official installer will work
16:10Sobek[m]Except he has one of those machine that currently cannot update to 12.3 until apple fix their mess
16:10QuixoteDreamPool[m] has joined #asahi
16:11QuixoteDreamPool[m]hi everybody!! Congrats for this amazing work!
16:11QuixoteDreamPool[m] is now known as Quixote[m]
16:12Quixote[m]I'm trying to set up ufw but doesn't work, i tried to put iptables (legacy) but still is not working, any idea to fix that?
16:13Sobek[m]tpw_rules: He said that his machine hadn’t had any replacement but was still bricked by 12.3 (and he has had quite a bit of trouble reviving it as the backlog shows).
16:20Lazurusjust wanted to chime in and congratulate you all on the project, an amazing thing. Probably gonna run it at some point in the future
16:22enchiladasconpinguino[m]mps:... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/MgydSwcMwTAkQSLxXVnRItXC)
16:22enchiladasconpinguino[m]10G appears to work :)
16:28mattebullet[m] has joined #asahi
16:30creechy has quit [Ping timeout: 480 seconds]
16:31mattebullet[m]I had a small problem with the first run of the install script that I wanted to report. It failed while preparing target volumes on a diskutil command. I run it a second time and the second time it worked. https://pastebin.com/8Xy3wbWR
16:34GlanzmannRy_Darcy_: My current working assumption is the following: Macos 12.3 works on your mini because - to my knowledge - you need to have it to be able to choose to install the stub 12.3.
16:34herbas has joined #asahi
16:34bisko has quit [Quit: Textual IRC Client: www.textualapp.com]
16:34GlanzmannSo I think what went wrong is, that after the installer turns of the machine, you did not press the power button long enough. As a result it tries to boot from a non existing partition.
16:36kameks has quit [Ping timeout: 480 seconds]
16:37xeq has joined #asahi
16:39Glanzmannmps: I'm running a debian distro config now for my kernel so I have all sorts of crap in my config. But I try to stay as closs as possible with the debian kernel config as I can.
16:40creechy has joined #asahi
16:40Glanzmannsven: And about the idevicerestore it is tricky. When I had to do it, I screwed it up multiple times until I suceeded.
16:40Ry_Darcy_It would seem, so. With the (faulty) 12.3 for my M1, the result of Thomas G 's script was the same (black screen). After a power off for the night and subsequent power on this morning I had the blinking orange LED. Having reverted to 12.1 this afternoon, The result after running Thomas G's script - still a black screen.
16:41GlanzmannRy_Darcy_: But, when you turned the mini on did you press and **hold** the power button for 20 seconds?
16:44herbas has quit [Remote host closed the connection]
16:44GlanzmannAnd after you selected Debian did you see this terminal and entered your credentials again two times? https://tg.st/u/screenshot-nuc-2022-03-19-17_43_45.png
16:45GlanzmannRy_Darcy_: I made a video of the installation. Can you watch it starting at 4:07 and see if you did these steps? https://tg.st/u/debian_asahi_installer.mp4
16:50wxllow[m] has joined #asahi
16:52arnidg[m]I want to switch from the Asahi Minimal Install to the Asahi Desktop Install. To uninstall my current Asahi Linux install, which partitions should I delete?
16:53xeq has quit [Quit: This computer has gone to sleep]
16:53wxllow[m] is now known as willow[m]
16:53Ry_Darcy_ has quit [Quit: Page closed]
16:53Glanzmannarnidg[m]: Do this: 11:04 <marcan> ok, `sudo -i` to root and run `curl -L https://alx.sh/wipe-linux | sh`
16:55GlanzmannSo my theory for Ry_Darcy was probably wrong because when I try that, I'm presented with the following dialog: https://tg.st/u/screenshot-nuc-2022-03-19-17_55_17.png
16:56Glanzmannarnidg[m]: Yes, but you should have backups of any sensitive data. Because people in here more than once accidently deleted all their data due to not paying attention what they we're doing.
16:56Glanzmannarnidg[m]: I never manged to delete my data, however I once killed my 1tr so I was unable to install updates.
16:57nyanpasu64is asahi-audio unsupported on MacBook Air?
16:58nyanpasu64i meant the speaker dsp setup
16:58nyanpasu64also is there no printscr key for alt sysrq?
16:58Glanzmannnyanpasu64: It is possible to enable it in the dtb, but you could accidently kill your speakers if the volume is too high, so better wait until you receive a kernel update from marcan.
16:59Glanzmannnyanpasu64: Yes, this is annoying. You can use an external keyboard. Or press the power button to shut down (at least in Debian). If you ever find out how to sysrq on this machines let me know.
16:59sandornagy[m]I'm trying to install fedora on my m1 air. I set up asahi installer with UEFI environment only (m1n1 + U-Boot + ESP) but I can't seem to be able to get fedora installer to boot. I tried putting both the iso and raw image on a flash drive, am I missing something?
17:00tpw_rulessandornagy[m]: fedora's installer wouldn't have a kernel that is compatible with these machines yet
17:00sandornagy[m]ah I see, thank you :)
17:00Glanzmannsandornagy[m]: You could try the debian live image and than use that to create the aprtitions, extract the fedora arm rootfs, make it bootable.
17:00joshtau has quit [Quit: Connection closed for inactivity]
17:01GlanzmannI thought about packaging it, because then we have a slight chance that torvalds will use the platform. As a result the patches would go faster to upstream. :-)
17:01tpw_rulesrikkaa: i just pushed an update to the m1-support that lets you use 16K pages without recompiling so much
17:01tpw_rulestry it out, i am interested to see if any other software is broken. firefox and xorg seem to work
17:02tpw_ruleseither not too much seems to use it on nixos, or nixos's build servers run on 64K pages
17:02sandornagy[m]Glanzmann: I think I will just wait for that. I tried the normal desktop setup and it worked perfectly but I prefer fedora over arch. I'd happy to help out with that guide even if just testing
17:04Glanzmannsandornagy[m]: Okay, maybe I'll be able to put something together this evening. you can send me an email or check the wiki. I'll put it there if I succeed. thomas@glanzmann.de
17:07nyanpasu64is it safe to use speakers without dsp?
17:10jannaunot related to the DSP, it's most likely possible to destroy the speaker with too loud audio
17:11raizo[m] has joined #asahi
17:13marcanthe problem now seems to be that pipewire doesn't consider that the master volume and it starts off at 0 so you need to turn it up manually
17:30Denver has joined #asahi
17:31Denver has quit []
17:36___nick___ has quit []
17:37___nick___ has joined #asahi
17:38doggkruseSo I ran the installer 3 times (2 failures) and I now have 3 "Asahi Linux" volumes that show up under mac OS that appear to be 2.5G each
17:38___nick___ has quit []
17:40___nick___ has joined #asahi
17:41Glanzmannmps: For me, I need to start alsamixer, than press F6, select 0:default and than there is the knob.
17:42doggkrusetpw_rules: One also shows having macOS 12.3 and the other two do not... the failed installs were at the apple download
17:42Glanzmanndoggkruse: Do this: 11:04 <marcan> ok, `sudo -i` to root and run `curl -L https://alx.sh/wipe-linux | sh
17:43Quinten has joined #asahi
17:44GlanzmannAnd than tell me which is the invalid one and I give you the commands to wipe the others.
17:45PaterTemporalis has quit [Ping timeout: 480 seconds]
17:45doggkrusethe installer was also telling me the minimum partition was ~540G is that expected? I read the blog about the need for some space but didn't see a number called out
17:46doggkruseinteresting, I didn't make the connection between snapshots and the linux partition, I was thinking that applied to the mac partition
17:48tpw_rulesi say wipe them all because if you don't you'll just have this big block of free space you can't give bakc to macos
17:51Glanzmanndoggkruse: I would run diskutil apfs deleteContainer disk0s3; diskutil apfs deleteContainer disk0s4 and than use the graphical thing to grow macos an extra 5gb by 'deleting the free space'.
17:51nicolas17 has joined #asahi
17:51QuintenHi there, just wanted to ask about video playback on Asahi. Can´t get it to work and FF says the openh264 codec will be "installed shortly", but never actually installs :/
17:52Lazurus has quit [Quit: Leaving]
17:54marcanopen pavucontrol and toggle the audio device profile to input only and back to input+output
17:58Quinten has quit [Quit: Page closed]
17:59Quinten has joined #asahi
18:01QuintenAnyone have an idea why the entirety of Asahi freezes up when I plug in usb-c earbuds? Nothing responds anymore, although if I e.g. clicked on FF during the freeze, it will open after I unplug the earbuds.
18:09Quinten has quit [Quit: Page closed]
18:12doggkruse has quit [Quit: Textual IRC Client: www.textualapp.com]
18:15doggkruse has joined #asahi
18:17doggkrusetpw_rules: I think my comment earlier about min linux partition size was a human factors / user error
18:21doggkrusethe whole resize step is backwards from what I was expecting "How much space to reserve for linux"
18:22mpswhat is your commit from which you build kernel? mine is 00e23945f258f06ed0cb0dd9ea44272cbdfc7346
18:25nicolas17oh video playback due to audio issues is a thing yeah... on my Linux desktop I once had video in all apps stop working (Firefox, Discord, etc) and I was about to reboot to fix it, it turned out to be something stuck in bluetooth audio, I turned my headset off and everything got instantly unstuck
18:29jannaumost people like their audio and video in sync. if audio isn't broken completely (missing audio device) it will affect video playback
18:30zamadatix has joined #asahi
18:31doggkruse has quit [Read error: Connection reset by peer]
18:41the_lanetly_052 has quit [Ping timeout: 480 seconds]
18:44doggkruse has joined #asahi
18:47mefff has joined #asahi
18:48mefffhey guys, got the news about the release, don't have any questions, just wanted to say thanks for the work you done!
18:58zamadatix has quit [Quit: Leaving]
19:14Simonx22 has joined #asahi
19:21testingtestest has joined #asahi
19:26beacon[m] has joined #asahi
19:28doggkruseIs there an easy way to transfer files between mac and linux in this setup using internal storage or is a thumb drive / SD card the best bet?
19:28beacon[m]I keep getting the "preboot folder path [path] doesn't exist couldn't set bless data..." error
19:31nicolas17you can read apfs filesystems from linux, but actually the encryption in the default user-data mac volume may get in the way...
19:33kreechy has joined #asahi
19:34nicolas17apfs-fuse has been around for a while, I have used it to get binaries out of iOS ipsw files
19:36mpsnicolas17: ohm, linux-apfs-rw-src-0_git20210823 is in alpine, and I'm building separate locally, have to follow new pkgs more carefully :_
19:37beacon[m]Hey guys, could someone help me, I keep getting the "preboot folder path [path] doesn't exist couldn't set bless data in reboot volume for device" error
19:37nicolas17interesting, I should try it... apfs-fuse actually has problems with some small compressed files in iOS images
19:38silverocean[m]Hi folks! Is there a way to turn off the 2 second delay in U-Boot? I tried `setenv bootdelay 0`, then rebooted, but if I runt `printenv`, it's automatically reset back to 2.
19:38creechy has quit [Ping timeout: 480 seconds]
19:39silverocean[m]mps: ooh, I see! let me give this a try
19:40silverocean[m]silverocean[m]: is it expected for `saveenv` to be unavailable?
19:40silverocean[m]mps: presumably if i need the delay, I can always boot into macOS and turn it back on
19:40silverocean[m]ah, that explains it! thanks
19:41silverocean[m]mps: thank you!
19:41Glanzmannmarcan: 20:37 < beacon[m]> Hey guys, could someone help me, I keep getting the "preboot folder path [path] doesn't exist couldn't set bless data in reboot volume for device" error
19:41nicolas17doggkruse: I suppose you *could* make a new non-encrypted apfs volume/partition, either in internal or external storage, but then you might as well use VFAT and get reliable write support :P
19:42mpssilverocean[m]: it is possible ofc, but I don't think it is worth extra effort and reinstalling u-boot whenever it is needed. two seconds is not much
19:43hellosway[m] has joined #asahi
19:44hellosway[m]Is there a way to manually install without the installer.
19:44hellosway[m]I want to atempt to use systemd-boot instead of grub
19:45mpsnicolas17: https://tg.st/u/boot-alpine-m1.mp4 you can get approx time from this old test video
19:46hellosway[m]j`ey: I know, but is there a way to install it from scratch with a tarball
19:47hellosway[m]I can create a tarball with systemd-boot, but I cant find docs to install manually
19:47silverocean[m]mps: fair point!
19:47j`eyhellosway[m]: you can install the uefi option, and then create a usb stick or something, but it sounds more painful than doing the asahi minimal install and modifying it
19:48nicolas17hellosway[m]: replicating what the script is doing by hand would be a pain, there's more steps than you think
19:48j`eyhellosway[m]: or you can modify the installer such that it downloads your zip file instead of the one from the repo
19:48Glanzmannbeacon[m]: Okay, than I would try to wipe the incomplete installation and try to run the installer again and see if you get the same error.
19:49Glanzmannbeacon[m]: In order to do so you need to execute the following script as root: curl -L https://alx.sh/wipe-linux | sudo sh
19:50hellosway[m]j`ey: I think I will do this, but for systemd-boot the ESP has to be at /boot
19:50Glanzmannbeacon[m]: Let me know if it helped, if not maybe send marcan an email and attach the pbot, but hopefully it works.
19:50hellosway[m]and the installer mounts it at /boot/efi
19:51kjm99 has joined #asahi
19:52hellosway[m]nicolas17: It cant be that bad, you just copy the commands into a shell script, change hwat you want, then run it
19:54csd123 has joined #asahi
19:55FarukAydn[m] has joined #asahi
19:58FarukAydn[m]Is there any way to use asahi alpha without wired keyboard/mouse?
20:00Quixote[m]Please, Can I download the linux-headers from this: 5.17.0-rc7-asahi-next-20220310-12131-gbb583ca91538
20:00FarukAydn[m]but how am i going to configure bt options if I don't have a wired set?
20:00FarukAydn[m]usb bt is cheap enough solution though
20:00FarukAydn[m]can be done over ssh i guess?
20:01itisyeetimetoday[m] has joined #asahi
20:02itisyeetimetoday[m]I just wanted to ask, is it possible to install asahi on a external SSD?
20:02Quixote[m]j`ey: yeah bc is the kernel I have right now, I want to build wireguard
20:03itisyeetimetoday[m]j`ey: thank you, that actually pretty good. Does the script support external install?
20:03itisyeetimetoday[m]Also, I don't see an unofficial install guide for Ubuntu, has anyone installed ubuntu yet?
20:04Quixote[m]Glanzmann: yes
20:04Quixote[m]> <@_oftc_Glanzmann:matrix.org> Quixote: Are you running Debian?
20:04Quixote[m] * yes, your version
20:04eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:05Quixote[m]Glanzmann: Thanks a lot my man!!
20:06FabianFritz[m] has joined #asahi
20:08byrantech[m] has joined #asahi
20:08tpw_rulesitisyeetimetoday[m]: it's also worth nothing that currently the external SSD can't be accessed any faster than USB2
20:09byrantech[m]hi! first time using matrix idk what im doing lol
20:09byrantech[m]hello
20:09FabianFritz[m] is now known as f-fritz[m]
20:09Glanzmannitisyeetimetoday[m]: No ubuntu as of now. But using my debian build scripts it would be very easy to provide one.
20:10byrantech[m]i got a bug with asahi; where would i ask/report it?
20:10csd123 has quit [Remote host closed the connection]
20:11* byrantech[m]uploaded an image: (559KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/IawmDKqzAHCLFelEYEChePCM/Screen%20Shot%202022-03-19%20at%204.11.04%20PM.png >
20:11byrantech[m]m1 mbp 1tb ssd
20:11byrantech[m]but min total size is 585 gb? reading marcan's article it should only occupy ~53 gbs right
20:12byrantech[m]got it tysm
20:12tpw_rulesbut the article linked in the announcement post i believe goes over how to delete them if you want more free space
20:12byrantech[m] is now known as hello9999901[m]
20:13hello9999901[m]yeah i thought i didn't have any
20:13r0ni has joined #asahi
20:13hello9999901[m]just checked and i do
20:13hello9999901[m]my bad; thanks for the help
20:15kreechy has quit [Ping timeout: 480 seconds]
20:21hellosway[m]How can you change ther installer to use /boot for the ESP
20:22idaadi[m] has joined #asahi
20:23kreechy has joined #asahi
20:24idaadi[m]Did anyone have issues deleting the partitions created by the asahi installer ? do we use some other room for such questions and install/remove issues? thanks
20:24j`eyhellosway[m]: https://github.com/AsahiLinux/asahi-scripts/blob/main/first-boot is one of the places
20:24Mayel[m] has joined #asahi
20:24tpw_rulesidaadi[m]: https://github.com/tpwrules/nixos-m1/blob/main/docs/uefi-standalone.md#nixos-uninstallation these instructions also work for asahi
20:24testingtestest has quit [Remote host closed the connection]
20:25kevanf has joined #asahi
20:25idaadi[m]thanks tpw_rules i will try it now , i tried via the diskutil gui and totally failed :)
20:28csd123 has joined #asahi
20:31kreechy has quit [Ping timeout: 480 seconds]
20:32mpswith yesterday alpha release announce looks like I have finally to write guide for installing alpine
20:33idaadi[m]if i try a reinstall , should i use that script to cleanup policies or not really needed ?
20:33hellosway[m]<j`ey> "hellosway: https://github.com/..." <- I am trying to install from archlinux arm, without first boot scripts, so I can unhardoce the uuids
20:33hellosway[m]and dont have to do that
20:34rikkaa has quit [Quit: Connection closed for inactivity]
20:34mpsMayel[m]: you have to follow first steps in asahi installer and stop at install asahi distro (forgot exact option name)
20:34abbe has joined #asahi
20:35mpsMayel[m]: and then you will have to run scripts which installs bootable alpine on usb disk, boot from it and do rest
20:36j`eyhellosway[m]: that's where the boot partition is setup, if you dont use that script you cn setup fstab yourself
20:36mpswill ask enchiladasconpinguino[m] to post me changes for script which install alpine on usb disk
20:37kevanf has quit [Quit: Page closed]
20:38hello9999901[m]Error: -69521: Your APFS Container resize request is below the APFS-system-imposed minimal container size (perhaps caused by APFS Snapshot usage by Time Machine)
20:38hello9999901[m]i already deleted all my tms
20:38hello9999901[m]what could be the possible cause?
20:39hello9999901[m]nicolas17: 619 gbs
20:39hello9999901[m]nicolas17 that should be way more than enough right
20:40kreechy has joined #asahi
20:40mpsj`ey: would be nice if someone can tell where exactly to stop, or write which steps are needed to get this
20:41j`eyI dont think you need to stop at aall, UEFI just creates an ESP partition and installs u-boot and thats it
20:43mrguppy02[m] has joined #asahi
20:43mpsj`ey: thanks, will look Glanzmann video tomorrow (I hope) and try to resurrect what I did last time
20:47mrguppy02[m]This might be dumb, but is my xattr the only one that does not have the -x flag? I do not have any other brew packages to replace xattr. Am I doing something wrong?
20:48kreechy has quit [Ping timeout: 480 seconds]
20:49Raito_Bezarius has quit [Ping timeout: 480 seconds]
20:51csd123 has quit []
20:54kreechy has joined #asahi
20:54mrguppy02[m]and the script just tries to do -wx and there's no -x flag for my xattr
20:54beacon[m]Glanzmann: hi i tried doing a fresh restall from earlier (this is the preboot folder path question) and it seems to still not be working
20:54heth has joined #asahi
20:55mrguppy02[m]I created an issue on GitHub for the installer a day ago related to it if anyone wants to see the logs
20:58Raito_Bezarius has joined #asahi
20:58mrguppy02[m]That's what I get from subprocess.CalledProcessError: Command '['xattr', '-wx', 'com.apple.FinderInfo',
20:58nyanpasu64is there a fast way to switch between oses on bootup? holding power is slow and awkward
20:59mrguppy02[m]Because it tries do to xattr -wx com.apple.FinderInfo .... /Volumes/Asahi right? , and that's where it breaks
20:59mrguppy02[m]and if I try to xattr -x a file in a terminal on my own it tells me -x is unrecognised
20:59mrguppy02[m]or just do it
20:59mrguppy02[m]as in running the command
21:00mrguppy02[m]at first I thought I had had some xattr thing in my usr/bin folder
21:00nyanpasu64yikes
21:00nyanpasu64so you can't have grub boot macos?
21:00mrguppy02[m]that does not work on intel Macs does it?
21:01mrguppy02[m]there would be dsmos freaking out
21:01mrguppy02[m]why would it work on AS
21:01mrguppy02[m]having it show up in startup disks in sys pref could be interesting
21:01AdwyzzOLEDEdition[m]nyanpasu64: no, grub is after u-boot
21:02nyanpasu64and neither u-boot nor grub can boot macos?
21:03AdwyzzOLEDEdition[m]at least afaik it shouldnt be possible
21:03nicolas17afaik u-boot and grub each take the environment one step farther from what macos expects and closer to a "normal" aarch64 system
21:03mrguppy02[m]you would have to basically hackintosh it to have it boot from grub
21:04mrguppy02[m]because from what I understand macOS does not boot from EFI on arm
21:04AdwyzzOLEDEdition[m]it doesnt
21:04nicolas17https://github.com/AsahiLinux/docs/wiki/Open-OS-Ecosystem-on-Apple-Silicon-Macs#boot-overview
21:04mrguppy02[m]I need to find and try to understand what causes my -x issue
21:04mrguppy02[m]I genuinely just
21:04nyanpasu64am reminded of surface rt hacking
21:05mrguppy02[m]surface rt was more norma
21:05nyanpasu64except m1 macbooks are a far more attractive target than 9 year old tegras
21:05nyanpasu64and has more funding and more progress
21:05mrguppy02[m] that booted off of uefi
21:05AdwyzzOLEDEdition[m]gsora[m]: we currently cant and afaik that requires more work/isnt possible and imo theres no reason to do it
21:05mrguppy02[m]the whole Microsoft arm system is uefi
21:05mrguppy02[m]from windows phone 8 to now
21:05AdwyzzOLEDEdition[m]theres no reason to try skipping u-boot
21:06AdwyzzOLEDEdition[m]ooh i'm stupid
21:07nicolas17yes grub can be skipped, "GRUB does not need any patches to work on Apple Silicon machines, as it relies entirely on EFI services to do its job. It is up to the OS distribution to decide what to use here; GRUB is merely an example."
21:07gsora[m]AdwyzzOLEDEdition[m]: Oh I didn’t mean that, I meant use uboot kernel loading features and boot off that
21:07nyanpasu64i have no clue how assembly programming, bootloaders, drivers, work, i'm just a quiche eater, albeit a bit more meaty than usual (compiled languages rather than js)
21:07AdwyzzOLEDEdition[m]j`ey: well yeah then cant you use EFISTUB for that since after u-boot it's just plain EFI, right?
21:07___nick___ has quit [Ping timeout: 480 seconds]
21:08AdwyzzOLEDEdition[m]nyanpasu64: i just spend hours lurking and reading wikis
21:09bluetail[m]nyanpasu64: it's much like reading all the fineprint and then spend a lot of time trying and repeating and digging...... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/hJDAbdsubBszrOoRFvIiqHHR)
21:09j`eygsora[m]: note that extlinux.conf as far as I can tell, does not boot with the UEFI protocol. some features later may depend on UEFI runtime services
21:09bluetail[m]going to sleep too
21:10SamHep0803[m] has joined #asahi
21:10Quixote[m]Glanzmann: I installed your linux headers but doesnt work. Your link is for version: 20220310-00002 and my version is 20220310-12131
21:11Quixote[m]* headers but I thinl doesnt work., * is 20220310-12131 .
21:11Quixote[m] * Glanzmann: I installed your linux headers but I thinl doesnt work. Your link is for version: 20220310-00002 and my version is 20220310-12131 .... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/nXqKZTbsTNSKzSEoyblGVLzy)
21:12tpw_rulesgsora[m]: note that if u-boot or grub tries to load a device tree everything will explode
21:14SamHep0803[m]hi, i'm currently having an issue with the installer where when i go into 1TR, bputil fails with the error: "Failed to create local policy". i tried doing "csrutil clear" and rebooting but that hasn't fixed it
21:14SamHep0803[m]hope this is the right place to ask lol
21:18Quixote[m]j`ey: do you know if I can download the right linux-headers version? I need exactly this: 5.17.0-rc7-asahi-next-20220310-12131
21:18Quixote[m]I try with 5.17.0-rc7-asahi-next-20220310-00002 but doesnt work
21:18j`eyQuixote[m]: im still not sure why you need that exact version, the headers should be backwards compatible
21:19Quixote[m]j`ey: When I build I get this: Module build for kernel 5.17.0-rc7-asahi-next-20220310-12131-gbb583ca91538 was skipped since the
21:19Quixote[m]kernel headers for this kernel does not seem to be installed.
21:19Quixote[m]I guess is for the version but maybe I'm wrong
21:20Quixote[m]> <@_oftc_j`ey:matrix.org> Quixote: im still not sure why you need that exact version, the headers should be backwards compatible
21:20Quixote[m] * When I build I get this: Module build for kernel 5.17.0-rc7-asahi-next-20220310-12131-gbb583ca91538 was skipped since the kernel headers for this kernel does not seem to be installed.
21:21Quixote[m]j`ey: yes, it was first I did
21:21Quixote[m]I have already installed those headers.deb
21:23kreechy has quit [Ping timeout: 480 seconds]
21:25SamHep0803[m]<SamHep0803[m]> "hi, i'm currently having an..." <- also tried doing csrutil disable and its still not working, not sure what to do here
21:26nilsi[m]Installation was super smooth but I got a linux noob question here. I got a message "this package is not supported by your architecture" for a bunch of programs I tried to install with jay from aur. Is there any way to get around this or they simple don't work? I tried installing teams, slack and bitwarden.
21:27j`eynilsi[m]: some packages might not be available, some might just not be packaged properly/yet
21:28nicolas17nilsi[m]: aren't all 3 proprietary? doesn't surprise me there's no aarch64 binaries for them
21:29nicolas17also, for apps based on Chromium/Electron, even with aarch64 they won't work on Asahi yet
21:29mrguppy02[m]Ok so /usr/bin/xattr does have the -x , but the xattr command lacks it
21:30mrguppy02[m]so , I tried rerunning it and removing the part of the stub.py that enables the icon , because I do not care for it
21:30nilsi[m]Okay, thanks. Then I know it wasn't something i did wrong. Most of them I get going in Firefox anyway.
21:30mrguppy02[m]did not work, probably more needed removing
21:31mrguppy02[m]if I run a terminal with sudo xattr -x it brings me to the -h page
21:31mrguppy02[m]if I run a terminal with /usr/bin/xattr it's fine
21:31mrguppy02[m]and if I ask the terminal where xattr is it only points me to /usr/bin and a xattr1
21:31mrguppy02[m]in usr/share/man/man1/xattr.1
21:32mrguppy02[m]but if I try going there it does not exist. is it some sort of broken symlink?
21:32mrguppy02[m]it's annoying because I have to remove the container the script makes every time
21:32AdwyzzOLEDEdition[m]gsora[m]: honestly i didn't think this many apps had issues with 16K pages
21:33kreechy has joined #asahi
21:33mrguppy02[m]should I try running it in advanced mode or something
21:33j`eyAdwyzzOLEDEdition[m]: not many do. it's just jemalloc and chromium that are the biggest ones
21:33AdwyzzOLEDEdition[m]also because can't you just make 4 "virtual pages" inside a 16K page and have all your logic stay the same? it's a bit of a hack but it would sork
21:33nicolas17AdwyzzOLEDEdition[m]: Chromium has issues with 16K pages, and (too) many apps are web apps running in Electron, that's most of the problems I think...
21:33mrguppy02[m] 1: APFS [Macintosh HD] (398.35 GB, 6 volumes)... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/zcWcMmagjwxKErXxmeWOXVYH)
21:33mrguppy02[m]and I keep having to remove it
21:34SamHep0803[m]<SamHep0803[m]> "hi, i'm currently having an..." <- i found this one stackoverflow question that said that csrutil clear would work but i tried it and it didn't so i'm not too sure what to do at this point
21:35SamHep0803[m]j`ey: the thing is, i've had this issue before when messing around with SIP trying to get things to build on my mac
21:35SamHep0803[m]but i can't quite remember how i fixed it
21:40FilipJeretina[m] has joined #asahi
21:40hspak has quit []
21:41kreechy has quit [Ping timeout: 480 seconds]
21:42hspak has joined #asahi
21:48beacon[m]Setting the new OS as the default boot volume...... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/icGiGgHPEDuchNGzOleSwqsN)
21:48kreechy has joined #asahi
21:55hello9999901[m]just booted asahi
21:56hello9999901[m]works great! thanks to everyone for making it happen
22:00kjm99 has quit [Remote host closed the connection]
22:01kjm99 has joined #asahi
22:02giskard has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
22:03kjm99 has quit [Remote host closed the connection]
22:07mefff has quit [Remote host closed the connection]
22:21msteffen has joined #asahi
22:29nicolas17yeah I'll have to try that, when mounting an iOS rootfs, apfs-fuse gave I/O errors reading small files (and I once got it to crash running 'find')
22:30nicolas17I found a "go-apfs" command line tool that can extract individual files out of an image (no fuse mounting) and it turned out to fail with *the same set of small files*
22:33jeffmiw has joined #asahi
22:43jelly has quit [Remote host closed the connection]
22:45dantedrac[m] has joined #asahi
22:48jelly has joined #asahi
22:52ducc[m]now that asahi alpha has come out, is there going to be a more lengthened cadence to progress reports, or will we see them more often?
22:52povikthat's why your controls are named differently, without the jack prefix, but other than that they are the same
22:54nicolas17gsora[m]: afaik internal speakers kinda work but there's a risk of damaging them, so they're not yet enabled in alpha
22:56kreechy has quit [Ping timeout: 480 seconds]
22:57nicolas17gsora[m]: in fact chadmed considered updating a readme to explain how to enable them manually, and then said "or maybe not, i dont want people yelling at me that "i" blew up their speakers"
23:01bgentil[m] has joined #asahi
23:06kreechy has joined #asahi
23:12nicolas17my IRC client has Insert -> Special Character that lets me search the whole unicode... still not particularly convenient for this though :P
23:13_aliceer, full-width actually; https://unicode.link/codepoint/FF4D-fullwidth-latin-small-letter-m
23:19AdwyzzOLEDEdition[m]<povik> "any clues to the 'audio causes..." <- it happened to me a while ago (not on a mac). you just need an app opening an audio device as an ALSA plugin exclusively and then any other app on my pipewire server will hang waiting to open the device. i don't know if it's the same thing but it seems like it is
23:23AdwyzzOLEDEdition[m]hmm then i have no clue
23:23AdwyzzOLEDEdition[m]but it might be related, because there aren't that many things that just hang video playback like that
23:30Major_Biscuit has quit [Ping timeout: 480 seconds]
23:32andrewp has joined #asahi
23:40winter<gsora[m]> Hoping jemalloc patch will ne upstreamed soon <-- i thought there wasn't a jemalloc patch at all?
23:41andrewp has quit [Quit: Page closed]
23:42gsora[m]winter: I remember reading about a patch set to fix the page size issue, but I might’ve read wrong
23:42nicolas17the alpha release blog post mentions patches sent to fix the 16K issue, and jemalloc isn't listed as 'patch sent'