<kov>
rust build bare metal macos: 0:19:53 | bare metal linux 4k page size: 0:31:23 (cc j`ey gsora[m])
<kov>
now to figure out why my 16k kernel is going into a blank screen
<kov>
^ that's on the Air, it's slower than the Mini, clearly throttling, both with the default configuration and with the C/C++ bits built with clang
<j`ey>
19 -> 31 :|
goodmatty[m] has joined #asahi
axenntio has joined #asahi
axenntio has quit [Ping timeout: 480 seconds]
kameks has quit [Ping timeout: 480 seconds]
axenntio has joined #asahi
<GavinPacini[m]>
Hi all, enjoying playing with Asahi Linux at the moment. Just wondering if anyone has tested libvirt with some debian VMs? I don't see why it wouldn't work, but then I'm not sure if there are any virtualization extensions working on this CPU yet. Thanks!
GavinPacini[m] is now known as GavinP[m]
axenntio has quit [Ping timeout: 480 seconds]
kylealanhale has joined #asahi
kameks has joined #asahi
Bennett[m] has joined #asahi
<Bennett[m]>
Hey, I just installed Asahi on my 14" MacBook Pro, worked like a charm, great job to all involved. This being labeled as an alpha, I was expecting more things to break. On Twitter I saw multiple people having to delete local Time Machine snapshots and saw the reference to a script in the Asahi GitHub repo that seems to manually call rm and stuff. As an alternative, there is the `tmutil` utility that not only can list all snapshots via `tmutil
<Bennett[m]>
listlocalsnapshots /`, but can also delete individual ones by date `tmutil deletelocalsnapshots $DATE` or all at once by specifying / (root mount) instead of a date. Maybe the release announcement could be updated with an additional FAQ question/answer?
linearcannon has joined #asahi
nico_32 has quit [Remote host closed the connection]
nico_32 has joined #asahi
Zianther has joined #asahi
aratuk has joined #asahi
Zianther has left #asahi [Leaving]
axenntio has joined #asahi
<GavinP[m]>
As an update on my virtualization question, I'm currently going through the installation of an aarch64 Debian buster VM using KVM and libvirt, let's see
<GavinP[m]>
Seems to be running fine
axenntio has quit [Ping timeout: 480 seconds]
<aratuk>
mps: Did you mount the primary APFS partition on your machine? From the description, it sounds like it defaults to mounting read-only, which means there should be no risk of corruption, right? I'm trying to get it to compile right now.
phiologe has joined #asahi
PhilippvK has quit [Ping timeout: 480 seconds]
<opticron>
hmm, I'm guessing there isn't a trivial way to enable sound to test other than editign the dts, compiling to dtb, and generating a new boot.bin
<opticron>
lol, I could be horrible and edit the binary directly to stuff okay\0 into the string
axenntio has joined #asahi
<opticron>
maybe I'll poke that tomorrow afternoon
marvin24_ has joined #asahi
roxfan has quit [Ping timeout: 480 seconds]
<GavinP[m]>
I am wondering if KVM is fully using my CPUs though. Debian is up and running fine, a bit sluggish. `lscpu` obviously reports back nothing on 'Virtualization'. I'm a bit new to Virtualization on Linux so appreciate any input. Would more work be required to take advantage of some extra virtualization technology the M1 chips have? Or are we already as far as we can go here
<GavinP[m]>
* go here?
marvin24 has quit [Ping timeout: 480 seconds]
riker77_ has joined #asahi
axenntio has quit [Ping timeout: 480 seconds]
riker77 has quit [Ping timeout: 480 seconds]
riker77_ is now known as riker77
rikkaa has joined #asahi
axenntio has joined #asahi
<opticron>
harumph, no configuration options to select pro in pavuctl, must be missing something
axenntio has quit [Ping timeout: 480 seconds]
RevHelix has quit [Quit: No Ping reply in 180 seconds.]
RevHelix has joined #asahi
chadmed has joined #asahi
kov has quit [Quit: Coyote finally caught me]
PhilippvK has joined #asahi
kov has joined #asahi
phiologe has quit [Ping timeout: 480 seconds]
axenntio has joined #asahi
dougall has quit [Server closed connection]
dougall has joined #asahi
axenntio has quit [Ping timeout: 480 seconds]
lethalbit has quit [Server closed connection]
lethalbit has joined #asahi
duckworld has quit [Server closed connection]
Namidairo has quit [Server closed connection]
Namidairo has joined #asahi
riatre has quit [Server closed connection]
riatre has joined #asahi
nyuhu has quit [Remote host closed the connection]
kameks has quit [Ping timeout: 480 seconds]
nyuhu has joined #asahi
axenntio has joined #asahi
pphilipss has quit [Quit: Deuces!]
pphilipss has joined #asahi
axenntio has quit [Ping timeout: 480 seconds]
ChaosPrincess has quit [Server closed connection]
ChaosPrincess has joined #asahi
amw has quit [Server closed connection]
amw has joined #asahi
_whitelogger has joined #asahi
creechy has joined #asahi
ou1[m] has joined #asahi
zyroklarryfish[m] has joined #asahi
ou1[m] has left #asahi [#asahi]
roxfan has joined #asahi
robinp has quit [Server closed connection]
robinp has joined #asahi
kylealanhale has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kylealanhale has joined #asahi
axenntio has joined #asahi
kylealanhale has quit [Ping timeout: 480 seconds]
axenntio has quit [Ping timeout: 480 seconds]
marvin24 has joined #asahi
marvin24_ has quit [Ping timeout: 480 seconds]
rikkaa has quit [Quit: Connection closed for inactivity]
creechy has quit [Ping timeout: 480 seconds]
axenntio has joined #asahi
axenntio has quit [Ping timeout: 480 seconds]
pphilipss has quit [Ping timeout: 480 seconds]
creechy has joined #asahi
<enchiladasconpinguino[m]>
GavinP: kvm with qemu is working, but afaict libvirt is still broken for m1s
<enchiladasconpinguino[m]>
whatever I do, I can't seem to get libvirt to use kvm .. always falls back to qemu tcg
<enchiladasconpinguino[m]>
if I manually change the config xml and override for kvm, it just crashes libvirt
PaterTemporalis has quit [Ping timeout: 480 seconds]
creechy has quit [Ping timeout: 480 seconds]
<enchiladasconpinguino[m]>
re: linux-apfs-rw, please everyone be careful using that! its not stable yet
<enchiladasconpinguino[m]>
I strongly suggest only use apfs-fuse for now
<_alice>
i was able to get libvirt working, but i had to compile qemu from git for the "Reduced-IPA space and highmem fixes" patches that aren't in a released version of qemu yet
<_alice>
i grabbed the qemu-git PKGBUILD from AUR and modified it drop x86_64 build dependencies (diffing against the qemu PKGBUILD from ALARM) and after that just installing virt-manager and friends just worked
<enchiladasconpinguino[m]>
_alice: I've got `qemu -accel kvm` working with those patches yup, but libvirt still crashes :/
<enchiladasconpinguino[m]>
you have `domain=kvm` in the xml config for the VM, that works?
creechy has quit [Ping timeout: 480 seconds]
axenntio has quit [Ping timeout: 480 seconds]
axenntio has joined #asahi
axenntio has quit [Ping timeout: 480 seconds]
Ry_Darcy has quit [Remote host closed the connection]
<_alice>
enchiladasconpinguino[m]: oh, you're right, the xml has `type=qemu` in it now… and my previously-compiled qemu from git doesn't work anymore
<_alice>
it dies with `KVM is not supported for this guest CPU type` and `kvm_init_vcpu: kvm_arch_init_vcpu failed (0): Invalid argument`
<kode54>
I didn't know that you need to run wipe-linux before reinstalling macOS on the main system volume
<_alice>
oh, adding `-cpu host` makes it not bail with that error
alexandruchi[m] has joined #asahi
<kode54>
if I don't, it reinstalls from my boot media, but then when it gets to creating a new user, it sits there for like 10 minutes, then says the account name is unavailable
<Glanzmann>
j`ey: Is wifi merged?
axenntio has joined #asahi
creechy has quit [Ping timeout: 480 seconds]
axenntio has quit [Ping timeout: 480 seconds]
creechy has joined #asahi
<Chainfire>
axboe> Regardless of if that method was known or not, it's not committed so downstream isn't building it and is thus irrelevant. I'm not going to let perfect be the enemy of good. That being said, I am working on the dynamic patch as well. That will break on 64kb kernels, though, some more assistance from the Mark @ Chromium is needed there I think. (MacOS going 64kb would also break it, and I think PPC 64kb is already broken)
creechy has quit [Ping timeout: 480 seconds]
Ry_Darcy has joined #asahi
<kode54>
cool
<kode54>
erasing the Mac made it erase the Asahi boot partition, but not the actual Linux partition
axenntio has joined #asahi
<kode54>
Glanzmann: if I still have the EFI and the Linux filesystem, can I just install the m1n1 + UEFI mode?
guillaume_g has joined #asahi
notjbl[m] has joined #asahi
<enchiladasconpinguino[m]>
_alice: this should work for you with all the latest patches / kernel
<_alice>
enchiladasconpinguino[m]: yeah, i just tried basically that, and it /does/ boot with `-accel kvm`, but sometimes it crashes with "Synchronous Exception at 0x6628" and similar messages.
<_alice>
i think there might be some API incompatibility between qemu-7.x from git and libvirt, but not entirely sure
<jannau>
Glanzmann: USB is also missing upstream, we haven''t added it yet to the devicetree since the reconnect fix is missing
axenntio has joined #asahi
MajorBiscuit has joined #asahi
<sven>
I’ll likely wait with usb and upstream it together with atcphy because there might be more fun interactions fwiw
Major_Biscuit has joined #asahi
<gsora[m]>
<kov> "rust build bare metal macos: 0:1..." <- Damn that’s *a lot*
Roos[m] has left #asahi [#asahi]
ptitSeb[m] has joined #asahi
axenntio has quit [Ping timeout: 480 seconds]
roxfan has quit [Ping timeout: 480 seconds]
MajorBiscuit has quit [Ping timeout: 480 seconds]
creechy has joined #asahi
creechy has quit [Ping timeout: 480 seconds]
<hectour[m]>
I saw that it will eventually be possible to have secure boot for Linux on Apple Silicon. Would full verified boot also be possible in the future? What about memory tagging extensions once Armv9 comes out? Would be great to have a machine where Linux can make use of most hardware security fratures
<hectour[m]>
s/most/great/, s/fratures/features/
creechy has joined #asahi
axenntio has joined #asahi
creechy has quit [Ping timeout: 480 seconds]
axenntio has quit [Ping timeout: 480 seconds]
<mps>
aratuk: I don't know much about macos and about APFS (except it is somewhat modified ZFS or similar to it)
<mps>
aratuk: as I wrote, I just wanted to test does linux-apfs-rw build and how it works
<mps>
btw, this pkg is already packaged as AKMS (Alpine D-KMS) in alpine linux
<mps>
re: qemu on M1, qemu in alpine linux edge works fine for two month now
<mps>
and in general about 'safe' running linux (asahi) on m1, it is not 'safe' because there are some problems, it is not polished yet
<mps>
devices could be damaged, filesystems could be trashed, machines could become un-bootable etc etc
<mps>
but all that could happen with stable kernels on other machines and not only m1
<mps>
we don't live in perfect and safe world as we never lived and never will live
pbrobinson has joined #asahi
<mps>
saying all that I'm using m1 as daily driver with asahi for 4 months now, didn't had any serious problem
<mps>
and that is not because I'm smart or knowledgeable but because asahi developers are smart, careful and knowledgeable. thank you all
creechy has joined #asahi
Krutonium[m] has joined #asahi
eroux has joined #asahi
axenntio has joined #asahi
creechy has quit [Ping timeout: 480 seconds]
axenntio has quit [Ping timeout: 480 seconds]
creechy has joined #asahi
giskard has joined #asahi
creechy has quit [Ping timeout: 480 seconds]
<enchiladasconpinguino[m]>
alpine edge on m1 mini so far very stable :)
<enchiladasconpinguino[m]>
typing this from the machine, xfce desktop
ciggi has quit [Read error: Connection reset by peer]
<gsora[m]>
i think i'm gonna attempt openbsd today
ciggi has joined #asahi
eroux has quit [Ping timeout: 480 seconds]
<enchiladasconpinguino[m]>
in theory m1 is among the fastest machine that can run openbsd, thanks to no smt issues
axenntio has joined #asahi
creechy has joined #asahi
<gsora[m]>
how cool is that, an arm64 laptop with openbsd and good hardware
<gsora[m]>
a dream!
Ry_Darcy_ has joined #asahi
creechy has quit [Ping timeout: 480 seconds]
<mps>
gsora[m]: afaik you can run openbsd on some arm64 chromebooks
<enchiladasconpinguino[m]>
pinebook pro as well iirc
axenntio has quit [Ping timeout: 480 seconds]
<enchiladasconpinguino[m]>
3-5% of the computing power of m1 ..
<mps>
enchiladasconpinguino[m]: I have old rk3399 samsung chromebook, it is quite good and fast enough to work with it and even build complicated programs, limitation is 4GB RAM
<enchiladasconpinguino[m]>
rk3399 is actually not bad, true
<enchiladasconpinguino[m]>
I have the rock64 board with that one I think
<mps>
actually I'm using arm machines as workstations for about 6-7 years
<enchiladasconpinguino[m]>
pcie mostly works on the rockchips too! unlike most other arm sbcs
<mps>
enchiladasconpinguino[m]: yes
axenntio has joined #asahi
<gsora[m]>
mps: avant-garde
<gsora[m]>
i like your style :D
<mps>
gsora[m]: :)
<enchiladasconpinguino[m]>
mps: any experience with the macchiatobin board?
<enchiladasconpinguino[m]>
I'm tempted since that one has ECC
<mps>
enchiladasconpinguino[m]: no, my experience is mostly with allwinner, some tegra, mediatek and rockchip
<mps>
end exynos
<enchiladasconpinguino[m]>
rpi, allwinner, rockchip here
noebr[m] has joined #asahi
EvadingEvasions[m] has joined #asahi
<gsora[m]>
i had a brief encounter with an espressobin
<gsora[m]>
they were... fine
<EvadingEvasions[m]>
Uh quick question.
<EvadingEvasions[m]>
Will I get bricked?
<j`ey>
unlikely
<enchiladasconpinguino[m]>
gsora: "fine" isn't what I'd hope for given the price .. :p
<EvadingEvasions[m]>
In the middle of the installation, talked to society, they said I might get bricked.
<mps>
though in last 10-15 years my work shifted from hardware to service, database and financial software. I do harwdware (and low level software) only when have free time and as hobby
<gsora[m]>
addmittedly, espressobin costs around 100 euros
<EvadingEvasions[m]>
EvadingEvasions[m]: this anyone?
<enchiladasconpinguino[m]>
EvadingEvasions: the most dangerous part is the partition resizing
<EvadingEvasions[m]>
enchiladasconpinguino[m]: I'm past that.
<enchiladasconpinguino[m]>
machine might lock up for a few minutes
<EvadingEvasions[m]>
Yeah that's done.
<EvadingEvasions[m]>
So I'm good? continue installing?
<EvadingEvasions[m]>
It's extracting right now(takes a lifetime). I'm in the clear right?
<EvadingEvasions[m]>
There's no necessity to back up my data or yes?
<enchiladasconpinguino[m]>
always always back up your data!
<EvadingEvasions[m]>
Shoot
<EvadingEvasions[m]>
All that matters is my projects folder.
<EvadingEvasions[m]>
It's safe on github.
<EvadingEvasions[m]>
Aside from that yeah I'm fine with it getting wiped.
<enchiladasconpinguino[m]>
the installer was designed to install alongside macos, that is the preferred setup in fact
<enchiladasconpinguino[m]>
but this is alpha software, use at your own risk etc etc
<EvadingEvasions[m]>
enchiladasconpinguino[m]: Using that only.
<EvadingEvasions[m]>
But no bricking right?
<j`ey>
no
<EvadingEvasions[m]>
I'm fine with data getting wiped but not fine with the laptop not being usable anymore.
<enchiladasconpinguino[m]>
truly bricking an m1 is quite difficult
<enchiladasconpinguino[m]>
but things are much easier to recover if you own a second mac
<EvadingEvasions[m]>
Good thing.
<enchiladasconpinguino[m]>
for DFU restore
<EvadingEvasions[m]>
I own 2 macs.
<EvadingEvasions[m]>
A ~2015 Catalina and this.
<EvadingEvasions[m]>
2020 MBP M1
<enchiladasconpinguino[m]>
make sure you have "apple configurator 2" installed, its a free app from apple in the app store
<enchiladasconpinguino[m]>
on your second mac that is
<EvadingEvasions[m]>
Ah ok.
<enchiladasconpinguino[m]>
that is the worse case scenario, you can restore fully a bricked m1 just like you would a messed up iphone
<EvadingEvasions[m]>
Anyone got a successful install?
<enchiladasconpinguino[m]>
same exact DFU restore process nearly
<EvadingEvasions[m]>
How long does it usually take?
<EvadingEvasions[m]>
For me it's slowly going through ` Extracting root.img into disk0s6 partition... `
<mps>
enchiladasconpinguino[m]: do you have some/any or improvement for script to install alpine on usb
<ptitSeb[m]>
I got it installed yesterday on a 2020 MBP M1, but don't let it go to sleep mode while extracting... It frooze the process for me
<EvadingEvasions[m]>
I'll caffeinate it.
<ptitSeb[m]>
and then I add to remove all the partitions to start again
<EvadingEvasions[m]>
ptitSeb: How long was that?
<enchiladasconpinguino[m]>
ptitSeb: just saw your latest blog post, gonna give box64 on m1 a try here soon :)
<EvadingEvasions[m]>
In hours? How long should I caffeinate the mac?
<ptitSeb[m]>
it took a long time to extract
<EvadingEvasions[m]>
Yeah same with me.
<EvadingEvasions[m]>
But long time won't cut it, any rough estimation?
<ptitSeb[m]>
don't remember the exact time, as I was doing other things, but I think at least 20min, maybe 30min
<ptitSeb[m]>
enchiladasconpinguino: yes, I need more people trying it :)
<EvadingEvasions[m]>
ptitSeb[m]: It's been ~30 minutes for me and it's at 40%.
<LuEvers[m]>
yo guys, did anyone of you have problems with tun devices (openvpn)?
axenntio has quit [Quit: leaving]
<enchiladasconpinguino[m]>
Lu Evers: might need to manually load the module?
<EvadingEvasions[m]>
Should take at least 100 minutes at max.
<enchiladasconpinguino[m]>
ptitSeb: box64 supports musl yes? anything to be aware of for alpine?
<LuEvers[m]>
it connects.. i think just an issue on my side
<enchiladasconpinguino[m]>
mps: my changes to the script so far were quite trivial! just updated the filepaths to the latest you have published
<enchiladasconpinguino[m]>
I'm going to do a clean install again tomorrow, with another approach
<ptitSeb[m]>
I don't know if it support musl
<ptitSeb[m]>
box64 wrap all those libc stuff. Probably, but not sure
creechy has joined #asahi
<enchiladasconpinguino[m]>
I will test from both arch and alpine
<ptitSeb[m]>
it may fail to compile on some the signal structure, maybe
<enchiladasconpinguino[m]>
yeah .. some glibc specific weirdnesses most likely snuck in somewhere I would think..
<enchiladasconpinguino[m]>
16k pages does work tho?
<enchiladasconpinguino[m]>
that's what I remember reading at least
<ptitSeb[m]>
even if it build, you might have some issue with the x86_64 stuff you are running after that, as they will use musl too
<ptitSeb[m]>
yeah, 16k page works
<enchiladasconpinguino[m]>
yeah would only be testing x86_64 musl binaries in that case
<ptitSeb[m]>
use the "M1" setting on box64
<enchiladasconpinguino[m]>
yup I see that is now a build target :)
<ptitSeb[m]>
(I still need to add an entry on the COMPILE.md for M1)
<mps>
enchiladasconpinguino[m]: ok, thanks
<Chainfire>
Any way to get UI scaling to work? Using System Settings -> Display Configuration -> Global Scale doesn't seem to do anything
<enchiladasconpinguino[m]>
mps: here is what I plan on trying next:
<enchiladasconpinguino[m]>
assuming that the VM on USB then reboots successfully with "5.17-asahi", will then boot that USB bare metal
<enchiladasconpinguino[m]>
going to do a clean install of standard-aarch64.iso to a physical USB disk from inside QEMU VM, then apply your kernel on top
<enchiladasconpinguino[m]>
then as long as you don't let `apk upgrade` overwrite with generic kernel again, should work
creechy has quit [Ping timeout: 480 seconds]
Ry_Darcy_ has quit [Quit: Page closed]
Ry_Darcy has quit [Remote host closed the connection]
Ry_Darcy has joined #asahi
<mps>
enchiladasconpinguino[m]: actually I did similar thing to test usb boot with grub, i.e. run qemu with usb flash as root device, installled alpine with setup-alpine and added kernel
<gsora[m]>
Chainfire: did you log out and in again?
<gsora[m]>
on plasma, that's the only way I know to make scaling work
<mps>
enchiladasconpinguino[m]: I uploaded asahi kernel as apk on dev.a.o/m1/
<Chainfire>
gsora[m]> yeah reboots and all that
<enchiladasconpinguino[m]>
mps: cool assuming it works for me, I will try to document the exact procedure used
<enchiladasconpinguino[m]>
we can get your APKBUILD into testing maybe? or at least add your .apk to that same host?
<Chainfire>
gsora[m]: doh, actually logging out and back in works. The screen said reboot, which I did, and changed nothing. Seems to work now :S
<mps>
enchiladasconpinguino[m]: I have dilema to add or not asahi kernel to alpine aports, not sure what to do
<enchiladasconpinguino[m]>
mps: I think should copy how it works for rpi
<enchiladasconpinguino[m]>
okay gotcha, I understand the concerns .. but tbh I don't think there is any harm to be had from adding `testing/linux-asahi`
<enchiladasconpinguino[m]>
its only been the weekend, but this is already sooo much more usable and stable than I was expecting
<enchiladasconpinguino[m]>
could also just keep it a .apk published like the kernel tarball for now
<marcan>
Chainfire: global scale works fine, except until last night it was misleadingly showing 100% when the default is already 150%
<mps>
enchiladasconpinguino[m]: alpine policy is not to add kernel with to much patches and patches which have small chances to be upstreamed
<marcan>
now the default is 150% but KDE still has a bit of an issue where 100% will fall back to the default instead of actually being 100%
<marcan>
I haven't figured out a way around that; we need to set the Xorg DPI to 144 for SDDM to have decent scaling, but then KDE uses that when you choose 100%. I'd say it's a bug.
<mps>
enchiladasconpinguino[m]: so I don't like to break this rule (though I can at my will ;) )
<enchiladasconpinguino[m]>
yup true, and def part of the reliability/stability guarantees of alpine ;)
<marcan>
so basically you can set anything between 125% and 200% and it'll work, and 100% means 150% unless you have a mac mini and a <=2K screen (we only set the default to 144dpi in that case)
<mps>
marcan: I have this in my .xinitrc `echo 'Xft.dpi: 192' | xrdb -merge`
<marcan>
mps: that's fixed in last night's images, which set the KDE defaults including the font DPI when a >2K screen is detected
<enchiladasconpinguino[m]>
mps: just publishing the prebuilt .apk and the APKBUILD file where you already have your kernel tarball is okay for now too
<marcan>
that makes firefox scale properly out of the box
<mps>
marcan: yes
<marcan>
if you want 192 all you have to do is set the global scale to 200% in KDE
<mps>
enchiladasconpinguino[m]: probably will do soon upload them soon
<mps>
marcan: I don't use these big DEs, awesome works fine, but I have separate settings for gtk-3.0
<enchiladasconpinguino[m]>
excellent thank you, will take a look
<mps>
it is ugly for now
<enchiladasconpinguino[m]>
I see the 4k pages patch, but that isn't actually applied in what I have running?
<mps>
right
<Chainfire>
marcan: ahhh that makes sense. In my attempt yesterday I set it to 150% and that's when nothing happened. What I tried now and worked was 200%.
<enchiladasconpinguino[m]>
okay .. just confirming that the patches are checksummed but not applied
<mps>
but it is in apk pkg
<enchiladasconpinguino[m]>
pretty sure I am running 16k pages
<enchiladasconpinguino[m]>
low quality usb cables and/or underpowered hub most likely
<mps>
enchiladasconpinguino[m]: uhm, I forgot, it will not boot with extlinux.conf I think
<mps>
linux-asahi-5.17.rc7.20220318-r0 need grub I think
creechy has quit [Ping timeout: 480 seconds]
<mps>
I have to look how to make it boot with extlinux.conf and with grub, but I'm using my free time with just released 5.17 stable kernel to upgrade it on alpine (will take day or two)
<kode54>
how do I install a m1n1 plus recovery volume, but not the EFI partition?
<kode54>
or will m1n1+EFI just install the recovery?
<LuEvers[m]>
i think its an archlinux arm related question.. but it seems after boot starting systemd services takes ages. i saw the same behavior with different services: docker.service, openvpn-client.service...
<bit_shifts>
Good morning, is this the right channel for support with the alpha?
<bit_shifts>
I have an issue with the second stage installer.
<j`ey>
yes
<bit_shifts>
Great, thanks. The bputil call fails with "Failed to create local policy" - not sure what might be causing this other than I already have a custom
creechy has quit [Ping timeout: 480 seconds]
<bit_shifts>
a custom boot policy on my macOS partition*
<EvadingEvasions[m]>
Is alx.sh down?
<j`ey>
EvadingEvasions[m]: worked for a me, if not a little slow?
<EvadingEvasions[m]>
It's resetting connection for me.
<EvadingEvasions[m]>
Maybe.
<EvadingEvasions[m]>
I'm having to reset many times.
<EvadingEvasions[m]>
It fails at extraction and retries and fails again.
<bit_shifts>
Apologies if im typing a bit weird. Having to join this channel from my phone, lol.
<j`ey>
bit_shifts: best thing to do is create a github issues and attach the full log
<bit_shifts>
Will do, thanks :)
<EvadingEvasions[m]>
Quick question, can I continue an existing install?
<GavinP[m]>
enchiladasconpinguino: Thanks for your responses on QEMU / KVM. It was getting late here, back now. I seem to have it working no problem on the latest published build of Asahi Linux. It has `domain type="kvm"` in the XML also. Virt-manager also reports it as `Hypervisor: KVM`. I just installed `qemu libvirt virt-manager qemu-arch-extra`, and then needed to source ARM UEFI files (which I got here
<GavinP[m]>
I also researched that KVM for ARM has been in the Linux Kernel for a longtime now. Does anyone know if the M1 supports arm virtualization extensions? I guess since we build with KVM enabled it does. Anyway to check this?
<j`ey>
GavinP[m]: the arm64 kvm maintainer is using an m1 daily
<GavinP[m]>
enchiladasconpinguino: [ 0.000000] CPU features: detected: Virtualization Host Extensions
<GavinP[m]>
Amazing, thanks!
<EvadingEvasions[m]>
EvadingEvasions[m]: Anyone got any idea on this???
<j`ey>
EvadingEvasions[m]: I said that you can't
<GavinP[m]>
j`ey: Very cool, I can see why! :) Awesome job you guys have done!
<enchiladasconpinguino[m]>
GavinP: `dmesg | grep -i kvm` for more info
<EvadingEvasions[m]>
j`ey: Oh
<j`ey>
GavinP[m]: Virtualization Host Extensions is a special thing, it doesn't just mean 'virtualisation'
<enchiladasconpinguino[m]>
GavinP: you didn't install custom qemu with latest patches?? just `pacman -S qemu`
<EvadingEvasions[m]>
So I just need to start over again? With resizing and all?
<Fl1tzi[m]>
marcan: Where should be the Mac Lay-out located? In „Symbols“ or in „Macintosh_vndr“??
bit_shifts has left #asahi [Switching to desktop client]
<Fl1tzi[m]>
* in „Symbols/Macintosh_vndr“??
<ptitSeb[m]>
EvadingEvasions: you need to remove the created partition first, than start again (but without the resizing as the free space will already be there)
bit_shifts has joined #asahi
<GavinP[m]>
j`ey: Sure, but it means that this ARM CPU supports the ARM Virtualization Extensions, or something else?
<GavinP[m]>
enchiladasconpinguino: No patches, just pacman from the default repo
<enchiladasconpinguino[m]>
GavinP: well that's amazing, it shouldn't be working .. unless vanilla arch has been updated today
<EvadingEvasions[m]>
ptitSeb[m]: Remove all the three mounted drives named "Asahi Linux?"
<GavinP[m]>
enchiladasconpinguino: The only thing I had to do on top to get it working was ensure I had aarch64 bios in the right directory, as mentioned in my earlier message
<j`ey>
GavinP[m]: Are you talking about virtualisation in general, or are you specifically talking about the AArch64 thing called 'Virtualization Host Extensions'
gladiac has quit [Quit: k thx bye]
<enchiladasconpinguino[m]>
GavinP: I am using the "ovmf" aarch64 bios here
<enchiladasconpinguino[m]>
yeah none of this is really new, just previously not available on consumer hw
<GavinP[m]>
enchiladasconpinguino: I'd love to help out more if I can, it was all quite a vanilla qemu / libvirt setup that just worked
<life-the-user[m]>
hello, which software repositories asahi is using? archlinuxarm?
<j`ey>
yeah archlinuxarm
<maz>
make sure you use a very recent qemu (i.e. the unreleased 7.0). earlier releases can't work on M1.
<GavinP[m]>
mps: Thanks! I've got quite a bit of experience with qemu on macOS for aarch64 so it was relatively easy to get one running on Asahi Linux. I guess I was just surprised by how easy it was in the end ;)
<life-the-user[m]>
is there a chance of bricking my laptop when installing?
<j`ey>
these machines can always be restored via DFU
<GavinP[m]>
maz: If you scroll up you'll see that enchiladasconpinguino and I have been talking about this. It all worked fine for me with latest packages from default repos
<j`ey>
but if you have important data you should back it up
<bluetail[m]>
Qemu? Isn’t it running natively?
<GavinP[m]>
enchiladasconpinguino: If you want I'm happy to screenshare or something to make sure my setup is indeed working fine, maybe you'll spot something?
<j`ey>
bluetail[m]: therye talking about qemu on linux on the m1
<mps>
GavinP[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` is how I test it on M1
<enchiladasconpinguino[m]>
^ yes this much does work fine on alpine, its libvirt that is not working on anything not arch
<enchiladasconpinguino[m]>
assuming it is in fact working from arch now (?)
<mps>
enchiladasconpinguino[m]: :)
<mps>
I would advice everyone to switch to alpine, nearly everything works
<maz>
GavinP[m]: that wasn't completely apparent to me, but hey, glad it works for you.
bit_shifts has joined #asahi
<GavinP[m]>
enchiladasconpinguino[m]: I mean, I've got the most basic Arch setup from the official installer as of about 24 hours ago and libvirt works fine. :D
<enchiladasconpinguino[m]>
so something very recent patch has made it to arch we are all missing perhaps
<life-the-user[m]>
is there anything i can do with touchpad in assahi linux?
<chadmed>
yeah move the cursor around and click on things
<chadmed>
scroll webpages
<kov>
gestures
<sting[m]>
Hi guys! Can I install Asahi on a second SSD?
chir4gm has quit []
<chadmed>
more seriously, we do have full gesture support though you will need to map some yourself
bit_shifts has quit []
<life-the-user[m]>
oh wait i meant touch bar
<kov>
gnome's 3 finger gestures work
chir4gm has joined #asahi
<j`ey>
sting[m]: the installer doesnt support that yet, but you can do it manually
<enchiladasconpinguino[m]>
KDE should detect it and work as well yup
creechy has joined #asahi
<chadmed>
oh no the touchbar is totally unsupported as of right now
<mps>
life-the-user[m]: touch bar doesn't work
<life-the-user[m]>
:<
<kov>
sting[m], and you need to have at least the UEFI environment installed to the main SSD
EvadingEvasions[m] has left #asahi [#asahi]
<enchiladasconpinguino[m]>
GavinP: a screenshot of your virt-manager VM config info page etc would be appreciated
<kov>
so you need ~3G on the main SSD which you can use to boot the system on the external SSD
EvadingEvasions[m] has joined #asahi
<sting[m]>
Ah alright. Why is the UEFI partition so big? Used to allocating around 512mb
<mps>
life-the-user[m]: we added mapping to numeric keys with Fn key to emulate F keys
<j`ey>
it is 500mb sting[m]
<kov>
sting[m], need a stub MacOS install for the boot process to work
<mps>
jannau added it
<sting[m]>
Oh that’s yucky
<kov>
Asahi basically sets up a second minimal MacOS install and puts m1n1/u-boot as a custom kernel for it
<j`ey>
sting[m]: it's the only way
<kov>
this is the way
<sting[m]>
I’ll mess around a bit. Thank you kov j`ey
<mps>
life-the-user[m]: with this you can even switch between xorg and consoles
<kov>
sting[m], np, check the wiki, it has some great guides
<GavinP[m]>
Please do let me know if I can provide anything else to help, I want to indeed make sure it is working as I think it is :D
<kov>
sting[m], the Debian page by Glanzmann will give you a good idea of what you need, it helps you set up a Debian live stick, it's what I've been using to do my manual encrypted root fedora installs https://github.com/AsahiLinux/docs/wiki/Debian
<mps>
enchiladasconpinguino[m]: right, and for last two months
<enchiladasconpinguino[m]>
yeah not seeing anything recent for that to work, correct
<enchiladasconpinguino[m]>
but somehow libvirt is broken, but now working on arch very recently
<mps>
I never used virt helpers so don't know if there is bug
<enchiladasconpinguino[m]>
I wonder if libvirt has a whitelist buried in it somewhere of the few aarch64 hosts that do support kvm, and m1 is just not there?
<enchiladasconpinguino[m]>
thunderx/neoverse/etc only
* mps
always prefer cli and shell scripts instead of ready made guis
<maz>
most arm64 systems support KVM.
<LuEvers[m]>
snapdragons don't, at least not on phones
<j`ey>
enchiladasconpinguino[m]: see if it can show you the qemu command line it is launching
<maz>
the only ones that don't are QC devices that boot the kernel at EL1.
<j`ey>
the CPU still supports it
<enchiladasconpinguino[m]>
mps: I guess I can abandon the VM management and do qemu manually ..
<enchiladasconpinguino[m]>
alpine build of qemu is missing graphics support tho
<maz>
anyway, life is too short to give a fsck about libvirt.
<LuEvers[m]>
yes , i think most of them boot at EL1 (because of security)
<mps>
enchiladasconpinguino[m]: you have to install qemu helpers and drivers, they are separate pkgs
<enchiladasconpinguino[m]>
ah well maybe I am missing some packages?
<maz>
LuEvers[m]: no, because of *stupidity* and *cupidity*. nothing to do with security.
<enchiladasconpinguino[m]>
that would be an easy fix
<LuEvers[m]>
so libvirt on alarm does not start with accelleration?
<mps>
`apk search qemu | sort` and look what you need to ad
<mps>
s/ad/add/
<GavinP[m]>
LuEvers[m]: For me it does
<LuEvers[m]>
maz: :( okay had the oneplus 6t, it ran win10 arm, it was a pretty fun phone
<LuEvers[m]>
but yeah, no virtualisation exposed from the SoC
<LuEvers[m]>
6t runs everything, with mainline kernel xD
<LuEvers[m]>
just very bad
<enchiladasconpinguino[m]>
you can't charge at full speed, otherwise fairly usable
<LuEvers[m]>
enchiladasconpinguino: i tried the halium kernel with mobian, and it worked pretty well (it only was pretty old)
<life-the-user[m]>
what does minimal installer?
<mps>
there is postmarketOS distro (based on alpine linux) which runs on a lot of phones/pdas
<life-the-user[m]>
it ends up with a prompt?
<j`ey>
life-the-user[m]: yes just a text console, no GUI
<enchiladasconpinguino[m]>
I actually meant pmOS yeah, not stock alpine
<life-the-user[m]>
j`ey: alright
<LuEvers[m]>
pmOS is great :)
<mps>
LuEvers[m]: ofc, because it is based on alpine ;)
<LuEvers[m]>
life-the-user i would use the asahi image if you don't want to set it up. but you can always search up the arch wiki and get the minimal image configured pretty decent
<DominikInfhr[m]>
hey, I did a minimal install of asahi. What tool are you using to connect to a wifi afterwards? iw and iwconfig don't seem to be installed by default.
<danny055[m]>
I just found out that disk0s1 is apples efi but for disk0s3 I can't free it
<GavinP[m]>
Lu Evers: Hm, same as mine except for the 4K (I don't think that should make a difference though, qemu and friends are working fine also on 16K pages). What is the output of `sudo pacman -Qi libvirt | grep Version`?
<danny055[m]>
I have ran diskutil eraseVolume free free disk0s3 but it says can't open disk any idea ?
<GavinP[m]>
enchiladasconpinguino: FYI, I also ran `systemd-detect-virt` from inside my Debian VM and I get `kvm` back
<GavinP[m]>
So, not sure if I got lucky with some solar flare or we still have a package discrepancy between us. ;)
<DominikInfhr[m]>
j`ey: awesome thanks!
<mps>
marcan: just noticed that linux-apfs-rw mount forces ro mode even if add -o rw to mount
<LuEvers[m]>
<GavinP[m]> "Lu Evers: Hm, same as mine..." <- 1:8.1.0-4
<mps>
marcan: if use 'mount -o readwrite' then it is mounted rw
<LuEvers[m]>
it doesn't want to work, throws out even more errors when creating a machine
<LuEvers[m]>
i think i'll pass libvirt for now xD
<LuEvers[m]>
(or i just think 5 seconds and install the needed packages)
creechy has joined #asahi
chir4gm has quit []
chir4gm has joined #asahi
<life-the-user[m]>
<LuEvers[m]> "life-the-user i would use the..." <- can i test asahi on my vm? is there an iso?
<life-the-user[m]>
s/on/in/
<GavinP[m]>
Lu Evers: did you follow all the steps I did here: https://matrix.to/#/!JcbuoCKvYoPyMtKLPi:matrix.org/$XEnCczFYU3gPmf4B_gQ0vlXqqO7saeXqT1UTZQCnmWY?via=matrix.org&via=mozilla.org&via=tchncs.de
<gsora[m]>
life-the-user: why would you want to do that? Any arm64 distro work in vms
<LuEvers[m]>
there isn't, but it's just an arch linux arm, with preinstalled KDE, and backgrounds.
<LuEvers[m]>
GavinP[m]: im installing edk2, but why doesn't the repository have the package with normal package name?
<gsora[m]>
Backgrounds are a compelling motive though
<LuEvers[m]>
GavinP[m]: dnsmasq is also needed for default NAT
axenntio has joined #asahi
<GavinP[m]>
Lu Evers: I'm not sure, I had trouble with that package too and ended up downloading the tar itself and installing with `pacman -U`
<axenntio>
I there
joske has joined #asahi
<GavinP[m]>
Lu Evers: Yes, you're right! Also had to install that. Missed it when going through my history :D
<LuEvers[m]>
this says arch: any. the alarm repos and packages are somehow not really updated / on par with normal x86_64 arch.
creechy has quit [Ping timeout: 480 seconds]
<axenntio>
I have a question. Juste to makes sure, if I want to uninstall Asahi, I only need to delete the 2 partitons (EFI/ESP and root) that will be created right?
<joske>
Tried to run the installer to update the stub partition, but it's doesn't even run, it thinks it's a Intel Mac 😯
<GavinP[m]>
Lu Evers: Right, that's a bit annoying. Hopefully something that can be resolved, as I don't enjoy doing `pacman -U` as much as the next person
<kov>
Axenntio, all the linux partitions + the 2.5G stub apfs container
<joske>
s/it's/it/
<axenntio>
Thanks kov! The stub partition is the partition that also contains U-boot?
<kov>
Axenntio, in the current setup it's just m1n1 unless I missed something, but yes, it's the stub macos install with the custom kernel that allows us to boot =)
<kov>
the m1n1/u-boot combo is in the EFI partition
<joske>
Reason is no true in path
kameks has joined #asahi
Thib[m]12 has joined #asahi
<j`ey>
joske: please make a github issue
<gsora[m]>
TIL usb_boot in asahi uboot env
Thib[m] has joined #asahi
<axenntio>
Ho ok! Thanks kov! So just to understand a bit more the boot process, this is like: The mac boot and fetch all bootable APFS container -> Use the stub container (with custom security) and load the custom kernel -> mount the EFI partition -> load u-boot -> start grub
<axenntio>
I'm unsure about the last part, for me u-boot was the part mounting the EFI, but looks like it's not
<sorear>
swap the 3rd and 4th steps
<life-the-user[m]>
what does installer? like partition the drive, mount the image and what else?
<j`ey>
life-the-user[m]: that's about it
creechy has joined #asahi
<life-the-user[m]>
what partition it creates?
<j`ey>
a stub parition, an efi partition and a rootfs partition
<life-the-user[m]>
whats stub?
<life-the-user[m]>
and where is swap
<j`ey>
stub has all the stuff needed for iBoot to boot m1n1
<j`ey>
no swap partition created currently
<life-the-user[m]>
are devs going to make this process manual?
<j`ey>
what process?
<axenntio>
Thanks sorear
<life-the-user[m]>
j`ey: of installation, i just want to install arch as it should be installed - manually
<life-the-user[m]>
like for example make a separate partition for home if its possible
<j`ey>
life-the-user[m]: you can use the UEFI option and install it manually if you want
<life-the-user[m]>
hm ok
<j`ey>
you can also reparition the rootfs
<axenntio>
life-the-user[m]: I guess you can installing only mini and uboot and boot your Arch install from usb-drive
<axenntio>
So the process to partition and install arch will be up to you
<life-the-user[m]>
is the image that comes custom?
<life-the-user[m]>
is it a good idea to try installing it without a backup?
<life-the-user[m]>
or maybe i should wait for a full release
<j`ey>
you can probably answer that :p
<life-the-user[m]>
stable*
<life-the-user[m]>
j`ey: idk, i better not to
<j`ey>
i mean, the backup thing
<j`ey>
even a stable release has no 'guarantees'
<j`ey>
if you have important data, back it up!
<life-the-user[m]>
i dont have the drive with me currently
<life-the-user[m]>
ok i have another question
<life-the-user[m]>
how good it runs?
<life-the-user[m]>
in comparison with other modern cpus
creechy has quit [Ping timeout: 480 seconds]
<axenntio>
Lot of people reports that it runs blazely fast, even without GPU acceleration
<GavinP[m]>
Axenntio: Can confirm
<chadmed>
yeah these machines are stupid fast
<GavinP[m]>
Currently building a debian based distro from inside a debian VM with KVM and it's nuts
<chadmed>
i can build a minimal-ish kernel with LTO in about 3 minutes
<life-the-user[m]>
hey guys im pretty sure you are all big brainers here, i want to ask how to install Arch Linux ARM into a VM?
<life-the-user[m]>
the issue is that the image is .tar.gz
<life-the-user[m]>
so its not iso
<life-the-user[m]>
i was already trying to install it from other already installed os
<life-the-user[m]>
but after creating partitions and mounting and rebooting it didnt work
<GavinP[m]>
life-the-user: This is definitely possible, but as I am pretty sure others have said there is no point installing Asahi Linux in a VM on macOS. qemu (and GUI based frontends e.g. UTM) already work really well on Apple Silicon. So you can run pretty much any arm64 (aarch64) distro
<gsora[m]>
kettenis: I’m trying -current on my 14” mbp. If I ctrl-c off the installer and then re-start it with the “install” command, sed complains about no space left on device
<life-the-user[m]>
GavinP[m]: im scared of bricking my laptop are nuking my drive for now, thats why im running everything on a vm
<marcan>
chadmed: the official kernel builds with all the USB drivers and all that stuff take about 4 minutes on the M1 Pro
<Thib[m]>
Hej everyone, and thanks for working on Asahi! I'm really looking forward to dual boot a Linux on my MBP! In the meantime I'd like to make the Matrix experience a little better, by giving the Matrix rooms more "matrix native" aliases and setting up a Space. Is there someone in particular I can get in touch with?
<Fl1tzi[m]>
<Fl1tzi[m]> "marcan: Where should be the..." <- ?
<LuigyLeon[m]>
is the PKGBUILDs' config all setup for audio on mbp? (minus the one-liner enabling currently required on the kernel)
<Sobek[m]>
life-the-user: Remember Asahi is Bare Metal support, aka dealing with the actual hardware, which you never see in VM, not dealing with emulated rather standard ARM hardware seen from VMs.
break has joined #asahi
<life-the-user[m]>
<GavinP[m]> "life-the-user: In that case I..." <- this arch linux is fked up man, im trying with mods on that server to install it for over a week
PaterTemporalis has joined #asahi
<DominikInfhr[m]>
Seems like after connecting with iwd to my wifi, I am not connected via ipv4. `ip addr` only shows inet6 but not inet4. any ideas?
Gues__________________________ has joined #asahi
<GavinP[m]>
life-the-user: Tbh, I've never run arch on UTM but countless Debian VMs have worked fine. Also, in general the UTM team is pretty good in my experience, so if they have an Arch Linux ARM on their gallery I imagine it should work OOB fine
<GavinP[m]>
If you want more control, you can run `qemu-system-aarch64` in macOS yourself and set it up that way. But, as someone who has done that, believe me that UTM makes it much easier to actually use VMs in practice. (Spice client, enables macOS VM hardware acceleration for you, and more)
<Fl1tzi[m]>
DominikInfhr[m]: (NOTICE: I’m new to Wi-Fi on Linux) I was only able to get Wi-Fi running using NetworkManager…
<j`ey>
joske_: have you got `true` in recovery at all?
<j`ey>
the installer modifies PATH, so wondering if that is the issue
<joske_>
no doesn't seem to exist
<firefox317>
DominikInfhr[m], after connecting to wifi using iwd, you still have to run some dhcp daemon to actually get a ipv4 address.
M5Q[m] has joined #asahi
joske has quit [Quit: Quit]
joske_ has quit []
<piroko>
gsora: apparently we have the exact same interests
<j`ey>
joske_: even just getting into recovery normally, not via the installer?
joske has joined #asahi
<gsora[m]>
jeremy: right? :P
<firefox317>
DominikInfhr[m], which Asahi Linux install are you running? The reference KDE Plasma, or the minimal one?
<joske>
j`ey: even before running installer, no true
creechy has joined #asahi
<joske>
I just upgraded from 12.2.1 to 12.3 this morning and now wanted to update the stub too (succeeded now)
<j`ey>
joske: modifying the installer to remove that line?
<joske>
I ran it from macOS
<joske>
and not recovery
<j`ey>
ok
<joske>
so my system is fine now, but it looks silly telling me it's an intel mac ;-)
<j`ey>
I have true in recoveryOS
<joske>
ah very strange
<j`ey>
hmm however: arch -arm64 true fails
<joske>
maybe should be full path?
<j`ey>
I think true might be a zsh builtin, not a command
<joske>
ah
<j`ey>
wait... bash builtin
break has quit [Quit: Konversation terminated!]
<joske>
[jos@air linux]$ which true
<joske>
\/usr/bin/true
<joske>
so it's not a bash builtin in linux
<j`ey>
'true is a shell builtin' from recoveryOS
Gues__________________________ has quit [Quit: Gues__________________________]
<DominikInfhr[m]>
firefox317: the minimal one
<gsora[m]>
huh, i can't seem to get wifi working under openbsd installer anymore, firmware is being weird
<j`ey>
joske: fixed now, use ls instead of true :P
Gues__________________________ has joined #asahi
<joske>
:-)
<firefox317>
DominikInfhr[m], okay yeah than after you used iwctl to establish a wifi connection, you need something to run a dhcp client to get an ip address from your router. You can use dhcpcd or systemd-networkd for that
chadmed has quit [Remote host closed the connection]
creechy has quit [Ping timeout: 480 seconds]
<axenntio>
Does the minimal have all these package needed for wifi connection?
<dottedmag>
firefox317: iwd does have a built-in DHCP client
<winter>
life-the-user[m]: the installer and accompanying FAQ are pretty extensive
<mps>
hmm on above link `run bootcmd_usb0` is not correct, it should be `run usb_boot'
<life-the-user[m]>
ok thx
<mps>
what if there two usb disk attached at boot
<mps>
there are*
<DominikInfhr[m]>
dottedmag: awesome, thanks! That did it
fmstrat has joined #asahi
<fmstrat>
Hey all, I'm running two separate installs of MacOS in APFS, both encrypted with separate FileVault keys (personal and work instances). Will the Asahi installer handle this use case?
<Bennett[m]>
This seems to have gotten lost over night, so I'll just post this here again: On Twitter I saw multiple people having to delete local Time Machine snapshots and saw the reference to a script in the Asahi GitHub repo that seems to manually call rm and stuff. As an alternative, there is the `tmutil` utility that not only can list all snapshots via `tmutil listlocalsnapshots /`, but can also delete individual ones by date `tmutil
<Bennett[m]>
deletelocalsnapshots $DATE` or all at once by specifying `/` (root mount) instead of a date. Maybe the release announcement could be updated with an additional FAQ question/answer?
<kov>
gsora[m], j`ey heh, while re-running one of the tests on the Mini I got a 30m build and was like wait a sec, what did I do wrong... it was running a spotlight index
<j`ey>
kov: hah
<kov>
a spotlight indexing job is needed to make macos match linux ;D
* kov
finishing gathering data to submit an issue
<kov>
the Mini built it in 15:46 btw, and the quickest Air build was 18:45, you can see how throttling impacts the Air
<kov>
^ on MacOS
<j`ey>
kov: is this including llvm build time?
<LuEvers[m]>
just add thermal pads to air, and it wont really throttle anymore
<AdryzzOLEDEdition[m]>
kov: well no fans
<AdryzzOLEDEdition[m]>
LuEvers[m]: your legs will throttle and burn in pain then tho
<LuEvers[m]>
xD true
<LuEvers[m]>
using a plastic casing fixes it for me
<LuEvers[m]>
you know, those macbook full body cases
<AdryzzOLEDEdition[m]>
honestly i'm fine with it throttling but being quiet
<LuEvers[m]>
yep
<LuEvers[m]>
fanless is really gread
<LuEvers[m]>
s/gread/great/
creechy has joined #asahi
<AdryzzOLEDEdition[m]>
i really want an air to tinker with but the piggybank is empty
<enchiladasconpinguino[m]>
once you have fanless laptop .. its hard to use laptop with a fan again
<kov>
j`ey, no that's not building llvm, but hrm! I will have to double check I am not building llvm on the linux ones, that may be why it is getting such a big difference
<AdryzzOLEDEdition[m]>
my very old thinkpad T61 is so loud you can't use it at night
<AdryzzOLEDEdition[m]>
also the battery has 15% of its original capacity
eroux has joined #asahi
<j`ey>
kov: I would expect llvm to be more than 5-10mins difference
<kov>
LuEvers[m], AdryzzOLEDEdition[m] yeah, I'm totally fine with the way the Air is designed, I like it for the portability and lack of heat on my thighs
<enchiladasconpinguino[m]>
I have the original fanless x86 macbook which is too old and slow for macos now, but still runs linux perfect
<kov>
so I'm fine with the throttling, no thermal pads for me
<AdryzzOLEDEdition[m]>
yeah fanless is very good when your SoC consumes 18W
<kov>
j`ey, agreed, but... well, we'll see
<AdryzzOLEDEdition[m]>
also because that is way more power than i'll ever need on a laptop
nuh^ has quit [Ping timeout: 480 seconds]
<AdryzzOLEDEdition[m]>
it probably hands down beats my R5 3600
<opticron>
Glanzmann, have you tried testing audio from speakers at all on debian? I'm not well versed in the ways of PA/PW/alsa and I'm not seeing how to enable the pro mode to finish installation of chadmed's various bits
leo60228 has joined #asahi
leo60228- has quit [Ping timeout: 480 seconds]
creechy has quit [Remote host closed the connection]
<kov>
j`ey, ok, double checked both, the mac build is in fact building llvm, I had looked at the wrong place heh, so is the linux build
<kov>
2,5G build/aarch64-apple-darwin/llvm
<j`ey>
kov: wow ok, thats fast
<kov>
interestingly, all of the resulting files seem bigger for linux, it's a total of 5.5G on linux and 4.5G on mac
<kov>
wonder how much of the difference that may explain
<kov>
and yeah, these machines are super fast, it's amazing
<kov>
my xps 13 is put to shame by the throttling Air xD
<kov>
the xps 13 throttles much harder of course, even with a very noisy fan ;D
timokrgr2 has joined #asahi
<kov>
that's very interesting, are linux binaries generally bigger than macos ones?
<kov>
hehe, yeah, used to have that with tracker messing up my benchmarks too
<kov>
I have now disabled spotlight on my macs, not like I use it ;P
timokrgr has quit [Ping timeout: 480 seconds]
timokrgr2 is now known as timokrgr
<Glanzmann>
opticron: Yes, I tried it once.
coderush has joined #asahi
<j`ey>
kov: I assume youre just using 'du -sh' or so? Or are you the size some other way
<j`ey>
oh wait.. is libstd being statically linked on Linux and dynamic on macOS?
creechy has joined #asahi
<kov>
j`ey, let's check that
<j`ey>
nope, thats not it
sandornagy[m] is now known as doootard[m]
<kov>
j`ey, yeah, only difference that could be relevant I see is libiconv on mac, but that's not that big, libSystem/libc etc are linked the same way
<opticron>
Glanzmann, hmmm, maybe I'm just way too noob at PA/PW, then
<coderush>
Hi folks, checked the channel logs out and seen several cases of people having issues with bputil not being able to create the local policy. Almost all the time this is caused by their recoveryOS not being 1TR for whatever reason.
<Glanzmann>
opticron: The speakers are currently disabled in the devicetree because there is no safety to make sure that you don't blow (break) your speakers.
<Glanzmann>
As a result I left it off in the debian kernels.
<coderush>
Either they select Options instead of Asahi Linux, or holding the power button slightly wrong (i.e. pressing, releasing for a short time, then pressing again).
rsetti has joined #asahi
<opticron>
Glanzmann, yeah, I edited the binary to enable them for testing
<j`ey>
coderush: the step2 should error if it's not in 1TR
<coderush>
Running "bputil -e" in recoveryOS terminal will show the current OS state, including pairing and 1TR.
<Glanzmann>
coderush: To me it also happened very often. I think that I released to early but marcan things I'm not holding it steady. Now I hold until I see the chainwheel with the options below it. And that always works for me.
<coderush>
Glanzmann: holding until "Loading startup options" should be enough though, but if it's not, it's likely an iBoot bug.
<Glanzmann>
opticron: Oh and it still does not work? Hmmm. So if you want I can try again and send you the k.deb after it works for me. Which m1 model do you have? I'm on the air.
<coderush>
Basically, 1TR or not is a bit in Boot Progress Register that gets locked by iBoot1.
<coderush>
Seeing the boot picker UI is way past the point where it had been detected and locked.
<opticron>
Glanzmann, 14" mbp with m1max, the information in alsa and pavuctl changed when I enabled that in the dtb, but it's missing some of the things that chadmed's instructions say to do
<Glanzmann>
opticron: On that one, it does __not__ work at all, IIRC.
<Glanzmann>
I thought currently only the 2020 models (mini, air, 13" pro) worked with the speakers but maybe there was some development in the last week that I'm not aware of.
kameks has quit [Ping timeout: 480 seconds]
<coderush>
j`ey: needs a pairing check in addition to that.
rsetti has quit [Quit: leaving]
<opticron>
Glanzmann, ok, maybe I was just misreading
<opticron>
I know the jack doesn't work
joske has quit [Quit: Leaving]
<coderush>
The output of bputil -d --vuid <Asahi Volume UUID> needs to have Paired as current OS status.
<Glanzmann>
But I also have only one usb stick connected.
<coderush>
Yep, marcan did all the work in that report already.
<_jannau_>
yes, after removing the dts safeguard, asahi-audio is being worked on the macbook pro 14"
<opticron>
in any case, I re-disabled it for now just in case
<Glanzmann>
jannau: Thank you for the update.
<Glanzmann>
opticron: So it should work. Just to make sure, you extracted the kernel, removed the 'status = disabled' lines, build the kernel, build the m1n1/dtb/u-boot object, installed that as /boot/efi/m1n1/boot.bin and rebooted?
<Glanzmann>
The next step would than be going to alsamixer, switch to the card 0: ... and try every know while playing a sound but go slowly up.
<mps>
Glanzmann: yes, it will work in most cases I guess
<opticron>
Glanzmann, I patched the binary with "okay\0led" in place of "disabled" which should still trip the dtb parsing logic in the kernel appropriately
<opticron>
and something showed up in place of the usual dummy interface, so I assume that was done correctly
<opticron>
but like I said, enough things don't match up with chadmed's instructions that I don't think I want to press much further (also, alsamixer only shows the one interface, so there's not something to "switch" to there)
<Glanzmann>
kode54: Did you manage to upgrade your stub?
Techcable has quit [Remote host closed the connection]
<Glanzmann>
jannau: Yes, I missed a lot of features, I just want to make my point that we're nowhere near a stock kernel works on the m1.
<EvadingEvasions[m]>
Ok it's not working.
<EvadingEvasions[m]>
I boot into Asahi using the startup menu
<EvadingEvasions[m]>
It just loads the logo and then select Arch Linux Arm, vibes at loading arch x/x files loaded or something.
<EvadingEvasions[m]>
Then shuts down and boots into MacOS for some reason.
<EvadingEvasions[m]>
How do fix?
<EvadingEvasions[m]>
* How to fix?
<EvadingEvasions[m]>
Recovery mode or 1TR whatever is not working.
Techcable has joined #asahi
<Glanzmann>
EvadingEvasions[m]: Can you make a video of it and upload it somewhere?
<EvadingEvasions[m]>
Glanzmann: Yeah but is this an existing issue?
<EvadingEvasions[m]>
I'll make on wait.
<EvadingEvasions[m]>
* I'll make one wait.
nicolas17 has joined #asahi
<EvadingEvasions[m]>
I will try some basic searches then.
<Glanzmann>
EvadingEvasions[m]: I have not heard of it, but maybe if you make a video of it makes your issue more clear.
<EvadingEvasions[m]>
Glanzmann: I will, I am scrolling through github right now.
<EvadingEvasions[m]>
To check if this is a duplicate.
axenntio has joined #asahi
coderush has quit []
JamesReilly[m] has joined #asahi
axenntio has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<r0ni>
is there a irc client included with the arch desktop install? I didn't think to look around for one lol
<j`ey>
nope
<j`ey>
r0ni: if you do slackware install, let me know, I have a coworker thats a slackware user
<RudraSaraswat|btwiusearchandub>
r0ni: well, you can install one with pacman :)
<r0ni>
i haven't yet, but i've been in touch with the arm port maintainer. all we have right now is the minirootfs, and i don't have a usb-c device i can use yet
<r0ni>
i dunno if there's an elegant way to bootstrap the rootfs over arch and pof the arch install in the process
<r0ni>
poof, that is
<j`ey>
You can do it tethered, if you dont have a USB stick, but its not a 'nice' way
<r0ni>
all i've got is a 1tb apfs drive, not sure if making a vfat partition would work for this use case, i swear i read it had to be the first partition
<r0ni>
i'd assume best buy or the like has to sell a usb-c stick by 2022 now
<sven>
or get a cheap usb-c-to-a adapter
<r0ni>
gah i had ordered then cancelled one, i'd have one by now but i thought i didn't need it
<maz>
j`ey: *the* slackware user!
<j`ey>
maz: haha
<j`ey>
Im going to get a USB-C->UBS-A adapter and then USB-A BT dongle, I cant seem to find a USB-C BT dongle?
<r0ni>
i need to backup all the files, i had downloaded all the slackware sources and the arm port scripts... i'm gonna need that stuff
<r0ni>
i should do that now, then when I leave in a bit i'll stop and find me an adapter, THEN takeover the world
<Glanzmann>
j`ey: Slackware was my first distributed in 1993. :-)
<mps>
Glanzmann: heh, like my
<j`ey>
mine was a knoppix live cd in 2002
<r0ni>
i used mandrake first :(
<mps>
actually I used ygdrassil first but soon switched to slackware
<Glanzmann>
j`ey: Knoppix is based on Debian.
<r0ni>
hrm i just thought of something. boot hekate on switch as a mountable sd device, and i have a usb-c flash drive
<mps>
I was around 20.000-th registered linux user and I registered after full year of usage
THX1984 has joined #asahi
gsora_nomatrix has joined #asahi
<gsora_nomatrix>
anybody ever seen this: `error: asahi: signature from "Hector Martin Cantero <marcan@marcan.st>" is unknown trust`?
<EvadingEvasions[m]>
Very sorry for delay. Here my issue: https://1drv.ms/v/s!Ao2g8XS1zhsehf8A9EQBSh1hVLklXw?e=5KAfaX
<r0ni>
ok, bootable stick formats, is mbr and fat32 usable? or does it need to be exfat?
<Glanzmann>
Works for me.
<nametable[m]>
After a failed install, I deleted (in theory) the new partitions so that I could try to install again. However, I know only get the option to resize instead of using free space
<nametable[m]>
Do I need to get rid of the container somehow?
<nametable[m]>
I'm not really super familiar with disk containers. Is it like a partition which can hold partitions?
<axenntio>
I guess this is because this partition is APFS and not considered as `Free space`
<axenntio>
I would try to delete it and relaunch the installer
<axenntio>
Just delete the partition and you will be able to select it in the installer
<nametable[m]>
When I try to delete it I end up with the same container again. As if it recreates it automatically. I'm just using the GUI Disk Utility
<nametable[m]>
<nametable[m]> "When I try to delete it I end up..." <- I think I figured out my problem, the easy way seemed to be to merge the empty partition back into the main partition. Then the installer can resize it again
THX1984 has quit [Quit: Leaving]
<Lucy[m]>
nico_32: Would it be difficult to adjust for a non-Arch-based distro?
<j`ey>
nope, theres also a unofficial debian and fedora image
<nicolas17>
so illegitimate mirrors might exist but they certainly shouldn't be linked here
<Glanzmann>
That is the script Iused for debian. Fedora I did manually.
<Glanzmann>
I though about doing ubuntu as well (same as debian)
klaus has joined #asahi
klaus has quit []
klaus has joined #asahi
klaus has quit []
klaus has joined #asahi
klaus has quit []
kylealanhale has joined #asahi
jochum_ has joined #asahi
xeq has joined #asahi
<Tano70>
if I install this "alpha" version will it be automatically updated to future versions and improvements or every time you have to do a new installation? also I would like to know on a macbook air M1 what duration to expect from the battery
<j`ey>
yes you can just install updates with pacman
<Tano70>
thanks J'ey
jochum has quit [Ping timeout: 480 seconds]
xeq_ has joined #asahi
rucadi[m] has joined #asahi
xeq_ has quit []
<clover[m]>
battery lasts about 8 hours i'd say
<rucadi[m]>
Hi! I'm having problems compiling kernel-modules with the provided linux-headers for asahi. I'm trying to get DisplayLink working, I've made this progress so far: https://github.com/Rucadi/DisplayLinkAsahi However, when I try to compile the evdi driver, it says that the folder /build/arch/arm64 does not exists on the headers. Which is true. I have downloaded another kernel headers from the repos, changed the name to the asahi one, and it
<rucadi[m]>
worked. It seems that maybe I'm missing something?
stephen_ has joined #asahi
xeq has quit [Ping timeout: 480 seconds]
<stephen_>
Just installed on a macbook. The resolution is insane. How does everyone deal with this? Scaling, DPI, or just bumping font sizes up?
<axenntio>
Using magnifying glasses
<stephen_>
I use urxvt, in the time it took me to fetch the font resizing perl script and get it configured I've developed a bit of an eye strain headache.
<psykose>
why would a terminal need an extra script to change a font size
<opticron>
stephen_, I use scaling get get UI elements about the right size and then tweak terminal font size as necessary
<stephen_>
psykose because it's not a built in feature. you can set font sizes, but setting the size dynamically is usually done via echoing escape sequences
<stephen_>
and someone made a perl script to track the current size and increment/decrement via the escape sequences
<clover[m]>
i went to Display Configuration and set Global scale to 200%
<clover[m]>
does anyone know how to get their headphone jack working? i am on a 2020 macbook pro M1 and rebooting didn't help
stephen_ has quit [Quit: Lost terminal]
stephen_ has joined #asahi
<stephen_>
Well, that was fun. Using xrandr to scale made the screen stop redrawing.
<nametable[m]>
Asahi installer is asking me for the password for `_mbsetupuser`, although I never have set it... does anyone know how to work around this?
skipwich has quit [Ping timeout: 480 seconds]
<nametable[m]>
`sudo passwd _mbsetupuser` does not seem to set the password
<nicolas17>
stephen_: changing resolution is not supported (no display controller driver yet) but I thought that made it a no-op rather than hanging things
<stephen_>
hehe
<stephen_>
It tried to resize, stopped drawing, I switched to a vt and back and it was back to where it started, but nothing was redrawing anymore.
<stephen_>
It would redraw once each time I switched to it, but I had to keep toggling between vts to get it to update the screen.
<j`ey>
nametable[m]: surely you set it when doing the first boot setup?
<nametable[m]>
Uhh, I only remember it asking for my main user's password
<nametable[m]>
Hmm, interesting... I don't know why it would be asking for it now. At the beginning of the installation, I just used my user's password, which got me to this point
___nick___ has joined #asahi
<nametable[m]>
Which I assume was used by sudo/whatever to gain root privileges.
<nicolas17>
oh god that's one of those stackoverflow-scraping SEO-farming sites
<nametable[m]>
Ooh, so maybe I just need to reboot
<nametable[m]>
Although that will probably mean restarting the installation process from the beginning...
<j`ey>
yeah
m6wiq has joined #asahi
m6wiq has quit [Remote host closed the connection]
m6wiq has joined #asahi
<nametable[m]>
Welp that's sad - ok, rebooting and then trying again
<nametable[m]>
I'm back up, is there a way to "resume" install, or would I need to manually edit the script?
<nametable[m]>
Or is it easier just to erase the partitions and try again?
<j`ey>
I would look for a file called AdminUserRecoveryInfo.plist
roxfan has joined #asahi
<j`ey>
not exactly sure the full path, but /Volumes/Preboot/var/db/AdminUserRecoveryInfo.plist maybe
<nametable[m]>
j`ey: I've found it, but what can I do with it?
ptudor has joined #asahi
<j`ey>
open it, is _mbsetupuser still in it?
axenntio has quit [Quit: Axenntio]
<nametable[m]>
j`ey: Nope, it looks like its just me in there... maybe because I ran the installer again to see if it had resume functionality
<nametable[m]>
Could have been overwritten maybe...
<j`ey>
whats the full path?
<j`ey>
anyway sounds like the reboot helped
<nametable[m]>
j`ey: Its inside `/Volumes/Preboot/00472115-8501-4499-A09E-3F401143028C/var/db`
<nametable[m]>
Do you think the install may be resumable, or should I just blow away the partitions and start over?
<j`ey>
delete 'em
Tano70 has quit [Quit: Leaving]
stephen_ has quit [Quit: going to test those display settings]
skipwich_ has joined #asahi
stephen_ has joined #asahi
skipwich has quit [Read error: Connection reset by peer]
skipwich_ is now known as skipwich
<stephen_>
Oh, good! Scaling also made scrolling better.
rinsuki[m] has joined #asahi
skipwich has quit [Ping timeout: 480 seconds]
Kevin_ has joined #asahi
Kevin_ has quit []
Major_Biscuit has quit [Ping timeout: 480 seconds]
Kevin5 has joined #asahi
<clover[m]>
nvm, got headphone jack working :)
<kov>
Glanzmann, you should probably use deb.debian.org for the /etc/apt/sources.list on the debian image
<Cy8aer[m]>
or http.debian.net
<Cy8aer[m]>
(oups now redirects to deb.debian.org...)
<Cy8aer[m]>
Anyways this is an anycast address.
<brentr123[m]>
Anyone know if box86 works!
<brentr123[m]>
?
<rinsuki[m]>
hi everyone: I just installed Asahi Linux on my M1 Max Mac, and I want to (re-)install with encrypted root (LUKS). I know how to install with encrypted root on Arch ISO + x86_64 machine, but how do i install it on M1?
<Cy8aer[m]>
@rinsuki: Probably you need to install it the classical way, via just install uboot and then install the dist via efi usb stick. That's I will do with the debian dist.
<Glanzmann>
rinsuki[m]: The easiest way is if you use the debian live cd, set up luks and than extract the arch on top of it. https://alx.sh/w/Debian
<kov>
rinsuki[m], ^ that's how I installed my fedora with encrypted root
<kov>
you probably need to chroot into the resulting system and recreate the initrd
<Glanzmann>
kov: Yep, and installing grub is also easier that way.
<kov>
I think I saw that arch uses dracut as well? dracut --regenerate-all -f worked for me, I'd add --debug 2> log and check that file just to be sure that the crypt module got added
<Glanzmann>
And of course you need a kernel which contains the dm-crypt module. :-)
stephen_ has quit [Quit: leaving]
<rinsuki[m]>
thanks, i will try it!
<Glanzmann>
I don't know if the asahi arch kernel has it in. But you can use the debian one if you don't want to build yourself. tg.st/u/k.deb
<Glanzmann>
rinsuki[m]: It will be hard if you do it the first time.
* kov
always starts with the debian kernel too
<Glanzmann>
And now we have a very nice debian kernel thanks to sven and jannau. Which has all the usual modules in (too much for the m1, but that way you won't miss anything.)
kylealanhale has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
giskard has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Kevin5 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ciggi has joined #asahi
ciggi_ has quit [Remote host closed the connection]
<clover[m]>
does spotify work for people? YouTube Music appears to be stuck at buffering
<AdryzzOLEDEdition[m]>
thats an audio playback issue
<clover[m]>
ah darn, i was hoping stuff like YT videos were not playing because of graphics driver issues
<AdryzzOLEDEdition[m]>
no, it hangs when trying to play audio. not sure why (i dont even have a machine ahahah)
<opticron>
something interesting I've noticed at least with debian, if the screen blanks in the process of locking and you wake it up before it locks, an after image of the cursor stays on the screen
<opticron>
and will disappear if you run the cursor over it
<alden4[m]>
oh the struggles of the base model storage option lol
<marcan>
:)
<marcan>
I do need to add better error handling for the resize
<j`ey>
alden4[m]: still more storage than my old mac which was 128G!
<alden4[m]>
j`ey: yea my last laptop the surface book was only 128g, in theory the storage was upgradable but in practice it wasn't, the whole thing was glued together lol
<AdryzzOLEDEdition[m]>
my current desktop is 120GB
<AdryzzOLEDEdition[m]>
i can't even do an AUR update anymore because the paru cache will fill everything up
<alden4[m]>
i wonder if apple will ever make a computer with upgradable storage again
<gsora[m]>
Not gonna happen IMO
<gsora[m]>
It’s all thunderbolt now
<marcan>
the Mac Studio is kind of upgradable
<marcan>
the SSDs are in slots
<marcan>
apparently taking it apart is still kind of hell though
<opticron>
any news on when yours is coming in?
<marcan>
well, not really SSDs, more like NAND modules
<marcan>
opticron: should make it by the end of the month
<opticron>
cool
<opticron>
that's going to be fun
<j`ey>
marcan: you could do an irl unboxing stream!
<marcan>
:D
<j`ey>
we just see your computer on streams, but that first stream with the face cam was actually quite nice too
<marcan>
I should do one of those again soon
r0ni has joined #asahi
george has joined #asahi
george is now known as Guest2753
<Guest2753>
Is there a way to skip the 2 second countdown on boot?
<kettenis>
which two second countdown ;)
<Guest2753>
Imediately you turn it on, I think its in uboot?
<mps>
this question is repeated from time to time
<mps>
Guest2753: you can build u-boot and set this timeout in config
<Guest2753>
Hmm, that sounds quite complicated
<Guest2753>
I'll just live with it
<Guest2753>
Do you know when there might be a 4K kernel being released
<Guest2753>
Am struggling without vscode...
<nicolas17>
j`ey: I once watched half a c3 talk on youtube about console hacking before realizing that was marcan (missed his name on the title slide and hadn't seen his face before)
<j`ey>
nicolas17: :D
<mps>
Guest2753: it is not complicated, CONFIG_BOOTDELAY=2 change 2 to what you like
<mps>
Guest2753: debian kernel is 4K afaik
<kettenis>
at this point recompiling u-boot is your only option
<j`ey>
nicolas17: depending on which video it was, sven might have been in it too!
Darkmatter66 has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
m2231puppy has joined #asahi
<meowcat285[m]>
I am trying to install asahi now
<meowcat285[m]>
Lets see how it goes
<alden4[m]>
same here, really excited
<alden4[m]>
i've heard most apps open instantly
<meowcat285[m]>
<alden4[m]> "just have one snapshot which..." <- Do not remove that
<alden4[m]>
ah gotchu
<meowcat285[m]>
I didnt have to, and its on the system partition, so I wouldnt
<m2231puppy>
hi all, new here. just got my asahi installed. super excited to do some random stuff with it! huge thx to the devs
<Lucy[m]>
I hope I can manage to get a working Pop-Asahi image at the end of the day. Perhaps I could convince the rest of the team to make a "semi-official" image.
<m2231puppy>
does pop have arm builds?
<meowcat285[m]>
m2231puppy: Not that I know of...
<johey>
Oh my! I have picture on my monitor now! I'm in Asahi Desktop! :D
<Lucy[m]>
m2231puppy: Yes, for the Raspberry Pi 4. I once bastardized that image to manually install Pop on my M1.
<clover[m]>
after having my system intermittently blast deafening sound through my headphones into my ears i've decided i am not that guy to fix alsa on asahi lol
Darkmatter66 has joined #asahi
<m2231puppy>
Lucy[m]: nice, sounds like fun. im not a pop person myself. ubuntu+kde for life
<m2231puppy>
people are literally reverse engineering macbooks and here i am patting myself on the back for logging into an irc channel
<Lucy[m]>
> * <@_oftc_winter:matrix.org> waves at Lucy
<Lucy[m]>
Oh hiiii winter, I was wondering if that was you or someone else named winter.
m2231puppy has quit [Quit: m2231puppy]
<AdryzzOLEDEdition[m]>
<nicolas17> "j`ey: I once watched half a c3..." <- yep the ps4 one
<AdryzzOLEDEdition[m]>
finish it, it is very good
m2231puppy has joined #asahi
<nicolas17>
AdryzzOLEDEdition[m]: oh I watched it all, I mean I only noticed it was him when I was halfway thru :D
<AdryzzOLEDEdition[m]>
oh
m2231puppy has quit []
<meowcat285[m]>
Done partitioning now
<meowcat285[m]>
Its on the `extracting root.img into disk0s7 partition` step
axenntio has joined #asahi
<meowcat285[m]>
I am so exited
___nick___ has quit [Ping timeout: 480 seconds]
axenntio has quit []
kylealanhale has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
axenntio has joined #asahi
axenntio has quit []
axenntio has joined #asahi
<alden4[m]>
<meowcat285[m]> "I am so exited" <- ikr same, i was never able to get into linux because certain things would always not work, i'm excited for asahi because it's literally designed for my computer lol
<krbtgt>
more people blithely doing no research about mac studio slots
<krbtgt>
i feel there's a LOT of disinfo about how AS macs boot/how the internal storage works
<sven>
welcome to anything related to apple :(
<krbtgt>
yup :)
<krbtgt>
context: some youtuber swapped the SSD in the studio and thought disabling SIP would do it (....), never attempted DFU, went on rant
<sven>
he.. swapped the ssd?!
<sven>
with what? those should just be NAND modules
<krbtgt>
with another studio's storage
<krbtgt>
since he had two
<sven>
lol
<krbtgt>
dude didn't know TPM based PCs wouldn't let you do the same either
<j`ey>
and poor sven doesnt even have 1 D:
<sven>
shush
<sven>
no need to remind me 🥲
<krbtgt>
go be a video starr
<j`ey>
sven: btw I didnt know you had met markan irl, that's cool
<sven>
:D
<sven>
we used to meet once a year at ccc
<j`ey>
asahicon when
<krbtgt>
tweezer OGs
<sven>
and I even visited him in .jp once!
<marcan>
crashed in my living room :D
<sven>
yup :D
<j`ey>
I have a sofa that turns into a bed, you're welcome here too :p
<sven>
and was dragged to some karaoke place that turned out to be a lot of fun!
<j`ey>
:-)
<marcan>
j`ey: I do now too!
<marcan>
last time he crashed on an air mattress
<marcan>
but now I have a proper sofabed :)
<gsora[m]>
krbtgt: typical YouTuber
<j`ey>
marcan: svens world tour 2023
<meowcat285[m]>
Quick question
<sven>
so now I have to try both j`ey and marcan’s Sofa I guess :-P
<meowcat285[m]>
How do I change my default boot OS
<krbtgt>
indeed, but there'll be a lot of bullshit on the tweets etc.
<gsora[m]>
Although m1 macs are radically different than usual… but I guess TPM-enabled computers would work the same?
<krbtgt>
in terms of not allowing SSD swaps for encrypted systems yes
<j`ey>
meowcat285[m]: the installer should set it as the default for you
<krbtgt>
well, you can nuke the storage and then use it (you know, DFU in AS, just normal reinstall on a PC)
<meowcat285[m]>
j`ey: I know, but what if I want to switch it back to MacOS?
<krbtgt>
just putting it in and expecting it to work, nope. and it did the amber blinking, which he thought was total fialure
<j`ey>
meowcat285[m]: but if you go into 1TR and hold the option key as your selecting macos int he bootpicker
<AdryzzOLEDEdition[m]>
sofabeds are a great invention
<meowcat285[m]>
j`ey: That changes it to the default?
<meowcat285[m]>
Alright, thanks
<gsora[m]>
krbtgt: I don’t really like this forced reliance on another Mac to reset yours honestly
<gsora[m]>
But i guess that’s the best they could come up with
<lkvrsfld[m]>
meowcat285[m]: You also can change it in macos -> system preferences -> startup disk
<j`ey>
markan helped fix it
<gsora[m]>
Woah nice to know!
<lkvrsfld[m]>
Are AS mac ipsw‘s also signed and un-downgradeable?
<lkvrsfld[m]>
* also signed the macs and un-downgradeable?
<dan[m]123>
Has anyone used software raid on Asahi yet? Any issues or seamless
<nicolas17>
lkvrsfld[m]: afaik in the default security mode it will phone home to see if you're allowed to downgrade, while in permissive security any Apple ipsw works
<kettenis>
not much point in using software raid if you only have a single NVMe storage device
<nicolas17>
however, it also happens that every Mac version is still signed, so even in default security mode you can downgrade
<lkvrsfld[m]>
Very nice… it‘s a great platform tbh
<lkvrsfld[m]>
lkvrsfld[m]: marcans article explained it very well
<dan[m]123>
kettenis: Thunderbolt drive bay
<nicolas17>
in other words, in permissive security you can always downgrade, in full security it asks Apple first, but for whatever reason Apple is always saying "yes" right now anyway
<tpw_rules>
dan[m]123: thunderbolt doesn't work yet
<tpw_rules>
your only option is usb 2
<dan[m]123>
Ah that’s unfortunate
<dan[m]123>
But thanks
<tpw_rules>
usb 3 is coming soon™
<sven>
there’s already atc-WIP which worked for jannau (for some value if worked)
<lkvrsfld[m]>
nicolas17: Running with sip disabled doesn‘t break anything, like TouchID, Apple pay featres etc., does it?
<lkvrsfld[m]>
I mean the phone / mobile market is a little different than notebooks but i didn‘t expect this openness from soole
<lkvrsfld[m]>
* > <@_oftc_nicolas17:matrix.org> in other words, in permissive security you can always downgrade, in full security it asks Apple first, but for whatever reason Apple is always saying "yes" right now anyway
<lkvrsfld[m]>
I mean the phone / mobile market is a little different than notebooks but i didn‘t expect this openness from apple
<lkvrsfld[m]>
Running with sip disabled doesn‘t break anything, like TouchID, Apple pay featres etc., does it?
<nicolas17>
I'm pretty sure disabling SIP breaks FairPlay (DRM), which means no full-resolution Netflix and no iOS apps, but Apple Pay I don't know
<gsora[m]>
It would be very weird to see Apple Pay working but not Netflix tbh
<nicolas17>
(I never used Apple Pay, Apple launched it in my country *last week*, and my bank is still not supported :P)
<gsora[m]>
I love it on iPhone, rarely used it on macs
<gsora[m]>
I wish I could pay with my (soon to arrive) precursor instead tho :-(
pphilipss has joined #asahi
<krbtgt>
i've got my precursor
<krbtgt>
i'm just putting it back in the box until six months when a software ecosystem will start to materialize or i have the time to learn more shit than i already am
yzz has joined #asahi
<gsora[m]>
I’m writing the irc client, stay tuned 👀
<gsora[m]>
The fun part is making the software ecosystem materialize tbh
<gsora[m]>
Also has been a great excuse to learn rust
<krbtgt>
for me it'd be a nice excuse if i didn't have so much on the go already D:
<kov>
these are the best times I got for each after 3 builds, I think it's safe to assume the 1 minute difference between mac and linux on the mini is likely due to the cores not boosting (there are a few bits of the build which have a single build going, or a couple)
<j`ey>
kov: fedora is 10s faster than deboan!!
<j`ey>
*debian
<kov>
on the air though, that looks like the lack of power management is hitting it hard
<kov>
j`ey, haha, I actually did the build on fedora to check if there was a big difference because the air builds were done on fedora, and mini mostly on debian
<j`ey>
kov: also your locale is wrong on linux!
<tpw_rules>
presumably mean thermal?
<gsora[m]>
kov: so it really is faster
<rinsuki[m]>
after some tries, I succeeded to install it with encrypted root. my choice is "install two linux", one for install & plain /boot (only 2~3gb is needed), one for actual encrypted root.
<j`ey>
it still seems surprising. 3mins diff on mini and 10mins on air
<gsora[m]>
krbtgt: if you’ll ever find time you’re welcome on #betrusted:matrix.org :)
<kov>
tpw_rules, well, I think it's mostly power that's causing the air to heat up more than it should, since there is no active cooling, and thermal management would just throttle the cores anyway?
<j`ey>
or 1min diff on air with 16k
<AdryzzOLEDEdition[m]>
j`ey: make an ice bath for the air and find out
<tpw_rules>
kov: i mean the lack of active cooling is what hurts it
<tpw_rules>
presumably they didn't gimp the VRMs
<kov>
tpw_rules, oh, for sure, I meant the difference between mac and linux on the Air is massive because mac has better power management, so it keeps things cooler and throttles less
<tpw_rules>
oh, then i misinterpreted you
<tpw_rules>
that might be true
<kov>
~10 min difference is no joke
<kov>
it's 50% slower
m2231puppy has joined #asahi
<sven>
huh, that’s a lot
<j`ey>
dont say it like that :|
<gsora[m]>
Kind of wicked
<tpw_rules>
yeah i didn't realize how you were comparing
<AdryzzOLEDEdition[m]>
the best power management is still suspend to ssd
<kov>
AdryzzOLEDEdition[m], that won't help a compile I'm afraid
<j`ey>
kov: hopefully someone with mbp can do the same tests
<kov>
that'd be nice, I may be able to do that soon
<AdryzzOLEDEdition[m]>
kov:
<AdryzzOLEDEdition[m]>
you can mine chia by carefully crafring your ram contents and then repeatedly suspending to ssd tho
<kov>
AdryzzOLEDEdition[m], why not just write to the ssd?
<nicolas17>
/o\
<kov>
(though mining chia sounds like one of the worst things I could do to my Air =D)
<AdryzzOLEDEdition[m]>
*to any storage medium
<gsora[m]>
kov: thanks for taking the time to do this test!
<kov>
gsora[m], o/\o
pphilipss has quit [Remote host closed the connection]
yzz has joined #asahi
yzz has quit [Remote host closed the connection]
evlinux[m] has joined #asahi
<kov>
j`ey, wait I just saw the message about the locale, what do you mean? =)
kjm99 has joined #asahi
<kov>
oh, the commas on the last one?
<vimsos[m]>
[-/
<vimsos[m]>
||
<j`ey>
kov: 4,5G vs 5.5G :)
<evlinux[m]>
Where can I get some help for installation? I got an error Failed to run process: diskutil apfs resizeContainer disk0s2 119999037440
<kov>
j`ey, right! for some of those I had already set up locales for pt_BR.UTF-8 heh, I leave language as English but set the formats and CTYPE to my local ones
<nicolas17>
osteoblast22[m]: that's sometimes chip-specific
<j`ey>
kov: bom dia
<kov>
j`ey, já é boa noite aqui =)
<osteoblast22[m]>
nicolas17: yes it should be checked from the firmware and advertised to the system if the chip is capable
<nicolas17>
I have a Lenovo laptop with a driver that supports monitor mode but not on this particular chip (and last time I researched it, it wasn't even clear if "the chip doesn't support monitor mode" or "the Linux driver doesn't support monitor mode on that chip") :/
<j`ey>
kov: youre not as far behind, time wise, as I thought!
<kov>
yeah, UTC - 3
<evlinux[m]>
j`ey: I do not have any snapshots listed. Only file listed is
<evlinux[m]>
Also did that and same error. Booted in recovery, selected First Aid on HD and was okay
<evlinux[m]>
I will try again now
yzz has joined #asahi
<j`ey>
if that doesnt work, open a github issue with the full log attached
yzz has quit [Remote host closed the connection]
lockejan[m] has joined #asahi
yzz has joined #asahi
yzz has quit [Remote host closed the connection]
kloenk has quit [Remote host closed the connection]
kloenk has joined #asahi
meowcat285[m]1 has joined #asahi
<meowcat285[m]1>
Hello again
yzz has joined #asahi
yzz has quit [Remote host closed the connection]
megalodon42[m] has joined #asahi
THX1984 has joined #asahi
<megalodon42[m]>
hello
<megalodon42[m]>
I am trying to install Asahi Linux on my Macbook Air M1 but I am stuck at step2: bputil failed. Failed to create ACM context with provided username and password
<megalodon42[m]>
Am I at the right place ? :)
<tpw_rules>
what username did you use?
<tpw_rules>
you have to put in the same username it asked for previously in step2
<megalodon42[m]>
actually the username that is displayed is the one I have on my MacOs
<megalodon42[m]>
and the password I am using is the one I have on my MacOs
<megalodon42[m]>
it is strange since it takes like 5 or 10 sec to deny my password
<megalodon42[m]>
while it denies instantly a wrong password
dooferorg[m] has joined #asahi
<evlinux[m]>
Got it working :)
<evlinux[m]>
Looks like youtube videos dont play for some odd reason, but the overall system feels great
Ruben[m] has left #asahi [#asahi]
<nicolas17>
evlinux[m]: that's due to audio being stuck, try "switch the audio profile to input and back to duplex"
<meowcat285[m]1>
evlinux[m]: Well, at the moment, there is no GPU acceleration, that may be why
<megalodon42[m]>
UserInfo={NSLocalizedDescription=Failed to create local policy, NSUnderlyingError=0x60003f109f0 {Error Domain=com.apple.bootpolicy Code=17 "pairing (17)"
<dooferorg[m]>
Hi.. just wanted to say I think it's really cool the asahi linux group are working on this project. I just wanted to ask, do you think it will eventually be possible to 'reformat and reinstall' a macbook pro without needing to boot in to the OS first? Eyeing these 'for parts' m1 macbooks on ebay :)
<nicolas17>
dooferorg[m]: no, you need the macOS password to change the boot policy
axenntio has quit [Quit: Axenntio]
<tpw_rules>
you can erase it fully or do DFU as long as it doesn't have the activation lock
<nicolas17>
if it's activation-locked, “what if they DFU erase install the Mac and then decide to just use it as a Linux box?” was an explicit concern by Apple and they made sure it was not possible
<dooferorg[m]>
gotcha.. Yea, I was reading about the M1 'security enclave' and owner certificate lark and wondered if that'd be the case. Just wanted to ask :)
<dooferorg[m]>
Maybe some time I'll pick up a macbook and try it.. I'll just keep on supporting via patreon and cheering from the sidelines :D
<evlinux[m]>
<nicolas17> "evlinux: that's due to audio..." <- no cigar but all good. I can wait for further updates. Feels amazing, barely using any resources with tons of applications open
yzz has quit [Ping timeout: 480 seconds]
<evlinux[m]>
YT videos randomly started playing videos now but still no audio
<evlinux[m]>
with headphone jack, worked for a sec then stopped, little quirky of course haha This is awesome
yzz has joined #asahi
kjm99 has quit [Remote host closed the connection]
eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gladiac is now known as Guest2767
gladiac has joined #asahi
<Lucy[m]>
Any way to point the Asahi installer at a local distro zip?
<tpw_rules>
choose a UEFI environment, manually create the rootfs partition, and do dd
svelle[m] has joined #asahi
minecrell has quit [Quit: Ping timeout (120 seconds)]
minecrell has joined #asahi
nzzz_ has joined #asahi
yzz has quit [Ping timeout: 480 seconds]
Guest2767 has quit [Ping timeout: 480 seconds]
nzzz has quit [Read error: Connection reset by peer]
<LuigyLeon[m]>
tpw_rules hmm not sure how systemd-boot broke, but it's showing me only old generations even though bootctl status looks good