#
…

2022-03-19

00:00eroux has joined #asahi
00:01eroux has quit []
00:01sarah[m]Does everything under "works" category work as good as on macos?
00:01sarah[m]For example, does the touchpad work as good as on macos?
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:11sarah[m]Oh nice, that is really impressive
00:11brentr123[m]Wow it takes a long time to extract root.img into disk0s7 partition
00:12* nicolas17releases the balloons
00:14j`eybrentr123[m]: its a 3g download
00:14brentr123[m]j`ey: OH DAMNNNNNN
00:14nicolas17that's the arch rootfs?
00:15tpw_rulesit takes about 3.6 rows of + signs to complete, if you want an indication of progress
00:15M0x8FF[m]how long does the installer script take
00:15tpw_rulesa couple minutes + download time
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:20tpw_rulesyes, diskutil locks out all disk access while it's busy
00:21Retr0idkinda crazy how that can stop the trackpad from even clicking
00:21bisko has quit [Ping timeout: 480 seconds]
00:21nicolas17huh, is that handled in userspace?
00:22Retr0idwherever it is, it's definitely not-hardware
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:28tpw_ruleshow did it failed
00:28Retr0idAPFS Container Resize error code is 49187
00:28Retr0idError: -69606: A problem occurred while resizing APFS Container structures
00:29tpw_rulesbleh, there was another person with corruption too
00:29AmyLarane[m] has joined #asahi
00:29tpw_rulesopen disk utility and run the First Aid
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:29Retr0idside note, my system has kernel panicked a few times in the past
00:29Retr0idso my fs potentially had latent corruptions
00:29tpw_rulesnot a good look for apple if this is the first time a lot of users are running fsck
00:29tpw_rulesanyway that fixed the last person's problem. make sure your backups are good first :)
00:30marcanyeah... let's just say I'm not impressed with Apple's APFS implementation
00:30marcanI've had to do APFS data recovery for friends twice already
00:30marcanthe installer resize just calls diskutil, so if that explodes it's Apple's fault :-)
00:30tpw_rulesi still am heartbroken that ZFS didn't make it
00:31marcanRetr0id: the trackpad clicking is indeed handled in software in macOS
00:31marcannot on linux though
00:31marcanit's a different mode or something
00:31marcanit's very obvious when you run macOS under the hypervisor with a lot of tracing :)
00:32rqou_er, i meant that load on the guest seems to make the _host_ trackpad laggy
00:32marcanI wasn't talking about your comment
00:32ichi[sheher][m] has joined #asahi
00:32nico_32tpw_rules: not sure if it would have been a good fit at the time
00:32marcanand yes, I think there is still some dodginess with SPI
00:32marcanit works well most of the time, and recovers when things glitch
00:32AmyLarane[m] is now known as casually-blue[m]
00:32marcanbut there's something going on
00:32M0x8FF[m]this is a very cool project, thank you for not abandoning it or anything :)
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:38* tpw_ruleswas saved being mesmerized by the progress bar
00:38tpw_rulesit won't freeze if you don't touch it :)
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:39Retr0id(but first I will make a proper backup lol)
00:43brentr123[m]I deleted the Asahi partition, how do I get my space back?
00:44tpw_rulesjust replace "nixos" in that section with "asahi" mentally when reading
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_rulescan you be a bit more specific with your issue? one of us may be able to help
00:50cobre[m]Sure, just a second
00:50clover[m]Kinto - Mac-style shortcut keys for Linux is working great with Asahi :)
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_rulesah, hm. i guess your root disk is pretty ful?
00:56tpw_rulesi would think it would have given you at least the operation to resize, and failed there
00:56cobre[m]nope, I have 112GB available. It'll start to resize, but fails
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:58tpw_rulesmacos also creates snapshots on system upgrades even if you have time machine off
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
00:59tpw_rulesi saw another issue and thought it was yours
00:59tpw_rulesno, that issue is there is some minor apfs corruption
00:59tpw_rulesopen disk utility and run the first aid repair
01:01tpw_rulespreferably make backups beforehand
01:01M0x8FF[m]does asahi have sound support
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:04cobre[m]hmm I should probably make sure I have a time machine backup made
01:04tpw_rulesyeah, the bug is that the asahi linux installer unceremoniously died instead of telling you to do this
01:04nico_32making a backup is always a good idea
01:04tpw_rulesthe real bug is that apfs appears to be... fragile
01:05cobre[m]Thanks for the pointer, i'll run make a backup and try again!
01:05nicolas17...I just remembered I probably still have an APFS container for sandcastle on my phone >.>
01:05nico_32i hope linux-apfs have a lot of sanity check
01:11turo has quit []
01:11M0x8FF[m]can i just erase my macOS partition now
01:12M0x8FF[m]from recoveryOS
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:14M0x8FF[m]I have one more question: what if I want to remove the asahi instal
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:14M0x8FF[m]how should i do that?
01:14Retr0idI guess I need to do a full macos reinstall to fix this
01:14nicolas17M0x8FF[m]: "How do I uninstall it?" is on the alpha release post
01:14brentr123[m]M0x8FF[m]: Scroll up for a while someone told me
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:15M0x8FF[m]0x8FF: "How do I uninstall it?" is on the alpha release post
01:15M0x8FF[m]0x8FF: "How do I uninstall it?" is on the alpha release post
01:15M0x8FF[m]Why did that send???
01:15M0x8FF[m]Sorry fluffychat/matrix is being strange
01:16tpw_rulesRetr0id: maybe, try from recoveryOS?
01:16Retr0idThat's what I tried second-last
01:16tpw_ruleswell, that sucks. i guess good that you found out. do you have any snapshots?
01:17nico_32i wonder how many computer have their apfs container corrupted
01:17tpw_rulesseems like a lot...
01:17nico_32and how many are unable to apply macOS update
01:18nicolas17damn just freed 4GB on my iPhone by deleting the android-sandcastle volume I forgot I still had
01:18cobre[m]sandcastle was cool, shame it hasn’t been updated in a while
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_rulesi'm not sure
01:27clover[m]getting segfault when trying to run VS Code arm64 binary hmm
01:27tpw_rulesat least with Disk Utility, if you try, it will prompt you go to through a "reset the whole system" flow
01:27tpw_rulesclover[m]: expected. chromium is broken with 16K pages right now
01:28tpw_rules(you can install nixos and use its 4K kernel if you like...)
01:28clover[m]oh yeah! i forgot electron is basically chromium
01:30bisko has joined #asahi
01:31nyanpasu64 has joined #asahi
01:31nico_32Retr0id: i know a commercial backup system that have the same issue: silent corruption
01:31cobre[m]to use nixOS, you’d use the Asahi UEFI environment right?
01:32nico_32you discover the issue when you try to restore
01:32tpw_rulescobre[m]: yes. it's all covered step by step in the guide
01:32* tpw_rulesprefers to talk too much than too little
01:32tpw_rulesyou can even install it with asahi linux already installed
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:34tpw_rulesmacos does if you use the graphical disk utility
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:34clover[m]yeah apfs resizing freezing everything almost gave me an aneurysm
01:35tpw_rulesit doesn't freeze if you just let it do its thing without touching it
01:35cobre[m]yeah it startled me when I first tried it…should definitely add a warning
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:39tpw_rulesso you have to hard boot
01:39bisko has quit [Ping timeout: 480 seconds]
01:40zx2[m]apart from the lack of warning this is a pretty awesome installer
01:40nicolas17is that "extracting" step also downloading in parallel?
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:41_alicethe "extracting" step is streaming it from the zip file
01:43nicolas17you mean getting firmware out of the macos ipsw?
01:43_aliceit does that for both the getting-firmware-from-apple-cdn step, and the root.img extraction too
01:43nicolas17I thought 'extracting' was for the arch rootfs, not the firmware components
01:44nicolas17so root.img is *also* in a zip
01:44_aliceyeah, on cdn.asahilinux.org
01:44nicolas17I understand now
01:44tpw_rulesnyanpasu64: exactly
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:45tpw_rulesso i've never actually seen it freeze
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:45zamadatixCongrats on the alpha everyone
01:46chadmed has joined #asahi
01:46nicolas17tpw_rules: I spent most of today staring at 3 parallel scrolling build logs
01:46nicolas17(babysitting KDE's CI)
01:47tpw_rulesso you know the feeling
01:50creechy has quit [Ping timeout: 480 seconds]
01:50tpw_rulesand of course you know you could be using that time more productively, but no
01:57nyanpasu64asahi dpi works in strange ways
02:00nyanpasu64screen brightness: {yes, no}
02:01nicolas17bright / not bright
02:01zx2[m]first time I hit brightness down I was a bit shocked lol
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:11nico_32nyanpasu64: temp hack
02:12nico_32to make sure people would have a working screen :)
02:12nyanpasu64what's a hack? brightness or dpi?
02:13nico_32brightness
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:24tpw_rulesfirefox compiles pretty fast
02:24tpw_rulesconsider not using jemalloc
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:30tpw_rulesokay, so there probably is something missing. i'll try and identify it later
02:30chadmedto enable it you have to edit the DT
02:30tpw_rulesdoes the headphone jack not still work?
02:30LuigyLeon[m]oh I see xD in that case can totally hold off
02:31chadmedwhich mbp
02:32chadmed14" and 16" do not have jack support yet. not sure about the 13"
02:32LuigyLeon[m]oh I have the mbp 14"
02:32chadmedyeah no jack yet sorry
02:32LuigyLeon[m]ah, that explains it :)
02:32chadmedi need to update the feature support page on the wiki to make the distinction i think
02:34nyanpasu64should i even try replacing pulse with pipewire?
02:37chadmedpipewire-pulse works just fine with these machines
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:57chadmedkeyboard reassignment is a user preference thing so we probably wont touch it
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
02:59chadmedthe thing is this problem exists for many many devices, and that number is only growing
02:59chadmedso it would be nice to have a universal mechanism for what i do in my asahi-audio repo
03:00jx0 has joined #asahi
03:01jaime10[m]Ok nevermind it worked from tty.. so weird
03:01sting[m]Congratulations on the alpha release everybody
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:07chadmedin fact its probably the most user-hostile way
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:08chadmedand so what we propose makes it easy and user-friendly to do so
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:10chadmedyeah the whole session manager thing is just frought with bugs and showstoppers
03:10chadmedit literally just doesnt work sometimes unless you write a bunch of custom rules
03:10nyanpasu64and last time i checked, id reuse still caused races and ABA problems with wireplumber
03:10chadmedi think wireplumber is too complicated for its own good
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:13tpw_rulesdoggkruse: put the log on pastebin.com or similar
03:15bisko has quit [Ping timeout: 480 seconds]
03:16nicolas17chadmed: so speakers went the same route as softmodems now?
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:18doggkrusetpw_tules: thanks! paste here: https://pastebin.com/t4rZkVrB
03:19tpw_ruleslooks like it's just having trouble downloading the install data from apple
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:19tpw_rulesdo you have a reliable internet connection? are you in a foreign country?
03:20doggkruseyeah, that's what I gathered but unsure why. I'm in the US with 400/40 cable and its very reliable
03:20nicolas17I think the script was downloading in 1MB chunks right?
03:20doggkruseafter the 3rd try it went through
03:20tpw_rules10MB i think
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:20tpw_rulesok. is it working fine now?
03:20doggkruse3rd try worked fine
03:20nicolas17seems like it could be smarter and download the whole subfile but that would need zip format knowledge
03:20doggkrusejust wanted to provide the feedback that it failed
03:20nicolas17wonder if partialzip kinda functionality exists as a python library :P
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:21tpw_rulesnicolas17: that's how it works i think? what do you mean by subfile
03:21doggkrusetime to reboot into my new install :D
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:22nicolas17but maybe all the stuff being downloaded here is small enough?
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:22nicolas17in a hundred 10MB requests?
03:22tpw_rulesyeah. i think each + is another 10MB
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:25chadmedwell yeah thats a silly way to do it
03:25chadmedluckily pipewire already has the functionality to apply effect chains to only a specific node
03:26chadmedwhich is what i leverage
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:26chadmedwhich is how ALSA UCM and other associated crap functions now
03:27chadmedwhich as i say, is fine for embedded devices that are usually closed off/limit user interaction to a walled garden anyway
03:27chadmedbut is wholly unacceptable for these sorts of machines
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:29chadmedit just sucks OOB for end users, which is the worst possible thing
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:31chadmedbut like, joe blow isnt
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:32chadmedapply the FIRs in my repo and find out for yourself ;)
03:32nicolas17my father gifted me a Sony wireless headset that was so bad that he returned it
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:38nicolas17now I have a refubrished Bose headset that even cost less than the Sony
03:38kov has quit [Quit: Coyote finally caught me]
03:38chadmedBuy Other Sound Equipment
03:38pirokoasahi successfully installed \o/
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:58doggkruseHello from Linux on my M1 MBP!
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:04chadmedits disabled in the dt
04:04chadmedyou need to edit the dt
04:04opticronah, that's the step I missed
04:04chadmedyeah ill need to update the readme
04:04chadmedor maybe not, i dont want people yelling at me that "i" blew up their speakers
04:05doggkruse has quit [Quit: Konversation terminated!]
04:06opticronyeah...I'm making sure to reduce volumes to 30% or so before trying anything
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:08chadmedyou can reduce to 70% and it still works
04:08chadmedany higher and it starts clipping, but nothing should blow up
04:08chadmedyeah thats common with brcmfmac chips, happens on my other machines too
04:11AbhayNayar[m] has joined #asahi
04:12nicolas17fullmac means the wifi protocol is implemented in the firmware and not in the kernel, right?
04:12chadmednot sure
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:28nicolas17I'd be interested in accessing AWDL from Linux >.>
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:31tpw_rulessilverocean[m]: you are using the official asahi linux distro?
04:32silverocean[m]tpw_rules: Yes, I am. It doesn't seem to get past U-Boot.
04:32tpw_rulesok. this is the first time you've tried?
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:33tpw_rulesbut i mean on that machine
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:34tpw_rulesok. does it boot if you do that `run distro_bootcmd` (without the `)?
04:35silverocean[m]tpw_rules: It doesn't boot. Instead I get "Device 0: unknown device".
04:35tpw_rulescan you take a picture or so of the output of `part list nvme 0`?
04:35nicolas17everything went fine in the installer and it's failing on first boot?
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:36tpw_rulesyou did select one of the asahi linux options and not "UEFI environment only" right?
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:36tpw_rulesthat's worrying. try rebooting the machine. i wonder if it's just some fluke
04:36silverocean[m]tried to reboot several times
04:37nicolas17does macOS boot work? ._.
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:37tpw_rulesdoes anything show up under `nvme info`?
04:37silverocean[m]tpw_rules: nothing shows up
04:37tpw_ruleswhat if you do `nvme scan`?
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:41tpw_rulesit's 99.8% arch linux so sure
04:42tpw_rulesmy nixos configs come by default with console.loglevel=7 debug earlycon
04:42Skirmisher has joined #asahi
04:42roxiun[m]probably a stupid question but do all wms work on asani? like i3 or hypr
04:42tpw_rulesi repeat my answer :)
04:42tpw_rulesit's 99.8% arch linux, so if there's builds of it for aarch64 it will work
04:43roxiun[m]so there isn’t any difference because its arm right?
04:43roxiun[m]its just on a basis if there are aarch64 builds
04:43tpw_ruleswell i can't tell you that, but the problem wouldn't be specific to m1 or 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:44tpw_rulesoh, yeah, forgot about that
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:45nicolas17please tell me there isn't any electron-based wm ._.
04:45Skirmisher[m] is now known as Guest2534
04:45tpw_rulesdoes chromeos count?
04:46brentr123[m]Hate how there’s no Google chrome for aarch64 arch
04:46nicolas17brentr123[m]: I thought there is (but it doesn't work on asahi)
04:46Guest2534 is now known as Skirmisher[m]
04:46tpw_rulesyeah that's the case
04:47tpw_rulesnicolas17: did you ever watch the talk "the birth and death of javascript" by gary bernhardt
04:47nicolas17it sounds familiar but I think I didn't watch it
04:48nicolas17did you hear of the javascript drinking game?
04:48nicolas171. think of a noun, 2. google <noun>.js, 3. if a javascript library of that name exists, drink
04:48nicolas17seems dangerous tbh
04:49tpw_rulesyou should watch that talk
04:49tpw_ruleswell, everyone should frankly
04:53Denver has joined #asahi
04:55Skirmisher[m] has left #asahi [#asahi]
04:55brent has joined #asahi
04:56yuyichao has joined #asahi
04:56brenttalking from my m1 right now using hexchat :)
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:58brentim so spoiled with x86
04:58brenti cant handle the limited amount of packages that have arm
04:58brentsupport
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...
04:59brenti mean packages
04:59brentno chrome
04:59brentno torbrowser
04:59chadmedchrome only doesnt work because of 16k pages
04:59brentunsuppported architecture i thoguht
05:00brentgoogle didnt make a chrome for linux arm64
05:00DenverFirefox works well?
05:00Dcow[m]1yeah, no chrome, slack, vscode, android studio (I am not sure here)
05:00brentgpu acceleration will definitely be a good boost
05:00Dcow[m]1not sure about spotify
05:00brentbut everything is pretty smooth
05:00brentlinux booted in like 5 sec
05:01brentactually insane
05:01linearcannon has quit [Quit: Textual IRC Client: www.textualapp.com]
05:01brent_ has joined #asahi
05:01DenverI want to switch so bad, but I fear it's just not ready for my use case.
05:02brent_ has left #asahi [#asahi]
05:02bisko has joined #asahi
05:02Dcow[m]1for me - it's dual boot now
05:02brentis it normal for irc clients to show ip addresses?
05:02DenverYou can dual boot it?
05:02brentwhen people join/leave
05:03Dcow[m]1also, I found myself too used to macos shortcust, it's killing me
05:03Dcow[m]1shortcuts*
05:03DenverSorry for my ignorance, but you are currently dual booting MacOS and Ashi?
05:03Dcow[m]1it's by default with installer
05:03Dcow[m]1even preferred for now
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:04Denveroh interesting... well, now I'm going to go at it tonight
05:04DenverSorry, thank you.
05:05nicolas17also note that these Macs are un-brickable
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:06Dcow[m]1but you still CAN wipe the whole disk from linux
05:06DenverI'm a junior dev and dream of the day when I can contribute.
05:07Dcow[m]1it's still a pretty bad thing for many of us
05:07DenverI'm going to give it a shot tonight
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:07nicolas17oh you *can* wipe the disk, I mean it won't permanently screw up the machine
05:07nicolas17and you have backups of your data right? ;)
05:08DenverWhat you are saying is there is always a way to at least get a fresh install of MacOS back
05:08DenverAwesome, thank you.
05:09nicolas17and the code to bootstrap that process is in actual ROM
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:10DenverI love my Mx Master 3
05:10DenverI wen't out and purchased the Mx Keys after using it haha
05:10nicolas17I have what used to be a cheap and common membrane keyboard
05:11nicolas17but the bar was much higher then
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:12Dcow[m]1yeah, you can spend much more quality time than restoring your mac ;)
05:12chadmedas i found out yesterday :P
05:13nicolas17what did you do :P
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:14chadmed14 hours later...
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:17tpw_rulesi need to give idevicerestore a try
05:17chadmeddidnt work for me, wouldnt pick up the mac in either restore or dfu mode
05:17chadmednicolas17: yuup +10000 on that one
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:19Dcow[m]1from the twit response above :
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:20DenverOh wow, I didn't have any Matlab classes
05:20doggkruse has joined #asahi
05:20chadmedmatlab is evil, i refuse to use it
05:20nicolas17"I use Apple stuff because it just works" meanwhile me: https://pbs.twimg.com/media/E0uRg_uXIAMuI79.jpg
05:20chadmedluckily bioinformatics folks i deal with all use R and gnuplot exclusively
05:20tpw_rulesit's also just plain bad
05:20tpw_rulesR is worse, sorry
05:21chadmedyeah but it does what we need it to without being matlab
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:21chadmedi vowed to never use it again after the whole icc x87 fiasco
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:23tpw_rulesi think you are right, something is wrong between u-boot and the nvme
05:24tpw_rulesbut it's my bedtime. it's been fun today. install nixos :D
05:24nicolas17does the installer get a specific ipsw for the firmware or does it get 'the latest'?
05:24tpw_rulesboth and neither
05:25tpw_rulesthere is a fixed small set of ipsws, currently i think just 12.1 and 12.3
05:25tpw_rulesif you pick non-expert mode, it chooses the latest out of that list
05:27tpw_rulesanyway bye 4 real
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:30nicolas17I use it to scrape some iOS version stuff without downloading the actual ipsws
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:55chadmedoh thats annoying, firefox doesnt have DRM for aarch64
05:55Glanzmann has joined #asahi
05:55chadmedno apple music for now then i guess
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:01Glanzmannmps: Is it working for you?
06:01GlanzmannAnyone having jackoutput with the latest asahi branch on the air?
06:08zvzorun: ping
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:29Dcow[m]1I don't think it's ever will be the case. Is there any APIs at least?
06:29Dcow[m]1Don't think so
06:29DenverI dug into it for a while and found nothing.
06:29Dcow[m]1Try Spotify
06:29chadmedyeah i really want proper lossless
06:29Dcow[m]1it's really good
06:30chadmedi will never ever use or support spotify sorry
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:30chadmedapple music app via gnustep when :P
06:31Dcow[m]1there is Spotify HiFi rumors, that suggesting lossless someday
06:31chadmedtheyve confirmed it
06:31DenverYeah, I have an entire library of FLAC files that I use with Roon but for mobile, it's just so convient
06:31chadmedthey did a whole stupid ad campaign with billie eilish last year
06:32Dcow[m]1might be this year. would be graat
06:32chadmedits actually one of the reasons (a minor one albeit) i wont support them
06:32DenverI have been using Qobuz and it's great
06:33DenverJust wish I didn't have to pay for both Apple Music (through the plan) and Qobuz
06:33Dcow[m]1campaign or lack of support?
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:33chadmedbit of both really
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:34rqou_(17)" UserInfo={NSLocalizedDescription=pairing (17}}}"
06:35chadmedare you in 1TR?
06:35Denver has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
06:35rqou_afaict yes?
06:35beep-boop[m]Has Asahi modified the keyboard layout to be more mac like?
06:35rqou_i pressed and held the power button and then clicked Options
06:35chadmedhas that install got a username/password associated with it?
06:36rqou_both installs have a username/password
06:36rqou_which happen to be the same
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:39rqou_despite being supposedly permissive, running an ipad app still seems to work as well?
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:03rqou_i believe bputil -e still prints confusing/incorrect output though?
07:04rqou_aah yes, bputil -e appears to be broken, while bputil -d works
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:12chadmedi suppose they could extend that to support pages larger than 16k too, but not too sure
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:17soreardon't confuse hugepages (4K/2M/1G) with translation granules (4K/16K/64K)
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:25Ry_Darcy_<Dcow[m]1> Obviously the Debian installer. Used 120GB of disk space.
07:26Ry_Darcy_<EdwardVielmetti[m] Have not done any hardware changes/replacements.
07:26Dcow[m]1what about in the Debian install, not the asahi?
07:28Ry_Darcy_<Dcow[m]1> I do not understand your question.
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:29Ry_Darcy_I used this - asahi installer with debian root image
07:30aratuk has joined #asahi
07:30Dcow[m]1ok, it should be safer option. not sure what went wrong
07:30Misthios has quit [Quit: Misthios]
07:30Misthios has joined #asahi
07:31Dcow[m]1is booting to the recovery OS ?
07:32Dcow[m]1with press and hold on power
07:32Ry_Darcy_As stated earlier. No, the device is bricked (LED orange flashing).
07:32Dcow[m]1I hope you didn't lose value data
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:36sorearah. idk then
07:36Chainfirechadmed> is there a call that you know of for any app on macOS to do this pagesize change for itself?
07:39chadmedit happens in rosetta afaik
07:39povikGlanzmann: you have 'Jack Volume' muted in alsamixer
07:39aratuk has quit [Remote host closed the connection]
07:40povikerr, 'Jack Mixer Volume'
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:43chadmedim actually even using wayland right now
07:44mpspovik: is this ok
07:45povikyeah, i asked marcan for that
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:47Glanzmannpovik: Let me test.
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:49Glanzmannpovik: That fixed it for me.
07:50GlanzmannRy_Darcy_: What m1 device do you have?
07:50obrmao[m] has joined #asahi
07:51mpsmarcan: page sizes we are mostly talking here are not about MMU (hardware) but in software?
07:51Glanzmannmarcan: Any idea what went wrong for Ry_Darcy_?
07:51marcanGlanzmann: "use entire disk" type stuff maybe?
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:53marcanthat's actually the last machine i haven't tested on (my Max has that)
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:56marcanthere's no way for me to guess what went wrong here, without a reproducible test case
07:56Glanzmannmarcan: I see.
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:22Glanzmannpugguu[m]1: Run these commands as root: https://pbot.rmdir.de/gimjIyTMQm0rJ1anOdjREQ
08:22GlanzmannThis assumes you want testing (bookworm).
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:25Ry_Darcy_@Glanzmann M1 A2348, J2974 methinks.
08:26Glanzmannpugguu[m]1: Nope, testing is testing, sid is sid.
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:28Glanzmannpugguu[m]1: Sid is bleeding edge, testing is packages settled for a few weeks.
08:30GlanzmannRy_Darcy_: You mean you have a mac mini?
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:34Glanzmannpugguu[m]1: Welcome.
08:35pugguu[m]1And are there any new kernels to sort at the moment
08:36pugguu[m]1While I’m here
08:36Glanzmannpugguu[m]1: Yes. From this morning. I tested it on the air.
08:36Glanzmannpugguu[m]1: curl -sL tg.st/u/ksh | sudo bash
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:37Glanzmannpugguu[m]1: I also tested it on the mini.
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:46Glanzmannpugguu[m]1: The command for 1tr is: curl -sLO tg.st/ush; bash ush
08:46pugguu[m]1That’s got uboot too right
08:46Glanzmannpugguu[m]1: You don't have the m1n1 chainloading, do you?
08:46Glanzmannpugguu[m]1: That is boot object which contains m1n1 (stage 2 without rust); dtbs; u-boot, yes.
08:47Glanzmannpugguu[m]1: Than that is the right command for you.
08:47Glanzmannpugguu[m]1: Bleeding edge as of 3 hours ago.
08:47GlanzmannIncluding latest m1n1 changes.
08:48pugguu[m]1There’s supposed to be no output right…
08:49shenkiI was running 12.2 with m1n1 installed to a stub, and booting linux teathered
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:50shenkiand installed the efi env
08:50Glanzmannpugguu[m]1: For the curl not.
08:50shenkiwhen I boot after completing the install process, I get no output
08:50Glanzmannfor the bash ush
08:50Ry_Darcy_@Glanzmann Mac Mini 2020, yes. I have been in IT since 1977..
08:50GlanzmannIt will prompt you for your credentials.
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:50Glanzmannpugguu[m]1: Just runt he commands again.
08:50shenkiWhere should we write up bug reports like this?
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:51GlanzmannRy_Darcy_: Might it be possible that you hit the boot loop problem?
08:53Glanzmannpugguu[m]1: Sorry. Right command is curl -sLO tg.st/u/ush; cat ush
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:53GlanzmannIf your stub is not called 'Linux' you need to apply the last argument of kmutil.
08:53Ry_Darcy_Pardone revive.
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:54Glanzmannmarcan: What happens if users, just turn the m1 device on for step2.sh?
08:55Glanzmannmarcan: Will it result in a boot loop or will it prompt for a new boot device?
08:55Glanzmannpugguu[m]1: run 'mount' and find out the Volume name.
08:56nykma[m]1 has joined #asahi
08:56pugguu[m]1‘Debian Linux’ exactly like that
08:56Glanzmannpugguu[m]1: Than you need to adopt the kmutil line.
08:56pugguu[m]1Without the ‘ ofcourse
08:57Glanzmanneither vi ush and than run ush or cut & paste.
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:59Glanzmanncurl -sLO tg.st/u/ush
08:59pugguu[m]1Now how do I quit vi
08:59Ry_Darcy_That would be the second-last step, yes, everything as per your instructions.
08:59Glanzmannpugguu[m]1: ZZ
09:00Ry_Darcy_ has quit [Remote host closed the connection]
09:00GlanzmannRy_Darcy_: I'll try to reproduce it this evening.
09:00pugguu[m]1Not an editor command
09:00j`eypugguu[m]1: :q
09:04Ry_Darcy_ has joined #asahi
09:05pugguu[m]1Only one problem how do I edit file I vi lol
09:08j`eypugguu[m]1: use nano maybe
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:09j`eypugguu[m]1: oh
09:09pugguu[m]1Only one problem I forgot my username
09:11pugguu[m]1Figured it out yay
09:11GlanzmannRy_Darcy_: see giskard.
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:31marcannot bad :)
09:34j`eymarcan: aaaannnnd relax :)
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:36j`eymarcan: well after that heh
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:38marcanthe package repos are signed though
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:42marcanso we're already doing a bit better there :-)
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:44marcanso that's good :)
09:45marcangoing to call this one a success!
09:45coderush has joined #asahi
09:45chadmeda well-deserved one, congratulations
09:47kov has joined #asahi
09:47coderushTest 1-2-3, writing to #asahi from Asahi Linux installed on MBP13, most systems functional.
09:48marcancoderush: o/
09:49coderushBroken brightness control is kind of a bummer, and getting my network printer working was *fun*, but fairly smooth sailing otherwise.
09:51j`eybrightness control is part of quite a tricky component, unfortunately
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:52kode54is it possible to install it to an external thunderbolt drive?
09:52marcankode54: no, thunderbolt is not supported and even if it were the machines cannot natively boot from thunderbolt
09:52kode54or does the root need to live on the internal?
09:52kode54oh, damn
09:52j`eythe root can live off a USB drive though
09:53marcanyes, though the installer won't do that for you
09:53j`eyonly needing ~3GB on the internal disk
09:53kode54I stupidly couldn't wait and only had enough money for a 256GB drive
09:53marcanbut you could use UEFI mode and manually install to USB
09:53j`eykode54: yeah I have the 256G model too
09:53bisko has joined #asahi
09:53coderushAha, so it's all framebuffer now, no DCP yet. Heck, this software rendering is something else.
09:53marcanI know, right?
09:54marcanit's pretty good on M1, and on M1 Pro/Max it honestly screams
09:55j`eymarcan: maybe you wont bother with a GPU driver once you get the ultra
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:56jannaubrightness control and dpms are also not yet implemented in the dcp driver
09:56marcan(should be easy though)
09:56marcan(the latter, I mean)
09:57marcanmps: EFI partition, not stub partition (different things)
09:57jannauu-boot changes should be simple but depend on the devicetree bindings
09:58mpsmarcan: yes, right
09:58marcangood thing as I said is we can almost-atomically upgrade all of that in the packages now
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:58marcandammit I'm so glad I rushed chainloading in the other week
09:58j`eywe're also using that power off notifier chain patch which looks a bit stuck upstream
09:58marcanthis is going to make our lives so much easier
09:59marcancoderush: you were implicitly part of pushing me to do that by the way :)
09:59marcanj`ey: we no longer need it though
09:59kode54does anyone here know a trick
09:59marcanwith the new SMC approach
09:59jannauyes, chainloading makes adding dcp support much less of trouble. it also requires m1n1 changes
09:59j`eymarcan: oh?
09:59mpsmarcan: I didn't tested in last two months but iirc I had boot from usb with EFI internal partition
10:00marcanj`ey: that was for when we had a split PMU driver, but that's gone
10:00kode54so I can shove App Store crap on another drive and still have it register that they're installed
10:00marcanI'm leaving it in for now hoping it goes upstream
10:00kode54oops, wrong channel
10:00marcanbut if we get to the point of upstreaming SMC, I'll drop that dep
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:01coderushOtherwise it's one trip to 1TR per update.
10:01j`eymarcan: why leave it in the branch if we dont need it?
10:01mpsime what works is quite stable, didn't had serious problems in last 3 months
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:02mpsah, apple helps, interesting
10:02marcanj`ey: because it changes the API; if it does get merged then we don't need to change anything
10:02j`eymarcan: ohh ok
10:02marcanif it doesn't I have to port back to the old API
10:02coderushmps: I can not comment on this. :)
10:02mpscoderush: understand, I think ;)
10:02marcanApple helped by developing all this in the first place :)
10:03coderushI'm also on a leave of absense right now, so not representing Apple in any way, shape or form.
10:03marcanand also with kmutil raw mode in 12.1 and bless support in 12.3
10:03marcanI still maintain the former is 100% meant for us :)
10:03j`eycoderush: enjoying your time off so far?
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:05marcan(but Apple employees are obviously people too)
10:06svenhalf if the fun is reversing unknown hardware anyway ;)
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:06j`eysven: the other half is USB
10:06coderushIndeed, Apple Silicon and related stuff took a heavy toll on me, and now I'm enjoing every day off work.
10:06coderushAlso, marcan is right on all accounts.
10:07svenj`ey: you have a strange definition of fun then :p
10:07chadmedj`ey: is the fun working with the spec or making fun *of* it :P
10:07kode54does that USB target support USB A?
10:07kode54or do I need C
10:07j`eychadmed: haha
10:07svenmaking fun of the spec is just the trauma talking!
10:07j`eykode54: u_boot doesnt support USB A currently
10:07marcantrauma bonding over USB is a rite of passage for embedded engineers <3
10:07chadmedsven: the healing process begins with dialoge ;)
10:08chadmeddialogue*
10:08kode54guess I'll have to install it on the internal drive if I try it
10:08kode54since all my storage is thunderbolt and USB-A
10:08coderushmarcan: I've thanked the people responsible for kmutil and bless changes already.
10:08marcanthank you!
10:09Lucy[m]12 has joined #asahi
10:09svenspeaking of usb… let’s see if I can finish this atcphy stuff
10:10coderushHm, looks like something about wifi is somewhat off, seeing the disconnected/connected popup once every several minutes.
10:10coderushThe router is on the other side of the wall, so it's unlikely caused by a weak signal.
10:10marcanI think I've seen that, yeah
10:10marcanI think it's a bit flaky
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:11marcanpreviously my wifi testing was mostly "boot to a desktop and see if it connects" :)
10:11chadmedexcept of course the USB-IF
10:11coderushI did hoped for a stable firmware interface though
10:11mpscoderush: wifi works quite well for me
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:12marcanbut there's also some apple-specific things, and some details that might still be wrong
10:12marcanoh, you meant in general for AS macs?
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:13marcanby "weaker signal" do you mean like, bars?
10:13coderushWifi signal is also weaker than in macOS, so it's probably something to do with tunables not loaded properly.
10:13marcanbecause that is obviously up to OS interpretation
10:13marcanI'd be surprised by it really being weaker, since we do load the tunables!
10:13coderushNo, I mean like "wifi works in this corner in macOS, but not in Linux"
10:13marcanthat's one of the things I added
10:13marcanhuh, that's interesting
10:13marcanI wonder if macos sends some special command we don't
10:13marcanI definitely load all the same blobs macos does
10:14marcanguess I need to do some comparison testing then
10:14coderushProbably slightly different treshholds for disconnecting though
10:14marcangiven the sleep issues too, it's probably time to write a proper wifi tracer
10:14marcanand yeah, it might be setting-related too
10:14marcankinda hard to get a good picture of that without a tracer so I'll put that on my list
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:15marcanRy_Darcy_: oh, looks like you hit the Apple bug then
10:15marcanseveral people have reported that
10:15marcanthat's as 12.3 bug on some machines
10:15marcanyou need to explicitly DFU restore 12.2.1 to fix it
10:16Ry_Darcy_was/is bricked this morning. Will spend the next few hours with idevicerestore to try and revive things.
10:16marcanmake sure you download the 12.1.1 IPSW; 12.3 won't work
10:16marcanalso don't take it to an Apple Store because they're clueless and will just replace your motherboard
10:16marcana non-erase restore with 12.2.1 should fix it and you shouldn't lose data
10:16marcan(don't pass -e to idevicerestore)
10:16marcanand then just hold off on upgrading until Apple releases 12.3.1 and hopefully fixes this
10:17kode54does it even support USB 2 over the USB A ports?
10:17coderushThat's exactly the crap I'd like to have a stable (or at least, defined) FW IF for.
10:17marcanlinux does
10:17marcancoderush: heh, yeah
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:17Ry_Darcy_I presume this - UniversalMac_12.2.1_21D62_Restore.ipsw should work.
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:18marcanRy_Darcy_: correct!
10:19Ry_Darcy_I have never been in an apple shop. Sooner visit Kyiv/Kiev.
10:19enchiladasconpinguino[m] has joined #asahi
10:20marcanheh, I did get AppleCare for all my expensive machines just in case :)
10:20marcanthough honestly the only thing I see myself really blowing up so far is the speakers
10:20Ry_Darcy_I presume the Asahi installer will be happy with 12.1?
10:20marcanother than that these machines are extremely resilient
10:20sarah[m]Is your warranty void after installing linux?
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:20marcanI might revert that but I want to check the DCP API first
10:21marcanso I would suggest waiting a bit for now, sorry
10:21Ry_Darcy_That is a bit of a catch-22 in my case then.
10:21trevyn4[m] has joined #asahi
10:21coderushsarah[m]: No, running 3rd-party kernels is supported.
10:22jannaudcp seems to be stable from 12 beta to 12.3, at least the parts the linux driver uses
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:22marcanI just don't want to commit to supporting the 12.1 ABI right now, if it changed in 12.3
10:22bisko has joined #asahi
10:22marcanbut it doesn't matter for the current image
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:23marcanRy_Darcy_: oh also, you were using the debian installer fork thing?
10:23coderushEACS is also available in recoveryOS.
10:23marcan(Glanzmann's)
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:24giskardhow do i know if i'm using 12.1 or 12.3 ? (I mean in asahi)
10:24marcan(this isn't the official installer so it's not up to me)
10:24giskardalso thanks @marcan to make the installer be more explicit with the resize of the main disk
10:24marcangiskard: cat /boot/efi/asahi/SystemVersion.plist
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:25marcanLucy[m]12: TLP?
10:25Ry_Darcy_Asahi installer displays the OS release level in the menu.
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:26Lucy[m]12i see, thank you
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:27mpsiirc TLP is mostly for x86, though didn't tried on arm so don't know
10:27Ry_Darcy_@marcan Just using Thomas Glanzmann vanilla installer.
10:27marcanRy_Darcy_: yeah, he maintains the config file for that so he needs to make that change
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:29mpshmm, about week ago (when upgraded macos and stub) installer install 12.1 in stub
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:29marcanmkfs.vfat -i 2abf9f91 -F 32 <EFI partition device> should work for that (untested)
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:30marcanactually, you probably want to just use the ESP in NVMe if you're using Asahi images
10:30marcanotherwise m1n1 chainloading won't work properly
10:30mpsparted -s "$DISK" -- set 1 esp on > /dev/null
10:30rsettiI just checked SystemVersion.plist and im on 12.1 but I run the installer from 12.3, should I update something?
10:30marcanso skip the ESP on USB
10:30marcanand just copy the files onto the internal ESP; you can do that from macOS
10:30mps'1' is the part number
10:31marcanrsetti: was this a long time ago or in expert mode? the installer requires 12.3 in normal mode these days
10:31rsettirun that yesterday, following the ...soon to be released debian... default choice
10:31mpsI have ESP on usb disk from which boot rescue system
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:32marcanoh, Glanzmann already has 12.1 as supported, lol
10:32marcancoderush: yes
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:33marcannot with the automation I have in place
10:33marcanit has to do with partition UUIDs
10:34marcanlet me think about how to support that properly in the future
10:34rsettiFWIW it works fine so far, but I didn't do anything more than setting up the wifi and installing irssi
10:34marcanRy_Darcy_: so you should be able to install with 12.1 stub in expert mode
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:34marcanbut as I said I can't guarantee support for tha going forward, yet
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:34rsettiis there a way to update it or I need to re-install?
10:35marcanthere is no built-in way to update right now, sorry.
10:36rsettiit's ok let me do that now :) I'll go back being giskard
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:36marcanbut the UUID and PARTUUID will change if you do that
10:37marcanwe'll have an update option in the future but it's not done yet
10:37mpsmarcan: I think debian bootaa64.efi have some patches for not embeding boot partion
10:37enchiladasconpinguino[m]@mps: alpine script there looks great, will give this a try if not too outdated?
10:38giskardI'll be fine, it's not that it takes ages to re-install
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:40marcanmps: yeah, but I don't know how the *OS* identifies the EFI partitio
10:40marcan*partition
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:40mpsmarcan: OS?
10:40marcanas in /etc/fstab
10:41mpsyou mean how it mounts it when booted
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:42mps`blkid -s PARTUUID -o value -t LABEL="EFI - UEFI"` to find partuuid
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:44mpsso you can run this on x86_64 fine
10:44enchiladasconpinguino[m]cool I will try from alpine x86 laptop right now
10:45mpsenchiladasconpinguino[m]: iiuc you already use alpine?
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:46marcanRy_Darcy_: I'm talking about having enabled it by default already
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:47j`eyAdie[m]: it is, you might need to open disk utlity and run first aid
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:48Adie[m]Checked Asahi Linux APFS volume group with First Aid. No issues.
10:49marcanAdie[m]: what errors?
10:49marcanoh lol, "e.output"
10:49marcanokay, that's broken
10:49marcanlet me fix that
10:49marcannow we don't know what the problem is :')
10:50gsora[m]Hello everybody! Kudos for the alpha release :-)
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:51chadmedyeah you just nuke all the asahi-related partitions and start the installer
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:52gsora[m]Cool, I thought I had to do weird stuff with the 1tr config
10:52giskardyeah re-installed with 12.3 -- still amazing how nice it is
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:54mpsenchiladasconpinguino[m]: I will upload latest kernel, give me few minutes
10:54Ry_Darcy_ has quit [Remote host closed the connection]
10:54Adie[m]anything out of the ordinary?
10:55marcannot really, though Disk Utility is kind of useless for seeing what's really there
10:55marcanuse `diskutil list` from the command line
10:55marcanthe graphical Disk Utility is quite... buggy and lies about things sometimes
10:55Adie[m]marcan: yeah loves to freeze on my old 2011 iMac for some reason
10:56* darkapexis typing this from Asahi Linux on M1 :D
10:56coderushmarcan: on boot policy cleanup, I'll work on a bputil command for that when I'm back
10:56marcanthank you!
10:56marcancoderush: right now I just dump out all APFS VGIDs plus the hardcoded recovery ones, and delete everything else
10:57marcanit's... a bit brute force
10:57coderushmarcan: the library already supports it since forever
10:57marcanbut useful for devs
10:57mpsenchiladasconpinguino[m]: you have to adapt script for this
10:57marcancoderush: also I assume that will work with SIP enabled
10:57marcanright now the cleanup needs 1TR or SIP off to be able to do that
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:58marcanthey don't really hurt
10:58enchiladasconpinguino[m]mps: thanks! changing the file paths a bit shouldn't be too hard, will try this
10:58gsora[m]Oh okay! Thank you
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:59coderushAlso, please don't install more than 20 OSes in parallel
10:59gsora[m]Oddly specific
10:59mpsenchiladasconpinguino[m]: not sure will 12.3 work
10:59marcanah right, was there a cap? :-)
10:59marcanI don't think I ever quite hit 20
10:59marcanI've definitely had 10 though
10:59kameks has quit [Ping timeout: 480 seconds]
10:59mpsI didn't tested
10:59coderushBecause of the nature of BootPolicy, updating it will be slow enough for ACM contexts to expire mid-update
10:59gsora[m]What the hell
10:59marcanlove me some corner cases :)
11:00coderushSorry, I blame myself for this crap.
11:00giskardbtw what's the issue with emacs?
11:00mpsenchiladasconpinguino[m]: iirc marcan told that 12.3 is not yet ready
11:00marcanwe're supporting 12.3 exclusively in the release
11:00mpsmarcan: 12.3 in stub
11:00gsora[m]Y’all devs deserve patreon subs, love what you’re doing
11:00marcan12.3 in the stub, yes
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:01marcanno, you never need to downgrade anything, even if we *were* using 12.1
11:01marcanthe installer just requires a minimum macOS version
11:01mpsif marcan says it is ok then it is *ok* :)
11:01luca020400 has joined #asahi
11:01coderushWhich would be so much fun on SEP side I can't ever imagine
11:01coderushAnd some people working on AppleKeyStore would likely just beat me to death for it
11:02marcanAdie[m]: can you paste `diskutil list`?
11:02Adie[m]paste the output here?
11:03marcanideally in a pastebin
11:03marcanor take a screenshot
11:04marcanok, `sudo -i` to root and run `curl -L https://alx.sh/wipe-linux | sh`
11:04marcanyou might get some permission denied errors at the end, that's the boot policy cleanup failing
11:04marcanyou can ignore that at this point
11:04marcannow try the installer again, it should actually show the failure properly
11:04Adie[m]output logs, just in case
11:05marcanyeah, that's normal
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:12marcanwait, still e.output?
11:12Adie[m]seems to be diskutil misbehaving??
11:12Adie[m]yeah still e.output
11:12j`eyCDN not updated?
11:12marcanuhh, /latest files shouldn't be cached
11:13marcanAdie[m]: scroll up, what version number did you get?
11:13marcanwait I'm dumb
11:14marcanyeah, old
11:14Adie[m]should i run the wipe command again?
11:14gsora[m]I will never cease to mad at Apple for how sucky OS updates are
11:14GlanzmannCy8aer[m]: I already did that.
11:14marcanAdie[m]: yeah, and try the installer again, it should say v0.3.4. don't bother continuing if it doesn't.
11:15marcanok, not sure what happened earlier
11:15marcantry now then
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:17kode54I should have listened when it said the stock image was KDE
11:17kode54I found out the hard way that Gnome is not functional
11:18marcanas a KDE user, I have quite an appreciation for just how well it works on weird systems :-)
11:18j`eykode54: how so? kov is using gnome i think
11:19kode54I simply got spinning cursor attempting to launch Gnome Terminal
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:19Glanzmannmarcan: I droped the 12.1 from the Debian forked asahi installer.
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:20marcanweird, no actual error? maybe stderr didn't get captured?
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:20marcancan you try running the printred diskutil command manually?
11:20marcanand see what it says
11:20Ry_Darcy__idevicerestore
11:21GlanzmannRy_Darcy__: No, it won't.
11:21coderushWith paired recoveryOSes also using SEP-signed policies since 12.0, every OS installation uses 2 SEP-signed policy files.
11:21Adie[m]i'll give it a shot
11:21Ry_Darcy__Relieved. Thank you.
11:21marcanGlanzmann: it will since he won't be able to install using it any more
11:21marcanthat's why I asked you to enable it as a one-off in another URL
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:22marcanAdie[m]: well... that's weird
11:22marcan`echo $?`
11:22marcanI'm guessing that returns 1
11:22marcanoh, remove "quiet"
11:22Adie[m] * oh ofc
11:22BitcoinCandyWarrior has joined #asahi
11:22Glanzmannmarcan: Might it not be better to update to macos 12.3 and than reinstall debian?
11:22marcanGlanzmann: he can't update to 12.3
11:22marcan12.3 does not boot on his machine
11:22marcanthat's why it "bricked"
11:22Glanzmannmarcan: Ah, thank you.
11:22coderushThis design looks stupid, but it's a result of security-performance trade-off taking the security side.
11:23GlanzmannRy_Darcy__: I put it back.
11:23Adie[m]Weird. I gave it 15.4 gb.
11:23marcanAdie[m]: I suspected this might happen
11:23Adie[m]and OSX has plenty of space
11:23marcancan you upload /tmp/asahi-installer/installer.log somewhere?
11:23GlanzmannRy_Darcy__: Done.
11:23marcanit's probably rounding error
11:23j`eycoderush: and as you said, most users will not end up with more than 1, maybe 2 installs!
11:23Ry_Darcy__Danke Thomas.
11:23BitcoinCandyWarriorIs the MiniLED stuff supported?
11:23riker77 has quit [Quit: Quitting IRC - gone for good...]
11:23Glanzmannmarcan: Is this one of this mysterios 'locked' machines?
11:24marcanGlanzmann: it's an iBoot bug or something
11:24marcanhappens on some machines
11:24Glanzmannmarcan: Ah, the bug we were reading about. I see.
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:25marcanAdie[m]: can you also pastebin `diskutil list -plist` and `diskutil apfs list -plist`?
11:25marcanI need to add more logging...
11:25enchiladasconpinguino[m]yup gotcha, I think I've mostly updated it
11:26mpsenchiladasconpinguino[m]: macho container will not work with 12.1 and up stub
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:26marcanjust run the wiper again and install one more time
11:26Adie[m]"Pastebin’s SMART filters have detected potentially offensive or questionable content in your paste.
11:26Adie[m]This paste can only be published with the visibility set to "Private"."
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:26marcanlol. seriously.
11:26GlanzmannAdie[m]: tg.st/p
11:26marcanyeah, use a different pastebin
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:27mpss/is/if/
11:27Adie[m]and the other ^^
11:27PaterTemporalis has joined #asahi
11:27marcanAdie[m]: thanks!
11:28Cy8aer[m]> Cy8aer: I already did that.
11:28Cy8aer[m]Ah, sorry, thanks
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:28Adie[m]marcan: sure thing!
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:29marcanit's just something with adding up partition sizes wrong to fill available space
11:29GlanzmannAnd by adopting I mean copy the installer.tar.gz to my webserver.
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:30coderushSo the only way to run anything but system rOS on it is to get it activated again.
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:31marcannot really, by design
11:31coderushEnabled as in "lock is engaged"?
11:31j`eyI suppose?
11:31WhyNotHugoWhat user is created with the minimal install?
11:31coderushNot really without also providing iCloud credentials.
11:32marcanWhyNotHugo: root/root and alarm/alarm
11:32WhyNotHugoI followed these instructions, picked minimal install: https://asahilinux.org/2022/03/asahi-linux-alpha-release/
11:32coderushOr getting the machine into Device Enrollment if it used that instead.
11:32svenj`ey: that's kinda the point, otherwise people could steal the machine and just sell it on ebay
11:32j`eysven: I get it, just sad for that person!
11:33sventhey could contact the ebay seller to figure it out
11:33WhyNotHugomarcan: Oh, thanks!
11:33WhyNotHugoI guess that's an archArm thing and I only checked the arch wiki :P
11:33marcanit's mentioned in the article you linked too :p
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:37marcanpacman updates should cover everything!
11:38marcanactually, there's one thing
11:38marcanpacman update and install `asahi-meta` and `asahi-desktop-meta`
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:39marcanmostly for things like 3D libraries and sound-related configs
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:39kode54will do next time I'm booted into it
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:40marcanI'm sure folks can handle that though :-)
11:41gsora[m]okay so I have those two containers, i should delete disk3 to uninstall debian right?
11:41marcanyou need to delete more than that
11:41nykma[m]1 has left #asahi [#asahi]
11:41marcanthe graphical diskutil cannot delete non-Mac partitions properly
11:41marcanyou should use the command line
11:41WhyNotHugomarcan: BTW, the setup experience is super smooth and polished! :)
11:41marcanglad to hear that!
11:42coderushWhyNotHugo: both MDM and MobileActivation daemons are not running anywhere but in macOS.
11:42gsora[m]hm, let me check diskutil list
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:42marcanI don't really want people to run that script indiscriminately, it's very brute force
11:43gsora[m]thanks for the link! i'll give it a read
11:43marcanit's just convenient for developers, e.g. I keep using it and reinstalling
11:43gsora[m]oh wow yeah it's definitely brute-force
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:43marcanotherwise the boot policy cleanup won't work
11:44gsora[m]hoping it'll be just one reinstall for now :P thanks for the heads-up
11:44eroux has joined #asahi
11:44coderushplease don't disable SIP, if you have other options :)
11:44gsora[m]if I have the option not to do that, I won't
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:44gsora[m]SIP is great :D
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:45gsora[m]thanks for your efforts on the openbsd side, kettenis
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:47coderushmarcan: boot argument filtering is documented somewhat, AFAIK
11:47OleBergen[m] has joined #asahi
11:47chadmedkettenis: re video playback, 4k60 youtube actually plays back buttery smooth heh
11:47chadmedthe machine doesnt even get (that) hot
11:47gsora[m]just like my intel mac /s
11:48chadmedmy a1708 just turns off if i try to play anything above 1080p30
11:48marcancoderush: the bputil side is, but not the csrutil one that is needed to actually let you set a custom boot-args
11:48chadmedive been meaning to replace the battery, but theres really no point anymore
11:48marcanthere is a kernel-side whitelist to making changes there
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:49pho[m]Congrats on the release, everyone :)
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:52j`eyOleBergen[m]: correct
11:53mpsenchiladasconpinguino[m]: https://arvanta.net/alpine/install-alpine-riscv64-qemu-uboot/ this is guide for riscv64 in qemu but could help somewhat
11:53mpsenchiladasconpinguino[m]: will be afk for some time
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:55coderushgsora[m]: it's expected
11:55coderushThe out UUID is for a fallback system recoveryOS
11:56gsora[m]what about disk0s5? the partition name makes it sound like you should not delete it
11:56coderushThat is almost impossible to get created if you aren't using macOS 11.x
11:57gsora[m]this is a 14" mbp, 11.x is a no-go
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:01gsora[m]ah wait, wtf, disk0s3 -> disk0s5 for eraseVolume? ok lol
12:02chadmed has quit [Remote host closed the connection]
12:02marcangsora[m]: don't delete recovery
12:02gsora[m]Yeah didn’t delete it
12:02marcanbut how would the second command yield that?
12:02marcanit greps for asahi|linux|EFI
12:03gsora[m]but this is the state of my disk0 now: https://pastebin.com/3bm9xBvY
12:03marcanthat's correct
12:03marcanthat is what you want
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:04gsora[m]the outcome is what i just presented
12:04gsora[m]weird, but i'll take the w
12:04j`eydisk0s4 is EFI and disk0s5 was Linux, so that makes sense?
12:04marcanthat's correct, I just don't understand why you're saying the script would've deleted the recovery partition too?
12:04marcanthat one is disk0s6
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:05j`eyenchiladasconpinguino[m]: just untar it!
12:06enchiladasconpinguino[m]I can pull a .tar with firmware from the uefi stub?
12:06j`eyyeah, it should be there
12:07gsora[m]Marcan: the numering in diskutil list made it seems s5 was recovery
12:07Ry_Darcy_ has joined #asahi
12:07marcanI think you cropped off part of that paste
12:07marcanthat was the previous partition
12:07marcandisk0s5 is linux
12:08marcanbut somehow the paste ends after the recovery partition type
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:09mpsenchiladasconpinguino[m]: it is in vendorfw/firmware.tar
12:09threerik[m]threerik[m]: (talking about the native display on the 14" and 16", not external)
12:10j`eyenchiladasconpinguino[m]: yep
12:10mpsenchiladasconpinguino[m]: yes, just untar it
12:10gsora[m]marcan: that’s a possibility yes. Well never mind, it’s surely error on my side
12:10gsora[m]What’s important is that I didn’t fsck up anything more than needed lol
12:10gsora[m]Thanks again
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:22mpsenchiladasconpinguino[m]: \o/
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:23mpsenchiladasconpinguino[m]: to some degree, used it once to install on n900
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:24mpsand u-boot, m1n1 etc maintainer
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:29mps'13:25 ... enchiladasconpinguino[m]| oh awesome', yes I use awesome wm ;)
12:29enchiladasconpinguino[m]maybe that is too soon idk, might stay edge?
12:30mpsit is to early to have asahi in alpine stable I think
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:30mpsbut you are free to prove me wrong
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:33mpsand you reminded me, have to upgrade kernel for alpine now
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:36mpsenchiladasconpinguino[m]: yes, but arch is not musl based ;p
12:44mpswell, I would rephrase ncopa as 'musgnu linux' because we use gcc as primary compiler
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:13gsora[m]live from asahi! yay!
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:16j`eyenchiladasconpinguino[m]: yes
13:16j`eyenchiladasconpinguino[m]: assuming a new enough qemu
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:21mpsyou are lucky, Natanael added patches to qemu to work on M1 (on my request)
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:39rikkaamps: qemu master branch or 6.2 stable ?
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:44rikkaaqemu 6.2 not work, I will build qemu form source.
13:49MajorBiscuit has joined #asahi
13:50mpsrikkaa: qemu 6.2.0 with patches
13:51rikkaamps: where is patches
13:51mpstpw_rules: I see, thanks. but I don't think alpine is ready to be added there, yet
13:52kode54I have displayport working .... using an HDMI to DisplayPort active cable lol
13:53rikkaamps: Thank you!
13:53tpw_rulesmps: that's fair. just didn't want you to be left out
13:53mpstpw_rules: thank you for care
13:54kode54maybe you can get this right where macos doesn't
13:54kode54when you get DP working
13:54kode54support Variable Refresh Rate
13:54kode54and actually make the setting stick across reboots
13:54kode54macOS Monterey added the setting, but it either doesn't work, or it just forgets to reset it on reboot
13:55mpstpw_rules: though alpine is easy as enchiladasconpinguino[m] demonstrated
13:55ah-[m]is there a good way of upgrading an old manual asahi installation to the alpha setup?
13:56mpsah-[m]: ?
13:57mpsyou mean from Arch to alpine?
13:57psykoseto the installer version
13:58mpsah-[m]: sorry, I misread
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
13:58mpsI read 'alpha' as 'alpine'
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:05j`eyreboot should work
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:08j`eyit's worked for a while
14:08enchiladasconpinguino[m]hrmm then probably alpine specific issue..
14:09mpsenchiladasconpinguino[m]: reboot works fine
14:09mpsin alpine I mean
14:10mpsand poweroff ofc
14:11mpsenchiladasconpinguino[m]: I'm using asahi with alpine as my primary workstation for nearly 4 months
14:11zorunnice job about the release!
14:11mpsenchiladasconpinguino[m]: what is your machine?
14:12mpsj`ey: you use alpine also? or just tested it
14:12j`eyim running alpine, but not as a daily driver
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:28marcanthere's no project email per se
14:28marcanI'm marcan@marcan.st
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:48jannaujoshtau: does the screen comes back after pressing "brighter"/F2?
14:50joshtauyes! it does. no idea why i didn't think of that first. thanks so much!
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:53mpsenchiladasconpinguino[m]: you use kernel I posted?
14:54Chainfirejannau> the guy from the bugreport dropped it due to lack of interest and time
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.
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:03jannauAQUANTIA is the 10GB ethernet in the mac mini and studio
15:04mpsjannau: thanks, will add it now and rebuild kernel
15:04mpsbut I heard there are two ethernets in mini, is that right?
15:04Ry_Darcy_ has quit [Remote host closed the connection]
15:04mpss/right/true/
15:06jannauit has 1GB thernet with and a 10GB ethernet option
15:06mpssame driver?
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:07jannaumps: no, 1GB is CONFIG_TIGON3, 10GB is CONFIG_AQTION
15:08mpsjannau: ah, I remember now, and because that I have CONFIG_TIGON3=m
15:08mpsdidn't know that aquantia also needed
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:09mpsenchiladasconpinguino[m]: uploading, will be soon on the url with same file name
15:10tpw_rulesrikkaa: xfce works on the 4K kernel
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:10tpw_rulesit just takes an hour at least
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:13tpw_rulesalmost all software does. just some big important names don't
15:13j`eyenchiladasconpinguino[m]: most software supports 16k
15:13enchiladasconpinguino[m]no chrome, no electron, no games ..
15:14j`eythat's why the option for a 4k kernel is there too ;)
15:14tpw_rulesthat's just chrome twice, and they did it to themselves
15:14mpsenchiladasconpinguino[m]: you use btrfs? I don't know anyone who does ;)
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:15pirokoyeah just don't RAID it
15:15pirokolesson learned thanks to my synology NAS -_-
15:16rikkaatpw_rules: oh! thank you! I will try 4k
15:16mpsI mostly use f2fs on everything, but most of my machines are with e/mmc
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:18mpsenchiladasconpinguino[m]: kernel is uploaded
15:18vmeson has quit [Quit: Konversation terminated!]
15:20tpw_rules(and you used the version of nixpkgs in the iso)
15:21enchiladasconpinguino[m]mps: I can safely just re-extract tarball over root?
15:21mpsenchiladasconpinguino[m]: yes
15:22mpsI did every day few times
15:22rikkaatpw_rules: I updated nix-channel
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:22mpsenchiladasconpinguino[m]: I can add btrfs, do you know which options are needed
15:23rikkaatpw_rules: I switch to 4k, thank you
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:35mpsCONFIG_BTRFS_FS_POSIX_ACL?
15:38enchiladasconpinguino[m]that one is optional, but doesn't hurt afaik `CONFIG_BTRFS_FS_POSIX_ACL=y`
15:40mpsenchiladasconpinguino[m]: uploaded, though with CONFIG_BTRFS_FS=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:45j`eyRy_Darcy_: can you get into recovery mode?
15:46Ry_Darcy_Yes, and then?
15:46j`eywell I was just wondering if it was bricked again
15:46j`eywhy not wipe the new partitions and try the official installer?
15:46Ry_Darcy_No, I have recovered to 12.1...
15:48Ry_Darcy_In recovery mode, I have three menu items - I) Macintosh HD ii) Debian iii) Options.
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:51Ry_Darcy_A prereq for the Asahi installer is 12.3 which for obvious reasons is a no-go for me.
15:51bisko has quit [Ping timeout: 480 seconds]
15:51j`eyif you use expert mode, you can use 12.
15:52bisko has joined #asahi
15:52Ry_Darcy_Will give it a whirl and report back - soon hopefully...
15:53marvin24 has quit [Ping timeout: 480 seconds]
15:54Nspace has quit []
15:54bdju_ has quit [Quit: Reconnecting]
15:55bdju has joined #asahi
15:55Ry_Darcy_I prefer Debian anyway... but..
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
15:58Ry_Darcy_How to message?
15:58Glanzmannyou can also send me an email thomas at glanzmann dot de
15:59Ry_Darcy_sean at jdcassidy dot eu
16:04rikkaatpw_rules: xfce scale not work (black screen) do you do the same?
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:05tpw_rulesrikkaa: sorry, i'm on a mac mini, so i don't use the scale settings
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:07Ry_Darcy_Nothing has been replaced on my M1 (2020). The 12.3 bricked the machine nevertheless.
16:07rikkaatpw_rules: I just for scale to use xfce
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:10tpw_rulesthat's why i said he has to be patient
16:11tpw_rules(also he just said he didn't)
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:13Ry_Darcy_Patience is not one of my virtues.
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:14tpw_rulesmaybe it was just a random fluke then?
16:14Ry_Darcy_@Thomas G. E-Mail unterwegs.
16:14tpw_rulesGlanzmann is Thomas G's nick here
16:15Ry_Darcy_Not sure, doze and apple hate me. Penguins and Mainframes love me.
16:15Ry_Darcy_Fair enough. Thanks.
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]10G appears to work :)
16:26svenpretty sure the logic board thing is just a wrong debugging conclusion
16:27svenit’s more likely some bug in iboot that only happens on a small subset
16:27Ry_Darcy_My case would seem to confirm that... unfortunately.
16:27tpw_rulesi mean have you tried again?
16:27Ry_Darcy_Tried what?
16:27tpw_rulesto install 12.3
16:28tpw_rulesbe a scientist :)
16:28mattebullet[m] has joined #asahi
16:28Ry_Darcy_No. I spent most of the afternoon reverting to 12.1. This is or was the weekend... :)
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:33GlanzmannRy_Darcy_: Got your email. Can I give you a call?
16:33mpsenchiladasconpinguino[m]: fine, thanks for info
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:35svenuhhhh…
16:35GlanzmannYou don't see anything because the mini has problems with the hdmi.
16:35Glanzmannsven: Do you agree or is something wrong with my reasoning?
16:35svendidn’t he have to DFU restore back to 12.1?
16:36mpsdo we need SND_SOC_TAS571X in kernel?
16:36svenhe couldn’t even get into recovery when 12.3 was installed iirc
16:36Glanzmannmps: To my knowledge only CONFIG_SND_SOC_TAS2770.
16:36sventhat very much sounds like that 12.3 bug
16:36kameks has quit [Ping timeout: 480 seconds]
16:36Glanzmannsven: But now he reproduced his problem with 12.1
16:37GlanzmannCan you install a 12.3 stub with a 12.1 macos?
16:37svenbut he can still access recovery now
16:37xeq has joined #asahi
16:38Glanzmannsven: Okay, let me try to repeat his symptoms.
16:38svenno idea
16:38sventhe reason the installer requires 12.3 mainly is because bloss started to work there
16:39Glanzmannsven: What is bloss?
16:39mpsGlanzmann: I asked because you have it in your config
16:39GlanzmannOh, I see.
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:40mpsGlanzmann: thought so
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:42Ry_Darcy_Yes, until the options screen appeared and a good five seconds after that.
16:42GlanzmannDid you then select debian?
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:45GlanzmannI'll not try to reproduce your issue.
16:49Glanzmannj`ey / marcan / kettenis / jannau: Is there also a fix for the 4tb issue?
16:49tpw_rulesGlanzmann: yes, it's been fixed as of a couple hours ago
16:50GlanzmannThan I'll rebuild debian.
16:50tpw_rulesthere is a patch to u-boot
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:52Glanzmannarnidg[m]: the ext4, esp and 2.5GB one.
16:53Glanzmannarnidg[m]: Do you delete from Linux or Macos?
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:54Glanzmannarnidg[m]: This remove all partitions. Than re-run the installer.
16:54arnidg[m]Will my MacOS install be safe?
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:57Glanzmannnyanpasu64: The audio jack works.
16:57marcanlol, I just noticed the OS sizing bug, it wasn't a rounding issue
16:58marcanit's just broken
16:58marcanfixing...
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?
16:59Glanzmannsandornagy[m]: It will not boot.
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:00jannaunyanpasu64: speaker DSP from asahi-audio are for now macbook pro 14/16" only
17:00Glanzmannsandornagy[m]: Someone earlier said he write a guid for gedore.
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:01Glanzmannjannau: Air works as well if you modify the dtb, but you probably know that.
17:01tpw_rulestry it out, i am interested to see if any other software is broken. firefox and xorg seem to work
17:02gsora[m]The amount of stuff that’s using jemalloc is… bigger than I expected
17:02tpw_ruleseither not too much seems to use it on nixos, or nixos's build servers run on 64K pages
17:02jannauGlanzmann: there is no DSP config for the air in https://github.com/chadmed/asahi-audio
17:02tpw_rulesi'd expect more to be broken too, but i haven't figured out why it's not
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:03Glanzmannjannau: I see, but the speakers in general work, I heard it with my own ears.
17:04jannausure but that was not asked
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:04Glanzmannjannau: Oh, I see.
17:07marcanAdie[m]: that dumb partitioning bug should be fixed
17:07marcanI thought it'd something more subtle, but it was off by 2.5GB... :-)
17:07nyanpasu64is it safe to use speakers without dsp?
17:09Glanzmannnyanpasu64: I don't think so, but povik knows for sure.
17:10jannaunot related to the DSP, it's most likely possible to destroy the speaker with too loud audio
17:10Glanzmannnyanpasu64: In short don't do it.
17:11mpsmarcan: why is jack removed in kernel commit 895419184a2edef280ec9f8b8fadfd68c70e8790
17:11raizo[m] has joined #asahi
17:12mps- {"Jack Mixer Volume", "63"},
17:12marcanthat's not removed, it's added
17:12marcanthat line was hiding the jack control
17:13marcanpovik asked me to change that because people were stuck at 100% volume
17:13mpsok, why hiding it
17:13Glanzmannmarcan: Ah.
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:13Glanzmannmarcan: Yep, I had that with pulse/aslsa as well.
17:13mpsmarcan: ok, thanks. I will try to revert and see
17:15marcanwhy woul you revert?
17:15marcanjust turn it up
17:22mpsmarcan: I don't see it in alsamix or amixer
17:22rikkaatpw_rules: wow! I will update later
17:22mpsalsamixer*
17:26mpsis there UCM file for macadio somewhere?
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:38doggkruseI'm assuming 2 of these are macOS stubs I don't need?
17:38___nick___ has quit []
17:39doggkrusetpw_rules: any ide which two? :D
17:39doggkrusethey all look identicle
17:40tpw_rulesprobably the one with the lowest partition number is the real one
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:41tpw_rulesfrankly i would blow all three away and then retry a fourth time
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:42doggkruseGlanzmann: that will wipe all including the valid install correct?
17:43Quinten has joined #asahi
17:43Glanzmanndoggkruse: Yes.
17:43Glanzmanndoggkruse: But if you just want to kill the invalid once.
17:43Glanzmanndoggkruse: Than paste me the output of 'diskutil list' to tg.st/p
17:44GlanzmannAnd than tell me which is the invalid one and I give you the commands to wipe the others.
17:44Glanzmanndoggkruse: Or when you're under LInux, do 'parted /dev/nvme0n1 print' and paste that.
17:44doggkruseyeah, I don't know which one is invalid :D
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:46tpw_rulesdue to snapshots
17:46doggkruseinteresting, I didn't make the connection between snapshots and the linux partition, I was thinking that applied to the mac partition
17:47tpw_rulesmaybe we are talking about different things then
17:47doggkruseI'll wipe my install and go through it again... with some screenshots to confirm
17:47doggkrusesince I need to clean up anyway
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:48doggkrusebut may be moot since I'm going to wipe it
17:49tpw_rulesoh hm, it didn't get far enough to create the non-stub partitions
17:49tpw_rulesthen do diskutil apfs deleteContainer disk0s4 and disk0s5
17:49tpw_rulesdisk0s3 should be the real one
17:49Glanzmanndoggkruse: I'm pretty sure that the last one is the active.
17:49Glanzmanntpw_rules: I think disk0s5.
17:50doggkrusetpw_rules: yeah, didn't get past the stub since it failed to download from apple
17:50Glanzmanntpw_rules: Because the installer adds the stub first.
17:50tpw_rulesoh, that is a good point
17:51mpsGlanzmann: what is name of the knob
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:52tpw_rulescan you name a site?
17:52Lazurus has quit [Quit: Leaving]
17:52tpw_rulesyoutube works fine on my nixos install in firefox, but i don't think that uses h264
17:52Quintenany website, even youtube
17:53Quintenbuffer is loaded, but it just shows the spinning wheel
17:53Quintenwhen I click on the timeline it does show that specific frame
17:53tpw_rulesyeah i picked some random video and it's using vp9
17:53Quintenyeah yt uses vp9 but it doesn´t work either
17:53marcanthat's an audio issue
17:53mpsGlanzmann: I see just mixer
17:54marcanopen pavucontrol and toggle the audio device profile to input only and back to input+output
17:54marcannot entirely sure what causes that
17:54marcan(cc povik)
17:54mpsmarcan: I'm using plain alsa, not pusleaudio
17:54marcanI'm talking to Quinten
17:54mpsmarcan: sorry then
17:55Quintenright, do I have to restart FF?
17:55Glanzmannmps press f6
17:55marcanyou shouldn't
17:55Quintennevermind, works w/o restart too, thank you!
17:55marcanfor me that immediately unborks youtube
17:55mpsGlanzmann: above image is with pulseaudio running?
17:56GlanzmannLLL,ps: yes
17:56mpsGlanzmann: without PA there is only one card
17:56mpsnothing to select
17:56mpsbecause it is default
17:58Quinten has quit [Quit: Page closed]
17:59mpsGlanzmann: I have `default:0 MacBook Pro J293 integrated audio`
17:59Quinten has joined #asahi
18:00Glanzmannmps That is the right one and there is no jack mixer when you scroll to the right?
18:00GlanzmannCan you send a screenshot of a full screen xterm?
18:00Glanzmannof alsamixer
18:01mpsno, left one is just 'Mixer'
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:01mpsQuinten: this works for me
18:03svencan you show us your dmesg output?
18:05mpsGlanzmann: this is how alsamixer looks with speakers disabled
18:06QuintenHaving pulseaudio open during playback and before I plug my headphones in fixes it lmao
18:07mpsGlanzmann: `amixer | tpaste` => https://tpaste.us/DBL0 this gives more info
18:09Quinten has quit [Quit: Page closed]
18:12Glanzmannmps: Is this with the normal device tree or the one were you enabled the speakers?
18:12Glanzmannmps: I can't see the audio jack control.
18:12doggkruse has quit [Quit: Textual IRC Client: www.textualapp.com]
18:13mpsGlanzmann: I wrote above, without speakers enabled
18:14GlanzmannI see. Than you have to ask povik.
18:14mpsbut yesterday also didn't saw 'Jack Mixer' with speakers enabled
18:14GlanzmannBecause your controls look completly different from mine.
18:14Glanzmannmps: It might be that is only on some models, or you need to clean your also config.
18:14mpsGlanzmann: aha, lets look diffs in dts
18:15mps313 is air?
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:17doggkruseI read the "min" option to be free up the minimum required for Asahi
18:17doggkrusewhen in reality it means "shrink macOS as much as possible"
18:18doggkrusehelps to read the instructions in detail
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:22mpsGlanzmann: ^
18:23Glanzmann00e23945f258f06ed0cb0dd9ea44272cbdfc7346
18:23mpsdon't see anything different in dts
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:27beacon[m]hey guys, can I ask a question here
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:28doggkrusecan linux mount the mac partition or vice versa?
19:28GlanzmannFedora boots ..
19:28beacon[m]I keep getting the "preboot folder path [path] doesn't exist couldn't set bless data..." error
19:29nicolas17doggkruse: I suppose you could make another FAT32 internal partition :P
19:29j`eydoggkruse: macos can read vfat, so you stash stuff on the EFI partition
19:30nicolas17also, you can read the mac partition from linux, but I don't think you can write yet
19:30doggkrusenicolas17: Read is still very helpful
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:33mpsnicolas17: this is interesting, how is possible to read APFS from linux?
19:34mpsor something else?
19:34nicolas17apfs-fuse has been around for a while, I have used it to get binaries out of iOS ipsw files
19:35nicolas17oh the one you linked seems to be *another* implementation
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:38mpsI'm busy to build proper alpine dev pkg but I have this in mind
19:38mpssilverocean[m]: you have to fix this in u-boot .config
19:38creechy has quit [Ping timeout: 480 seconds]
19:39* nicolas17has no M1, is lurking here out of curiosity
19:39Glanzmannbeacon[m]: What did you do to get this error?
19:39mpsand build your local u-boot
19:39Glanzmannbeacon[m]: Which macos version do you have?
19:39silverocean[m]mps: ooh, I see! let me give this a try
19:39Glanzmannbeacon[m]: What m1 device do you have?
19:39mpssilverocean[m]: this delay is sometimes useful, imo
19:39doggkrusenicolas17: Yeah, I'm assuming none of these support the apfs encryption?
19:40silverocean[m]silverocean[m]: is it expected for `saveenv` to be unavailable?
19:40beacon[m]Glanzmann: did the curl command, partitioned and chose the asahi linux desktop.
19:40beacon[m]Glanzmann: m1 air
19:40nicolas17doggkruse: right, dealing with encryption needs dealing with the SEP too
19:40mpssilverocean[m]: no, it don't have persistent storage to save envs
19:40silverocean[m]mps: presumably if i need the delay, I can always boot into macOS and turn it back on
19:40doggkruseah, that makes sense!
19:40beacon[m]macos version 12.3
19:40silverocean[m]ah, that explains it! thanks
19:40Glanzmannbeacon[m]: I see, so when do you get that error?
19:41silverocean[m]mps: thank you!
19:41beacon[m]Glanzmann: after extracting root.img into partition
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:42Glanzmannbeacon[m]: Can you paste the complete installer output to tg.st/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:42Glanzmannbeacon[m]: So bless selects the boot volume.
19:42Glanzmannbeacon[m]: Can you also paste the output sw_ver ?
19:43nicolas17how fast is the full boot atm? from power off to Plasma login?
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:45j`eyhellosway[m]: you can use pacman to install/uninstall packages
19:45mpsnicolas17: https://tg.st/u/boot-alpine-m1.mp4 you can get approx time from this old test video
19:45mpsnicolas17: I created it about month ago
19:46hellosway[m]j`ey: I know, but is there a way to install it from scratch with a tarball
19:47Glanzmannbeacon[m]: Have you already tried to wipe everything and run the installer again?
19:47hellosway[m]I can create a tarball with systemd-boot, but I cant find docs to install manually
19:47Glanzmannbeacon[m]: Do you have filevault?
19:47Glanzmannbeacon[m]: Are you running the installer from 1tr or from macos?
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:47beacon[m]Glanzmann: wdym 1tr
19:48beacon[m]oh one true uh no from macos
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:48nicolas17and no I don't think it's documented as a guide
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:49beacon[m]k cool thank you
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:53tpw_rulesftr systemd-boot works fine under nixos
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?
19:59j`eywith a USB BT adapter
19:59j`eyor over ssh :P
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:01j`eyUSB BT might Just Work
20:01itisyeetimetoday[m] has joined #asahi
20:02j`eyQuixote[m]: you need those specific versions?
20:02itisyeetimetoday[m]I just wanted to ask, is it possible to install asahi on a external SSD?
20:02j`eyQuixote[m]: kernel headers should be backwards compatible
20:02j`eyitisyeetimetoday[m]: not fully, you still need 3GB of stuff on the internal nvme
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:03j`eyitisyeetimetoday[m]: not yet
20:03j`eyQuixote[m]: I think that should just work with the normal linux headers package
20:03itisyeetimetoday[m]Also, I don't see an unofficial install guide for Ubuntu, has anyone installed ubuntu yet?
20:04GlanzmannQuixote[m]: Are you running Debian?
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:05GlanzmannYou're welcome.
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: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:10tpw_ruleshere. can you explain a bit more?
20:10csd123 has quit [Remote host closed the connection]
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:12tpw_ruleswhat is the bug?
20:12tpw_rulesno, because you have time machine snapshots
20:12tpw_rulesOS upgrades can create them even if you've never turned on time machine
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:24Mayel[m] has joined #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:25Mayel[m]👋 Anyone installed Alpine with Asahi yet?
20:26tpw_rulesMayel[m]: mps has been working on that
20:26* j`eyhas alpine on his m1 too
20:28csd123 has joined #asahi
20:29Mayel[m]Thanks, any issues to be aware of?
20:31j`eynot really
20:31kreechy has quit [Ping timeout: 480 seconds]
20:32mpsMayel[m]: today one user (enchiladasconpinguino[m]) installed alpine
20:32mpswith yesterday alpha release announce looks like I have finally to write guide for installing alpine
20:33j`eyMayel[m]: the main thing is setting up the boot flow now
20:33idaadi[m]if i try a reinstall , should i use that script to cleanup policies or not really needed ?
20:33j`eyMayel[m]: and the kernel
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:33mpsI had a hope that I will have to write guide and scripts in May
20:33hellosway[m]and dont have to do that
20:34Mayel[m]Cool, I'll keep an eye out for the guide when ready then :)
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:37mpsMayel[m]: today I made linux-asahi kernel apk (ugly but works fine)
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:38mpsI will ask Glanzmann tomorrow to explain at which point to stop in asahi installer
20:38hello9999901[m]what could be the possible cause?
20:38nicolas17hello9999901[m]: how much free space do you have now?
20:39j`eymps: dont you just pick the UEFI option in the installer?
20:39hello9999901[m]nicolas17: 619 gbs
20:39mpsj`ey: I forgot, but think yes
20:39hello9999901[m]nicolas17 that should be way more than enough right
20:40kreechy has joined #asahi
20:40GlanzmannFedora users: https://tg.st/u/m1-fedora.mp4 > curl tg.st/d | sh
20:40GlanzmannI'm setting up a wiki page.
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:41mpsbut I'm now drinking red wine with friends, so I'm somewhat 'out-of-the-task'
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:45Glanzmannmps: Its like all my other videos, just with Fedora this time. :-)
20:46mpsGlanzmann: I guess so, but thanks for confirming
20:46nicolas17may want to add that -L :)
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:53Glanzmannmrguppy02[m]: It might be that the kernel config option is missing.
20:53Glanzmannmrguppy02[m]: I had for very long time that not included in the linux kernel.
20:53Glanzmannfor debian.
20:53GlanzmannOnly fixed it 2 days ago.
20:53tpw_rulesi'm pretty sure mrguppy02[m] is talking about xattr under macos
20:53tpw_rulesyou are on 12.3, right/
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:55Glanzmannbeacon[m]: Damn it.
20:55Glanzmannbeacon[m]: Same error message?
20:57j`eymrguppy02[m]: why are you sure it's the -x?
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:59j`eycan you try run that command manually?
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:59mpsnyanpasu64: no, limited by apple boot system
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: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:04gsora[m]I wonder if uefi is a necessity for some reason or we could boot directly off uboot
21:04mrguppy02[m]I need to find and try to understand what causes my -x issue
21:04j`eygsora[m]: you can
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:05gsora[m]So as soon as uboot is available it’s standard then
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:05j`eyAdwyzzOLEDEdition[m]: we can, Im doing it (booting the kernel from u-boot)
21:05AdwyzzOLEDEdition[m]theres no reason to try skipping u-boot
21:06j`eyAdwyzzOLEDEdition[m]: skip grub they meant, not skip u-boot
21:06mpsgsora[m]: create extlinux/extlinux.conf on ESP, thats all
21:07j`eyand you can skip uboot too, with chainloading
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:07gsora[m]Without grub
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:07j`eyAdwyzzOLEDEdition[m]: exactly
21:07___nick___ has quit [Ping timeout: 480 seconds]
21:08mpsgsora[m]: with extlinux.conf (boot.scr) you don't need grub
21:08AdwyzzOLEDEdition[m]nyanpasu64: i just spend hours lurking and reading wikis
21:08gsora[m]mps: Yeah, and that’s cool af
21:08gsora[m]essentially once you get off m1n1 it’s like a common arm sbc, except for drivers ofc
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:09mpsgsora[m]: I boot with this for long, few days ago switched back to grub again
21:09* Glanzmannhits bed. n8
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:09mpsGlanzmann: sleep well
21:09bluetail[m]going to sleep too
21:09Glanzmannmps: Thanks, you too. n8.
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:11gsora[m]j`ey: I wonder what would it be honestly
21:11Quixote[m]* headers but I thinl doesnt work., * is 20220310-12131 .
21:11j`eygsora[m]: what do you mean?
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:13gsora[m]j`ey: I can’t imagine what feature might need uefi explicitly
21:13gsora[m]tpw_rules: M1n1 does that right?
21:13tpw_rulesgsora[m]: yes, m1n1 loads and modifies the device tree
21:13j`eygsora[m]: ^ PSCI sleep, cores off
21:14gsora[m]tpw_rules: ah I see
21:14gsora[m]Well one less thing do do with uboot I guess
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:14gsora[m]j`ey: Ah alright!
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:20j`eyQuixote[m]: did you try install the headers from Glanzmann's deb anyway/
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:30j`eymrguppy02[m]: so what does: which xattr show?
21:30j`eynicolas17: they work if you use a 4k kernel, which asahi isnt "officially" shipping yet
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:31j`eywhat was the error?
21:31mrguppy02[m]if I run a terminal with sudo xattr -x it brings me to the -h page
21:31nicolas17j`ey: ah right, I suppose building your own 4k kernel is still an option :)
21:31mrguppy02[m]if I run a terminal with /usr/bin/xattr it's fine
21:31tpw_rulesmrguppy02[m]: what do you get if you do `which xattr1?
21:31tpw_ruless/1/`/ sorry
21:31mrguppy02[m]and if I ask the terminal where xattr is it only points me to /usr/bin and a xattr1
21:31gsora[m]Hoping jemalloc patch will ne upstreamed soon
21:31gsora[m]It’s a deal breaker for sure
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:33gsora[m]AdwyzzOLEDEdition[m]: Me neither, it’s absurd
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:33gsora[m]Is jemalloc that much better lmao
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:34j`eySamHep0803[m]: you should make an issue and attach the logs
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]hey guys, does anyone know why this is happening
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:49j`eybeacon[m]: make a github issue and include the full logs
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:13mpsgot APFS mounted with linux
22:21msteffen has joined #asahi
22:26nicolas17mps: cool, what did you use?
22:27mpsnicolas17: build linux-apfs-rw, insmod and ` mount -o cknodes,vol=3 /dev/nvme0n1p2 /mnt/`
22:28mpsI don't understand macos volumes so I just 'throw dice' :)
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:31mpsnicolas17: I can read some random files but don't dare to write anything
22:31nicolas17but at least I had better luck reporting the bug to go-apfs
22:32mpswill create APFS on usb disk and test if write works
22:33jeffmiw has joined #asahi
22:34nicolas17... wait, linux-apfs-rw is a kernel driver? I thought it was fuse too!
22:34mpsnicolas17: yes, kernel driver
22:43jelly has quit [Remote host closed the connection]
22:45dantedrac[m] has joined #asahi
22:48jelly has joined #asahi
22:52povikmps: you were on the right track with diffing the dts to explain different controls
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:52povikj313 is missing sound-name-prefix = "Jack"; in jack_codec
22:52povikthat's why your controls are named differently, without the jack prefix, but other than that they are the same
22:53povik(it's not intentional)
22:53mpspovik: you mean j293 missing Jack prefix
22:53gsora[m]Wait, so sound works but it’s not included in alpha?
22:53povikyeah, right
22:53povikj293 i meant
22:54mpspovik: jack doesn't work when speakers are enabled?
22:54mpsat least I can't get it when speakers are enabled
22:54povikas i said, it's should, it just moves to hw:0,1 which lot of userspace ignores by default
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:55povikmps: what about, ehm, speaker-test -D hw:0,1 when both are enabled?
22:55mpspovik: sounds complicated to use
22:55povikwell it's not done
22:55povikwe are missing UCM among other things
22:56povikthe kernel side should work though
22:56mpsok, will test tomorrow
22:56mpstoo late is now
22:56kreechy has quit [Ping timeout: 480 seconds]
22:57mpspovik: thanks for explanation
22:57gsora[m]nicolas17: Ah this is why the asahi-audio repo asks you to leave speakers at -60
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"
22:58povikmps: no problem, let me know any issues you come across
22:58mpspovik: sure
22:58gsora[m]Lol yeah makes sense to have them disabled right now
22:59mpssome of us fried speakers with drivers on some other machines, someone even melted plastic
23:01bgentil[m] has joined #asahi
23:04gsora[m]What the hell, really?
23:05gsora[m]I know earbuds can literally fry and blow up, but not due to bad drivers…
23:05gsora[m](Not bad as in “badly written” mind you, just in their infancy)
23:06mpsgsora[m]: I did it on rk3399 chromebook and m a r c a n did on older chromebook also
23:06kreechy has joined #asahi
23:06psykosew i d e m a r c a n
23:06psykosei still chuckle at that
23:06mpsbecause drivers didn't had limited power output
23:07nicolas17psykose: marcan
23:07mpspsykose: write 'm p s'
23:07nicolas17(fullwidth)
23:07mpshah, good, not highlighted
23:08gsora[m]Ahhh right rk chromebooks we’re a thing
23:09mpsI usually used n_ick when don't like to highlight someone
23:09povikany clues to the 'audio causes stuck video playback' issue would be helpful
23:09povikespecially if there's something in the kernel log
23:09mpspovik: didn't had this
23:09povikhaven't seen that myself (since very early admac driver)
23:10nicolas17mp​s: what about this :P
23:10mpsnicolas17: ah, teach me the 'trick'
23:10psykosezerowidth space
23:11psykoseyou copy it from somewhere
23:11psykoseand just paste it in the middle
23:11psykosebetween the letters
23:11psykoseunicode rendering will just not have it
23:11mpspovik: I had stuck video earlier (in October/November) with usb audio card
23:12nicolas17my IRC client has Insert -> Special Character that lets me search the whole unicode... still not particularly convenient for this though :P
23:12psykoseif you look at it in like.. busybox vi it will still show up
23:12gsora[m]Trick is: don’t use a bouncer
23:12_aliceactually, the characters themselves are zero-width
23:12mpspovik: not related to macadio driver
23:12gsora[m]There, spurious highlight solved :v
23:12_alicelike this: marcan
23:13nicolas17_alice: that's something else
23:13nicolas17I sent "mp<zero width space>s: what about this"
23:13_aliceoh i see
23:14psykoseheh, even a tty renders the zw space fine for me
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:22mpsAdwyzzOLEDEdition[m]: I use dmix in asoundrc, so nothing bloks
23:22mpsblocks*
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:42gsora[m]Yeah I read wrong, libunwind and emacs have patches ready
23:42nicolas17the alpha release blog post mentions patches sent to fix the 16K issue, and jemalloc isn't listed as 'patch sent'
23:43j`eythere isn't a patch for that, but you can build jemalloc with a flag..
23:43j`eyjemalloc doesnt seem to want to make ita runtime thing
23:44gsora[m]So a custom jemalloc PKGBUILD could fix this issue?
23:46M0x8FF[m]how can i make macOS the default boot option?
23:46M0x8FF[m]just from the boot picker / recoveryOS?
23:47j`eyI think recoveryOS has a startup disk application?
23:48tpw_rulesyou can also hold the option key in the boot picker and the "Continue" button will change to "Always Use"
23:48tpw_rulesi only learned that from the release post lol
23:59clover[m]i was hoping to be able to run chromium inside of docker but that doesnt seem to work either
…