2022-03-21
00:05axenntio has joined #asahi
00:14axenntio has quit [Ping timeout: 480 seconds]
00:14BlitzWorks has joined #asahi
00:22kameks has joined #asahi
00:35axenntio has joined #asahi
00:35pj1 has quit [Quit: WeeChat 2.8]
00:43axenntio has quit [Ping timeout: 480 seconds]
00:54artemist has joined #asahi
00:58kovrust build bare metal macos: 0:19:53 | bare metal linux 4k page size: 0:31:23 (cc j`ey gsora[m])
00:59kov^ 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
01:00goodmatty[m] has joined #asahi
01:10axenntio has joined #asahi
01:18axenntio has quit [Ping timeout: 480 seconds]
01:26kameks has quit [Ping timeout: 480 seconds]
01:31axenntio has joined #asahi
01:35GavinPacini[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!
01:36GavinPacini[m] is now known as GavinP[m]
01:40axenntio has quit [Ping timeout: 480 seconds]
01:40kylealanhale has joined #asahi
01:41kameks has joined #asahi
01:43Bennett[m] has joined #asahi
01:51Bennett[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
01:51Bennett[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?
01:52linearcannon has joined #asahi
01:53nico_32 has quit [Remote host closed the connection]
01:55nico_32 has joined #asahi
01:58Zianther has joined #asahi
02:02aratuk has joined #asahi
02:02Zianther has left #asahi [Leaving]
02:06axenntio has joined #asahi
02:14GavinP[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
02:14axenntio has quit [Ping timeout: 480 seconds]
02:27aratukmps: 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.
02:28phiologe has joined #asahi
02:31PhilippvK has quit [Ping timeout: 480 seconds]
02:33opticronhmm, 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
02:38axenntio has joined #asahi
02:42marvin24_ has joined #asahi
02:42roxfan has quit [Ping timeout: 480 seconds]
02:43GavinP[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
02:46marvin24 has quit [Ping timeout: 480 seconds]
02:52riker77_ has joined #asahi
02:54axenntio has quit [Ping timeout: 480 seconds]
02:57riker77 has quit [Ping timeout: 480 seconds]
02:57riker77_ is now known as riker77
02:58rikkaa has joined #asahi
03:01axenntio has joined #asahi
03:09axenntio has quit [Ping timeout: 480 seconds]
03:13RevHelix has quit [Quit: No Ping reply in 180 seconds.]
03:15RevHelix has joined #asahi
03:22chadmed has joined #asahi
03:27kov has quit [Quit: Coyote finally caught me]
03:27PhilippvK has joined #asahi
03:27kov has joined #asahi
03:30phiologe has quit [Ping timeout: 480 seconds]
03:35axenntio has joined #asahi
03:42dougall has quit [Server closed connection]
03:42dougall has joined #asahi
03:43axenntio has quit [Ping timeout: 480 seconds]
03:44lethalbit has quit [Server closed connection]
03:44lethalbit has joined #asahi
03:49duckworld has quit [Server closed connection]
03:50Namidairo has quit [Server closed connection]
03:50Namidairo has joined #asahi
04:02riatre has quit [Server closed connection]
04:03riatre has joined #asahi
04:03nyuhu has quit [Remote host closed the connection]
04:04kameks has quit [Ping timeout: 480 seconds]
04:04nyuhu has joined #asahi
04:08axenntio has joined #asahi
04:09pphilipss has quit [Quit: Deuces!]
04:09pphilipss has joined #asahi
04:16axenntio has quit [Ping timeout: 480 seconds]
04:23ChaosPrincess has quit [Server closed connection]
04:23ChaosPrincess has joined #asahi
04:29amw has quit [Server closed connection]
04:29amw has joined #asahi
04:30_whitelogger has joined #asahi
04:30creechy has joined #asahi
04:33ou1[m] has joined #asahi
04:33zyroklarryfish[m] has joined #asahi
04:34ou1[m] has left #asahi [#asahi]
04:35roxfan has joined #asahi
04:36robinp has quit [Server closed connection]
04:36robinp has joined #asahi
04:38kylealanhale has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:39kylealanhale has joined #asahi
04:41axenntio has joined #asahi
04:47kylealanhale has quit [Ping timeout: 480 seconds]
04:49axenntio has quit [Ping timeout: 480 seconds]
04:54marvin24 has joined #asahi
04:57marvin24_ has quit [Ping timeout: 480 seconds]
05:08rikkaa has quit [Quit: Connection closed for inactivity]
05:10creechy has quit [Ping timeout: 480 seconds]
05:12axenntio has joined #asahi
05:20axenntio has quit [Ping timeout: 480 seconds]
05:21pphilipss has quit [Ping timeout: 480 seconds]
05:22creechy has joined #asahi
05:24enchiladasconpinguino[m]GavinP: kvm with qemu is working, but afaict libvirt is still broken for m1s
05:25enchiladasconpinguino[m]whatever I do, I can't seem to get libvirt to use kvm .. always falls back to qemu tcg
05:25enchiladasconpinguino[m]if I manually change the config xml and override for kvm, it just crashes libvirt
05:29PaterTemporalis has quit [Ping timeout: 480 seconds]
05:31creechy has quit [Ping timeout: 480 seconds]
05:31enchiladasconpinguino[m]re: linux-apfs-rw, please everyone be careful using that! its not stable yet
05:31enchiladasconpinguino[m]I strongly suggest only use apfs-fuse for now
05:42kameks has joined #asahi
05:47axenntio has joined #asahi
05:51creechy has joined #asahi
05:56_alicei 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
05:58_alicei 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
05:58enchiladasconpinguino[m]_alice: I've got `qemu -accel kvm` working with those patches yup, but libvirt still crashes :/
05:58enchiladasconpinguino[m]you have `domain=kvm` in the xml config for the VM, that works?
05:59creechy has quit [Ping timeout: 480 seconds]
05:59axenntio has quit [Ping timeout: 480 seconds]
06:05axenntio has joined #asahi
06:13axenntio has quit [Ping timeout: 480 seconds]
06:18Ry_Darcy has quit [Remote host closed the connection]
06:22_aliceenchiladasconpinguino[m]: oh, you're right, the xml has `type=qemu` in it now… and my previously-compiled qemu from git doesn't work anymore
06:23_aliceit dies with `KVM is not supported for this guest CPU type` and `kvm_init_vcpu: kvm_arch_init_vcpu failed (0): Invalid argument`
06:24creechy has joined #asahi
06:24_alicethis worked on this kernel that marcan pushed right before the alpha installer went up, i'm pretty sure; https://github.com/AsahiLinux/PKGBUILDs/commit/5dd2336e765ba3dd34b5658e553af423aef87d97
06:32kode54I didn't know that you need to run wipe-linux before reinstalling macOS on the main system volume
06:32alexandruchi[m] has joined #asahi
06:33kode54if 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
06:34axenntio has joined #asahi
06:34creechy has quit [Ping timeout: 480 seconds]
06:42axenntio has quit [Ping timeout: 480 seconds]
06:45creechy has joined #asahi
06:47Chainfireaxboe> 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)
06:53creechy has quit [Ping timeout: 480 seconds]
06:58Ry_Darcy has joined #asahi
06:58kode54erasing the Mac made it erase the Asahi boot partition, but not the actual Linux partition
07:02axenntio has joined #asahi
07:03kode54Glanzmann: if I still have the EFI and the Linux filesystem, can I just install the m1n1 + UEFI mode?
07:07guillaume_g has joined #asahi
07:09notjbl[m] has joined #asahi
07:09enchiladasconpinguino[m]_alice: this should work for you with all the latest patches / kernel
07:09enchiladasconpinguino[m]`qemu-system-aarch64 -bios QEMU_EFI.fd -machine virt -m 4G -cpu host -smp cores=8 -accel kvm -nographic -cdrom some-linux-aarch64-uefi.iso`
07:10axenntio has quit [Ping timeout: 480 seconds]
07:10enchiladasconpinguino[m]I'm now thinking the libvirt issues might need to be taken upstream..
07:10enchiladasconpinguino[m]as qemu with kvm in virt-manager should just work, it works fine on other high end aarch64 systems- thunderx, neoverse, etc
07:11notjbl[m] is now known as auroramatrixorg[m]
07:16creechy has joined #asahi
07:17r0ni has joined #asahi
07:24creechy has quit [Ping timeout: 480 seconds]
07:27nicolas17 has quit [Ping timeout: 480 seconds]
07:28jannauGlanzmann: I haven't checked the status but I believe at most the misc fixes from the wifi changes are merged
07:28Roos[m] has joined #asahi
07:30jannauGlanzmann: also missing from your list of not upstreamed things is keyboard/trackpad. can't be deduced from SPI without HW specific knowledge
07:30r0ni has quit [Quit: Textual IRC Client: www.textualapp.com]
07:31r0ni has joined #asahi
07:32_aliceenchiladasconpinguino[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.
07:33_alicei think there might be some API incompatibility between qemu-7.x from git and libvirt, but not entirely sure
07:33jannauGlanzmann: USB is also missing upstream, we haven''t added it yet to the devicetree since the reconnect fix is missing
07:34axenntio has joined #asahi
07:34MajorBiscuit has joined #asahi
07:34svenI’ll likely wait with usb and upstream it together with atcphy because there might be more fun interactions fwiw
07:36Major_Biscuit has joined #asahi
07:38Roos[m] has left #asahi [#asahi]
07:39ptitSeb[m] has joined #asahi
07:42axenntio has quit [Ping timeout: 480 seconds]
07:42roxfan has quit [Ping timeout: 480 seconds]
07:43MajorBiscuit has quit [Ping timeout: 480 seconds]
07:45creechy has joined #asahi
07:53creechy has quit [Ping timeout: 480 seconds]
07:56hectour[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
07:56hectour[m]s/most/great/, s/fratures/features/
08:02creechy has joined #asahi
08:02axenntio has joined #asahi
08:10creechy has quit [Ping timeout: 480 seconds]
08:10axenntio has quit [Ping timeout: 480 seconds]
08:17mpsaratuk: I don't know much about macos and about APFS (except it is somewhat modified ZFS or similar to it)
08:22mpsand in general about 'safe' running linux (asahi) on m1, it is not 'safe' because there are some problems, it is not polished yet
08:23mpsdevices could be damaged, filesystems could be trashed, machines could become un-bootable etc etc
08:26pbrobinson has joined #asahi
08:26mpssaying all that I'm using m1 as daily driver with asahi for 4 months now, didn't had any serious problem
08:28mpsand that is not because I'm smart or knowledgeable but because asahi developers are smart, careful and knowledgeable. thank you all
08:34creechy has joined #asahi
08:36Krutonium[m] has joined #asahi
08:38eroux has joined #asahi
08:41axenntio has joined #asahi
08:42creechy has quit [Ping timeout: 480 seconds]
08:49axenntio has quit [Ping timeout: 480 seconds]
08:49creechy has joined #asahi
08:49giskard has joined #asahi
08:57creechy has quit [Ping timeout: 480 seconds]
09:01enchiladasconpinguino[m]alpine edge on m1 mini so far very stable :)
09:02enchiladasconpinguino[m]typing this from the machine, xfce desktop
09:07ciggi has quit [Read error: Connection reset by peer]
09:08ciggi has joined #asahi
09:08eroux has quit [Ping timeout: 480 seconds]
09:08enchiladasconpinguino[m]in theory m1 is among the fastest machine that can run openbsd, thanks to no smt issues
09:14axenntio has joined #asahi
09:18creechy has joined #asahi
09:25Ry_Darcy_ has joined #asahi
09:26creechy has quit [Ping timeout: 480 seconds]
09:28enchiladasconpinguino[m]pinebook pro as well iirc
09:28axenntio has quit [Ping timeout: 480 seconds]
09:29enchiladasconpinguino[m]3-5% of the computing power of m1 ..
09:30mpsenchiladasconpinguino[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
09:31enchiladasconpinguino[m]rk3399 is actually not bad, true
09:31enchiladasconpinguino[m]I have the rock64 board with that one I think
09:32enchiladasconpinguino[m]pcie mostly works on the rockchips too! unlike most other arm sbcs
09:33axenntio has joined #asahi
09:35enchiladasconpinguino[m]mps: any experience with the macchiatobin board?
09:36enchiladasconpinguino[m]I'm tempted since that one has ECC
09:37mpsenchiladasconpinguino[m]: no, my experience is mostly with allwinner, some tegra, mediatek and rockchip
09:37enchiladasconpinguino[m]rpi, allwinner, rockchip here
09:38noebr[m] has joined #asahi
09:39EvadingEvasions[m] has joined #asahi
09:39EvadingEvasions[m]Uh quick question.
09:39EvadingEvasions[m]Will I get bricked?
09:39enchiladasconpinguino[m]gsora: "fine" isn't what I'd hope for given the price .. :p
09:39EvadingEvasions[m]In the middle of the installation, talked to society, they said I might get bricked.
09:39mpsthough 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
09:40EvadingEvasions[m]EvadingEvasions[m]: this anyone?
09:40enchiladasconpinguino[m]EvadingEvasions: the most dangerous part is the partition resizing
09:40EvadingEvasions[m]enchiladasconpinguino[m]: I'm past that.
09:40enchiladasconpinguino[m]machine might lock up for a few minutes
09:41EvadingEvasions[m]Yeah that's done.
09:41EvadingEvasions[m]So I'm good? continue installing?
09:41EvadingEvasions[m]It's extracting right now(takes a lifetime). I'm in the clear right?
09:41EvadingEvasions[m]There's no necessity to back up my data or yes?
09:41enchiladasconpinguino[m]always always back up your data!
09:42EvadingEvasions[m]All that matters is my projects folder.
09:42EvadingEvasions[m]It's safe on github.
09:42EvadingEvasions[m]Aside from that yeah I'm fine with it getting wiped.
09:42enchiladasconpinguino[m]the installer was designed to install alongside macos, that is the preferred setup in fact
09:43enchiladasconpinguino[m]but this is alpha software, use at your own risk etc etc
09:43EvadingEvasions[m]enchiladasconpinguino[m]: Using that only.
09:43EvadingEvasions[m]But no bricking right?
09:43EvadingEvasions[m]I'm fine with data getting wiped but not fine with the laptop not being usable anymore.
09:43enchiladasconpinguino[m]truly bricking an m1 is quite difficult
09:43enchiladasconpinguino[m]but things are much easier to recover if you own a second mac
09:43EvadingEvasions[m]Good thing.
09:43enchiladasconpinguino[m]for DFU restore
09:43EvadingEvasions[m]I own 2 macs.
09:44EvadingEvasions[m]A ~2015 Catalina and this.
09:44EvadingEvasions[m]2020 MBP M1
09:44enchiladasconpinguino[m]make sure you have "apple configurator 2" installed, its a free app from apple in the app store
09:44enchiladasconpinguino[m]on your second mac that is
09:44EvadingEvasions[m]Ah ok.
09:44enchiladasconpinguino[m]that is the worse case scenario, you can restore fully a bricked m1 just like you would a messed up iphone
09:44EvadingEvasions[m]Anyone got a successful install?
09:44enchiladasconpinguino[m]same exact DFU restore process nearly
09:45EvadingEvasions[m]How long does it usually take?
09:45EvadingEvasions[m]For me it's slowly going through ` Extracting root.img into disk0s6 partition... `
09:45mpsenchiladasconpinguino[m]: do you have some/any or improvement for script to install alpine on usb
09:46ptitSeb[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
09:46EvadingEvasions[m]I'll caffeinate it.
09:46ptitSeb[m]and then I add to remove all the partitions to start again
09:46EvadingEvasions[m]ptitSeb: How long was that?
09:46enchiladasconpinguino[m]ptitSeb: just saw your latest blog post, gonna give box64 on m1 a try here soon :)
09:46EvadingEvasions[m]In hours? How long should I caffeinate the mac?
09:46ptitSeb[m]it took a long time to extract
09:46EvadingEvasions[m]Yeah same with me.
09:46EvadingEvasions[m]But long time won't cut it, any rough estimation?
09:47ptitSeb[m]don't remember the exact time, as I was doing other things, but I think at least 20min, maybe 30min
09:47ptitSeb[m]enchiladasconpinguino: yes, I need more people trying it :)
09:47EvadingEvasions[m]ptitSeb[m]: It's been ~30 minutes for me and it's at 40%.
09:47LuEvers[m]yo guys, did anyone of you have problems with tun devices (openvpn)?
09:47axenntio has quit [Quit: leaving]
09:48enchiladasconpinguino[m]Lu Evers: might need to manually load the module?
09:48EvadingEvasions[m]Should take at least 100 minutes at max.
09:48enchiladasconpinguino[m]ptitSeb: box64 supports musl yes? anything to be aware of for alpine?
09:48LuEvers[m]it connects.. i think just an issue on my side
09:48enchiladasconpinguino[m]mps: my changes to the script so far were quite trivial! just updated the filepaths to the latest you have published
09:48enchiladasconpinguino[m]I'm going to do a clean install again tomorrow, with another approach
09:48ptitSeb[m]I don't know if it support musl
09:49ptitSeb[m]box64 wrap all those libc stuff. Probably, but not sure
09:49creechy has joined #asahi
09:49enchiladasconpinguino[m]I will test from both arch and alpine
09:49ptitSeb[m]it may fail to compile on some the signal structure, maybe
09:49enchiladasconpinguino[m]yeah .. some glibc specific weirdnesses most likely snuck in somewhere I would think..
09:50enchiladasconpinguino[m]16k pages does work tho?
09:50enchiladasconpinguino[m]that's what I remember reading at least
09:51ptitSeb[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
09:51ptitSeb[m]yeah, 16k page works
09:51enchiladasconpinguino[m]yeah would only be testing x86_64 musl binaries in that case
09:51ptitSeb[m]use the "M1" setting on box64
09:51enchiladasconpinguino[m]yup I see that is now a build target :)
09:51ptitSeb[m](I still need to add an entry on the COMPILE.md for M1)
09:53ChainfireAny way to get UI scaling to work? Using System Settings -> Display Configuration -> Global Scale doesn't seem to do anything
09:54enchiladasconpinguino[m]mps: here is what I plan on trying next:
09:54enchiladasconpinguino[m]assuming that the VM on USB then reboots successfully with "5.17-asahi", will then boot that USB bare metal
09:54enchiladasconpinguino[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
09:54enchiladasconpinguino[m]then as long as you don't let `apk upgrade` overwrite with generic kernel again, should work
09:57creechy has quit [Ping timeout: 480 seconds]
09:57Ry_Darcy_ has quit [Quit: Page closed]
10:00Ry_Darcy has quit [Remote host closed the connection]
10:00Ry_Darcy has joined #asahi
10:02mpsenchiladasconpinguino[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
10:03enchiladasconpinguino[m]mps: cool assuming it works for me, I will try to document the exact procedure used
10:04enchiladasconpinguino[m]we can get your APKBUILD into testing maybe? or at least add your .apk to that same host?
10:05Chainfiregsora[m]: doh, actually logging out and back in works. The screen said reboot, which I did, and changed nothing. Seems to work now :S
10:05mpsenchiladasconpinguino[m]: I have dilema to add or not asahi kernel to alpine aports, not sure what to do
10:06enchiladasconpinguino[m]mps: I think should copy how it works for rpi
10:06enchiladasconpinguino[m]https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/main/linux-rpi/APKBUILD
10:06enchiladasconpinguino[m]have separate experimental kernel package going for now
10:06enchiladasconpinguino[m]yeah its ugly, but it does work
10:07enchiladasconpinguino[m]unlike rpi .. it can be temporary situation
10:07enchiladasconpinguino[m]even this is rock solid for me: https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/main/zfs-rpi/APKBUILD
10:09mpsand I need to find some free time and rewrite all alpine kernels APBUILDs to have -dev subpackages
10:09enchiladasconpinguino[m]https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/testing/linux-gru ?
10:10enchiladasconpinguino[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`
10:10enchiladasconpinguino[m]its only been the weekend, but this is already sooo much more usable and stable than I was expecting
10:10enchiladasconpinguino[m]could also just keep it a .apk published like the kernel tarball for now
10:11marcanChainfire: global scale works fine, except until last night it was misleadingly showing 100% when the default is already 150%
10:11mpsenchiladasconpinguino[m]: alpine policy is not to add kernel with to much patches and patches which have small chances to be upstreamed
10:11marcannow 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%
10:12marcanI 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.
10:12enchiladasconpinguino[m]yup true, and def part of the reliability/stability guarantees of alpine ;)
10:13marcanso 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)
10:13marcanmps: that's fixed in last night's images, which set the KDE defaults including the font DPI when a >2K screen is detected
10:13enchiladasconpinguino[m]mps: just publishing the prebuilt .apk and the APKBUILD file where you already have your kernel tarball is okay for now too
10:15mpsmarcan: I don't use these big DEs, awesome works fine, but I have separate settings for gtk-3.0
10:16mpsmarcan: in .xinitrc `sed -i 's/gtk-cursor-theme-size = ../gtk-cursor-theme-size = 36/' .config/gtk-3.0/settings.ini`
10:18enchiladasconpinguino[m]mps: I see https://dev.alpinelinux.org/~mps/m1/linux-asahi-5.17.rc7.20220318-r0.apk
10:18enchiladasconpinguino[m]but no APKBUILD?
10:19enchiladasconpinguino[m]excellent thank you, will take a look
10:20enchiladasconpinguino[m]I see the 4k pages patch, but that isn't actually applied in what I have running?
10:20Chainfiremarcan: 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%.
10:21enchiladasconpinguino[m]okay .. just confirming that the patches are checksummed but not applied
10:21enchiladasconpinguino[m]pretty sure I am running 16k pages
10:22mpsyou have to install https://dev.alpinelinux.org/~mps/m1/linux-asahi-5.17.rc7.20220318-r0.apk
10:22creechy has joined #asahi
10:22enchiladasconpinguino[m]wait so the .tar.gz kernel is 16k, but the new .apk is 4k??
10:23enchiladasconpinguino[m]perfect, I will try and reboot .. hopefully back soon heh
10:24mpsrest works fine because 'we' don't like to use jemalloc and most programs are built without it
10:24enchiladasconpinguino[m]yeah which is sadly most of the software people use regularly :/
10:24enchiladasconpinguino[m]xfce + firefox working fine on 16k pages
10:27mpsenchiladasconpinguino[m]: yesterday I had problem booting from usb flash with external usb hub, using plain usb-c to usb-a works
10:27enchiladasconpinguino[m]I'm booting off a hub here, but its generically not a good idea yeah
10:28enchiladasconpinguino[m]`$ apk list --installed | grep asahi
10:28enchiladasconpinguino[m]linux-asahi-5.17.rc7.20220318-r0 aarch64 {linux-asahi} (GPL-2.0) [installed]`
10:28enchiladasconpinguino[m]rebooting now
10:28enchiladasconpinguino[m]low quality usb cables and/or underpowered hub most likely
10:30creechy has quit [Ping timeout: 480 seconds]
10:31mpsI 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)
10:36LuEvers[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...
10:37enchiladasconpinguino[m]mps: `$ getconf PAGE_SIZE`
10:37enchiladasconpinguino[m]looks like it worked :)
10:40enchiladasconpinguino[m]$ apk info linux-asahi
10:40enchiladasconpinguino[m]linux-asahi-5.17.rc7.20220318-r0 description:
10:40enchiladasconpinguino[m]Apple Silicon (M1 development kernel)
10:40enchiladasconpinguino[m]I just did apk add and reboot, no extlinux config edits
10:42kameks has quit [Ping timeout: 480 seconds]
10:46enchiladasconpinguino[m]$ uname -a
10:46enchiladasconpinguino[m]Linux mini 5.17.0-0-asahi
10:46enchiladasconpinguino[m]no longer says "test4"
10:47enchiladasconpinguino[m]I did absolutely no changes, just apk add and reboot :)
10:47enchiladasconpinguino[m]I will do a clean install to another usb ssd with this pkg from qemu and the official installer tomorrow!
10:48enchiladasconpinguino[m]yup, using your boot setup from the script
10:49enchiladasconpinguino[m]I made zero customization to that beyond just updating old file paths
10:49bluetail[m]Lu Evers: thanks for testing. So others don’t walk the same path
10:50c10l has joined #asahi
10:51bluetail[m]Do we know if the hdmi runs in limited rgb x-235 or full rgb ?
10:51nuh^ has joined #asahi
10:51bluetail[m]For Mac m1
10:51LuEvers[m]j`ey: Eehm related to?
10:51LuEvers[m]Third line while booting kernel
10:52LuEvers[m]On arch
10:52j`eyok so you have the SEP randomness, I thought the other services might have been slow to start due to that
10:53LuEvers[m]j`ey: I think its a systemd issue, fixed it
10:53LuEvers[m]Systemd-wait-for-network fails..
10:54LuEvers[m]So all dependend services wait for it, disabling it fixed it, should not be related do crng
10:57creechy has joined #asahi
11:04bit_shifts has joined #asahi
11:04bit_shiftsGood morning, is this the right channel for support with the alpha?
11:05bit_shiftsI have an issue with the second stage installer.
11:05bit_shiftsGreat, 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
11:05creechy has quit [Ping timeout: 480 seconds]
11:05bit_shiftsa custom boot policy on my macOS partition*
11:05EvadingEvasions[m]Is alx.sh down?
11:06EvadingEvasions[m]It's resetting connection for me.
11:06EvadingEvasions[m]Maybe.
11:06EvadingEvasions[m]I'm having to reset many times.
11:06EvadingEvasions[m]It fails at extraction and retries and fails again.
11:06bit_shiftsApologies if im typing a bit weird. Having to join this channel from my phone, lol.
11:08bit_shiftsWill do, thanks :)
11:11EvadingEvasions[m]Quick question, can I continue an existing install?
11:11* EvadingEvasions[m]uploaded an image: (23KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/lfXJWPKqsOKJeiwljpBQgVIF/Screenshot%202022-03-21%20at%204.41.49%20PM.png >
11:11EvadingEvasions[m]Like that
11:13GavinP[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
11:13GavinP[m]https://archlinux.org/packages/extra/any/edk2-armvirt/). Debian running well inside libvirt and I guess it's using KVM then.
11:14EvadingEvasions[m]How do I restore an existing installation?
11:15enchiladasconpinguino[m]GavinP: `$ virsh version` ?
11:15GavinP[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?
11:15enchiladasconpinguino[m]`$ dmesg | grep -i virtualization`
11:15GavinP[m]enchiladasconpinguino:... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/pYvPBkElRgbZbbpPmvHQIPjA)
11:16GavinP[m]enchiladasconpinguino: [ 0.000000] CPU features: detected: Virtualization Host Extensions
11:16EvadingEvasions[m]EvadingEvasions[m]: Anyone got any idea on this???
11:16enchiladasconpinguino[m]GavinP: `dmesg | grep -i kvm` for more info
11:16EvadingEvasions[m]j`ey: Oh
11:16j`eyGavinP[m]: Virtualization Host Extensions is a special thing, it doesn't just mean 'virtualisation'
11:17enchiladasconpinguino[m]GavinP: you didn't install custom qemu with latest patches?? just `pacman -S qemu`
11:17EvadingEvasions[m]So I just need to start over again? With resizing and all?
11:18Fl1tzi[m]marcan: Where should be the Mac Lay-out located? In „Symbols“ or in „Macintosh_vndr“??
11:18bit_shifts has left #asahi [Switching to desktop client]
11:18ptitSeb[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)
11:18bit_shifts has joined #asahi
11:18GavinP[m]j`ey: Sure, but it means that this ARM CPU supports the ARM Virtualization Extensions, or something else?
11:18bit_shiftsGitHub issue raised about my problem: https://github.com/AsahiLinux/asahi-installer/issues/50
11:19enchiladasconpinguino[m]GavinP: well that's amazing, it shouldn't be working .. unless vanilla arch has been updated today
11:19EvadingEvasions[m]ptitSeb[m]: Remove all the three mounted drives named "Asahi Linux?"
11:20GavinP[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
11:20j`eyGavinP[m]: Are you talking about virtualisation in general, or are you specifically talking about the AArch64 thing called 'Virtualization Host Extensions'
11:20gladiac has quit [Quit: k thx bye]
11:20enchiladasconpinguino[m]GavinP: I am using the "ovmf" aarch64 bios here
11:20ptitSeb[m]EvadingEvasions: basicaly, this: https://github.com/AsahiLinux/asahi-installer/issues/36 happened to me, so I removed the 3 asahi volume yes
11:21GavinP[m]j`ey: I have been talking a bit about both. :) But all good, it seems VMs are running really well for me on Asahi Linux
11:21gladiac has joined #asahi
11:21ptitSeb[m]EvadingEvasions: it seems there is a script to automate the process now (I didn't used it)
11:22enchiladasconpinguino[m]yeah I think that is edk2, the names are confusing
11:23EvadingEvasions[m]I'll just install again now.
11:23mazj`ey: no, just being able to use the GICv3 CPU interface without trapping and emulating each and every sysreg access...
11:24enchiladasconpinguino[m]GavinP: well then its a real mystery why libvirt is not working for anyone else yet.. if your setup was so straightforward
11:24life-the-user[m] has joined #asahi
11:24mpsenchiladasconpinguino[m]: GavinP[m]: short (and somewhat outdated) guide how to run aarch64 in qemu VM https://arvanta.net/alpine/install-aarch64-qemu/
11:25enchiladasconpinguino[m]yeah none of this is really new, just previously not available on consumer hw
11:25GavinP[m]enchiladasconpinguino: I'd love to help out more if I can, it was all quite a vanilla qemu / libvirt setup that just worked
11:25life-the-user[m]hello, which software repositories asahi is using? archlinuxarm?
11:26mazmake sure you use a very recent qemu (i.e. the unreleased 7.0). earlier releases can't work on M1.
11:26GavinP[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 ;)
11:26life-the-user[m]is there a chance of bricking my laptop when installing?
11:27bit_shifts has quit []
11:27enchiladasconpinguino[m]> <@gavinpacini:matrix.org> enchiladasconpinguino:... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/vMhwCIRWAPgbchhLkqGKtucB)
11:27GavinP[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
11:27bluetail[m]Qemu? Isn’t it running natively?
11:27GavinP[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?
11:28mpsGavinP[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
11:28enchiladasconpinguino[m]^ yes this much does work fine on alpine, its libvirt that is not working on anything not arch
11:29enchiladasconpinguino[m]assuming it is in fact working from arch now (?)
11:30bit_shifts has joined #asahi
11:30GavinP[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
11:30enchiladasconpinguino[m]so something very recent patch has made it to arch we are all missing perhaps
11:30life-the-user[m]is there anything i can do with touchpad in assahi linux?
11:31chir4gm has quit []
11:31chadmedmore seriously, we do have full gesture support though you will need to map some yourself
11:31bit_shifts has quit []
11:31life-the-user[m]oh wait i meant touch bar
11:31chir4gm has joined #asahi
11:31enchiladasconpinguino[m]KDE should detect it and work as well yup
11:31creechy has joined #asahi
11:32EvadingEvasions[m] has left #asahi [#asahi]
11:32enchiladasconpinguino[m]GavinP: a screenshot of your virt-manager VM config info page etc would be appreciated
11:32EvadingEvasions[m] has joined #asahi
11:33kovAsahi basically sets up a second minimal MacOS install and puts m1n1/u-boot as a custom kernel for it
11:35* GavinP[m]uploaded an image: (46KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/TdEcIEwdHEiijShjFygPfXWr/image.png >
11:36GavinP[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
11:36kovsting[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
11:37* enchiladasconpinguino[m]uploaded an image: (29KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/JrjOWvUYNzrwKEROHkLZzjqd/virt-manager-alpine-no-kvm.png >
11:37ciggi_ has joined #asahi
11:38enchiladasconpinguino[m]plain `qemu-system-aarch64 -accel kvm` def is working
11:38ciggi has quit [Read error: No route to host]
11:38enchiladasconpinguino[m]I can manually boot a VM outside of libvirt control just fine
11:39enchiladasconpinguino[m]yup, libvirt issue
11:39enchiladasconpinguino[m]this exact command does boot: `qemu-system-aarch64 -bios QEMU_EFI.fd -machine virt -m 12G -cpu host -smp cores=8 -accel kvm -nographic -cdrom alpine-standard-3.15.1-aarch64.iso`
11:39chir4gm has quit []
11:39chir4gm has joined #asahi
11:39creechy has quit [Ping timeout: 480 seconds]
11:40enchiladasconpinguino[m]yeah not seeing anything recent for that to work, correct
11:40enchiladasconpinguino[m]but somehow libvirt is broken, but now working on arch very recently
11:41enchiladasconpinguino[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?
11:41enchiladasconpinguino[m]thunderx/neoverse/etc only
11:42LuEvers[m]snapdragons don't, at least not on phones
11:42enchiladasconpinguino[m]mps: I guess I can abandon the VM management and do qemu manually ..
11:43enchiladasconpinguino[m]alpine build of qemu is missing graphics support tho
11:43LuEvers[m]yes , i think most of them boot at EL1 (because of security)
11:43mpsenchiladasconpinguino[m]: you have to install qemu helpers and drivers, they are separate pkgs
11:43enchiladasconpinguino[m]ah well maybe I am missing some packages?
11:44enchiladasconpinguino[m]that would be an easy fix
11:44LuEvers[m]so libvirt on alarm does not start with accelleration?
11:45LuEvers[m]maz: :( okay had the oneplus 6t, it ran win10 arm, it was a pretty fun phone
11:45LuEvers[m]but yeah, no virtualisation exposed from the SoC
11:45enchiladasconpinguino[m]oneplus 6t runs alpine ;)
11:45LuEvers[m]6t runs everything, with mainline kernel xD
11:45LuEvers[m]just very bad
11:46enchiladasconpinguino[m]you can't charge at full speed, otherwise fairly usable
11:47LuEvers[m]enchiladasconpinguino: i tried the halium kernel with mobian, and it worked pretty well (it only was pretty old)
11:47life-the-user[m]what does minimal installer?
11:47life-the-user[m]it ends up with a prompt?
11:47enchiladasconpinguino[m]I actually meant pmOS yeah, not stock alpine
11:48life-the-user[m]j`ey: alright
11:48LuEvers[m]pmOS is great :)
11:49LuEvers[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
11:50* danny055[m]uploaded an image: (80KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/vbppkprgRAoemGDheIMEcdoc/20220321_115007_550534247474442368.jpg >
11:50danny055[m]Hi I am trying to format my SSD but when I try to combine the two partions into one I get
11:50GavinP[m]enchiladasconpinguino: My exact steps after installing Asahi Linux yesterday:... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/qkaLTLshVHJjFPtZSHjnwYdt)
11:52danny055[m]j`ey: is there a place that shows me how to do it on the command line ?
11:52j`eydanny055[m]: https://raw.githubusercontent.com/AsahiLinux/asahi-installer/main/tools/wipe-linux.sh this shows an example
11:54LuEvers[m]virt-manager tells me KVM not being available. do i need to build qemu mysqlf?
11:54LuEvers[m]s/mysqlf/myself/
11:57* enchiladasconpinguino[m]uploaded an image: (13KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/RaUaklmgQfnXukisnjwpQbDU/alpine-installer-qemu.png >
11:57GavinP[m]Lu Evers: enchiladasconpinguino seems to have this issue too, but it worked OOB for me. Can you run `uname -r` please?
11:57enchiladasconpinguino[m]mps: `apk add qemu qemu-modules` 🤦
11:58enchiladasconpinguino[m]missing the meta pkg
11:58enchiladasconpinguino[m](libvirt is still broken, but now at least pure qemu is usable!)
11:58LuEvers[m]GavinP[m]: normal ashai patched:
11:58LuEvers[m]5.17.0-rc7-asahi-next-20220310-5-1-4K-ARCH
11:59enchiladasconpinguino[m]that's a week older than what I have
11:59enchiladasconpinguino[m]`linux-asahi-5.17.rc7.20220318-r0 aarch64 {linux-asahi} (GPL-2.0) [installed]`
12:00enchiladasconpinguino[m]not the first apk to be split up in some way I didn't notice at first yeah .. minimal
12:04enchiladasconpinguino[m]obviously my desktops are "sys" installs, but I do run in RAM for router and such
12:04creechy has joined #asahi
12:06DominikInfhr[m] has joined #asahi
12:07mpsenchiladasconpinguino[m]: https://dev.alpinelinux.org/~mps/m1/install-m1-grub.sh is updtated script which uses apk packaged kernel
12:08DominikInfhr[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.
12:10lightblue42[m] has joined #asahi
12:10danny055[m]Does disk0s1 and disk0s3 belong to apple ?
12:10* danny055[m]uploaded an image: (84KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/XUdZASGEHRGZuGkiAfEYezzJ/20220321_121019_7789587033838003415.jpg >
12:12creechy has quit [Ping timeout: 480 seconds]
12:15danny055[m]I just found out that disk0s1 is apples efi but for disk0s3 I can't free it
12:15GavinP[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`?
12:16danny055[m]I have ran diskutil eraseVolume free free disk0s3 but it says can't open disk any idea ?
12:18GavinP[m]enchiladasconpinguino: FYI, I also ran `systemd-detect-virt` from inside my Debian VM and I get `kvm` back
12:19GavinP[m]So, not sure if I got lucky with some solar flare or we still have a package discrepancy between us. ;)
12:20DominikInfhr[m]j`ey: awesome thanks!
12:24LuEvers[m]<GavinP[m]> "Lu Evers: Hm, same as mine..." <- 1:8.1.0-4
12:25LuEvers[m]it doesn't want to work, throws out even more errors when creating a machine
12:25LuEvers[m]i think i'll pass libvirt for now xD
12:25LuEvers[m](or i just think 5 seconds and install the needed packages)
12:29creechy has joined #asahi
12:32chir4gm has quit []
12:32chir4gm has joined #asahi
12:32life-the-user[m]<LuEvers[m]> "life-the-user i would use the..." <- can i test asahi on my vm? is there an iso?
12:33life-the-user[m]s/on/in/
12:33GavinP[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
12:34LuEvers[m]there isn't, but it's just an arch linux arm, with preinstalled KDE, and backgrounds.
12:35LuEvers[m]GavinP[m]: im installing edk2, but why doesn't the repository have the package with normal package name?
12:35LuEvers[m]GavinP[m]: dnsmasq is also needed for default NAT
12:36axenntio has joined #asahi
12:36GavinP[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`
12:36joske has joined #asahi
12:37GavinP[m]Lu Evers: Yes, you're right! Also had to install that. Missed it when going through my history :D
12:37LuEvers[m]this says arch: any. the alarm repos and packages are somehow not really updated / on par with normal x86_64 arch.
12:37creechy has quit [Ping timeout: 480 seconds]
12:37axenntioI 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?
12:38joskeTried to run the installer to update the stub partition, but it's doesn't even run, it thinks it's a Intel Mac 😯
12:38GavinP[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
12:39kovAxenntio, 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 =)
12:42kameks has joined #asahi
12:42Thib[m]12 has joined #asahi
12:45Thib[m] has joined #asahi
12:46axenntioHo 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
12:47axenntioI'm unsure about the last part, for me u-boot was the part mounting the EFI, but looks like it's not
12:47life-the-user[m]what does installer? like partition the drive, mount the image and what else?
12:47creechy has joined #asahi
12:47life-the-user[m]what partition it creates?
12:48life-the-user[m]whats stub?
12:48life-the-user[m]and where is swap
12:49life-the-user[m]are devs going to make this process manual?
12:50life-the-user[m]j`ey: of installation, i just want to install arch as it should be installed - manually
12:50life-the-user[m]like for example make a separate partition for home if its possible
12:50axenntiolife-the-user[m]: I guess you can installing only mini and uboot and boot your Arch install from usb-drive
12:51life-the-user[m]is the image that comes custom?
12:51life-the-user[m]that is installed
12:52life-the-user[m]understandable
12:52life-the-user[m]is it a good idea to try installing it without a backup?
12:53life-the-user[m]or maybe i should wait for a full release
12:53life-the-user[m]stable*
12:53life-the-user[m]j`ey: idk, i better not to
12:53life-the-user[m]i dont have the drive with me currently
12:54life-the-user[m]ok i have another question
12:54life-the-user[m]how good it runs?
12:54life-the-user[m]in comparison with other modern cpus
12:55creechy has quit [Ping timeout: 480 seconds]
13:00GavinP[m]Currently building a debian based distro from inside a debian VM with KVM and it's nuts
13:01life-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?
13:01life-the-user[m]the issue is that the image is .tar.gz
13:01life-the-user[m]so its not iso
13:02life-the-user[m]i was already trying to install it from other already installed os
13:02life-the-user[m]but after creating partitions and mounting and rebooting it didnt work
13:03GavinP[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
13:03gsora[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
13:04life-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
13:04life-the-user[m]s/are/or/
13:04GavinP[m]life-the-user: In that case I would recommend just using UTM with Arch Linux ARM. https://mac.getutm.app/gallery/archlinux-arm
13:04marcanchadmed: the official kernel builds with all the USB drivers and all that stuff take about 4 minutes on the M1 Pro
13:04Thib[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?
13:07LuigyLeon[m]is the PKGBUILDs' config all setup for audio on mbp? (minus the one-liner enabling currently required on the kernel)
13:07Sobek[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.
13:08break has joined #asahi
13:10life-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
13:10PaterTemporalis has joined #asahi
13:11DominikInfhr[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?
13:12Gues__________________________ has joined #asahi
13:12GavinP[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
13:13GavinP[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)
13:14Fl1tzi[m]DominikInfhr[m]: (NOTICE: I’m new to Wi-Fi on Linux) I was only able to get Wi-Fi running using NetworkManager…
13:14joske_ has joined #asahi
13:17firefox317DominikInfhr[m], after connecting to wifi using iwd, you still have to run some dhcp daemon to actually get a ipv4 address.
13:17M5Q[m] has joined #asahi
13:17joske has quit [Quit: Quit]
13:17joske_ has quit []
13:17joske has joined #asahi
13:17firefox317DominikInfhr[m], which Asahi Linux install are you running? The reference KDE Plasma, or the minimal one?
13:19creechy has joined #asahi
13:19joskeI just upgraded from 12.2.1 to 12.3 this morning and now wanted to update the stub too (succeeded now)
13:23break has quit [Quit: Konversation terminated!]
13:25Gues__________________________ has quit [Quit: Gues__________________________]
13:25DominikInfhr[m]firefox317: the minimal one
13:25gsora[m]huh, i can't seem to get wifi working under openbsd installer anymore, firmware is being weird
13:26Gues__________________________ has joined #asahi
13:26firefox317DominikInfhr[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
13:26chadmed has quit [Remote host closed the connection]
13:27creechy has quit [Ping timeout: 480 seconds]
13:31firefox317dottedmag, yeah thats another option indeed. There are a lot of different ways to get some dhcp xd
13:39Ry_Darcy has quit [Remote host closed the connection]
13:39yuyichao_ has quit [Ping timeout: 480 seconds]
13:39Gues__________________________ has quit [Quit: Gues__________________________]
13:41Gues__________________________ has joined #asahi
13:41mpsmaybe 'we' should set 'EnableNetworkConfiguration=True' in /etc/iwd/main.conf for asahi Arch and Debian (I will do for alpine)
13:41Gues__________________________ has quit []
13:46Gues__________________________ has joined #asahi
13:46axenntio has quit [Quit: leaving]
13:47Gues__________________________ has quit []
13:52AdryzzOLEDEdition[m]<mps> "maybe 'we' should set 'EnableNet..." <- isn't it using systemd-networkd? can't we make a .conf file with dhcp enabled?
13:53AdryzzOLEDEdition[m].network sorry
13:54creechy has joined #asahi
13:55mpsAdryzzOLEDEdition[m]: 'EnableNetworkConfiguration=True' enables dhcp and systemd is default with this for 'NameResolvingService'
13:59yuyichao_ has joined #asahi
13:59life-the-user[m]where can i suggest stuff?
14:00EvadingEvasions[m]stuck in a bootloop, any help?
14:00EvadingEvasions[m]What's that?
14:01EvadingEvasions[m]Hm I'll try that.
14:01EvadingEvasions[m]winter: I wrote them down but *sigh*, classic me.
14:02creechy has quit [Ping timeout: 480 seconds]
14:02life-the-user[m]winter: **-** i want to suggest to create a wiki for manual installation similar to https://wiki.archlinux.org/title/Installation_guide
14:02life-the-user[m]im not a fan of fully automated installer
14:02EvadingEvasions[m]~~go make it yourself lol~~
14:03life-the-user[m]EvadingEvasions[m]: i dont know what installer does
14:03EvadingEvasions[m]life-the-user[m]: there's an expert mode.
14:03EvadingEvasions[m]Not sure what that does, but the installer is open source.
14:03life-the-user[m]yeah i know
14:03EvadingEvasions[m]Based on python iirc.
14:03life-the-user[m]i dont know python, only bash
14:04EvadingEvasions[m]I know.
14:04life-the-user[m]oh wait
14:04mpslife-the-user[m]: you can do all these thing manually by reading guides. I did this 4 moths ago
14:04life-the-user[m]EvadingEvasions[m]: i remember your nickname lol
14:05life-the-user[m]mps: where
14:05EvadingEvasions[m]imma look up 1TR.
14:05EvadingEvasions[m]I like all things KDE in general as well.
14:07life-the-user[m]ok thx
14:08DominikInfhr[m]dottedmag: awesome, thanks! That did it
14:09fmstrat has joined #asahi
14:11fmstratHey 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?
14:17Bennett[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
14:17Bennett[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?
14:19kovgsora[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
14:21kovthe Mini built it in 15:46 btw, and the quickest Air build was 18:45, you can see how throttling impacts the Air
14:23LuEvers[m]just add thermal pads to air, and it wont really throttle anymore
14:24AdryzzOLEDEdition[m]kov: well no fans
14:24AdryzzOLEDEdition[m]LuEvers[m]: your legs will throttle and burn in pain then tho
14:25LuEvers[m]xD true
14:25LuEvers[m]using a plastic casing fixes it for me
14:25LuEvers[m]you know, those macbook full body cases
14:26AdryzzOLEDEdition[m]honestly i'm fine with it throttling but being quiet
14:26LuEvers[m]fanless is really gread
14:27LuEvers[m]s/gread/great/
14:27creechy has joined #asahi
14:27AdryzzOLEDEdition[m]i really want an air to tinker with but the piggybank is empty
14:28enchiladasconpinguino[m]once you have fanless laptop .. its hard to use laptop with a fan again
14:29kovj`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
14:29AdryzzOLEDEdition[m]my very old thinkpad T61 is so loud you can't use it at night
14:29AdryzzOLEDEdition[m]also the battery has 15% of its original capacity
14:29eroux has joined #asahi
14:30kovLuEvers[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
14:30enchiladasconpinguino[m]I have the original fanless x86 macbook which is too old and slow for macos now, but still runs linux perfect
14:30AdryzzOLEDEdition[m]yeah fanless is very good when your SoC consumes 18W
14:31AdryzzOLEDEdition[m]also because that is way more power than i'll ever need on a laptop
14:31nuh^ has quit [Ping timeout: 480 seconds]
14:32AdryzzOLEDEdition[m]it probably hands down beats my R5 3600
14:32opticronGlanzmann, 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
14:36leo60228 has joined #asahi
14:38leo60228- has quit [Ping timeout: 480 seconds]
14:39creechy has quit [Remote host closed the connection]
14:43kovj`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
14:44kovinterestingly, all of the resulting files seem bigger for linux, it's a total of 5.5G on linux and 4.5G on mac
14:47timokrgr2 has joined #asahi
14:49timokrgr has quit [Ping timeout: 480 seconds]
14:49timokrgr2 is now known as timokrgr
14:53coderush has joined #asahi
14:55creechy has joined #asahi
14:57sandornagy[m] is now known as doootard[m]
15:00kovj`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
15:04coderushHi 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.
15:04Glanzmannopticron: The speakers are currently disabled in the devicetree because there is no safety to make sure that you don't blow (break) your speakers.
15:05coderushEither 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).
15:05rsetti has joined #asahi
15:06coderushRunning "bputil -e" in recoveryOS terminal will show the current OS state, including pairing and 1TR.
15:06Glanzmanncoderush: 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.
15:06Glanzmannrsetti: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blob_plain/refs/heads/master:/bootstrap.sh
15:07coderushGlanzmann: holding until "Loading startup options" should be enough though, but if it's not, it's likely an iBoot bug.
15:07Glanzmannopticron: 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.
15:09opticronGlanzmann, 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
15:10GlanzmannI 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.
15:10kameks has quit [Ping timeout: 480 seconds]
15:10rsetti has quit [Quit: leaving]
15:11joske has quit [Quit: Leaving]
15:11coderushThe output of bputil -d --vuid <Asahi Volume UUID> needs to have Paired as current OS status.
15:12Glanzmannmps: Btw. I always use run bootcmd_usb0 but where I really needed it is for the OpenBSD installer.
15:13_jannau_yes, after removing the dts safeguard, asahi-audio is being worked on the macbook pro 14"
15:14Glanzmannopticron: 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?
15:15GlanzmannThe 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.
15:23opticronGlanzmann, I patched the binary with "okay\0led" in place of "disabled" which should still trip the dtb parsing logic in the kernel appropriately
15:23opticronand something showed up in place of the usual dummy interface, so I assume that was done correctly
15:25opticronbut 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)
15:31Glanzmannopticron: So in Alsamxier you can not press F6 and see that: https://tg.st/u/screenshot-air-2022-03-21-16_30_58.png
15:33Techcable has quit [Remote host closed the connection]
15:33Glanzmannjannau: 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.
15:34EvadingEvasions[m]Ok it's not working.
15:34EvadingEvasions[m]I boot into Asahi using the startup menu
15:34EvadingEvasions[m]It just loads the logo and then select Arch Linux Arm, vibes at loading arch x/x files loaded or something.
15:34EvadingEvasions[m]Then shuts down and boots into MacOS for some reason.
15:34EvadingEvasions[m]How do fix?
15:34EvadingEvasions[m] * How to fix?
15:34EvadingEvasions[m]Recovery mode or 1TR whatever is not working.
15:35Techcable has joined #asahi
15:35EvadingEvasions[m]Glanzmann: Yeah but is this an existing issue?
15:36EvadingEvasions[m]I'll make on wait.
15:36EvadingEvasions[m] * I'll make one wait.
15:36nicolas17 has joined #asahi
15:36EvadingEvasions[m]I will try some basic searches then.
15:36GlanzmannEvadingEvasions[m]: I have not heard of it, but maybe if you make a video of it makes your issue more clear.
15:39EvadingEvasions[m]Glanzmann: I will, I am scrolling through github right now.
15:39EvadingEvasions[m]To check if this is a duplicate.
15:39axenntio has joined #asahi
15:40coderush has quit []
15:44JamesReilly[m] has joined #asahi
15:45axenntio has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:50r0niis there a irc client included with the arch desktop install? I didn't think to look around for one lol
15:51RudraSaraswat|btwiusearchandubr0ni: well, you can install one with pacman :)
15:53r0nii 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
15:54r0nii dunno if there's an elegant way to bootstrap the rootfs over arch and pof the arch install in the process
15:57r0niall 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
15:59j`eyIm 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?
16:01r0nii need to backup all the files, i had downloaded all the slackware sources and the arm port scripts... i'm gonna need that stuff
16:03r0nii should do that now, then when I leave in a bit i'll stop and find me an adapter, THEN takeover the world
16:06r0nihrm i just thought of something. boot hekate on switch as a mountable sd device, and i have a usb-c flash drive
16:08THX1984 has joined #asahi
16:16gsora_nomatrix has joined #asahi
16:17gsora_nomatrixanybody ever seen this: `error: asahi: signature from "Hector Martin Cantero <marcan@marcan.st>" is unknown trust`?
16:17EvadingEvasions[m]Very sorry for delay. Here my issue: https://1drv.ms/v/s!Ao2g8XS1zhsehf8A9EQBSh1hVLklXw?e=5KAfaX
16:17gsora_nomatrix`pacman-key --refresh-keys` isn't helping :/
16:17EvadingEvasions[m]Glanzmann:
16:17EvadingEvasions[m] * Glanzmann: this video
16:18gsora_nomatrixyeah... sort of. I installed openbsd, wanted to re-install asahi plasma without deleting partition and re-installing
16:18gsora_nomatrixso I downloaded the zip file, dd'ed the image and booted from it
16:18axenntio has joined #asahi
16:19EvadingEvasions[m]EvadingEvasions[m]: Can anyone help on this issue? 😕
16:19gsora_nomatrixwinter: yeah, no asahi-keyring installed
16:20gsora_nomatrixdamn you're right
16:20gsora_nomatrixit's installed
16:21GlanzmannEvadingEvasions[m]: I would boot to 1tr or macos, delete it and try the installation again.
16:22GlanzmannEvadingEvasions[m]: Everything looks good, but it should not reboot but give you graphical or textual login.
16:22EvadingEvasions[m]How do you boot to 1TR?
16:22Glanzmannmarcan: Have you seen that? https://1drv.ms/v/s!Ao2g8XS1zhsehf8A9EQBSh1hVLklXw?e=5KAfaX - Mounting the arch rootfs and than rebooting?
16:22EvadingEvasions[m]Yeah then?
16:23EvadingEvasions[m]Yeah that's what I did in the video too.
16:24GlanzmannEvadingEvasions[m]: Yes, but marcan wants that you send us the output before doing that in order that you don't remove anything important.
16:24gsora_nomatrixokay, pacman-key -r and pacman-key -lsign-key fixed it
16:25EvadingEvasions[m]Very well, gimme a second.
16:30axenntio has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:32EvadingEvasions[m]Glanzmann: here
16:32EvadingEvasions[m]I hope is readable.
16:32* EvadingEvasions[m]uploaded an image: (3798KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/GpljtixgpCDJNOVHaUtOoCIB/IMG_20220321_220035.jpg >
16:33EvadingEvasions[m]How do I remove the useless one and keep the useful one?
16:34EvadingEvasions[m]Ok so what do I do now?
16:34EvadingEvasions[m]So what should I do?
16:34axenntio has joined #asahi
16:34EvadingEvasions[m]wipe linux?
16:34EvadingEvasions[m]Yes sir.
16:35EvadingEvasions[m]This is an exercise :C
16:35* EvadingEvasions[m]uploaded an image: (137KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/KoxLEBDBSvJXJVLDElCGfxyh/Screenshot%202022-03-21%20at%2010.05.31%20PM.png >
16:35EvadingEvasions[m]Uh is bug.
16:35EvadingEvasions[m]Should I run with sudo?
16:36gsora_nomatrix has quit [Quit: Konversation terminated!]
16:36EvadingEvasions[m]I booted to MacOS.
16:36EvadingEvasions[m]Ok it's done.
16:37EvadingEvasions[m]I going to run diskutil now.
16:39EvadingEvasions[m]Glanzmann: done
16:39* EvadingEvasions[m]uploaded an image: (3705KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/DfuQoKnjZKFMqwNPEwqAKBlU/IMG_20220321_220823.jpg >
16:40jmr2 has joined #asahi
16:40jmr2 has quit [Remote host closed the connection]
16:41EvadingEvasions[m]It will take up my whole night and I want to sleep early, I will run it in the morning.
16:41EvadingEvasions[m]Glanzmann: What are recommended practices installing?
16:41EvadingEvasions[m]Yeah I do that only.
16:41EvadingEvasions[m]How long does installing usually take?
16:41EvadingEvasions[m]I have 100 MPBS connection but live in India.
16:42EvadingEvasions[m]100 MPBS is fine right?
16:42Ruben[m] has joined #asahi
16:42EvadingEvasions[m]20 minutes... I don't know.
16:42EvadingEvasions[m]I made many mistakes.
16:42EvadingEvasions[m]Like for example it got hung up multiple times.
16:42EvadingEvasions[m]It mainly hangs in the root.img part.
16:43EvadingEvasions[m]Download not an issue.
16:43EvadingEvasions[m]But the root.img part always scares me to hell.
16:43EvadingEvasions[m]Yeah, I'll just leave it from morning to whenever it can become usable.
16:44GlanzmannAnd to be honest I tried a lot of times by accident to overwrite my apfs partion and macos never let me.
16:45axenntio has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:57axenntio has joined #asahi
16:57EvadingEvasions[m] has left #asahi [#asahi]
16:58* nametable[m]posted a file: (98KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/ajybPSCqHrNPoKeDlgxSLTpl/installer.log >
16:58nametable[m]Hi, I ran the installer and it failed on downloading a file, but I do not see the url in the log.
16:58electricdawn[m] has joined #asahi
16:58nametable[m]I'm trying to figure out why the installer failed (if I need to run through a vpn or something)
16:59electricdawn[m]Hi, everybody. I'm new here and would like to post the error log from the install. Where can I do this? Thanks!
16:59nametable[m]Whoops, I just posted mine right in here 🙃 i hope this is the right place
17:00Darkmatter66 has joined #asahi
17:02nicolas17$ curl -I https://updates.cdn-apple.com/2022SpringFCS/fullrestores/071-08757/74A4F2A1-C747-43F9-A22A-C0AD5FB4ECB6/UniversalMac_12.3_21E230_Restore.ipsw
17:03Darkmatter66yup down for me too
17:03LuEvers[m]xD asahi produced to much load
17:03LuEvers[m]s/to/too/
17:04electricdawn[m]I'm just trying to get the default option to work. ;)
17:04Darkmatter66any mirrors for the ipsws?
17:04electricdawn[m]Anybody know where I can post the error log?
17:05LuEvers[m]electricdawn[m]: i think we'll have to wait until apple fixes it. sorry for that
17:05electricdawn[m]Thanks.
17:06LuEvers[m]Darkmatter66: nope, i checked ipsw.me but they use the default apple cdn
17:07LuEvers[m]hmm would be a good time to try and downgrade some iphones
17:07LuEvers[m]maybe their servers will respond some trash, and itunes takes it
17:08electricdawn[m]Ok, I'll take a nap then. Had lamp chops. 😁
17:08electricdawn[m]See you later!
17:15LuEvers[m]maybe we'll get some leaked source code 🤨
17:15nicolas17idk if they fixed it or if my DNS cache got lucky but here's an updates.cdn-apple.com IP: 8.252.235.124
17:16LuEvers[m]works again
17:16AdryzzOLEDEdition[m]LuEvers[m]: not like we can use it
17:26nametable[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
17:26* nametable[m]uploaded an image: (733KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/WOlpbuAxjOIHLwytCQXzuMug/Screen%20Shot%202022-03-21%20at%201.23.53%20PM.png >
17:27nametable[m]Do I need to get rid of the container somehow?
17:27nametable[m]I'm not really super familiar with disk containers. Is it like a partition which can hold partitions?
17:30nametable[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
17:33mpsr0ni: https://dev.alpinelinux.org/~mps/m1/install-m1-grub.sh looks how I create bootable usb
17:35Tano70 has joined #asahi
17:39nico_32Lucy[m]: the image generator is there https://github.com/AsahiLinux/asahi-alarm-builder/blob/main/build.sh
17:39nametable[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
17:39THX1984 has quit [Quit: Leaving]
17:42GlanzmannLucy[m]: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blob_plain/refs/heads/master:/bootstrap.sh
17:44klaus has joined #asahi
17:46klaus has quit []
17:46klaus has joined #asahi
17:47klaus has quit []
17:47klaus has joined #asahi
17:47klaus has quit []
17:54kylealanhale has joined #asahi
17:54jochum_ has joined #asahi
17:55xeq has joined #asahi
17:55Tano70if 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
17:57jochum has quit [Ping timeout: 480 seconds]
17:59xeq_ has joined #asahi
18:01rucadi[m] has joined #asahi
18:02xeq_ has quit []
18:03rucadi[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
18:04stephen_ has joined #asahi
18:05xeq has quit [Ping timeout: 480 seconds]
18:05stephen_Just installed on a macbook. The resolution is insane. How does everyone deal with this? Scaling, DPI, or just bumping font sizes up?
18:07stephen_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.
18:07opticronstephen_, I use scaling get get UI elements about the right size and then tweak terminal font size as necessary
18:08stephen_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
18:09stephen_and someone made a perl script to track the current size and increment/decrement via the escape sequences
18:10clover[m]does anyone know how to get their headphone jack working? i am on a 2020 macbook pro M1 and rebooting didn't help
18:12stephen_ has quit [Quit: Lost terminal]
18:14stephen_ has joined #asahi
18:15nametable[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?
18:15skipwich has quit [Ping timeout: 480 seconds]
18:15nametable[m]`sudo passwd _mbsetupuser` does not seem to set the password
18:15nicolas17stephen_: changing resolution is not supported (no display controller driver yet) but I thought that made it a no-op rather than hanging things
18:16stephen_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.
18:17stephen_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.
18:18nametable[m]Uhh, I only remember it asking for my main user's password
18:19skipwich has joined #asahi
18:20* nametable[m]uploaded an image: (450KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/ldeBXksnWadvIgRskUyXgTiq/Screen%20Shot%202022-03-21%20at%202.19.48%20PM.png >
18:21nametable[m]Nope, I just freshly installed MacOS on it
18:21axenntio has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:22nametable[m]I did buy it used, but it started at the welcome screen
18:22pugguu[m]1Huh there’s fedora now
18:22pugguu[m]1Hmmm time to do some M1 Mac distribution hopping
18:23___nick___ has joined #asahi
18:23axenntio has joined #asahi
18:23___nick___ has quit []
18:24nametable[m]j`ey: `nametable`
18:24nicolas17apparently a newly booted Mac uses the _mbsetupuser account to show the welcome screen where you configure your actual user
18:25nametable[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
18:25___nick___ has joined #asahi
18:26nametable[m]Which I assume was used by sudo/whatever to gain root privileges.
18:27nametable[m]Ooh, so maybe I just need to reboot
18:27nametable[m]Although that will probably mean restarting the installation process from the beginning...
18:28m6wiq has joined #asahi
18:28m6wiq has quit [Remote host closed the connection]
18:28m6wiq has joined #asahi
18:29nametable[m]Welp that's sad - ok, rebooting and then trying again
18:31nametable[m]I'm back up, is there a way to "resume" install, or would I need to manually edit the script?
18:31nametable[m]Or is it easier just to erase the partitions and try again?
18:32roxfan has joined #asahi
18:32j`eynot exactly sure the full path, but /Volumes/Preboot/var/db/AdminUserRecoveryInfo.plist maybe
18:34nametable[m]j`ey: I've found it, but what can I do with it?
18:34ptudor has joined #asahi
18:35axenntio has quit [Quit: Axenntio]
18:36nametable[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
18:36nametable[m]Could have been overwritten maybe...
18:37nametable[m]j`ey: Its inside `/Volumes/Preboot/00472115-8501-4499-A09E-3F401143028C/var/db`
18:39nametable[m]Do you think the install may be resumable, or should I just blow away the partitions and start over?
18:43Tano70 has quit [Quit: Leaving]
18:46stephen_ has quit [Quit: going to test those display settings]
18:48skipwich_ has joined #asahi
18:49stephen_ has joined #asahi
18:49skipwich has quit [Read error: Connection reset by peer]
18:49skipwich_ is now known as skipwich
18:52rinsuki[m] has joined #asahi
18:57skipwich has quit [Ping timeout: 480 seconds]
18:59Kevin_ has joined #asahi
19:00Kevin_ has quit []
19:02Major_Biscuit has quit [Ping timeout: 480 seconds]
19:03Kevin5 has joined #asahi
19:05kovGlanzmann, you should probably use deb.debian.org for the /etc/apt/sources.list on the debian image
19:09brentr123[m]Anyone know if box86 works!
19:09rinsuki[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?
19:16Cy8aer[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.
19:16Glanzmannrinsuki[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
19:18kovI 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
19:19stephen_ has quit [Quit: leaving]
19:19rinsuki[m]thanks, i will try it!
19:19GlanzmannI 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
19:20GlanzmannAnd 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.)
19:23kylealanhale has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:25giskard has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
19:28Kevin5 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:32ciggi has joined #asahi
19:32ciggi_ has quit [Remote host closed the connection]
19:34AdryzzOLEDEdition[m]thats an audio playback issue
19:38clover[m]ah darn, i was hoping stuff like YT videos were not playing because of graphics driver issues
19:40AdryzzOLEDEdition[m]no, it hangs when trying to play audio. not sure why (i dont even have a machine ahahah)
19:42turo_ has left #asahi [Textual IRC Client: www.textualapp.com]
19:43turo has joined #asahi
19:50LuEvers[m] is now known as lkvrsfld[m]
19:51pbrobinson has quit [Ping timeout: 480 seconds]
19:51r0nifound a flash drive that flips and has usb-a on one side and usb-c on the other.... perfect
19:54r0ni has quit [Quit: Textual IRC Client: www.textualapp.com]
19:55kylealanhale has joined #asahi
20:01alden4[m] has joined #asahi
20:02alden4[m]trying to install asahi on my m1 air but i'm running into this error in the installer when i try to setup my disk
20:03* alden4[m]uploaded an image: (241KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/UaTugfPqYyUljAuKnGCmocwL/Screen%20Shot%202022-03-21%20at%201.02.58%20PM.png >
20:03opticronsomething 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
20:03marcanalden4[m]: read the end of the System Requirements section of the announcement post: https://asahilinux.org/2022/03/asahi-linux-alpha-release/
20:04pbrobinson has joined #asahi
20:08alden4[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
20:10AdryzzOLEDEdition[m]my current desktop is 120GB
20:10* AdryzzOLEDEdition[m]uploaded an image: (14KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/IUKuTRZPMJMnJqDlQZyfNlXm/image.png >
20:11AdryzzOLEDEdition[m]i can't even do an AUR update anymore because the paru cache will fill everything up
20:18j`eywe just see your computer on streams, but that first stream with the face cam was actually quite nice too
20:20r0ni has joined #asahi
20:25george has joined #asahi
20:26george is now known as Guest2753
20:29nicolas17j`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)
20:32kettenisin the future we might support saving the u-boot environment and then I think you can actually configure the bootdelay yourself
20:33Guest2753So if I wanted to build uboot I can just use https://github.com/AsahiLinux/docs/wiki/U-Boot and set the macho object in 1tr
20:34lkvrsfld[m]Hey guys
20:34lkvrsfld[m]I saw onyx (on macos) is able to completely kill input
20:35lkvrsfld[m]* kill input edit: well the mac just hang…
20:35lkvrsfld[m]Thought it could be something useful for the installer
20:37lkvrsfld[m]While resizing the mac partition, since it already locks up the system
20:37lkvrsfld[m](Just forget it xD)
20:38* alden4[m]uploaded an image: (730KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/injUgSitquSApkcRRgPPapnm/Screen%20Shot%202022-03-21%20at%201.37.39%20PM.png >
20:39* alden4[m]uploaded an image: (154KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/PAmoUpskggsfsVHgXNgSEzXk/Screen%20Shot%202022-03-21%20at%201.39.26%20PM.png >
20:41sheepgoose has joined #asahi
20:48sheepgoose_ has quit [Ping timeout: 480 seconds]
20:48m6wiq has quit []
20:49Darkmatter66 has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
20:49m2231puppy has joined #asahi
20:50meowcat285[m]I am trying to install asahi now
20:50meowcat285[m]Lets see how it goes
20:51meowcat285[m]<alden4[m]> "just have one snapshot which..." <- Do not remove that
20:51meowcat285[m]I didnt have to, and its on the system partition, so I wouldnt
20:52m2231puppyhi all, new here. just got my asahi installed. super excited to do some random stuff with it! huge thx to the devs
20:52Lucy[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.
20:53m2231puppydoes pop have arm builds?
20:53meowcat285[m]m2231puppy: Not that I know of...
20:53Lucy[m]m2231puppy: Yes, for the Raspberry Pi 4. I once bastardized that image to manually install Pop on my M1.
20:53clover[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
20:54Darkmatter66 has joined #asahi
20:54m2231puppyLucy[m]: nice, sounds like fun. im not a pop person myself. ubuntu+kde for life
20:56m2231puppypeople are literally reverse engineering macbooks and here i am patting myself on the back for logging into an irc channel
20:57m2231puppy has quit [Quit: m2231puppy]
20:59AdryzzOLEDEdition[m]<nicolas17> "j`ey: I once watched half a c3..." <- yep the ps4 one
20:59AdryzzOLEDEdition[m]finish it, it is very good
21:00m2231puppy has joined #asahi
21:01nicolas17AdryzzOLEDEdition[m]: oh I watched it all, I mean I only noticed it was him when I was halfway thru :D
21:03m2231puppy has quit []
21:05meowcat285[m]Done partitioning now
21:05meowcat285[m]Its on the `extracting root.img into disk0s7 partition` step
21:06axenntio has joined #asahi
21:06meowcat285[m]I am so exited
21:07___nick___ has quit [Ping timeout: 480 seconds]
21:08axenntio has quit []
21:08kylealanhale has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:08axenntio has joined #asahi
21:09axenntio has quit []
21:09axenntio has joined #asahi
21:14alden4[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
21:30krbtgtcontext: some youtuber swapped the SSD in the studio and thought disabling SIP would do it (....), never attempted DFU, went on rant
21:36meowcat285[m]Quick question
21:36meowcat285[m]How do I change my default boot OS
21:36gsora[m]Although m1 macs are radically different than usual… but I guess TPM-enabled computers would work the same?
21:36krbtgtwell, you can nuke the storage and then use it (you know, DFU in AS, just normal reinstall on a PC)
21:36meowcat285[m]j`ey: I know, but what if I want to switch it back to MacOS?
21:37krbtgtjust putting it in and expecting it to work, nope. and it did the amber blinking, which he thought was total fialure
21:37j`eymeowcat285[m]: but if you go into 1TR and hold the option key as your selecting macos int he bootpicker
21:37AdryzzOLEDEdition[m]sofabeds are a great invention
21:37meowcat285[m]j`ey: That changes it to the default?
21:37meowcat285[m]Alright, thanks
21:37gsora[m]krbtgt: I don’t really like this forced reliance on another Mac to reset yours honestly
21:38AdryzzOLEDEdition[m]luckily idevicerestore exists
21:38lkvrsfld[m]meowcat285[m]: You also can change it in macos -> system preferences -> startup disk
21:39lkvrsfld[m]Are AS mac ipsw‘s also signed and un-downgradeable?
21:40lkvrsfld[m]* also signed the macs and un-downgradeable?
21:45nicolas17lkvrsfld[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
21:46nicolas17however, it also happens that every Mac version is still signed, so even in default security mode you can downgrade
21:46lkvrsfld[m]Very nice… it‘s a great platform tbh
21:47lkvrsfld[m]lkvrsfld[m]: marcans article explained it very well
21:48nicolas17in 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
21:52lkvrsfld[m]nicolas17: Running with sip disabled doesn‘t break anything, like TouchID, Apple pay featres etc., does it?
21:52lkvrsfld[m]I mean the phone / mobile market is a little different than notebooks but i didn‘t expect this openness from soole
21:52lkvrsfld[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
21:52lkvrsfld[m]I mean the phone / mobile market is a little different than notebooks but i didn‘t expect this openness from apple
21:52lkvrsfld[m]Running with sip disabled doesn‘t break anything, like TouchID, Apple pay featres etc., does it?
21:54nicolas17I'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
22:02nicolas17(I never used Apple Pay, Apple launched it in my country *last week*, and my bank is still not supported :P)
22:04pphilipss has joined #asahi
22:06krbtgti'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
22:07yzz has joined #asahi
22:13yzz has quit [Remote host closed the connection]
22:14osteoblast22[m]hello
22:16kovthese 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)
22:17kovj`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
22:18rinsuki[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.
22:19kovtpw_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?
22:19AdryzzOLEDEdition[m]j`ey: make an ice bath for the air and find out
22:20kovtpw_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
22:21m2231puppy has joined #asahi
22:21AdryzzOLEDEdition[m]the best power management is still suspend to ssd
22:22AdryzzOLEDEdition[m]you can mine chia by carefully crafring your ram contents and then repeatedly suspending to ssd tho
22:23AdryzzOLEDEdition[m]*to any storage medium
22:25pphilipss has quit [Remote host closed the connection]
22:27yzz has joined #asahi
22:30yzz has quit [Remote host closed the connection]
22:34evlinux[m] has joined #asahi
22:36kjm99 has joined #asahi
22:36evlinux[m]Where can I get some help for installation? I got an error Failed to run process: diskutil apfs resizeContainer disk0s2 119999037440
22:37osteoblast22[m]Hello, i just booted macbook air to asahi linux, i was wondering if the wifi can be put into monitor mode, since it uses brcmfmac driver which AFAIK has basic support for monitor mode https://patchwork.kernel.org/project/linux-wireless/patch/20191226133050.16838-2-zajec5@gmail.com/
22:37kovj`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
22:37j`eyevlinux[m]: https://asahilinux.org/2022/03/asahi-linux-alpha-release/ last sentence of system requirments
22:39osteoblast22[m]nicolas17: yes it should be checked from the firmware and advertised to the system if the chip is capable
22:39nicolas17I 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") :/
22:40evlinux[m]j`ey: I do not have any snapshots listed. Only file listed is
22:40evlinux[m]com.apple.os.update-2289385E1A6FCCF05D444673FB1FEB06DDCF82A4C723EAD53AF1F3E08872CE0F
22:43evlinux[m]Also did that and same error. Booted in recovery, selected First Aid on HD and was okay
22:43evlinux[m]I will try again now
22:44yzz has joined #asahi
22:47yzz has quit [Remote host closed the connection]
22:48lockejan[m] has joined #asahi
23:00yzz has joined #asahi
23:02yzz has quit [Remote host closed the connection]
23:06kloenk has quit [Remote host closed the connection]
23:07kloenk has joined #asahi
23:09meowcat285[m]1 has joined #asahi
23:14meowcat285[m]1Hello again
23:15yzz has joined #asahi
23:18yzz has quit [Remote host closed the connection]
23:22megalodon42[m] has joined #asahi
23:22THX1984 has joined #asahi
23:23megalodon42[m]hello
23:24megalodon42[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
23:24megalodon42[m]Am I at the right place ? :)
23:25megalodon42[m]actually the username that is displayed is the one I have on my MacOs
23:25megalodon42[m]and the password I am using is the one I have on my MacOs
23:26megalodon42[m]it is strange since it takes like 5 or 10 sec to deny my password
23:26megalodon42[m]while it denies instantly a wrong password
23:26dooferorg[m] has joined #asahi
23:27evlinux[m]Got it working :)
23:27evlinux[m]Looks like youtube videos dont play for some odd reason, but the overall system feels great
23:27Ruben[m] has left #asahi [#asahi]
23:27nicolas17evlinux[m]: that's due to audio being stuck, try "switch the audio profile to input and back to duplex"
23:28meowcat285[m]1evlinux[m]: Well, at the moment, there is no GPU acceleration, that may be why
23:28megalodon42[m]UserInfo={NSLocalizedDescription=Failed to create local policy, NSUnderlyingError=0x60003f109f0 {Error Domain=com.apple.bootpolicy Code=17 "pairing (17)"
23:28dooferorg[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 :)
23:29axenntio has quit [Quit: Axenntio]
23:31nicolas17if 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
23:33dooferorg[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 :)
23:33Mrmaxmeier has quit [Quit: The Lounge - https://thelounge.chat]
23:33yzz has joined #asahi
23:33j`eymegalodon42[m]: you should turn the machine off. then when you reboot make sure you hold the power button, dont tap it or anything
23:33m2231puppy has quit [Read error: No route to host]
23:33m2231puppy has joined #asahi
23:33Mrmaxmeier has joined #asahi
23:34Mrmaxmeier has quit []
23:34megalodon42[m]j`ey: that is what I did already a few times. I am in the step 2.sh, it looks good - I selected Asahi Linux in MacOS recovery
23:34Mrmaxmeier has joined #asahi
23:36j`eymegalodon42[m]: https://github.com/AsahiLinux/asahi-installer/issues/50#issuecomment-1073779871
23:37dooferorg[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
23:38evlinux[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
23:41yzz has quit [Ping timeout: 480 seconds]
23:47evlinux[m]YT videos randomly started playing videos now but still no audio
23:47evlinux[m]with headphone jack, worked for a sec then stopped, little quirky of course haha This is awesome
23:48yzz has joined #asahi
23:49kjm99 has quit [Remote host closed the connection]
23:51eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:51gladiac is now known as Guest2767
23:51gladiac has joined #asahi
23:54svelle[m] has joined #asahi
23:54minecrell has quit [Quit: Ping timeout (120 seconds)]
23:55minecrell has joined #asahi
23:55nzzz_ has joined #asahi
23:56yzz has quit [Ping timeout: 480 seconds]
23:57Guest2767 has quit [Ping timeout: 480 seconds]
23:58nzzz has quit [Read error: Connection reset by peer]
23:59LuigyLeon[m]tpw_rules hmm not sure how systemd-boot broke, but it's showing me only old generations even though bootctl status looks good