#
…

2022-03-22

00:00LuigyLeon[m]any hints for debugging this? or should I just try nixos-install again from usb and partitions mounted?
00:00tpw_rulesdid you run out of space on the ESP?
00:00LuigyLeon[m]let me check
00:02megalodon42[m]I am trying to use bless --setBoot --device /dev/diskXX but it rejects all the disk numbers I am trying :(
00:03tpw_rulesi think you give it the preboot partition in the apfs?
00:05hellosway[m]So does the asahi installer just 1. Download the tarballs from the servers. 2. make a fat ESP and system partition 3. get firmware from the recoveryos 4. move firmware to the ESP 4. untar the os tarball into the root partition 5. bless the ESP 6. install m1n1
00:05tpw_rulesok ,looks like you've got plenty of space. you could try nixos-rebuild boot --install-bootloader
00:05j`eyhellosway[m]: yes
00:05yzz has joined #asahi
00:06tpw_rulesi think the root partition is a disk image rather than an untar
00:06hellosway[m]j`ey: how exactly is m1n1 installed
00:06j`eywith kmutil
00:07megalodon42[m]I did bless --setBoot --device /dev/disk2s3, it asks for Local owner username and then password. Then it replies: Bootability failed error Domain=ByServiceErrorDomain Code-602 "(null)"
00:07LuigyLeon[m]tpw_rules last message for me? rebooting brb
00:09LuigyLeon[m]oh easy to fix? xD I must have done something wrong during the stub upgrade
00:10tpw_ruleswhat do you mean?
00:11tpw_rulesmine does that too, it only shows two entries and you have to scroll for the rest
00:11tpw_rulesnot sure why tbh
00:11tpw_rulesbut it does list all of them for me...?
00:11LuigyLeon[m]mine got stuck at 31 even though it should be at 41 by now
00:12tpw_rulesso that install-bootloader flag didn't fix it?
00:12LuigyLeon[m]tpw_rules nope, that didn't change the original behavior
00:12hellosway[m]Isnt the installer a bit overcomplicated for runnning a bunch of file writes and calling some programs.
00:13j`eyif you can simlpify it, go ahead!
00:13tpw_rulesLuigyLeon[m]: hm. i don't think i've got that many generations before. let me try to replicate it in a bit. my m1 is not my daily driver
00:13tpw_rulescan you manually delete some older generations? i wonder if there's too many conf files or something
00:13hellosway[m]I could turn it into a very simple linear shell/pythion script but first I have to figure it out compleetly
00:13yzz has quit [Ping timeout: 480 seconds]
00:14j`eythat would be hell to maintain?
00:14tpw_ruleshellosway[m]: notice there's a whole lot of weird nonsense necessary to interact with diskutil and the firwmare
00:15j`eyalso it streams the IPSW file, by using HTTP range requests
00:15LuigyLeon[m]tpw_rules that's the surprising part as I don't have that many anymore, but somehow systemd-boot still shows me 1 - 31
00:15hellosway[m]tpw_rules: what confuses me is why writing to the ESP takes almost 50 lines of code, most of with is redundant becuase the os information already verified before
00:15j`eyhellosway[m]: which bit?
00:15tpw_rulesLuigyLeon[m]: oh... i notice systemd-boot has that "warning: boot loader reports a different ESP UUID than detected" do you have multiple of those?
00:17tpw_rulesso you do have two linux OSes
00:17tpw_rulesactually, that should be 8 partitions. what does lsblk say
00:18hellosway[m]j`ey: its not really anything sspecificaly, just a line of code randojmly scatered
00:19j`eyhellosway[m]: I dont agree really.
00:19tpw_rulesmaybe /dev/nvme0n1p4 should be mounted at /boot .
00:19j`eyhellosway[m]: I only see a few places related to esp/efi
00:19tpw_ruleswhat is in /etc/nixos/hardware-configuration.nix? and `cat /proc/device-tree/chosen/asahi,efi-system-partition` or so
00:19Lucy[m]<tpw_rules> "choose a UEFI environment..." <- aw, I have to do it manually?
00:20tpw_rulesmanually with regard to what
00:20tpw_rulesi suppose you could download the TAR and customize the installer-data.json
00:21kovhellosway[m], doing the stuff in a particular way is simple, most of us who are here from the start were doing it completely manually before the installer
00:21yzz has joined #asahi
00:21kovhellosway[m], doing it in a way that is safe, handles several different configurations and corner cases, and is relatively flexible is not as simple
00:22tpw_rulesLuigyLeon[m]: what is in /dev/disk/by-uuid/ ?
00:23tpw_rulesok, so your hardware-configuration.nix is wrong
00:23tpw_rulesit's mounting /dev/nvme0n1p5 as /boot but u-boot is reading /dev/nvme0n1p4
00:23j`eyhellosway[m]: https://github.com/AsahiLinux/asahi-installer/blob/e9803d34be2d7c927d9a0717ec89e4a32dc90603/src/osinstall.py is the only file that deals with efi, apart from main.py that just prints it out
00:23tpw_rulesso you need to change the UUID in there to 97DE-08ED
00:23tpw_rulesand probably delete /nvme0n1p5
00:24tpw_rulesdid you rerun the installer, not delete the old ESP, then not rerun `nixos-generate-config`?
00:24j`eyhellosway[m]: and its about 6 lines of code in there
00:24hellosway[m]kov: I would verify all information in a function at the start of execution, then get all data. Then the user would be asked everything, after this point there should be no questions to the user. But this might end up witha lot of copy pasted code
00:24kjm99 has joined #asahi
00:25tpw_rulesdidn't you just say you would make it have less code?
00:25kovhellosway[m], we'll be happy to be proven wrong, I can tell you =) if you're confident you can do better, why not do it?
00:25tpw_rulesuse pathlib while you're at it, it's good™
00:26j`eyI suppose you could do that, but Im not sure how it would help with the complexity
00:26LuigyLeon[m]tpw_rules: I must have done something like that, I think I skipped both of those steps x.x. Rebuilding and rebooting after the hardware-configuration
00:26j`eystill need to handle all the different cases
00:27chadmed has joined #asahi
00:27ngnboone has joined #asahi
00:29THX1984 has quit [Ping timeout: 480 seconds]
00:29yzz has quit [Ping timeout: 480 seconds]
00:30brentr123[m]hopefully rosetta can somehow be implemented into asahi
00:31hellosway[m]If qemu gets working with good performance, then you can use user space emulation with binutils for it
00:32brentr123[m]hellosway[m]: I tried to use box64 wasn't working so hopefully that would be lit
00:32kjm99 has quit [Ping timeout: 480 seconds]
00:33brentr123[m]j`ey: i belive it says on aashi website that fex doesnt work cuz 16 pages
00:33ryan_nupp[m] has joined #asahi
00:33chadmednone of that will work until sven's patches for 4K pages on top of the IOMMUs get merged
00:33chadmednowhere near ready for use in user machines
00:33ngnboonehey all - just heard about asahi through mental outlaw's youtube video
00:34ryan_nupp[m]hey I just watched that video as well ngnboone
00:34chadmedhow soy and cringe and bloated and glowing did he say we are :P
00:34ngnboonehe said y'all are the real heros of our generation
00:35ngnbooneI was wondering what sort of progress/knowledge gathering has been made as far as the neural engine
00:35kode54Glanzmann: what did you mean upgrade my stub?
00:35chadmedwell we know what it does and where it lives in MMIO but we cant really do anything with it yet
00:35kode54I fresh installed for the first time with the script a few days ago
00:36kode54then I wanted to wipe my macOS install
00:36chadmedits not that high up on anyones priority list tbh, somewhere down between bluetooth and a vulkan driver
00:36kode54macOS refused to create the user for my account because the stub existed
00:36kode54so I wiped my machine, which deleted the stub, but kept the EFI partition and the Linux partition
00:36kode54so now I have macOS 12.3 again, but no stub, just EFI and Linux
00:36tpw_ruleshow did you wipe it?
00:37kode54using Recovery, resetpassword, menu, Erase
00:37ryan_nupp[m]just curious, is it possible to install asahi on an external ssd?
00:37yzz has joined #asahi
00:37tpw_rulesoh, that's a little weird
00:37kode54I also had to delete my machine from iCloud like three times
00:37kode54each time, it successively dropped a version number, keeping the same machine
00:38kode54it went through 12.3, 12.1, 11.4
00:38tpw_rulesryan_nupp[m]: you have to have at least 3GB on the internal ssd, but you could put the rootfs on an external ssd. that's of somewhat limited utility at this point because the maximum access speed you'd get is USB 2
00:38ngnbooneI can respect that chadmed... I guess it doesn't really come into play in the course of normal os operation
00:38chadmedyeah priorities right now are stabilising what we already have and focusing on stuff that will improve daily driving (alyssa's mesa driver for example)
00:38kode54I assume the bluetooth isn't working because all new Broadcom chip that requires new firmware blob and specific support in the Broadcom bt driver
00:39chadmedit's not just the firmware
00:39kode54I said driver too
00:39ReaganMcFarland[m] has joined #asahi
00:39chadmedwell kinda
00:39kode54device tree too?
00:39chadmedthe main problem is that broadcom spun out an entirely new protocol for it
00:39chadmedlike its not UART, its not USB
00:39kode54so it will need an all new driver
00:39ReaganMcFarland[m]Hey guys! Been following the project for a while now - just ran into a bad error during install
00:39ryan_nupp[m]tpw_rules: Oh ok. What causes the USB 2 speed limitations?
00:40chadmedits some weird UART-over-USB-over-PCIe crap
00:40ReaganMcFarland[m]Is there a support channel?
00:40matthewayers[m]We might need one in the future, but for now, what’s your question?
00:40j`eyReaganMcFarland[m]: no usb3 driver yet
00:40matthewayers[m]marcan: see above ^^
00:40tpw_rulesryan_nupp[m]: the USB3 and thunderbolt stuff just hasn't been fully reverse engineered and developed and made ready for end users yet. it will get there eventually. usb3 should be pretty soon
00:41ngnboone has quit [Quit: Leaving...]
00:41ReaganMcFarland[m]It actually created the OS on the drive, but only got to 2.5 gigs worth then the installer crashed
00:42ReaganMcFarland[m]I didn't want to try re-installing just yet, since it made the stub on the drive already
00:43marcanat least we have the output this time around, after I fixed that... I have no idea why that fails
00:43marcanlooks like a diskutil bug
00:44marcanI almost want to say it's some sort of race condition, like it created the volume but something along the line didn't notice it yet
00:44ReaganMcFarland[m]How much is left in the script after this stage
00:44marcanmost of it
00:44marcanyou need to delete the volume and try again
00:45marcandiskutil apfs deleteContainer disk4
00:45nico_32asahi linux: finding bug in Apple' code since 2021
00:45yzz has quit [Ping timeout: 480 seconds]
00:46marcanand yes, the past few days things have been quickly shifting from "fixing installer bugs" to "working around apple bugs"
00:46marcansame problem?
00:46marcandoes "diskutil mount disk4s2" work?
00:47marcanlooks like I need a workaround for this nonsense then
00:47ReaganMcFarland[m]damn - I was really looking forward to trying it out
00:47ReaganMcFarland[m]Been following you guys since June last year
00:47ReaganMcFarland[m]From the shadows though :)
00:47matthewayers[m]marcan: what if the installer asks for a volume to prevent having to delete the volume and start over?
00:48marcanthat was a thing in the past but it's confusing and error-prone
00:48marcanI will be adding a delete option instead in the future
00:48matthewayers[m]Like a cleanup script of some sort?
00:49marcanwe already have a cleanup script, but it's kind of brute force
00:49marcanI mean a proper installer option to delete an OS install, and also an expert option to just delete an arbitrary partition
00:50marcanReaganMcFarland[m]: can you do "diskutil apfs listVolumeGroups"?
00:50marcanneed to make sure the grouping worked
00:50matthewayers[m]Gotcha, thanks for the info.
00:50ReaganMcFarland[m]I deleted the disk again - let me try re-installing to see
00:51ReaganMcFarland[m]I'm doing "max" when asked for how much space should be allocated - anyway that's involved?
00:51ReaganMcFarland[m]* be allocated to the new OS - anyway
00:52marcannot at this point, you're far enough yet for that to make a difference
00:53marcan*not far enough yet
00:53ReaganMcFarland[m]wait its working now
00:53marcanrace condition, I'm sure.
00:55yzz has joined #asahi
00:55skipwich has joined #asahi
00:57LuigyLeon[m]tpw_rules: thanks! vfinally my generations make sense again 😅
00:59caef^ has joined #asahi
00:59marcanlet's see if people stop reporting this failure mode :)
00:59marcanargh, the f
01:00marcanv0.3.21 it is then :')
01:00marcanI always forget the f
01:01tpw_ruleslol me too
01:04yuyichao_ has quit [Ping timeout: 480 seconds]
01:07nico_32releng works is always fixing this kind of bugs
01:08nico_32real world user data is always surprising
01:08yzz has quit [Ping timeout: 480 seconds]
01:08M12destroyer21[m]While updating to 12.3, my macbook air decided to nuke itself. I have a secondary Linux pc, on which I have compiled idevicerestore from main. I have my MacBook showing up in lsusb as a dfu device. When running the idevicerestore command it installs a bunch of things and a progress bar shows up on the MacBook screen. The screen then goes blank for a while when the Linux pc prints “ERROR: Device failed to enter restore mode”. The
01:08M12destroyer21[m]MacBook then lights up with an exclamation mark and a link to apple.com/mac/restore and it shows up in lsusb as in recovery mode. Have any of you had this problem and do you have any ideas on how to fix this?
01:11nicolas17(lol the link doesn't work? gg apple)
01:12M12destroyer21[m]Sorry, It’s support.apple.com/mac/restore
01:12marcanM12destroyer21[m]: you'll have to manually download the 12.2.1 IPSW and restore that one
01:12marcan12.3 is known broken on a small fraction of macs, for some unknown raeson
01:12marcanrestoring 12.3 again won't work
01:13marcandownload that and explicitly pass it to idevicerestore
01:14marcanand you'll have to wait until apple fixes this then, unfortunately
01:14marcanhopefully they'll release a 12.3.1 soon...
01:16yuyichao_ has joined #asahi
01:16yzz has joined #asahi
01:18* marcanshould sleep
01:20creechy has quit [Ping timeout: 480 seconds]
01:24yzz has quit [Ping timeout: 480 seconds]
01:26deflax has quit []
01:26deflax has joined #asahi
01:26vyoid has joined #asahi
01:27chadmedjeez your sleep schedule really has taken a beating. stay healthy!
01:29creechy has joined #asahi
01:29vyoidHey, quick question. I tried deleting Asahi from my disk utility but whenever I'm trying to do a erase command, it spits out that the volume is being used by the kernel and cannot perform the erase. Anybody got to this state? Thanks -
01:31ReaganMcFarland[m]Isn't the default root password just blank?
01:32chadmedsetting it to blank means the system will always reject any password
01:32chadmedyou cant log in as root
01:32chadmedsudo -s
01:32ReaganMcFarland[m]What's default sudo password
01:33chadmedyour user account password, just like any other system with sudo on it
01:33nicolas17your user password
01:33ReaganMcFarland[m]Thanks for being patient
01:33nicolas17"unfamiliar with Linux's peculiarities" is not "dumb" :)
01:34yzz has joined #asahi
01:37chadmedlurking on IRC when you should be writing a patient case study? now *that's* dumb
01:39creechy has quit [Ping timeout: 480 seconds]
01:42yzz has quit [Ping timeout: 480 seconds]
01:45alden4[m]i'm unable to format my drive, i don't have any time machine snapshots, just a update snapshot
01:46creechy has joined #asahi
01:47tpw_rulesyou'll have to either delete the update snapshot or shrink it by 3.3GB less
01:51hl`` has joined #asahi
01:54j`ey has quit [Remote host closed the connection]
01:55j`ey has joined #asahi
01:56hl` has quit [Ping timeout: 480 seconds]
01:58nicolas17 has quit [Ping timeout: 480 seconds]
02:01minecrell has quit [Quit: Ping timeout (120 seconds)]
02:02minecrell has joined #asahi
02:10nicolas17 has joined #asahi
02:10THX1984 has joined #asahi
02:17Lucy[m]Nice, I got the Pop-Asahi image working.
02:25Kevin5 has joined #asahi
02:27Kevin5 has quit []
02:42kylealanhale has joined #asahi
02:48THX1984 has quit [Quit: Leaving]
02:51riker77_ has joined #asahi
02:53creechy has quit [Ping timeout: 480 seconds]
02:55riker77 has quit [Ping timeout: 480 seconds]
02:55riker77_ is now known as riker77
02:59pzcz has joined #asahi
03:02pzcz has quit [Remote host closed the connection]
03:03creechy has joined #asahi
03:05eroux has joined #asahi
03:06pzcz has joined #asahi
03:06snek has quit [Server closed connection]
03:07snek has joined #asahi
03:07pzcz has quit [Remote host closed the connection]
03:07sjg1 has quit [Server closed connection]
03:07sjg1 has joined #asahi
03:09pzcz has joined #asahi
03:10pzcz has quit [Remote host closed the connection]
03:11creechy has quit [Ping timeout: 480 seconds]
03:20creechy has joined #asahi
03:20pzcz has joined #asahi
03:21yzz has joined #asahi
03:21pzcz has quit [Remote host closed the connection]
03:23EvadingEvasions[m] has joined #asahi
03:24EvadingEvasions[m]How long does extracting root.img usually take?
03:25nicolas17I think it's not only extracting but also downloading concurrently, so it would depend on your internet connection
03:26phiologe has joined #asahi
03:26rann has quit [Server closed connection]
03:27rann has joined #asahi
03:27EvadingEvasions[m]nicolas17: All right, thanks for the information.
03:27nicolas17someone said each + in the progress bar is another 10MB
03:28creechy has quit [Ping timeout: 480 seconds]
03:29pzcz has joined #asahi
03:29ReaganMcFarland[m]Any tips on debugging audio issues? I have the original M1 macbook pro so I should be able to use my headphones
03:29pzcz has quit [Remote host closed the connection]
03:29PhilippvK has quit [Ping timeout: 480 seconds]
03:31yzz has quit [Remote host closed the connection]
03:35pzcz has joined #asahi
03:36pzcz has quit [Remote host closed the connection]
03:37creechy has joined #asahi
03:38Techcable has quit [Ping timeout: 480 seconds]
03:40Gaelan has quit [Server closed connection]
03:40kode54How do I get it back up and running again? I already have an EFI and Linux partition pair
03:41Gaelan has joined #asahi
03:41kode54and I so
03:42kode54*don't know why Glanzmann was asking me about updating the efi image, it should already be fairly up to date, it was just created a couple of days ago
03:50kov has quit [Quit: Coyote finally caught me]
03:50kov has joined #asahi
04:00yzz has joined #asahi
04:04kenzie35 has quit [Server closed connection]
04:04kenzie35 has joined #asahi
04:05yzz has quit [Quit: leaving]
04:09jn has quit [Read error: Connection reset by peer]
04:10jn has joined #asahi
04:13kylealanhale has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:16kode54 has quit [Server closed connection]
04:16kode54 has joined #asahi
04:16bpye has quit [Server closed connection]
04:16bpye has joined #asahi
04:21vyoid has quit [Quit: Page closed]
04:30aratuk has quit [Quit: Leaving]
04:31sheepgoose_ has joined #asahi
04:32sorear has quit [Server closed connection]
04:32sorear has joined #asahi
04:33eric_engestrom has quit [Server closed connection]
04:33eric_engestrom has joined #asahi
04:35nicolas17 has quit [Ping timeout: 480 seconds]
04:36sheepgoose has quit [Ping timeout: 480 seconds]
04:39strangefield[m] has joined #asahi
04:39Techcable has joined #asahi
04:40tardyp has quit [Server closed connection]
04:40tardyp has joined #asahi
04:40nkaretnikov has quit [Server closed connection]
04:40nkaretnikov has joined #asahi
04:41strangefield[m] has left #asahi [#asahi]
04:43sheepgoose_ has quit [Ping timeout: 480 seconds]
04:45creechy has quit [Ping timeout: 480 seconds]
04:52marvin24_ has joined #asahi
04:53creechy has joined #asahi
04:56marvin24 has quit [Ping timeout: 480 seconds]
04:58pzcz has joined #asahi
04:58pzcz has quit [Remote host closed the connection]
05:00Glanzmannkode54: Sorry, I wnated to know if your stub upgrade worked?
05:01pzcz has joined #asahi
05:02creechy has quit [Ping timeout: 480 seconds]
05:02pzcz has quit [Remote host closed the connection]
05:03axboe has quit [Server closed connection]
05:03axboe has joined #asahi
05:07pzcz has joined #asahi
05:07pzcz has quit [Remote host closed the connection]
05:10m2231puppy has quit [Quit: m2231puppy]
05:11creechy has joined #asahi
05:11ReaganMcFarland[m]Accidentally set my brightness to 0 in a Plasma widget - login to black screen every time now
05:17WhyNotHugo has quit [Server closed connection]
05:17WhyNotHugo has joined #asahi
05:18handlerug has quit [Server closed connection]
05:18handlerug has joined #asahi
05:18aem64[m]How can i set macos back to my default boot volume?
05:19aem64[m]also where can i see the asahi disk in disk utility?
05:20raiaq has quit [Server closed connection]
05:20raiaq has joined #asahi
05:20coder_kalyan has quit [Server closed connection]
05:20coder_kalyan has joined #asahi
05:24BenPierce[m] has joined #asahi
05:25nametable[m]<aem64[m]> "also where can i see the asahi..." <- Not sure about how to set the default boot volume, but I had a similar issue not seeing the disk in the disk utility. Although you can see if it you run `diskutil list` in the terminal.
05:27tdmm has quit [Server closed connection]
05:27tdmm has joined #asahi
05:29aem64[m]nametable[m]: all i have is one nameds "Asahi" which takes up 2.5gb
05:29aem64[m]oh here it is
05:29aem64[m]probably Linux Filesystem
05:30chadmedyou can set macos as the default by going into System Preferences and choosing it as the Startup Disk
05:30aem64[m]another thing that would be really nice is being able to read apfs drives (aka my mac installation)
05:30aem64[m]chadmed: thanks
05:31chadmedtheres also an experimental apfs kernel driver floating around somewhere but i wouldnt trust it tbh
05:31aem64[m]i might consider really using this once i can have video codec and gpu acceleration support
05:31aem64[m]and figure out how to install box64
05:32jleightcap has quit [Server closed connection]
05:32jleightcap has joined #asahi
05:32BenPierce[m] is now known as bgpierc[m]
05:35aem64[m]damn can't verify atm
05:40handlerug has quit [Remote host closed the connection]
05:40handlerug has joined #asahi
05:41handlerug has quit [Remote host closed the connection]
05:41handlerug has joined #asahi
05:42Ry_Darcy has joined #asahi
05:44nyx_o has quit [Server closed connection]
05:45nyx_o has joined #asahi
05:45damien_vancouver has quit [Server closed connection]
05:45Ry_Darcy@Glanzmann As discussed on Sunday, the M1 now boots from your Debian installation using a 2K monitor (Bern). On returning to Zurich yesterday, I tried booting the M1 again, this time using my 4K monitor - "Black screen" again. Are there any issues here with screen resolutions? Very strange.
05:45damien_vancouver has joined #asahi
05:46pzcz has joined #asahi
05:47pzcz has quit [Remote host closed the connection]
05:51handlerug has quit [Remote host closed the connection]
05:51handlerug has joined #asahi
06:04immychan[m]<aem64[m]> "and figure out how to install..." <- Box64 isn’t really as useful as you’d think tbh
06:04immychan[m]But I imagine it’d be as simple as installing a precompiled deb
06:04Guest2753 has quit [Remote host closed the connection]
06:04lkvrsfld[m]Like qemu-user is
06:04chadmedi will say again
06:05chadmedneither fex nor box64 work at all in asahi right now
06:05chadmedand they likely never will on a native 16k pagesize kernele
06:05chadmedyou will have to install a patched 4K pagesize kernel yourself once sven's patches are merged
06:05ihaveamac has quit [Server closed connection]
06:05ihaveamac has joined #asahi
06:06balrog has quit [Server closed connection]
06:06balrog has joined #asahi
06:07chadmedthe tradeoff there is significantly reduced performance in some workloads
06:07chadmedbut if running x86 software is that important to you then its something you will have to deal with
06:07kode54Glanzmann: I don't know what a stub upgrade is
06:11kylealanhale has joined #asahi
06:12Erus_Iluvatar has quit [Server closed connection]
06:12Erus_Iluvatar has joined #asahi
06:14aem64[m]how will upgrading work? will ther be a built in upgrade script or will we have to reinstall it from scratch?
06:15Chainfireaem64[m]: so far, if you stick to Arch, pacman -Syu
06:16aem64[m]does the kyboard backlight work yet?
06:18ChainfireNot for me
06:19creechy has quit [Ping timeout: 480 seconds]
06:26creechy has joined #asahi
06:32Techcable has quit [Remote host closed the connection]
06:33jeffmiw has quit [Ping timeout: 480 seconds]
06:34Techcable has joined #asahi
06:40gvchmvxbmm[m] has joined #asahi
06:41ptitSeb[m]<chadmed> "neither fex nor box64 work at..." <- box64 works. I even made a blog entry about that https://box86.org/2022/03/box64-running-on-m1-with-asahi/
06:44bdju has quit [Server closed connection]
06:44bdju has joined #asahi
06:44chadmedohhh you guys already solved the page alignment on loongson
06:45chadmedwasnt aware of that!
06:46Simonx22 has quit [Server closed connection]
06:46Simonx22 has joined #asahi
06:48ptitSeb[m]yeah, I already had some case of 16k page
06:48ptitSeb[m]I need to clean up the patch, but it's already working
06:49ptitSeb[m](it has trouble to quit stuff, so still some bugs somewhere, but I suspect its purely internal to box64)
06:49GlanzmannRy_Darcy: Yes, there are problems with the dcp code and all resolutions bigger than 1080p are blacklisted.
06:50GlanzmannRy_Darcy: So at the moment the boot loader is initializing the dcp but blacklisting all modes bigger than 1080p. So what type of monitor are you trying? Do you have the exact model?
06:51GlanzmannRy_Darcy: I have two 4k screens in my home (TVs). I can try the mini with the tv under linux and let you know if they work.
06:52Glanzmann 07:03 <kode54> Glanzmann: if I still have the EFI and the Linux filesystem, can I just install the m1n1 + UEFI mode?
06:52winter has quit [Server closed connection]
06:52GlanzmannA stub is the fake macos the installer puts on a 2.5GB partition.
06:52winter has joined #asahi
06:53Ry_Darcy@Glanzmann - that might be (my) the problem indeed. My 4K monitor is a Samsung U28E590D.
06:53GlanzmannI thought you asked me yesterday how to get rid of the old stub and install a new stub. My answer was: https://tg.st/u/upgrade_stub.txt
06:54kode54I was asking how to install a stub when I have none to begin with
06:54kode54a system wipe erased the stub, but left the Linux partitions
06:55Chainfire has quit [Server closed connection]
06:55kode54I have no access to a Linux partition to do the first parts
06:56Glanzmannkode54: The answer to that is: https://tg.st/u/upgrade_stub.txt
06:56kode54I have no bootable Linux on this machine
06:56Glanzmannkode54: Send me the output of 'diskutil list'
06:57Glanzmannkode54: You can paste it here: tg.st/p
06:57kode54oops, I used 0x0.st
07:00Ry_DarcyGlanzmann - Strange, this monitor works with normal linux, MacOS and Pipcet's Linux. Are there any workarounds?
07:06ptudor has quit [Server closed connection]
07:07ptudor has joined #asahi
07:08Ry_Darcy@Glanzmann Having said that, Pipcet had an option at initial installation to supress 4K. Even though 4K did work.
07:09chadmedwhat version of macos were you using
07:09chadmedthe DCP firmware changed and broke some stuff with 12.0
07:10Ry_Darcy12.1 works perfectly works perfectly wit this monitor.
07:10Ry_Darcywith - all thumbs.
07:10chadmeddoes it still work with macos?
07:11chadmedGlanzmann: does the kernel you provide have the dcp patches in?
07:11artemist has quit [Server closed connection]
07:11chadmedif so try with the vanilla linux-asahi kernel which uses the framebuffer set up by iboot/m1n1 which should work
07:11artemist has joined #asahi
07:12Ry_DarcyI cannot install 12.3 on the M1. Has bricked my machine already at the weekend.
07:12linearcannon has quit [Server closed connection]
07:13Ry_DarcyAlso, I would prefer to stick with Debian.
07:14chadmedyou dont need to move from debian
07:15Ry_DarcyStill, 12.3 is a no-go for me at the moment.
07:15linearcannon has joined #asahi
07:15chadmedsure ok, but you can install a different kernel
07:15Glanzmannchadmed: Nope.
07:15chadmedoh well then that theory is irrelevant
07:17Glanzmannkode54: So I would evacuate the efi partition, make space for the stub and create stub+efi.
07:18Glanzmannkode54: Can you paste me the output of the 'mount' command?
07:20Glanzmannkode54: Okay, next step is to mount the efi partition: mkdir /Volumes/efi; mount -t msdos /dev/disk0s3 /Volumes/efi
07:20Glanzmannkode54: Than cd /Volumes/efi and take a backup of the EFI stuff: tar cfz efi.tar.gz EFI/
07:20Glanzmannkode54: Than cd /Volumes/efi and take a backup of the EFI stuff: tar cfz ~/efi.tar.gz EFI/
07:21GlanzmannOnce you have done that and veriried that you have it by executing: tar tfz ~/efi.tar.gz
07:21GlanzmannThan we get rid of the esp partition.
07:21Glanzmannumount /Volumes/efi
07:21Glanzmanndiskutil eraseVolume free free disk0s3
07:22kode54the EFI folder in that mount?
07:22kode54it contains only one thing, BOOT/BOOTAA64.efi
07:22kode54there are other folders, though
07:22Glanzmannkode54: Yep, that's fine.
07:23Glanzmannkode54: You can paste me the output of 'find /Volumes/efi' but we don't need them.
07:25as400[m]Glanzmann: do I remember correctly that you have created debian installer image that can be booted from usb ?
07:27Glanzmannas400[m]: Yes, it is here: https://alx.sh/w/Debian Please remeber to not choose 'use entire disk' so only use unpartitioned space.
07:28GlanzmannRy_Darcy: So I'll try now a patch to m1n1, if it works. for my 4k monitor, I send it to you.
07:29GlanzmannRy_Darcy: Are you able to access your mini using ssh?
07:30as400[m]Glanzmann: thx man.
07:30Glanzmannas400[m]: You're welcome.
07:31Ry_DarcyGlanzmann, not at the moment, I am in the office. I will be able to work with the M1 in the afternoon.
07:32GlanzmannRy_Darcy: I see, I'll try it now, if I succeed, I send it to you.
07:32Ry_DarcyGlanzmann, you have my email address thougg. Thanks for the assistance.
07:32Glanzmannyou're welcome.
07:33GlanzmannRy_Darcy: I send you an email with my findings, but also put it in irc for the others.
07:33creechy has quit [Ping timeout: 480 seconds]
07:33Ry_DarcyWill do. Avec plaisir.
07:33GlanzmannRy_Darcy: I'm not sure if m1n1 stage2 reinitalized the display or leaves it alone, but I'm about to find out.
07:34Ry_DarcyGlanzmann good luck.
07:34Darkmatter66 has quit [Server closed connection]
07:35Darkmatter66 has joined #asahi
07:35kylealanhale has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:36Chainfire has joined #asahi
07:39kahanis[m] has joined #asahi
07:40kode54it won't let me install to just 2.94Gb of space
07:40kode54how much space do I need to free up for this?
07:41chadmedat least 3
07:41chadmed2.5gb for stub partition, 500mb for efi
07:41creechy has joined #asahi
07:43AndreasArayaOsorio[m] has joined #asahi
07:45realmoot has joined #asahi
07:45realmootHi everyone
07:45realmootI am currently trying to run Asahi as a daily driver
07:46realmootJust facing one small issue of installing a text editor
07:46realmootVS Code gives a segfault
07:46kode54all electron has the same problem as chromium
07:46roxiun[m]Cos it’s electron
07:46roxiun[m]I think that why at least
07:46roxiun[m]Sublime should work right?
07:46kode5416k pages don't work well with that
07:46realmootand Sublime Text says:
07:47realmoot<jemalloc>: Unsupported system page size
07:47realmoot<jemalloc>: Unsupported system page size
07:47realmootGLib (gthread-posix.c): Unexpected error from C library during 'malloc': Cannot allocate memory. Aborting.
07:47realmoot[1] 61448 IOT instruction (core dumped) subl
07:47skipwich has quit [Server closed connection]
07:47skipwich has joined #asahi
07:47roxiun[m]kode54: Yeah that makes sense
07:47realmootThanks for responding roxiun[m]
07:47Major_Biscuit has joined #asahi
07:48roxiun[m]Hmm so what editors do work?
07:48juancri has joined #asahi
07:48realmootAre you also running Asahi?
07:48roxiun[m]Aside from vim and nano ig
07:48realmootI didn't know about any other GUI editors...
07:48roxiun[m]realmoot: nah not yet
07:49roxiun[m]I’m planning on once I can be confident battery life and gpu will work well enough
07:49roxiun[m]Cos of school
07:49realmootBut apparently these packages work on Rpi4, so i was hoping they work on Mac
07:49realmootIts a 2020 M1 mbp btw
07:50AdryzzOLEDEdition[m]the pi uses 4K pages
07:50AdryzzOLEDEdition[m]e.g. they split up the memory in 4KB chunks
07:50giskard has joined #asahi
07:51AdryzzOLEDEdition[m]while M1 has 16K pages
07:52realmootIs that why sublime also probably wont work?
07:52kode54jemalloc has the same problem
07:52AdryzzOLEDEdition[m]there's a list of apps that currently don't work with 16K pages
07:52kode54which also breaks all of Rust
07:52kode54so you can't use paru if you're on Arch
07:53realmootOops alright..
07:53kode54but you can use yay, because that's in go
07:53realmootWould be interested in suggestions on text editors
07:53realmootyes Im using go
07:53kode54but paru is no-go right now
07:53realmootAlso I cant play any video at all in firefox
07:53kode54I can play video in Firefox here
07:53AdryzzOLEDEdition[m]realmoot: audio issue
07:53realmootkode54: it just spins for me
07:53kode54it needs a sound device
07:54realmoothow do you give it a sound device
07:54kode54headphone jack is mostly non-working even though it should be
07:54kode54you plug in a USB sound device
07:54AdryzzOLEDEdition[m]"switch the audio profile to input and back to duplex"
07:54realmootI tried headphone jack and idn't work
07:54Sobek[m]Is there any fix in the pipeline for jemalloc ?
07:55AdryzzOLEDEdition[m]it should play even without an audio device
07:55Sobek[m](I wonder whether IntelliJ stuff can run on Asahi, I don’t think they are electron)
07:55realmootI can download the video using something like youtube-dl and it plays (without sound) but firefox just spins all the time
07:55Major_Biscuit has quit [Ping timeout: 480 seconds]
07:56AdryzzOLEDEdition[m]try switching the audio profile to input and back to duplex
07:56Dcow[m]1Sobek, do they provide builds for arm?
07:56AdryzzOLEDEdition[m]if it spins it's because it can't start audio playback (yes, even without an audio device)
07:58GlanzmannRy_Darcy: The experiment did not work.
07:59GlanzmannRy_Darcy: So we have to wait for jannau/marcan to give us proper gpu.
07:59Glanzmann has quit [Quit: leaving]
08:00realmootAdryzzOLEDEdition[m]: The second I change to Input youtube video plays but back to duplex it pauses as if its buffering
08:01AdryzzOLEDEdition[m]i have no clue then, just relaying an old troubleshootiung step
08:01AdryzzOLEDEdition[m]s/troubleshootiung/troubleshooting/
08:01realmootok now it works AdryzzOLEDEdition[m]
08:01AdryzzOLEDEdition[m]i don't have a machine (yet?) so i just lurk here
08:03realmootkode54: what mac are you using Asahi on?
08:04kode54Mac mini
08:05kode54and now I'm back in it
08:05Sobek[m]Speaking of jemalloc https://github.com/jemalloc/jemalloc/pull/2242 appears to have been merged which ought to fix the issue once things are released / propagate downstream ?
08:06j`eySobek[m]: no because we have generic aarch64 builds
08:07Sobek[m](And given the way rust is bootsrapped it won't work unless generic builds are fixed)
08:09Ry_Darcy@Glanzmann in other words, concerning the M1, my 4K monitor is useless at the moment. Schade!
08:17chadmedSobek[m]: thats not really going to fix anything
08:17chadmedoh yeah what j`ey said
08:18Sobek[m]:/ I wonder why there’s no link to a bug report for jemalloc on the page tracking those issues ? Should I like open one ?
08:19kylealanhale has joined #asahi
08:20kode54unfortunately, not that useful
08:20j`eymost of the comments are from 2017, so it could be worth bringing up again
08:20kode54as most packagers bake in a page size of 4KB
08:20kode54so it would require packagers to bake in the page size of 64KB and allow it to work for 16 and 4
08:21kode54it only works for smaller, not larger
08:23jannauI think most packagers do nothing and get the default page size of the compile host which is usually 4k
08:27kylealanhale has quit [Ping timeout: 480 seconds]
08:29Sobek[m]<j`ey> "most of the comments are from 20..." <- Especially given the state of hardware has changed and page size shenanigans are happenning more and more. The idea of compiling 3 copies for 16k, 64k and 4k and selecting one implementation at runtime might be the more intelligent solution, provided the selection can work reliably. (Right now kernel change, but it may become per process given there are reason to support 4k and 16k on asahi linux,
08:29Sobek[m]eventually (4k being pretty useful to make x86 translation work))
08:29Sobek[m]The issue has been mentioned like twice this year btw
08:29AdryzzOLEDEdition[m]it's not even a check in a hot path
08:29AdryzzOLEDEdition[m]it is a one time thing at startup
08:31Sobek[m]If you set-it up this way yes. But they pointed out that some compile time structure relied on page size, so you have to do it that way and you can't just have a rather synamic implementation where the same code handles the three case.
08:32Sobek[m]The main cost is obviously making the library take up three time the space it used to (which will feed the troll about rust binaries sizes obviously ^^')
08:33chadmedshipping fat binaries for page size bs is just straight up never going to happen, especially for stuff that embededd systems rely on
08:34chadmedand good luck getting packagers to compile multiple copies of things for various page sizes, and then good luck getting users to configure their package managers to get the right one
08:35chadmedjemalloc already has the infrastructure for this to not be a problem with a single command line switch in packagers' build scripts
08:35AdryzzOLEDEdition[m]aaaa this is insane
08:36Sobek[m]Hmm, embedded people are the one who can likely add in the switch to specify which arm page size they want. (They know their hardware).
08:37Sobek[m]It sounds like the page size should be part of the target triple or something though, given the impact it has on portability. Is it deemed a part of the ABI or not btw ?
08:40jackhill has quit [Server closed connection]
08:41AdryzzOLEDEdition[m]are custom memory allocators that much better in the first place?
08:45kode54would anyone know what I've done differently to alarm to make it crash sddm on boot?
08:47Sobek[m]jemalloc is generally linked statically / vendored or is it a package that asahi linux could override on M1s with a version suitable for it ?
08:49kode54telegram-desktop in the arch repos links it dynamically
08:49kode54as does some mariadb thing that KDE installs
08:49kode54everything else will need to be built with larger page sizes by default
08:50jackhill has joined #asahi
08:50creechy has quit [Ping timeout: 480 seconds]
08:52kode54there we go
08:52Sobek[m](Larger page size or page size detection)
08:52kode54larger page size should be forced by the build scripts by default
08:52kode54since the library supports arbitrarily smaller page sizes at runtime
08:52ptudor_ has joined #asahi
08:53Sobek[m]This is where we should probably have a chat with distro maintainers to see what's the favoured solution for them ?
08:53kode54probably
08:53realmoot has quit [Quit: Konversation terminated!]
08:54Sobek[m](At least it appears M1 is not the only aarch64 chip out there that has some page size subtleties, Loongson is another one from what appears earlier in the chat)
08:54tbodt has quit [Server closed connection]
08:54tbodt has joined #asahi
08:55MajorBiscuit has joined #asahi
08:56ptudor__ has joined #asahi
08:57creechy has joined #asahi
08:57j`eySobek[m]: RHEL used 64K page sizes on arm for a while.. but they build the entire distro so can control that
08:57ptudor has quit [Ping timeout: 480 seconds]
09:01ptudor_ has quit [Ping timeout: 480 seconds]
09:02ptitSeb[m]<Sobek[m]> "(At least it appears M1 is not..." <- Loongson is not aarch64, it's longarch64, based on mips (but different)
09:02Sobek[m]Ah, well, I got confused ><
09:02ptitSeb[m]but it do use 16k pages
09:02ptitSeb[m]s/do/does/
09:04gsora[m]4k kernel i bet
09:05enchiladasconpinguino[m]vscode working on latest alpine kernel (4k page)
09:05enchiladasconpinguino[m]of course yeah, but working great fwiw
09:05creechy has quit [Ping timeout: 480 seconds]
09:05gsora[m]those little m1 chips are a joy to work with
09:05enchiladasconpinguino[m]<1s ide startup time, off usb even..
09:06gsora[m]the bootup time of the whole system is so fast i can't believe it's a cold boot
09:07enchiladasconpinguino[m]my rough benchmark so far, maybe 10% perfomance loss from 16 -> 4k pages
09:07enchiladasconpinguino[m]but now software works so meh worth it
09:08rbenua has quit [Server closed connection]
09:09rbenua has joined #asahi
09:09AdryzzOLEDEdition[m]exactly as running with mitigations=off on intel lol
09:12pent1ckel has quit [Remote host closed the connection]
09:14megalodon42[m]hello, I still cannot figure out how to finalize the install with the bputil fail at step2... should I restart the install from scratch or it is generally not a good idea?
09:15creechy has joined #asahi
09:15megalodon42[m]I've been craving for this install for so long haha :)
09:21pent1ckel has joined #asahi
09:23creechy has quit [Ping timeout: 480 seconds]
09:25hell__ has quit [Server closed connection]
09:26hell__ has joined #asahi
09:28nilsi[m]enchiladasconpinguino: can i do `apk add` with the 4k patch that someone linked here before after installinging the KDE distro with the installer in order to get 4k support?
09:28nilsi[m]* 4k support? Or how did you do it_
09:28nilsi[m]* 4k support? Or how did you do it?
09:29j`eyapk add is for alpine, not arch
09:30ptudor__ has quit [Ping timeout: 480 seconds]
09:30nilsi[m]Oh, okay. I guess not then :)
09:31creechy has joined #asahi
09:31ptudor has joined #asahi
09:32mpsnilsi[m]: you can download kernel for alpine (apk package) and untar it
09:33mpsthis is built with 4K page size
09:34mpsso `tar -xf linux-asahi-5.17.rc7.20220318-r0.apk -C /` should install it on Arch, but you have manually to add it in bootloader (grub)
09:35mpsthough not sure will it work with systemd as pid 1, never tested this
09:35nilsi[m]Cool, I might give it a try after work tonight.
09:35ptudor_ has joined #asahi
09:36hitmoon has joined #asahi
09:36megalodon42[m]thank you to all of you for your work with Asahi, especially marcan. I can't get it installed but I will continue to follow your progress from alpha to beta and so on! Cheers!
09:37ChainfireDoes the M1 support 64kb and does anyone have a kernel for that?
09:37mazno, and no.
09:37j`ey megalodon42[m]: you should make a github issue, with the logs
09:37megalodon42[m]j`ey: thank you
09:38jnmaz: i'm curious, what is missing in hardware for 64k pages?
09:38pzcz has joined #asahi
09:38mazjn: I guess support in the PTW, for example.
09:38AdryzzOLEDEdition[m]64K pages sounds like a waste too if the lowest memory size is 8GB
09:39pzcz has quit [Remote host closed the connection]
09:39creechy has quit [Ping timeout: 480 seconds]
09:39mazAdryzzOLEDEdition[m]: it has nothing to do with the memory capacity, but with the way you use that memory.
09:40AdryzzOLEDEdition[m]yes but you can't allocate half a page
09:40ptudor has quit [Ping timeout: 480 seconds]
09:40ChainfireI have dynamic Chromium patch for 4kb/16kb working (busy with cleanup), it'll break on 64kb though
09:40AdryzzOLEDEdition[m]so if you don't need the full 64k it is going wasted
09:40j`eymarcan: you didnt bother testing the installer with spaces as your password?? :P
09:42mazAdryzzOLEDEdition[m]: with 64kB, I want 512M blocks. it's not about individual page allocation, but efficiency of the TLBs.
09:42megalodon42[m] has left #asahi [#asahi]
09:42AdryzzOLEDEdition[m]isn't it the same issue of cluster size on persistent storage?
09:42mazi.e. waste of memory is not a concern if my workload is about squeezing out every bit of performance.
09:43arndAdryzzOLEDEdition[m]: https://docs.google.com/spreadsheets/d/1Y-eeXEHr8Tud2ul4iApn6hLEQoMsl3Bsud-vlW3V2t8/edit#gid=0 has some numbers from an experiment I did on my typical workload (building kernels with gcc).
09:44arndusing 64KB more than doubles the memory usage in this case, but as long as you have enough memory, it's still slightly faster than 16KB pages
09:44mazI'm not condoning the use of 64k pages on arm64 (I wish we never had the option), but there *are* workloads that benefit (a bit) from them on some implementations.
09:47arndI think what makes the 64K pages so tempting is that the workloads that benefit most are exactly the things that get used in CPU benchmarks. The same thing is true for ilp32 mode, which is something we managed to dodge for arm64
09:47arnd"x32" mode on arch/x86 serves mostly to make Intel look good in some benchmarks, but causes way too many problems for the limited practical use
09:48creechy has joined #asahi
09:49hays has quit [Server closed connection]
09:49hays has joined #asahi
09:53zv has quit [Server closed connection]
09:53zv has joined #asahi
09:55Glanzmann has joined #asahi
09:55GlanzmannRy_Darcy: Good news, I think it works.
09:55Glanzmannmarcan[m]: Is it safe to initialize the dcp on the mini from the stage2 m1n1 or should it be done from the stage1 m1n1?
09:56GlanzmannRy_Darcy: I can provide you with a m1n1 rust binary which you can install in 1tr that sets the display correctly.
09:56svenit's safe from stage 2 as well
09:56Glanzmannsven: Than I have to try that.
09:56svenit's no different that iboot first initializing the display and then m1n1 trying it again
09:57creechy has quit [Ping timeout: 480 seconds]
09:57Glanzmannsven: I thought we're only initalizing the display, if it is not initalized: https://pbot.rmdir.de/3Wg6NBVLr7-muf34oAGwkw
09:58GlanzmannBut let me try that.
09:58svenright, so for stage 2 there's no different if stage 1 and/or iboot did anything
09:58sven*difference
10:00Z750 has quit [Server closed connection]
10:00Z750 has joined #asahi
10:01GlanzmannWow there is now a percentage in the installer. How fancy. :-)
10:02enchiladasconpinguino[m]mps: so tried a fresh install with qemu to physical usb like we discussed
10:02enchiladasconpinguino[m]but your kernel doesn't seem able to boot "crypt+sys" install ?
10:03reillyeon has quit [Server closed connection]
10:03reillyeon has joined #asahi
10:03joske has joined #asahi
10:03enchiladasconpinguino[m]mount: mounting /dev/mapper/root on /sysroot failed: No such file or directory
10:03enchiladasconpinguino[m]Mounting root failed.
10:04enchiladasconpinguino[m]I also tried manually editing the grub.cfg to use UUID and match lts kernel setup, but same error
10:04mpsenchiladasconpinguino[m]: huh, so I didn't enabled some of device mapper modules, I guessing
10:04mpsenchiladasconpinguino[m]: ah you mean in qemu VM
10:05enchiladasconpinguino[m]yeah some kernel module config for cryptsetup missing I think
10:05enchiladasconpinguino[m]I haven't even gotten to booting new install off bare metal yet
10:05Glanzmannmps / enchiladasconpinguino[m] Here is a blaoted config which enables almost anything also stuff you don't need on the m1: https://tg.st/u/config-2022-03-17-distro-sven-jannau.txt
10:05enchiladasconpinguino[m]making sure it can boot in QEMU first
10:06mpsenchiladasconpinguino[m]: I didn't tested with crypt setup. you can join #alpine-linux on OFTC and ask there
10:06enchiladasconpinguino[m]oh so your daily driver install no crypt setup? I guess I just assumed that worked
10:07mpsGlanzmann: thanks, but I'm trying to keep alpine slim and not bloated :)
10:07enchiladasconpinguino[m]yeah, I doubt its more than one or two missing kernel module
10:07creechy has joined #asahi
10:07mpsenchiladasconpinguino[m]: join #alpine-linux or #alpine-devel and ask
10:08enchiladasconpinguino[m]okay I will investigate further and ask around, thanks
10:08mps(I'm not on these channels because there are a lot of annoying and sometimes bad people)
10:09enchiladasconpinguino[m]otherwise we are pretty close to standard alpine installer working
10:09enchiladasconpinguino[m]actually I will try just plain "sys" install next with this method, to prove that it does boot bare metal correctly
10:10mpsenchiladasconpinguino[m]: I'm busy with upgrading kernel to 5.17 on alpine now, and will be probably all the day
10:10enchiladasconpinguino[m]gotcha no worries, thanks mps
10:11mpsenchiladasconpinguino[m]: by the chance, do you know rust building, cargo (cult ;) )
10:12enchiladasconpinguino[m]nope I don't do any rust stuff sorry, totally ignorant on that one
10:12mpsenchiladasconpinguino[m]: np, also I don't
10:12enchiladasconpinguino[m]for native stuff, c/c++/go/zig only
10:12AdryzzOLEDEdition[m]i know just basic stuff about cargo
10:13mpsthough I ported rust to alpine for armv7 and aarch64 2 or 3 years ago, but after that I lost interest in rust
10:16mpsAdryzzOLEDEdition[m]: hah, I introduced zig to alpine about 2 years ago, and I still maintain it but also loosing interest on it
10:16AdryzzOLEDEdition[m]all i use rust for is M0+ on the pi pico
10:16mpsstarting again to love plain C and perl
10:17mpsthough bought book about crystal and learning it for financial programming
10:18mpsand posix shell ofc
10:18gsora[m]crystal for financial programming? wow!
10:18gsora[m]does it fit well in the financial ecosystem?
10:19mpsgsora[m]: it is modeled like ruby and ruby is strong in this field
10:20j`eyI have this untested APKBUILD for m1n1 that should work with rust https://termbin.com/3d0v
10:20chir4gm has quit []
10:21chir4gm has joined #asahi
10:22mpsgsora[m]: there are some financial apps (big ones) in crystal so I think it is good, and as compiled lang it is fast, lot faster than ruby (and faster than rust)
10:22mpsj`ey: will test it
10:23j`eyit needs changing to add all the new sources
10:23Sobek[m]<mps> "enchiladasconpinguino: by the..." <- What exactly are you interested in ?
10:23mpsj`ey: I see
10:24j`eyand probably should set CARGO_HOME and RUSTUP_HOME to somewhere in /tmp
10:24gsora[m]mps: interesting! didn't even know ruby had a following in the financial environment
10:26mpsgsora[m]: not mainstream financial apps (microsofot ...) but in some knowledgeable shops it is
10:26mpsSobek[m]: ?
10:26mpsSobek[m]: don't understand question
10:27j`eySobek[m]: it's alpine specific really
10:27Sobek[m]Matrix IRC might have mangled who I was replying to, I was asking enchiladas, wrt his rust / cargo question.
10:28mpsj`ey: m1n1 still doesn't build with your patch on my environment
10:29emptynine has quit [Server closed connection]
10:29emptynine has joined #asahi
10:29j`eymps: what's the error?
10:29j`eyI don't have aports on my m1 yet
10:29mpsj`ey: ehm, let me rerun
10:32joske has quit [Remote host closed the connection]
10:33joske has joined #asahi
10:33chir4gm has quit []
10:34chir4gm has joined #asahi
10:34mpsj`ey: running with ash as shell I don't get error, just warnings. will investigate later and report to you
10:35j`eymps: ok
10:36Ariadne has quit [Server closed connection]
10:36Ariadne has joined #asahi
10:37mpsj`ey: at the rust git submodules --init should be added in APKBUILD, probably in prepare()
10:37mpss/at/and/
10:37Ry_Darcy@Glanzmann Will I be receiving some stuff?
10:37j`eymps: that wont work since the APKBUILD downloads a tarball
10:37mpsj`ey: or there is way to downoad this as tarball
10:38j`eymps: I don't know of a way to download it all
10:38kaprestsProbably a noob question, but will 'all' the software available for Arch Arm just work on the M1 macs with Asahi, or will the individual packages have to be adapted individually by maintainers/developers/community? Just curious since the latter scenario was the case for software for macOS for Apple silicon at least, yet I can
10:38mpsj`ey: ok, will ask later if someone know and would help to us
10:39j`eykaprests: most will work yes
10:39j`eycurrently asahi comes with a 16K kernel which means it has issues with software such as https://github.com/AsahiLinux/docs/wiki/Software-known-to-have-issues-with-16k-page-size
10:39kaprestsWow, that's pretty great! How come software for macOS hade to be ported individually then?
10:40j`eybecause that was from x86 to arm
10:40tmlind has quit [Server closed connection]
10:40tmlind has joined #asahi
10:40j`eyArchLinuxArm is already arm :P
10:40kaprestsOh yes of course!
10:41kaprestsExcited to try out the alpha then :D
10:41Sobek[m]kaprests: Mostly because a lot of the mac software is closed source + macos never ran on ARM before, whereas linux is a. open source so recompile is quite a bit easier, and linux already runs on ARM so software have already been ported to ARM.
10:42EvadingEvasions[m]I got a question. Can you transfer files on the mac to the linux OS?
10:42kaprestsSobek[m]: Yeah I see! Makes alot of sense :))
10:42Sobek[m](But the page size stuff is likely going to cause headache to a bunch of people before it gets better I fear)
10:42j`eyEvadingEvasions[m]: not easily, currently
10:42EvadingEvasions[m]j`ey: And difficultly?
10:43Sobek[m]EvadingEvasions[m]: So, I think there are some tools that allow mount ext2 on macos (using fuse or something like that), if they have made the jump to ARM land. And the other way round, there's a fuse APFS fs that can be used (but in readonly, be careful).
10:44j`eySobek[m]: macOS can also read FAT natively, so you can make a small FAT partition for transferring files if you really wanted
10:44Sobek[m]Or you can dump the files on a dumb USB key with a fs that both OS like (FAT32 for small files, I don't remember off the top of my head what to use for big files).
10:44enchiladasconpinguino[m]^ this is safe to use to copy from macos to linux
10:45EvadingEvasions[m]Oh and can you play video on Asahi atm?
10:46EvadingEvasions[m]I can't seem to though.
10:46chadmedyour machine will scream at you since its software rendered but it does work
10:46EvadingEvasions[m]Whenever I go to youtube.com it just goes at one by one.
10:46EvadingEvasions[m]And ideas on when Chromium will be done? Looks like there's some progress going on already.
10:46GlanzmannRy_Darcy: So, I'll make you a patch ready. You need to install it and reboot and than let me know if it works.
10:47GlanzmannRy_Darcy: I'll also provide you with the binary.
10:47chadmedno idea on chromium since i dont use it and its a problem for upstream
10:47chadmedhonestly my advice is simply do not use electron apps at all
10:47GlanzmannRy_Darcy: And thank you for asking me this question, now I can finally use my mini as workstation. Because before I never bothered because dcp was too slow for me and with the framebuffer I got only 1080p.
10:49gsora[m]are macbook trackpads handled through libinput?
10:49gsora[m]i can't seem to find a scrolling speed config
10:49_jannau_Glanzmann: I don't think we want to always re-initilize the display. at least not on devices with integrated display
10:49EvadingEvasions[m]gsora[m]: I did it.
10:49EvadingEvasions[m]you meant the sensitivity ?
10:49gsora[m]i think? it scrolls too much for the amount of actual finger travel i use
10:50EvadingEvasions[m]first run `xinput --list`
10:50EvadingEvasions[m]And send screenshot
10:50Glanzmannjannau: I'm not planning to distribute it besides to Ry_Darcy and me. I'm using this now on my mini and it appears to work perfectly.
10:50chadmedif youre on kde, just go system settings -> input devices -> touchpad -> scrolling speed
10:50maxung[m] has joined #asahi
10:50_jannau_I think you're change will also break on macbook pro 14/16 and imac since the native/only mode for the display has a width > 2560
10:51Glanzmannjannau: I see.
10:51chadmedGlanzmann: you know that simply posting it here means 300 people will pick it up and uncritically apply it and then sook when it breaks something :P
10:51gsora[m]> > <@gsora:awake.noskills.club> i can't seem to find a scrolling speed config... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/EdkkpDZKKIcukHzIpIsIZAxC)
10:51Glanzmannchadmed: Okay, I remove the file.
10:52EvadingEvasions[m]`xinput --list-props 8`
10:52EvadingEvasions[m]8 is the ID of your track pad
10:52_jannau_Glanzmann: what we could do with chainloading is to append a variable 'preferred_mode' to allow selection of higher res / wide screen moodes
10:52gsora[m]yeah it's 100% libinput
10:52gsora[m]i can use any libinput config thing then
10:52EvadingEvasions[m]I run a startup script
10:53gsora[m]can you share it here?
10:54EvadingEvasions[m]xinput --set-prop 7 279 0.6`
10:54gsora[m]OT: fonts look gorgeous on plasma wth, it's been years since i tried it properly last time
10:54Glanzmannjannau: That would make sense, yes.
10:54EvadingEvasions[m]Currently in the process of ricing it.
10:54Glanzmannjannau: I wanted it to make it as easy as possible for Ry_Darcy to apply it.
10:54EvadingEvasions[m]Catpuccin theme, gonna use EWW widgets next.
10:54chadmedplasma rocks, idk how people use any other DE these days
10:55gsora[m]thanks for the script! it's much better now
10:55gsora[m]chadmed: i've been a lifelong gnome/i3 user, kde 4 scared me away tbh
10:55mpsSobek[m]: few days ago I compiled linux-apfs-rw kernel module and tested it, it works though upstream say it is not safe yet
10:56kode54I figured out why Gnome Terminal may have failed
10:56chadmedincidentally gnome has sucked for about as long as kde has rocked
10:56mpsin meantime I use exfat
10:56maxung[m]Glanzmann: Could you send me the patch in private, I also have a Mac Mini but with 1080p it's not worth considering for me
10:56EvadingEvasions[m]gsora[m]: change ids respectively
10:56GlanzmannRy_Darcy: Run this command as root and reboot. Let me know if your screen works. If it does not work at first. Try to turn the mini off again and on again. This patch works for me on a 2k display. curl -sLo /boot/efi/m1n1/boot.bin https://tg.st/u/rydarcy.bin
10:56kode54basic arch linux arm doesn't set up locale.gen
10:56kode54and sets the default locale to "C" too
10:56EvadingEvasions[m]Rice coming out well though.
10:56Glanzmannmaxung[m]: done.
10:57EvadingEvasions[m]In case anyone wants to use it
10:57Glanzmannmaxung[m]: Edit the number for your maximul resolution.
10:57GlanzmannIIRC marcan put the 1080p limit there because some monitors offered a virtual 4k resolution while they did not have one.
10:58chadmedyeah there are monitors with screwed up EDID/whatever the new extended version is called
10:58maxung[m]Thanks, I'm using 1440p, so should fit
10:58maxung[m]s/fit/be fine/
10:58gsora[m]anybody using a native matrix client for plasma?
10:59chadmedeventually obviously we will tear down and reinitialise a framebuffer in the dcp kernel driver so it shouldnt be an issue long term
10:59chadmedbut we need SOME display output for m1n1 and u-boot
11:00Glanzmannmaxung[m]: I would edi the resolution exactly to your resolution, because on one of my editors it does not work with the version for what I send you.
11:01_alice has quit [Server closed connection]
11:01_alice has joined #asahi
11:01maxung[m]Yeah I noticed, the other version you posted before had the correct one ^^
11:02Ry_Darcy@Glanzmann - will try this afternoon. I will report back. Thanks.
11:02klange has quit [Server closed connection]
11:02klange has joined #asahi
11:02Glanzmannmaxung[m]: I corrected it.
11:03Glanzmannmaxung[m]: So this patch as you see it when you press reload, works for me on the eizo, the one with the 4k resolution does _not_ work for me on an eizo.
11:06Ry_Darcy@Glanzmann you say run as root, where as root? MacOS?
11:07GlanzmannRy_Darcy: On Linux.
11:08GlanzmannRy_Darcy: And for me this does not work on a 2k monitor, only on a 4k.
11:08GlanzmannHowever if you installed openssh-server and have a non-root user, you can login remote and exchange it.
11:10skoobasteeve has quit [Server closed connection]
11:10skoobasteeve has joined #asahi
11:10Glanzmannjannau: Maybe adding the parameter is not such a bad idea. So we could overwrite the parameter without touching m1n1 stage 1, can we?
11:13Glanzmannjannau: If I add your dcp driver, but do not use xrandr, should it work with performance and hdmi hotplug? If that is the case, I'll try that later.
11:14creechy has quit [Ping timeout: 480 seconds]
11:14_jannau_yes, I would expect that just appending the param to ESP:m1n1/boot.bin will work
11:14the_lanetly_052 has joined #asahi
11:15pzcz has joined #asahi
11:15_jannau_dcp is complicted, let me think about it tonight
11:16pzcz has quit [Remote host closed the connection]
11:16Glanzmannjannau: I see. I'll try it once you give me a go ahead.
11:17gsora[m]ugh, neochat from [community] also doesn't support 16k pages
11:18EvadingEvasions[m]Why is chrome crashing for me?
11:18EvadingEvasions[m]Is chrome unusable?
11:18AdryzzOLEDEdition[m]chromium doesnt support 16K pages
11:19EvadingEvasions[m]Yeah but why can't it launch?
11:19AdryzzOLEDEdition[m]because it doesn't support 16K pages
11:19EvadingEvasions[m]So it can't even launch... R.I.P.
11:20AdryzzOLEDEdition[m]it can't allocate memory
11:21gsora[m]does 4k-only software terminates with SIGTRAP?
11:22creechy has joined #asahi
11:23gsora[m]mprotect(0xffff63202000, 8192, PROT_NONE) = -1 EINVAL (Invalid argument) < crashes on this
11:28Hotswap has quit [Server closed connection]
11:28Hotswap has joined #asahi
11:29Ry_DarcyGlanzmann will do. Thanks.
11:34kameks has joined #asahi
11:34robher has quit [Server closed connection]
11:34robher has joined #asahi
11:35bradfier has quit [Server closed connection]
11:35bradfier has joined #asahi
11:35pulsar[m] has quit [Server closed connection]
11:35pulsar[m] has joined #asahi
11:38brudda[m] has joined #asahi
11:42brudda[m]Hello, is anyone else having issues downloading some packages? I can't download xorg because libepoxy always fails to download
11:43ave3 has quit [Server closed connection]
11:44ave3 has joined #asahi
11:45brudda[m]Failed to connect to mirror.archlinuxarm.org port 80 after 3050ms: No route to host
11:45brudda[m]Oh well, that was the error
11:46chadmedworks fine for me
11:46chadmedmight be your isp
11:46chadmedor your network configuration
11:46acez[m] has quit [Server closed connection]
11:46brudda[m]It probably is, though plenty of other packages install fine
11:46acez[m] has joined #asahi
11:47brudda[m]I'm on university WiFi its a pain to get connected anyway lol
11:48KDDLB has quit [Server closed connection]
11:48KDDLB has joined #asahi
11:49WindowPain has quit [Server closed connection]
11:49brudda[m]Also, I'm guessing its not yet possible, but can I replace systemd with openrc?
11:50Skirmisher has quit [Server closed connection]
11:50Skirmisher has joined #asahi
11:51WindowPain has joined #asahi
11:52_jannau_brudda[m]: general arch linux (arm) instructions should apply for switching to openrc but it's offtopic here
11:52brudda[m]Okay, thank you : )
11:53povik has quit [Server closed connection]
11:53povik has joined #asahi
11:53jpnurmi has quit [Server closed connection]
11:54jpnurmi has joined #asahi
11:57chadmed has quit [Remote host closed the connection]
11:58subject38[m] has quit [Server closed connection]
11:58subject38[m] has joined #asahi
11:59branon has quit [Server closed connection]
11:59ChanServ changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | https://asahilinux.org/2022/03/asahi-linux-alpha-release/ | General project discussion | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-stream #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
11:59branon has joined #asahi
12:00enchiladasconpinguino[m]mps: quick update with some good news for you, official 3.15 alpine.iso "sys" install working with your kernel :)
12:00vx has quit [Server closed connection]
12:01vx has joined #asahi
12:01enchiladasconpinguino[m]only required small tweaks to grub.cfg and your .apk
12:03opticronI really hate that Android stole the .apk extension from Alpine
12:04NoahSchill[m] has quit [Server closed connection]
12:04NoahSchill[m] has joined #asahi
12:08mpsopticron: :)
12:09mpsopticron: openwrt also plan to start use apk
12:09pfdub[m] has quit [Server closed connection]
12:09pfdub[m] has joined #asahi
12:10ReaganMcFarland[m]Hey guys! Accidentally set my screen brightness in my KDE plasma desktop to 0 so now I log into a black screen
12:10mpsenchiladasconpinguino[m]: ok, that is expected, not everything is fixed
12:10opticronmps, that'll at east be the same package format (probably)
12:11j`eyReaganMcFarland[m]: can you press F2 I think it is? to turn it back up
12:11opticronAndroid's .apk files are entirely unrelated to Alpine's
12:11ReaganMcFarland[m]How do the function keys work with touch bar disabled?
12:11mpsopticron: yes, pkg format and tool (apk)
12:12j`eyReaganMcFarland[m]: fn+number row
12:12marcan(but that won't help for media keys...)
12:12mpsopticron: right, android just took (stole) name of pkg extension
12:12pwg has quit [Server closed connection]
12:12pwg has joined #asahi
12:13marcanReaganMcFarland[m]: you can ctrl-alt-f1 (option-ctrl-Fn-1) to a text terminal, log in from there, and there should be some file you can delete to remove that preference from KDE... though I don't know what it is off the top of my head
12:13marcanand yes the brightness situation is kind of dodgy right now, especially on the MBP with no touch bar
12:13mpsopticron: openwrt working activelly to adopt apk but they wait for apk version 3
12:13marcanthat will be fixed with DCP
12:13dianshi has quit [Server closed connection]
12:13dianshi has joined #asahi
12:13marcanactually I think you need tty2, so ...-2 instead of ...-1
12:14gsora[m]the backlight thing you mean?
12:14marcanmaybe I should just hack gpio-backlight to ignore the brightness attribute entirely for the time being...
12:14mpsmarcan: for me works on tty1 also
12:14marcanmps: is this arch?
12:15mpsmarcan: alpine
12:15marcanthen your experience is irrelevant
12:15os has quit [Server closed connection]
12:15marcanlet's stop mixing together distros, please
12:15marcanstuff like what tty a login manager spawns on is not the same everywhere
12:15os has joined #asahi
12:15enchiladasconpinguino[m]speaking of brightness, anyone working on gamma control in DCP yet?
12:15mpsmarcan: I didn't noticed that the question is for specific distro
12:16j`eyenchiladasconpinguino[m]: I dont think so
12:16marcanmps: I think it's safe to assume that if someone comes asking for help and they don't mention a different distro, they're probably on ALARM :p
12:16mpsmarcan: heh, you are right
12:24caef^ has quit [Remote host closed the connection]
12:26the_real_briel[m] has quit [Server closed connection]
12:26the_real_briel[m] has joined #asahi
12:30creechy has quit [Ping timeout: 480 seconds]
12:31pzcz has joined #asahi
12:32pzcz has quit [Remote host closed the connection]
12:32limegorilla[m] has quit [Server closed connection]
12:32limegorilla[m] has joined #asahi
12:35plaer1[m] has quit [Server closed connection]
12:35plaer1[m] has joined #asahi
12:38enchiladasconpinguino[m]so its possible to set brightness from macos, and then persists in linux? but not the gamma control?
12:38enchiladasconpinguino[m]DCP state survives reboot?
12:39creechy has joined #asahi
12:40Glanzmannenchiladasconpinguino[m]: Nope.
12:40Glanzmannenchiladasconpinguino[m]: I think someone set the brightness from macos and rebooted and the brightness state is unmodifed.
12:41mpsyes, brightness persist
12:41mpsbut not gamma
12:42megalokafes has quit [Server closed connection]
12:42megalokafes has joined #asahi
12:45linuxgemini9 has quit [Server closed connection]
12:46linuxgemini9 has joined #asahi
12:46enchiladasconpinguino[m]okay thanks, brightness is better than nothing
12:47enchiladasconpinguino[m]my tired old eyes can't look at blue lit full brightness for too long..
12:47HagenSchrder[m] has quit [Server closed connection]
12:47HagenSchrder[m] has joined #asahi
12:47creechy has quit [Ping timeout: 480 seconds]
12:48al3xtjames has quit [Server closed connection]
12:48al3xtjames has joined #asahi
12:48creechy has joined #asahi
12:48turo has quit [Server closed connection]
12:48turo has joined #asahi
12:50maxung[m]<Glanzmann> "maxung: So this patch as you see..." <- patch works perfectly, now i’m tempted to try 144hz as well
12:51maxung[m]patch works perfectly, now i’m tempted to try 144hz as well (although i don’t know if that makes sense with software rendering)
12:51maxung[m]* > <@_oftc_Glanzmann:matrix.org> maxung: So this patch as you see it when you press reload, works for me on the eizo, the one with the 4k resolution does _not_ work for me on an eizo.
12:52Glanzmannmaxung[m]: I just run the dcp experiment on my monitor.
12:52GlanzmannI see no modes with more than 60hz. But I see 4k modes, but my monitor does not support 4k.
12:53GlanzmannI assume that is why marcan blacklisted it.
12:55vmeson has quit [Server closed connection]
12:56vmeson has joined #asahi
12:56creechy has quit [Ping timeout: 480 seconds]
12:56realmoot has joined #asahi
12:59realmoot has quit []
12:59joske has quit [Remote host closed the connection]
12:59marcanthe iBoot DCP interface is too dumb to do proper mode selection
13:00hspak has quit [Server closed connection]
13:00marcanformer iBoot and m1n1 do it differently and each gets it right and wrong in different cases
13:00hspak has joined #asahi
13:00marcanapple could fix this, but since they aren't doing third party monitors at all any more... I doubt they ever will
13:00msteffen has quit [Server closed connection]
13:00msteffen has joined #asahi
13:01nametable[m] has quit [Server closed connection]
13:01nametable[m] has joined #asahi
13:01marcanin fact I dread that thing disappearing, if it does we'll be forced to implement full-fat DCP in m1n1 which will *suck*. but I guess if it comes to that at least we'll be able to do proper mode selection...
13:01Glanzmannmarcan: I see. This also explains why I don't get a picture in iboot. They probably try to set a 4k resolution on a 2k screen.
13:01marcanno, they do not try anything
13:01GlanzmannOh, I see.
13:01marcaniBoot stopped initializing HDMI monitors entirely
13:01marcanwith 12.0
13:01marcan4K modes *do* work, they are just *scaled* which is obviously silly
13:01marcanthe monitor still gets 1080p
13:02marcanthere is no flag in the mode table telling you it's a scaled mode
13:02marcanthat's why I just cap it at 1080p
13:02marcanthe full DCP interface does have flags for non-native
13:02maxung[m]<Glanzmann> "I see no modes with more than..." <- tried as well, same result, but i see exactly 1 mode
13:02Glanzmannpovik: Bad news, now that I started using the mini I can make my mini hang by going to alsamixer and press f6. System still pings, but I can't log in via ssh.
13:03realmoot has joined #asahi
13:03snnw[m] has quit [Server closed connection]
13:03adamjm has quit [Server closed connection]
13:03adamjm has joined #asahi
13:03snnw[m] has joined #asahi
13:03Glanzmannmarcan: When I modified the m1n1 for a 4k resolution, I had no visiable output, if I modify it for 2k it works.
13:04realmootGlanzmann: Whats m1n1?
13:04realmootSorry im a noob at this
13:05Sobek[m]realmoot: It is the thing marcan wrote that pretends to be a macOS kernel and then goes around and loads the rest of the open OS boot chain
13:05Glanzmannrealmoot: A bootloader/hypervisor/firmware/debugger that marcan wrote for m1 machines.
13:05creechy has joined #asahi
13:05realmootAh okay thx
13:05Sobek[m]It can also contains a fun hypervisor that is used to help reverse engineering what macos does.
13:05Glanzmannrealmoot: So out boot chain is iboot1 > iboot 2> m1n1 stage 1> m1n1 stage 2> u-boot > grub > kernel.
13:06realmootOh wow that's complicated
13:06Glanzmannrealmoot: Yes it is, but also very flexbibel.
13:06realmootI am liking asahi tbh, very cool what was achieved
13:06marcanGlanzmann: we also do not reallocate framebuffers; it is possible 4K does not fit
13:07realmootOnly wish sublime-text / jemalloc issue was fixed
13:07realmootBut i understand that's due to 16K buffers instead of 4K
13:07Glanzmannmarcan: I see.
13:07Sobek[m]And each piece has a simpler job to do. Also U-boot and grub are pieces that are more or less off the open source shelve that required few patches. The big work is m1n1 to interface with how macs want to boot stuff (they expect something that looks like macOS and quacks like macOS), and linux kernel to have all the drivers.
13:08marcanu-boot did get a ton of driers
13:08marcan*drivers
13:08marcangrub has zero patches
13:08marcanit is completely off the shelf since it uses EFI services
13:08j`ey(provided by U-boot)
13:08Sobek[m]Oh well, I was wrong about U-boot (hopefully it is not also a Yellow kind of submarine, unless I'm very wrong :D)
13:09Sobek[m]realmoot: Pages, not buffers.
13:09_jannau_Glanzmann: I think the frame buffer allocated by iboot is not large enough for 4k
13:09marcanand I *know* I can ship a 4K kernel and "fix" all those things for y'all but I want y'all to instead complain upstream because not supporting 16K pages is an upstream package problem and the solution isn't to force everyone to lose performance to go 4K
13:10marcanbecause I know if we start shipping 4K kernels this will never get fixed, like it hasn't until now
13:10marcanyou're all going to have to endure the main ;)
13:10_jannau_I was speaking about a 4k display mode
13:10marcanI mean about realmoot's page size comment
13:10Sobek[m]Plus, don't you need 16k pages for some PCIe / hardware stuff because of the IOMMU ?
13:11marcanSobek[m]: sven has a patchset to make it work with 4K, with a few caveats
13:11realmootAgreed marcan
13:11Glanzmannjannau: I see. Should I try it anyway or we wait until Ry_Darcy has tried it.
13:11marcanand we will need to offer 4K kernels in the future for FEX/Android/similar users, running legacy/JITed software that really wants 4K and cannot be recompiled
13:11marcanbut that should be opt-in, not what everyone jumps to because Chromium doesn't work
13:11sventhe caveats are "needs a bit cleanup for upstream" and "doesn't support untrusted devices because swiotlb can't align to more than PAGE_SIZE"
13:11_jannau_Glanzmann: I thought you already tried and it failed
13:11sveni have a branch somewhere that fixes #1, but have been too lazy to look into swiotlb because that part is a bit tricky
13:12marcanso in its current state we can't really have 4K + thunderbolt (I will not ship thunderbolt without proper isolation, that's a hard line for me)
13:12nexus7556 has quit [Server closed connection]
13:12svenit fails safely ofc
13:12svenit'll just not allow any DMA to anything thunderbolt
13:12Glanzmannjannau: I see. You mean because I tried it with my screen which offered a 4k resolution but it stayed blank?
13:12marcanwhich basically makes thunderbolt useless other than for display and USB4 tunneling
13:12nexus7556 has joined #asahi
13:13Sobek[m]Also, at that point will it be possible for that kernel to offer 16k page to processes by default, unless requested otherwise ? (Or is that impossible to do in linux because it would require some special userland interface that cannot be added). That way only processes that require 4k page will opt-in ?
13:13j`eywhich is already quite usefil?
13:13marcanSobek[m]: that's a bit of a pipe dream for linux
13:13sveni'll probably be motivated to look into what swiotlb does again once thunderbolt is ready ;)
13:13marcanwould be great if we worked out some magic way of pulling that off that would fly upstream
13:13marcanbut that's one heck of a discussion
13:13marcanand it's unclear if there's a solution that is viable to implement
13:13marcanwould probably tie into the ongoing memory folios work somehow too
13:14marcanbut right now that kind of level of discussion is above my pay grade ( ;) )
13:14marcanmaybe once everyone's running Asahi because these really are the best Linux laptops available then we'll have a good excuse to really bring that up
13:14Sobek[m]What's the memory folio thing ? (I can take a pointer to an explanation if that would bring the channel to far off topic for too long)
13:15marcanbasically building 16K pages on top of 4K pages
13:16j`eyit's reorganising how memory is managed in the kernel
13:16j`ey(for all arches)
13:16j`ey> Managing memory in 4KiB pages is a serious overhead.
13:16j`eyfirst sentence :D
13:16marcanif we have a kernel which is already somewhat familiar with the idea of higher-order pages, we'll have a better chance at pulling off hybrid page size userspace
13:17axenntio has joined #asahi
13:17pzcz has joined #asahi
13:17DarkShadow4444 has quit [Server closed connection]
13:17RevHelix has quit [Server closed connection]
13:17DarkShadow44 has joined #asahi
13:18Sobek[m]marcan: Is this something that could be brought up to some linux maintainer for advice / opinion on what they think should be done long term. Like Asahi linux alone can't decide on these sort of thing, but perhaps we can get the people in charge thinking a bit and provide guidance on how to make the part fall in place long term ?
13:18marcanyes, that's how these things are done :)
13:18pzcz has quit [Remote host closed the connection]
13:18marcanbut there's no rush to do this right now, and it helps when you already have users asking for it, and hard benchmark numbers, and things like that
13:18j`eylets get normal drivers in first
13:18svenmarcan: oh... now that I think about this again: If we could somehow manage to sneak subpage protection in without having to hack around the IOMMU API itself too much we could have thunderbolt even without swiotlb :D
13:18Sobek[m]j`ey: I love it. Actually it might be a great solution to the problem. The kernel pretendes it deals only in 4k pages, while it in fact tries very hard to use as many 4k pages as possible :D
13:18marcansven: true!
13:19j`eySobek[m]: yes :)
13:19marcanit would be kind of funny if we end up with the opposite model as macOS
13:19marcanmacOS uses 16K kernel and mixed 4K/16K userspace modes
13:19marcanlinux might end up with 4K kernel but treating it as 16K or higher management-wise, and then mixed 4K/16K userspace
13:19marcanno idea how much performance that'd lose but it might be totally viable
13:20marcan4K kernel might make it a lot easier to support 4K userspace without undue pain
13:20marcansince it's always easier to build larger pages out of smaller ones than it is to somehow manage subpages
13:20Sobek[m]sven: But is there any way we can get this sort of thing to work ? I could see a very inefficient method which is deny real access to the whole and do the subpage check and if legal modification in teh fault handler (like ZFOD and CoW design tend to do), but it sounds very very inefficient perf wise ?
13:20svenDART has hardware subpage protection support with a 4 byte or so granularity
13:21svenso you can add a full page to the IOMMU pagetable but only allow access to a subset of it
13:23ReaganMcFarland[m]Are there any known issues with enterprise internet issues - like at a University?
13:23brentr123[m]Works for me at my college internet
13:24ReaganMcFarland[m]We have tunneled TLS but the network manager not giving me the ability to connect
13:25marcanoh, like 802.1x WPA auth?
13:26marcanor you mean a VPN?
13:26marcanyeah, I don't think anyone has tried that, might be broken!
13:26ReaganMcFarland[m]Where do we file bug reports?
13:26tpw_rulesmatthewayers[m]: did you get this to work? i remember you asking about uni internet?
13:26marcandepends on where the problem is
13:26marcanwould be cool if you can figure it out first
13:27marcanit could just be missing packages
13:27marcanit could be an actual kernel problem
13:27ReaganMcFarland[m]I'll do some digging
13:27WhyNotHugoSo it seems that `rustc` from the repos does not work, but the one provided by `rustup` DOES work.
13:27mpsSobek[m]: I've found that F2FS kernel driver doesn't work with 16K pages and maybe someone will find something else when the kernel is more tested 'in the wild'
13:27axenntio has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:27j`eyWhyNotHugo: yes, it's known that arc build with jemalloc
13:27Sobek[m]802.1X are a regular pain to configure on various OSes might be troubles only remotely related to Asahi (like just the usual arch + wifi + 802.1X troubles)
13:27marcanReaganMcFarland[m]: if you're just missing a package in the end, you can file it at https://github.com/AsahiLinux/asahi-alarm-builder/ to have it added to the default images
13:28marcanif you end up finding it's a userspace issue, file it at https://github.com/AsahiLinux/PKGBUILDs so we can figure out if we can ship a patched version
13:28marcanif it's a kernel problem file it at https://github.com/AsahiLinux/linux
13:28Sobek[m]mps: Uh, what is that driver for ?
13:28mpsSobek[m]: Flash Friendly Filesystem
13:29marcanand yeah, there's a good chance this is just "general linux stuff"
13:29j`eyReaganMcFarland[m]: do you have it working on another linux system?
13:29marcanI'm happy to preinstall stuff to make it work, since you end up with a chicken and egg network problem otherwise
13:29mpsf2fs is used on newer android afaik
13:29j`eyReaganMcFarland[m]: also on the m1 with macos?
13:29marcanbut I can't fix UX issues around it much, other than possibly tweaking default configs
13:30marcannot much we can do about pervasive Linux user experience problems this early on, chipping away at things like that is very low on our priority list and best handled upstream if it has nothing to do with the hardware in these devices per se
13:30marcan(at least at this point)
13:30mpsasahi is alpha release and as such I think it is very good (and stable for me)
13:31marcanif it ends up requiring some convoluted config that's best handled with a wiki page (or a link to existing docs if any)
13:32Sobek[m]Already the fact that Asahi has tackled the keyboard mess will be a huge contribution for many linux users (if hopefully this is a success).
13:33mpsSobek[m]: what keyboard mess?
13:34Glanzmannjannau: I had to try 4k. I wouldn't say that it doesn't work you can use more than half of the screen. the top half: https://tg.st/u/IMG_20220322_143257143_HDR.jpg
13:34joske has joined #asahi
13:35maxung[m]Glanzmann: is this patch still needed for a 16K kernel (https://tg.st/u/0001-4k-iommu-patch-2022-03-11.patch)?
13:35j`eymaxung[m]: 4k kernel
13:36j`eyGlanzmann: nice clothes rack
13:36Sobek[m]mps: "What is the best default keyboard layout for the various languages, and what bug are still hidden". I'll probably find a few stupid thing with the Fr (mac) layout once my backup situation is sorted out and I can tweak stuffs. I remember quite a few headaches with odd characters not being typed by the right keys on my previous mac linux dual boot a couple of years ago.
13:36maxung[m]so if i want to compile just for 16k page sizes, i don't need it?
13:36j`eymaxung[m]: correct
13:37Glanzmannmaxung[m]: Yes, and you have the most recent version which applies to the current asahi branch. You also need to set CONFIG_ARM64_4K_PAGES=y and CONFIG_ARM64_64K_PAGES=n
13:37maxung[m]so I need it or not?
13:37dumistaken[m] has joined #asahi
13:38Glanzmannj`ey: I didn't saw the clothes rack in the picture, I thought you complain about the vacuum cleaner.
13:38maxung[m]* or not? I'm confused
13:38mpsSobek[m]: ah. though I fix these things in userspace
13:38Glanzmannmaxung[m]: No, you only need it for 4k page size kernel.
13:38Glanzmannmaxung[m]: So if you want to run chrome or webkit stuff.
13:39WhyNotHugoj`ey: I'm aware that it's a known jemalloc issue, but then: why does the rustup version work...?
13:39maxung[m]I don't, so leaving it out - thanks
13:39j`eyWhyNotHugo: doesnt use jemalloc
13:39j`eyWhyNotHugo: it's an optional feature
13:39kameks has quit [Ping timeout: 480 seconds]
13:39_jannau_Glanzmann: that looks like it's just a m1n1 / bootargs problem. the whole vram is mapped seems to be mapped and is large enough to not crash dcp. I would have expected m1n1 rejects that instead of using just 2/3 of the screen
13:39WhyNotHugoj`ey: Oh, so the archlinuxarm package could be patched to do the same, right?
13:39yuyichao_ has quit [Ping timeout: 480 seconds]
13:39Sobek[m]mps: I believe you can go around and manually fix stuff, but fixing the original keyboard layout shipped by distros and making sure the default one selected is the sane one is still nice :)
13:39j`eyWhyNotHugo: yeah
13:41j`eyWhyNotHugo: jannau did a build here https://www.jannau.net/rust-arch/ not sure if he wants people to use it or not
13:41Glanzmannjannau: Okay, if you have a patch for me or an idea, let me know and I'll try it.
13:42Glanzmannjannau: So you say there should be enough ram for 4k, but m1n1 is not using it?
13:42mpsSobek[m]: ok. though ime distro installers usually asks for keyboard layout
13:43axenntio has joined #asahi
13:44_jannau_Glanzmann: I'm not sure. I'll look tonight
13:44j`ey_jannau_: oh I didnt see it was in the repo now
13:45_jannau_I don't think there are builds and those commits are just in branches in the repo
13:45Glanzmannjannau: jannau: I see. If I should try something, let me know.
13:46j`eycool, still good to know for pointing people to
13:47_jannau_there is still a bootstrap problem, the PKGBUILD rejects to build with rustup so you need to compile binaries on a 4k system first
13:48roxfan has quit [Ping timeout: 480 seconds]
13:50sjg1 has quit [Server closed connection]
13:50sjg1 has joined #asahi
13:59Ry_Darcy has quit [Remote host closed the connection]
13:59Ry_Darcy has joined #asahi
14:00GlanzmannRy_Darcy: I tried the 4k patch with my tv, only half the screen is usable. So maybe you want to try the 2k patch and see if you get a picture with it: curl -sLo /boot/efi/m1n1/boot.bin tg.st/u/2k.bin
14:00yuyichao_ has joined #asahi
14:03rann has quit [Server closed connection]
14:04rann has joined #asahi
14:11rucadi[m]marcan @marcan:matrix.org: check the Pull Request on PKGBUILDs, there was a typo on the packaging of the headers and they are missing a folder needed to compile kernel modules
14:14marcanrucadi[m]: thanks, let me do a quick revbump release with that and the provides
14:15Gaelan has quit [Server closed connection]
14:16Gaelan has joined #asahi
14:17marcanWhyNotHugo: I already have a fix for rust actually, but I pulled it from the repo since it wasn't part of our PKGBUILDs
14:17marcanit's pending testing that when *built* on 4K it really works on 16K
14:17marcanhaven't had a chance to try that yet
14:18marcanif someone has a 4K ALARM system lying around (M1 or not, doesn't matter) feel free to try it out and report back if it works on 16K Asahi
14:25kov has quit [Server closed connection]
14:25kov has joined #asahi
14:28oi_wtf has quit [Server closed connection]
14:28oi_wtf has joined #asahi
14:29axenntio has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:33XeR has quit [Server closed connection]
14:33XeR has joined #asahi
14:33axenntio has joined #asahi
14:35marcanrucadi[m]: new kernel should be up :)
14:35marcan(plus headers obviously, which is the only thing that changed)
14:36rucadi[m]Thank you :D
14:38Glanzmannjoske: I often use it to rescue or bootstrap systems from a live system: https://pbot.rmdir.de/3gZQ1rX9_KIzTQV1ky4uuQ
14:40kenzie35 has quit [Server closed connection]
14:40kenzie35 has joined #asahi
14:40realmootOn a non technical note, has anyone used a torrent client on Asahi that they can recommend?
14:40FranCEACERO[m] has joined #asahi
14:40realmootOh just saw KTorrent
14:41mpsrealmoot: that doesn't depend on asahi but on distro
14:41mpsrealmoot: just install one from distro repo and check
14:42joskeGlanzmann: yes, that usage of bind mount I know, but bind mounting the same folder on itself and then seeing that it has mounted /dev/nvme0n1p5 is very frightening ;-)
14:43realmootI am so grateful for the Asahi team and marcan! Thank you for making all this possible team
14:44M1bn3mar[m]hey, how partition a free space using diskutil
14:46fortelling[m] has quit [Server closed connection]
14:46fortelling[m] has joined #asahi
14:47jakebot has quit [Server closed connection]
14:47jakebot has joined #asahi
14:48kode54 has quit [Server closed connection]
14:48kode54 has joined #asahi
14:48bpye has quit [Server closed connection]
14:48bpye has joined #asahi
14:49M1bn3mar[m]Glanzmann: i already have a free space available so it to be in the linux file system format so i could manually install gentoo on it, thx tho ; )
14:50M1bn3mar[m]*so i need it to be
14:50irth has quit [Server closed connection]
14:51irth has joined #asahi
14:52LiteChen[m] has quit [Server closed connection]
14:52LiteChen[m] has joined #asahi
14:53GlanzmannM1bn3mar[m]: See: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blob_plain/refs/heads/master:/files/quickstart.txt 'use the live system to install' and replace the debian specific steps with the gentoo specific steps.
14:55AlbertoBasaglia[m] has quit [Server closed connection]
14:55AlbertoBasaglia[m] has joined #asahi
14:56eric_engestrom has quit [Server closed connection]
14:56eric_engestrom has joined #asahi
15:00nkaretnikov has quit [Server closed connection]
15:00nkaretnikov has joined #asahi
15:01leon_kernan[m] has quit [Server closed connection]
15:01leon_kernan[m] has joined #asahi
15:03cobre[m] has quit [Server closed connection]
15:03cobre[m] has joined #asahi
15:03zx2[m] has quit [Server closed connection]
15:03zx2[m] has joined #asahi
15:04Emantor has quit [Server closed connection]
15:04Emantor has joined #asahi
15:05beep-boop[m] has quit [Server closed connection]
15:05beep-boop[m] has joined #asahi
15:05altf5[m] has quit [Server closed connection]
15:05altf5[m] has joined #asahi
15:06life-the-user[m] has quit [Server closed connection]
15:06life-the-user[m] has joined #asahi
15:06JohnWells[m] has quit [Server closed connection]
15:06JohnWells[m] has joined #asahi
15:07obrmao[m] has quit [Server closed connection]
15:07obrmao[m] has joined #asahi
15:07US[m] has quit [Server closed connection]
15:07US[m] has joined #asahi
15:09trevyn4 has quit [Server closed connection]
15:09trevyn4 has joined #asahi
15:11axboe has quit [Server closed connection]
15:11axboe has joined #asahi
15:12Lucy[m]Glanzmann: wait I forgot GitHub defaulted to private... 🤦‍♀️
15:12Lucy[m]try now.
15:13tt022[m] has quit [Server closed connection]
15:13tt022[m] has joined #asahi
15:14MZG[m] has quit [Server closed connection]
15:14MZG[m] has joined #asahi
15:14xyaman has quit [Server closed connection]
15:14xyaman has joined #asahi
15:16Quixote[m] has quit [Server closed connection]
15:16Quixote[m] has joined #asahi
15:17raizo[m] has quit [Server closed connection]
15:17raizo[m] has joined #asahi
15:20beacon[m] has quit [Server closed connection]
15:20beacon[m] has joined #asahi
15:20GlanzmannLucy[m]: Works. :-) I need to make a video how I use a Linux desktop in order to show a speedy desktop experience. :-)
15:21nyx_o has quit [Server closed connection]
15:21nyx_o has joined #asahi
15:21damien_vancouver has quit [Server closed connection]
15:22damien_vancouver has joined #asahi
15:22brudda[m]<Glanzmann> "1bn3mar: See: https://git...." <- So I can use this to get gentoo on the M1?
15:23brudda[m]Awesome, I was just looking for how to do this
15:23Glanzmannbrudda[m]: Yes, and if you fail tell me and I'll make you a video or create another installation image.
15:23levadopa[m] has quit [Server closed connection]
15:23levadopa[m] has joined #asahi
15:24Chainfire"<realmoot> Only wish sublime-text / jemalloc issue was fixed" ... sublime-text works for me?
15:24Chainfirescratch that, brainfart
15:26brudda[m]Glanzmann: Thank you! I've not installed gentoo before so I will try not to come to you with any generic issues
15:26maxung[m]Glanzmann: wrote "But currently the USB-A Port on the Mac Mini will not work in u-boot and grub". Does that mean there is currently no way to select anything in grub (I also tried USB-C to USB-A dongle)?
15:28j`eymaxung[m]: USBC port should work
15:28Glanzmannmaxung[m]: with a usb-a to usb-c dongle or hub it works. But fancy keyboard sometimes don't work. For example I have keychron keyboard which does not work.
15:28GlanzmannBut I also have a thinkpad keyboard with a track point which works.
15:29benmkw[m] has quit [Server closed connection]
15:29benmkw[m] has joined #asahi
15:29maxung[m]Glanzmann: oh wow I also have a keychron keyboard
15:29Fl1tzi[m] has quit [Server closed connection]
15:29Glanzmannmaxung[m]: But to be honest, most of the times you don't need to select anything. And the usb-a ports currently have usb 3 speed while the usb-c only have usb 2 ports.
15:29maxung[m]thats probably why
15:29Fl1tzi[m] has joined #asahi
15:29ihaveamac has quit [Server closed connection]
15:29ihaveamac has joined #asahi
15:29balrog has quit [Server closed connection]
15:30maxung[m]I compiled my own kernel and (luckily) it worked, I was just wondering in the case it doesn't, so I can use the original as fallback
15:30balrog has joined #asahi
15:30Glanzmannmaxung[m]: A noname keyboard should work out of the box.
15:30Glanzmannmaxung[m]: I have this keyboard: Keychron K1 Wireless Mechanical Keyboard (Version 4) - 87-key / White Backlight Aluminum Body / Gateron Low Profile Blue
15:31ExeciN[m] has quit [Server closed connection]
15:31ExeciN[m] has joined #asahi
15:31maxung[m]I have the K7
15:31matrixmanu[m] has joined #asahi
15:33maxung[m]my corsair keyboard works ^^
15:35qiuren[m] has quit [Server closed connection]
15:35qiuren[m] has joined #asahi
15:36eagles13[m] has quit [Server closed connection]
15:36eagles13[m] has joined #asahi
15:38MajorBiscuit has quit [Ping timeout: 480 seconds]
15:41roxfan has joined #asahi
15:42trouter has quit [Server closed connection]
15:43Techcable has quit [Server closed connection]
15:43trouter has joined #asahi
15:43Techcable has joined #asahi
15:43yrlf has quit [Server closed connection]
15:43yrlf has joined #asahi
15:47Tano70 has joined #asahi
15:47Simonx22 has quit [Server closed connection]
15:47nyuhu has quit [Server closed connection]
15:47dumistaken[m]Not sure if this is necessarely a asahi issue or me being dumb, but im having some trouble installing vscodium with pacman
15:48Simonx22 has joined #asahi
15:48nyuhu has joined #asahi
15:48dumistaken[m]i keep getting the following error
15:48j`eyvscode doesnt work under asahi currently due to 16K page sizes issues with chromium
15:48dumistaken[m]that explains it?
15:48dumistaken[m]i mean im not sure if its related
15:48dumistaken[m]im stuck on the package install part
15:48j`eywell it should still install, but not run
15:49dumistaken[m]doesnt install
15:49dumistaken[m]error: missing package metadata in VSCodium-linux-arm64-1.60.0.tar.gz
15:49dumistaken[m]error: 'VSCodium-linux-arm64-1.60.0.tar.gz': invalid or corrupted package
15:49dumistaken[m]it does install if i clone the git, and compile it myself, but only if i do makepkg -i. if i do makepkg and then do pacman manually, same issue
15:50guillaume_g has quit [Server closed connection]
15:50winter has quit [Server closed connection]
15:50guillaume_g has joined #asahi
15:50auroramatrixorg[m] has quit [Server closed connection]
15:50winter has joined #asahi
15:50auroramatrixorg[m] has joined #asahi
15:51Ry_Darcy_ has joined #asahi
15:51dumistaken[m]im going to try another package, see if i run into the same issue
15:52Ry_Darcy_Glanzmann - will not be able to try your fix (4K monitor) this evening. I will do my best tomorrow. My apologies.
15:54Ry_Darcy_ has quit []
15:55noebr[m] has quit [Server closed connection]
15:55noebr[m] has joined #asahi
15:57DominikInfhr[m] has quit [Server closed connection]
15:57DominikInfhr[m] has joined #asahi
15:58brudda[m]sorry if this is a stupid question, but which partitions do I gave to format to remove the install?
15:58brudda[m]I just don't wanna accidentally nuke macos
15:58M1bn3mar[m]brudda use diskutil list
15:58brudda[m]I can give the output of diskutil list
15:59artemist has quit [Server closed connection]
15:59dumistaken[m]<dumistaken[m]> "im going to try another package,..." <- intresting. i just tried installing 2 other packages from a .tar file and it keeps failing with that same error
15:59mr_macintosh[m] has joined #asahi
15:59dumistaken[m]anyone else run into this? its totally possible im a idiot
15:59artemist has joined #asahi
15:59j`eydumistaken[m]: wait, are you running pacman -U on that tarball?
16:00dumistaken[m]j`ey: yes, is that wrong? Im pretty new to arch, havent used pacman before
16:01Glanzmannbrudda[m]: Leave the first, second and last partition.
16:01Glanzmannbrudda[m]: Past the output of 'diskutil list' to tg.st/p
16:01WhyNotHugorealmoot: deluge worked fine for me.
16:01j`eydumistaken[m]: did you just download it from here? https://github.com/VSCodium/vscodium/releases/tag/1.65.2
16:02j`eydumistaken[m]: those are just plain tarballs I guess, not pacman packages
16:02dumistaken[m]j`ey: i got the one that said linuxarm64.tar.gz from there, yes
16:03j`eydumistaken[m]: yeah that's not a pacman installable pkg
16:03j`eydumistaken[m]: just a plain tarball
16:04Glanzmannbrudda[m]: So you want to delete Linux?
16:04brudda[m]i just want to reinstall though
16:05Glanzmannbrudda[m]: For you its safe to get root 'sudo -i' and run the wipe script: curl -L https://alx.sh/wipe-linux | sh
16:05brudda[m]so i can give gentoo a shot, or just go with the graphics, because for whatever reason my network wont let me install xorg when im connected on the minimal
16:05Glanzmannbrudda[m]: Actually when you want to gentoo.
16:05brudda[m]Glanzmann: thank you
16:05GlanzmannYou can also leave the partitioning.
16:06Glanzmannpress return in u-boot and type 'run bootcmd_usb0'
16:06GlanzmannTo boot from the livestick.
16:06GlanzmannThan you can reuse the partitions.
16:06GlanzmannBecause the esp and stub you need anyway. The root you can reformat with ext4 and put gentoo on it.
16:07dumistaken[m]j`ey: so im retarded, makes sense
16:07THX1984 has joined #asahi
16:07brudda[m]okay, so run the wipe script, dont touch the partitions, get a gentoo livestick boot it in uboot, then just install gentoo as normal?
16:08brudda[m]also, a dongle should work for USB right?
16:09Glanzmannbrudda[m]: Don't run the wipe script.
16:09Glanzmannbrudda[m]: Yes, a dongle works.
16:10Glanzmannbrudda[m]: Put the debian live on a msdos usb stick and than run debian live. From there install gentoo.
16:12meowcat285[m]1 has quit [Server closed connection]
16:12meowcat285[m]1 has joined #asahi
16:13Glanzmannbrudda[m]: IIUC you need the stage3 tarball https://www.gentoo.org/downloads/
16:14nzzz_ has quit [Server closed connection]
16:14nzzz has joined #asahi
16:14GlanzmannFor arm64. but I just downloaded it and had a look at it they don't have a grub.
16:14Ry_Darcy_ has joined #asahi
16:14GlanzmannRy_Darcy_: You read my email?
16:15AdryzzOLEDEdition[m]is github up for you? i get a 500 on the wiki
16:15Ry_Darcy_@Glanzmann, just did. I will not have the time this evening. Certainly tomorrow. Lot of family gegenwind here.
16:15axenntio has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:15Glanzmannbrudda[m]: You could use the tg.st/u/grubaa64.efi grub. this needs to be put on ...
16:15ryan_nupp[m] has quit [Server closed connection]
16:16ryan_nupp[m] has joined #asahi
16:16M1bn3mar[m]hey, Glanzmann i think brudda hasn't done anything like this before maybe he'll brick his system :/
16:16ReaganMcFarland[m] has quit [Server closed connection]
16:16ReaganMcFarland[m] has joined #asahi
16:16brudda[m]the most ive done is install an arch based system on a thinkpad
16:16GlanzmannRy_Darcy_: I see.
16:16brudda[m]perhaps i should wait when it comes to gentoo on the m1
16:16j`eybrudda[m]: do you have any important info on the m1?
16:17Glanzmannbrudda[m]: It is already there, I saw two guys running gentoo on m1. :-)
16:17Glanzmannbrudda[m]: Maybe I should build you an image for gentoo.
16:17brudda[m]not particularly anymore, i also have a time machine backup on an external drive
16:18M1bn3mar[m]note that: Glanzmann some packages may not compile like webkit-gtk and llvm
16:18GlanzmannM1bn3mar[m]: I use a 4k kernel. So I assume they will.
16:18j`eyllvm will work
16:18GlanzmannM1bn3mar[m]: ALso I don't want to compile anything, I only want to get to the point that the system boots and package it up.
16:19M1bn3mar[m]yeah, but will emerge compile??
16:19Ry_Darcy_Glanzmann, will do my best tomorrow.
16:19Ry_Darcy_ has quit []
16:19GlanzmannM1bn3mar[m]: emerge is pyton and contained in the stage3.
16:19GlanzmannSo it doesn't have to compile.
16:20M1bn3mar[m]Glanzmann: i mean will it be capable of compiling packages like webkit-gtk and llvm
16:20GlanzmannM1bn3mar[m]: jey said, it will. So why shouldn't it?
16:20M1bn3mar[m]since u know it's about the end user and all
16:20chr has joined #asahi
16:21j`eyM1bn3mar[m]: why dont you think llvm will compile?
16:21GlanzmannM1bn3mar[m]: That would be my next question, do the gentoo users want the desktop profile openrc or systemd?
16:21M1bn3mar[m]i tried it before for aarch64 arch so :/
16:21j`eyM1bn3mar[m]: on the m1?
16:21riker77 has quit [Server closed connection]
16:21riker77 has joined #asahi
16:22brudda[m]Glanzmann: openrc for sure lol
16:22M1bn3mar[m]yeah through qemu i dont know about native tho
16:22j`eyM1bn3mar[m]: and how did it fail?
16:22j`eyprobably OOM?
16:22kovM1bn3mar[m], why wouldn't those compile out of curiosity?
16:22eroux has quit [Server closed connection]
16:22M1bn3mar[m]openrc ofc lol :p
16:22kovoh I just saw that j`ey asked the same question heh
16:23kovllvm built fine here along with rust and everything on a 4k kernel (and on a 16k kernel), there's no reason it shouldn't build... I also built webkitgtk on the 16k kernel when I was testing the patch to make it work on 16k pages
16:24M1bn3mar[m]i dont have the log's at hand j`ey
16:24j`eyM1bn3mar[m]: it was likely the VM didnt have enough memory
16:24phiologe has quit [Server closed connection]
16:24M1bn3mar[m]Glanzmann: openrc
16:25eroux has joined #asahi
16:25M1bn3mar[m]j`ey: no i gave it 6g and it barely used it so idk
16:26chrGlanzmann: Starting from Mac OS Terminal (not in rescue mode), I installed Debian using your "Soon to be released Asahi installer". Thanks for the effort.
16:30kovM1bn3mar[m], unless there is something missing from your VM, I'd also bet on not enough memory like j`ey, 6g is likely not enough to build webkitgtk, you'd want a reasonably big swap there
16:31kovk, that should be enough I think, would have to see the error message then
16:31j`eyanyway it's kinda pointless talking without the details of what actually went wrong
16:31kovagreed
16:32kovalso, just use a binary distribution, ditch gentoo to help avoid climate change /me runs
16:34AdryzzOLEDEdition[m]in all fairness they did buy a power efficient machine
16:35AdryzzOLEDEdition[m]also am i the only one who compiles everything just because i like seeing the colorful console output?
16:35axenntio has joined #asahi
16:36Darkmatter66 has left #asahi [#asahi]
16:36kovback in my day people just liked the grey and white letters scrolling really fast, kids these days...
16:37M1bn3mar[m]Adryzz (OLED Edition): yep on my part
16:37dabaiste^ has joined #asahi
16:37j`eyAdryzzOLEDEdition[m]: compile with -n to not actually run any commands :P
16:37kovgreat idea
16:38AdryzzOLEDEdition[m]i just install the -git packages
16:38kovneed patched ninja / make to simulate the actual run time though
16:41Chainfire has quit [Server closed connection]
16:43giskard has quit [Server closed connection]
16:55chr has quit [Remote host closed the connection]
16:56chr has joined #asahi
17:00Adie[m]Installer working just fine today - thank you to all you magicians working on Asahi.
17:05chr has quit [Remote host closed the connection]
17:07jbennett has joined #asahi
17:08brudda[m]Am I still the only one who is having issues connecting to archarm mirrors
17:09brudda[m]Some packages refuse to install, giving 404s, but others install okay. I also can't access it from a browser on macos
17:09M1bn3mar[m]brudda: what install did u chose minimal or desk
17:09jbennettHey, I'm Jonathan Bennett, of Hackaday and FLOSS Weekly. We've been asked to do a FLOSS episode on Asahi, and we think it sounds great. Would one or two of the devs be interested in doing a video interview on Asahi?
17:10M1bn3mar[m]k, by def the mirror's are set to japan
17:10Chainfire has joined #asahi
17:10M1bn3mar[m]so u need 2 change that
17:10j`eyjbennett: marcan ^
17:12brudda[m]Okay. Though trying to connect in a browser complains about an expired certificate, that expired today
17:12THX1984 has quit [Ping timeout: 480 seconds]
17:12brudda[m]Also, how would I go about changing the mirrors?
17:14M1bn3mar[m]i think something like in /etc/pacman.d/mirrorlist or something like that use fm or auto completion to make sure
17:14clover[m]<AdryzzOLEDEdition[m]> "is github up for you? i get a 50..." <- Guthub is having issues this morning. https://www.githubstatus.com/
17:15M1bn3mar[m]idk bout the cert's but maybe u need 2 the timezone don't quote me on this one
17:18AntoniosPapadakis[m] has joined #asahi
17:19marcanj`ey: that's fixed already, it was a snafu in the original images
17:19marcanI need to figure out some postinstall script to fix that for existing installs
17:20marcanoh sorry
17:20marcanwrong ref
17:20marcan(was talking about the mirrors)
17:20marcanjbennett: sure, I think I can do that :)
17:21jbennettmarcan: Cool! Shoot an email to ant@twit.tv to figure out the schedule.
17:22marcanwill do!
17:22marcanif anyone needs the non-mangled default /etc/pacman.d/mirrorlist: https://mrcn.st/t/mirrorlist.orig
17:23marcanI'll probably push a postinstall script at some point that will replace it with that *if* it hasn't been touched from the original japan state that the images had the first couple of days
17:23c10l2 has joined #asahi
17:25Glanzmanncbr: You're welcome.
17:26brudda[m]What da ya know
17:26realmootGlanzmann: You run a 4k kernel do you mean this fixes vscodium and sublime-test/jemalloc issues?
17:26Glanzmannrealmoot: Yes.
17:26brudda[m]pacman -Syyu fixed all my problems
17:26realmootGlanzmann: How do you get that kernel?
17:26brudda[m]Probably should have tried that earlier, I guess I'm used to LTS lol
17:27marcanjbennett: mail sent :)
17:27realmootmarcan: About mirror issues, I have been facing constant update issues due to mirrors. WHat should I do to fix it - replace /etc/pacman.d/mirrorlist with the one you posted?
17:28realmootJust cp it?
17:28realmootOr wait for postinstall script
17:31alyssa has joined #asahi
17:31c10l has quit [Ping timeout: 480 seconds]
17:31realmootThere's a 'mirrorlist.asahi' file with the following:
17:31alyssaSilly question but is the power button the Mini supposed to do anything?
17:31realmoot# Asahi Linux repository mirrorlist
17:31realmoot# Worldwide CDN (bunny.net)
17:31realmoot# Germany
17:31alyssadmesg'd as an unknown SMC button event on random downstream
17:33bstwmnt[m] has joined #asahi
17:33alyssaOh, interesting...
17:33tpw_rulesalyssa: it seems to shut down if you hold it for a second?
17:33alyssaHolding it down triggers "Power button held down", button 0xfe (= BTN_POWER_HELD1)
17:34alyssaBut just tapping it is unknown, button 0x01 (not 0x6 = BTN_POWER)
17:34alyssaKinda curious if I patch BTN_POWER to be 0x01 instead if I get useful behaviour on the mini
17:35realmootSorry guys for the dumb questions... How do I fix the mirrorlist to account for unreachable mirrors?
17:36alyssaright, if I patch BTN_POWER to be 0x1, tapping the power button triggers an immediate shutdown
17:36alyssait's not clear that's better :-p
17:37alyssaOoh, but in GNOME tapping it causes the power off dialog to show up which is what I was hoping for
17:37realmootThat's great alyssa thanks
17:37alyssaso yes, that is better (and makes the power button the mini act the way I would expect from a "normal" linux machine)
17:38bstwmnt[m]I just noticed that ALARM is Arch Linux ARM. I've been wondering for 3 days what the hell ALARM stood for when I first installed Asahi Linux Minimal.
17:41ReaganMcFarland[m]Some update on the WPA2 Enterprise TTLS stuff - looks like it's right when I put my username and password into the KDE connection manager is when it drops it from the drop down list
17:41ReaganMcFarland[m] * Some update on the WPA2 Enterprise TTLS stuff - looks like it's right when I put my username and password into the KDE connection manager is when it no longer will show in the drop down list of available connections
17:41Taro[m] has joined #asahi
17:41ReaganMcFarland[m]And it will lose the "Connect" option when right clicking
17:41brudda[m]ReaganMcFarland[m]: Is that the same as 802.1x?
17:42r0ni has quit [Quit: leaving]
17:42brudda[m]Okay, I'm also struggling with that atm, but I can just connect to an alternative network or mobile hotspot for now
17:42alyssa has left #asahi [#asahi]
17:43ReaganMcFarland[m]Yea my uni has guest wifi which I've been using atm
17:43ReaganMcFarland[m]Trying to debug 802.1x though
17:43ReaganMcFarland[m]I think network manager uses wpa_supplicant for this stuff IIRC
17:43ReaganMcFarland[m]Maybe that is where it's failing
17:46brudda[m]I know that iwd doesn't support it
17:46brudda[m]I just checked and ours provides a python script to set the profile.
17:46brudda[m]Uses network manager from the looks of it
17:47ReaganMcFarland[m]I'm getting this from running "wpa_cli status"
17:47ReaganMcFarland[m]Failed to connect to non-global ctrl_ifname: (nil) error: No such file or directory
17:48r0ni has joined #asahi
17:54SamHep0803[m]i've never gotten 802.1x to work on an arch install period
17:55SamHep0803[m]whether it was asahi or just a normal intel x64 install
17:55SamHep0803[m]idk maybe my school is doing some weird stuff with certificates and that
17:55povikGlanzmann: any clues to the hang? can you get the kernel console on screen?
17:55SamHep0803[m]but thats just my 2 cents
17:56ReaganMcFarland[m]I'm not very adept in networking - i'll see if theres an open bug report and add my 2 cents
17:56ReaganMcFarland[m]I'm unable to initialize the driver interface when using wpa_supplicant on the deivce
17:56ReaganMcFarland[m]s/deivce/device/
17:59nicolas17 has joined #asahi
18:00pirokoI've already installed asahi linux on my mba. I now want to install openbsd. I have a bootable usb openbsd installer, but I'm not sure the magic incantation required to make u-boot boot off of it
18:02alden4[m]does this mean my disk is corrupted?
18:02pirokoyeah haha
18:02AdryzzOLEDEdition[m]piroko: if it is for aarch54 and there are M1 drivers then yes
18:03pirokoAdryzz (OLED Edition): yeah it should work according to the mailinglist
18:03alden4[m]does that mean i should backup my computer and reformat my drive?
18:03maxung[m]alden4[m]: I had the exact same error message yesterday. Boot into recovery and in disk utility show all devices, then click on the container (important!) of your main hard drive and run first aid. afterwards reboot and it should work
18:03pirokobut they want to boot from the "UEFI environment only (m1n1 + U-Boot + ESP)" install option
18:04alden4[m]maxung[m]: sounds good, i'll let you know if that works
18:04j`eypiroko: probably easiest just to delete the current partitions and reuse the installer
18:05meowcat285[m]1alden4: Did you try doing disk first aid from 1TR? That worked for me
18:08realmootEven nslookup does not work on Asahi
18:09realmootj`ey: The issue is I can't see Asahi partitions in macos
18:10realmootdiskutil list shows it
18:10piroko<j`ey> "jeremy: probably easiest just to..." <- yeah but then I hvae to resize again :(
18:10realmootbut then erasevolume just leaves free space which is unusable
18:11realmootPerhaps some few lines of commands to help newcomers out in uninstalling Asahi would help
18:11Glanzmannpovik: I just tried to reproduce it. And I noticed something. It is not alsamixer but 'f6' is sleep. So I tried to force my system into sleep. Nothing to do with the sound. Sorry for the false alert.
18:14realmootCan anyone read my messages?
18:14realmootI mean are they visible
18:15realmootI had used ipsw file and Apple Configurator 2 to restore mac and nuke the drive to reinstall Asahi
18:15realmootBecause the partition scheme is weird
18:15Glanzmannrealmoot: Yes.
18:19realmootWill keeping 16K pagesize really put pressure on app developers to build for M1?
18:20realmootI feel that M1 is a small segment while arm SBCs are larger
18:24AdryzzOLEDEdition[m]the more pressure the better
18:24povikGlanzmann: :D
18:24povikwell good then
18:27axenntio has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:29j`eyrealmoot: better now than later
18:35m2231puppy has joined #asahi
18:38pirokohooray I managed to delete the volume (creating free space) that the installer can now use to re-install
18:39frog_ has joined #asahi
18:39bstwmnt[m]now you can do a tiling wm + astolfo wallpaper for the real arch linux experience
18:39gsora[m]Don’t forget neofetch!
18:40bstwmnt[m]yeah that too
18:40bstwmnt[m]i was sad that i3wm wasnt built for arm and wayland but i found another friend
18:40gsora[m]Best wayland experience ever with wayland
18:41frog_have any of you tested asahi yet?
18:41gsora[m]Sway can even enable freesync if your monitor supports it!
18:41hello9999901[m]what are the technical limitations for bringing windows to m1? apart from drivers and proprietary code (which are huge issues in and of itself) :)
18:42bstwmnt[m]frog_: yeah, tried to use kde first with minimal install and forgot to install a terminal
18:42frog_how is it
18:42bstwmnt[m]not fun. do recommended install
18:42frog_alright
18:43hello9999901[m]gsora[m]: if that's replying to me then LOL ahaha
18:43frog_have been keeping my system on 12.0.1 so will have to leave for 12.3 im assuming?
18:43hello9999901[m]so true so true
18:43tpw_rulesfrog_: yes
18:44frog_alright
18:44frog_im about to restart to update
18:44frog_better be worth linux
18:44pirokofrog_: yep!
18:44pirokoruns supremely well
18:45bstwmnt[m]yeah other than the 3 hour issue of trying to fix my internet because i thought i was too good for the minimal installer, it was surprisingly good.
18:45frog_nice, alright
18:45bstwmnt[m]general performance is nice even without gpu acceleration
18:46frog_ill see ya guys later ig once i update
18:46bstwmnt[m]parallel downloads are wack
18:46frog_is it worth taking a backup of macos before installing asahi
18:46j`eyyes if you have important data
18:47frog_just home folder?
18:47brudda[m]I just did a time machine backup
18:48tpw_rulesrun the first aid in disk utility before upgrading too
18:48frog_ok, why though
18:48brudda[m]But it will automatically make an invisible local one even if you use an external drivr
18:48brudda[m]If you use time machine
18:48tpw_rulesa few people have reported apfs corruption. the resize the installer needs to do will fail if it's detected
18:48brudda[m]So you need delete that before partitioning, otherwise it will just fail
18:49tpw_rulesand in bad cases you'll need to reformat your disk to get rid of it. easier to do that before the update
18:49realmootIn the default asahi desktop install, is .profile missing for anyone else?
18:49thasti has quit [Remote host closed the connection]
18:52the_lanetly_052 has quit [Ping timeout: 480 seconds]
18:52thasti has joined #asahi
18:58m2231puppy has quit [Quit: m2231puppy]
18:59Spireshield[m] has joined #asahi
19:05frog_i verified my container
19:05frog_am i safe to update
19:05tpw_rulesif it said everything is OK, then yeah
19:05frog_ok, thanks
19:06frog_gooodbye
19:06frog_ has quit [Quit: Page closed]
19:17m6wiq has joined #asahi
19:17lkvrsfld[m]archlinuxarm.com certificate isn't valid
19:18bstwmnt[m]yeah i just noticed that earlier
19:19brudda[m]Okay glad I wasn't the only one with that issue
19:20lkvrsfld[m]I'll try generating one, including marcans repository, and the needed packages, just to use archinstall script
19:20lkvrsfld[m]is there any interest having an arch iso (boot drive) including the archinstall script?
19:21realmoot has quit [Quit: Konversation terminated!]
19:24m2231puppy has joined #asahi
19:25m2231puppy has left #asahi [#asahi]
19:25m2231puppy has joined #asahi
19:28mpsthis gives me idea, I could (maybe) create alpine iso to simplify installation for those who want to install alpine
19:29mpsenchiladasconpinguino[m]: what is you opinion about this
19:35dan[m]123> <@prohackerbro:matrix.org> is there any interest having an arch iso (boot drive) including the archinstall script?
19:35dan[m]123> I'll try generating one, including marcans repository, and the needed packages, just to use archinstall script
19:36alden4[m]<maxung[m]> "I had the exact same error..." <- ty so much, that worked, for anyone following along at home the container is hidden, you need to enable it
19:36lkvrsfld[m]<mps> "this gives me idea, I could (..." <- regarding such kind of things, maybe we should create them on github/gitlab and build a github action (or corresponding) to keep the image up to date
19:37LuigyLeon[m] is now known as luigy[m]
19:38axenntio has joined #asahi
19:39mpslkvrsfld[m]: I doubt this is possible for alpine because it has specific scripts to create iso images
19:39axyliah[m] has joined #asahi
19:39mpsj`ey: here is result of min1 build https://tpaste.us/gZMr
19:39lkvrsfld[m]mps: because of licence issuues or why?
19:39j`eymps: it built!
19:40mpsj`ey: so looks like it works but have to find how to add submodules in APKBUILD
19:40mpslkvrsfld[m]: no license but how to have environment for scripts to work
19:41maxung[m]<alden4[m]> "ty so much, that worked, for..." <- np ^^
19:41lkvrsfld[m]mps: docker
19:41lkvrsfld[m]docker has qemu-user-static support
19:41mpslkvrsfld[m]: I'm not expert in this but afaik it will not work in docker
19:42Tano70 has quit [Quit: Leaving]
19:42learning has joined #asahi
19:42mpslkvrsfld[m]: I had to make serious hacks just to make iso with specific kernel for armv7
19:42lkvrsfld[m]mps: hmm okay i understand
19:43mpsand alpine is mostly used in dockers, fun part :)
19:43mpsactually docker company long time sponsors alpine
19:43lkvrsfld[m]alpine is great as a base
19:44mpssorry, my opinion is not 'great' but better than other distros I tested
19:45lkvrsfld[m]most images work off alpine, or have alpine-versions (ofc only if musl isn't any problem for the software though)
19:45axyliah[m]hi, I apologize in advance if this question is upsetting anyone - I am really excited over the hardware of M1, and the idea of being able to install linux on such a great hardware makes me really interested in getting a macbook. I have never personally owned a laptop or even a mac at all, and I cannot decide whether to get MacBook Air or Macbook Pro. How did you decide on which machine to get?
19:46mpslkvrsfld[m]: I know (I'm alpine developer) but nowadays alpine also becoming not good as it was earlier
19:46lkvrsfld[m]axyliah[m]: talking of the Air and Pro 13, i would personally choose the Air. it comes with almost the same performance (for me even identical, since having modded the internals), has no touchbar (which isn't even supported on linux yet) and just looks + feels better (and is way cheaper)
19:47j`eythe macbook pro 14 is more expensive, doesnt have a touchbar and is m1pro, so better than m1
19:47mpsmb pro 13 has fans in case temp goes high
19:48axyliah[m]thinking between M1 (Air) and M1 Pro 14", planning to keep it for as long as possible. Air feels like the best bang for the money, but the base configuration only has 8GB RAM, which worries me in terms of longevity
19:49mpsI thought that toucbar missing will be big problem but after I made hack touchbar driver is not needed for me
19:49lkvrsfld[m]mps: i have a co-worker which runs alpine bare-metal and solves software problems (as an example, MS Teams) with https://github.com/mviereck/x11docker. He is having a NUC though, don't know how it would work on a mobile platform. arch is pretty near to alpine regarding size and flexibility (and their repos), so why don't use just that
19:49j`eyupgrading the air to 16G is still quite a bit cheaper than the base mbp 14
19:50lkvrsfld[m]mps: what would be the reason of it getting not goot?
19:50lkvrsfld[m]s/goot/good/
19:51mpslkvrsfld[m]: nowadays people started to add bloat and not needed dependencies to packages
19:51lkvrsfld[m]mps: hmm okay that's always bad
19:52mpslkvrsfld[m]: on mobile platform, there is postmarketOS which is alpine based
19:52lkvrsfld[m]mps: my bad, tanking about mobile "laptop" platform
19:52lkvrsfld[m]s/tanking/talking/
19:54mpslkvrsfld[m]: I run alpine on old and small SBCs (n900 256MB ram) and big servers and everything in between
19:55learning_ has joined #asahi
19:57learning_ has quit []
19:58lkvrsfld[m]mps: loved the fact i had to "learn" openrc wanting to run my personal hostings / services on alpine
19:58lkvrsfld[m]it made me understand that systemd is really just less advantages than disadvantages
19:59mpslkvrsfld[m]: heh, I advocated on debian-devel ML switching to systemd, shame on me :)
20:00mpsI was early systemd adopter, first versions, but after time I started to hate^Wdislike it
20:00lkvrsfld[m]mps: normal debian without systemd... what a dream
20:00lkvrsfld[m]well for a common distro like debian, systemd is pretty cool
20:01mpslkvrsfld[m]: debian could be set to use openrc
20:01mpsit is not complicated
20:01lkvrsfld[m]mps: isnt there devuan having openrc?
20:02lkvrsfld[m]does it play well with general desktop packages?=
20:02lkvrsfld[m]mps: very nice
20:02mpslkvrsfld[m]: yes, devuan has it and also systemV rc
20:03mpsabout two (or 3) years ago I used openrc on few servers and that was easy to set, but after that time I converted these servers to alpine
20:03mpsso don't know current state
20:04mnc7[m] has joined #asahi
20:04lkvrsfld[m]i love the fact you can add any func to the services - rc-service "service" goat
20:05mpstalking about all good and bad points of distros all they are good at the end, we are happy to have them and not be locked to proprietary systMESS
20:06mpss/systМЕSS/systems/ :)
20:06lkvrsfld[m]MESS just nails it xD
20:06learning has quit [Quit: Page closed]
20:13m6wiq has quit []
20:21pbrobinson has quit [Ping timeout: 480 seconds]
20:22pbrobinson has joined #asahi
20:34kita99 has joined #asahi
20:34m6wiq has joined #asahi
20:37PaterTemporalis has quit [Ping timeout: 480 seconds]
20:54joske has quit [Remote host closed the connection]
20:57pirokosuccessfully got OpenBSD installed and running on the m1
20:58pirokoit was.... super tiny (max resolution) and graphics performance was quite a bit slower than linux
20:58pirokoand the default trackpad acceleration curve on OpenBSD never feels "right" to me
20:59pirokoeven after tweaking
20:59pirokoBUT other than that, it runs!
21:20kettenispiroko: what type of screen are you using?
21:21kettenisconsole font on the 14" macbook pro is quite ok for me
21:23hellosway[m]<j`ey> "upgrading the air to 16G is..." <- the ram is not the only difference
21:23axenntio has quit [Quit: Axenntio]
21:23Darktux has joined #asahi
21:24j`eyhellosway[m]: I know, they just mentioned the base air only having 8G
21:25DarktuxHi! just testing Asahi on my MbP M1. How fast it is!
21:27aem64[m]video codec and 3d acceleration are my top wanted feature
21:29m6wiq has quit []
21:30DarktuxI can't imagine how fast these machine will be once everything work flawlessly.
21:33TramtristOf course I'm wrong about this but.. if Apple actively supported Linux.. they'd gain a lot of good will and sales
21:33TramtristAt least... from me 🤣
21:34Darktux has quit [Quit: Konversation terminated!]
21:34TramtristWould be nice if they threw alyssa a bone on the GPU documentation
21:34Darktux has joined #asahi
21:34aem64[m]it's be nice to have a guide on setting up box64 on here (since the pagesize is 16k) at least i think thats the problem
21:34DarktuxIndeed, same from me.
21:34Darktux has quit []
21:35kelito has joined #asahi
21:35kelitos/Dartkux/kelito/g
21:37aem64[m]do printer drivers work?
21:38nicolas17I don't see why not, if it's just USB2
21:40Glanzmannj`ey: Are their any news about the new macbook air?
21:40nicolas17I have a raspberry pi 3 as print server, with cups+gutenprint, it works better than Windows (because EPSON never released 64-bit drivers for this old printer so Windows just gets a dumb generic driver now)
21:42j`eyGlanzmann: dont think so
21:42GlanzmannI see, thanks.
21:48pirokokettenis: 14" air. console was great. X was... max resolution haha
21:49pirokooh, also, the installer assumes sd0l for the EFI partition (to snag the wifi firmware from), but my partition was sd0m. most likely a result of me not completely wiping all the old archlinux volumes before doing a re-install
21:50pirokopoint being, I'm not sure if sd0l can always be relied on. but not sure of a reliable way to script it either. I guess if you're savvy enough to mess with the partitions, you're savvy enough to find it and manually do the firmware install
21:50m2231puppy has quit [Quit: m2231puppy]
21:51m2231puppy has joined #asahi
21:53kettenispiroko: yes, a classic X desktop doesn't work very well on a retina display ;)
21:54kettenisand yes I realize the hardcoded sd0l isn't optimal
21:54hellosway[m]wayland works, I have gnome running on a normal intel mac, and it looks fine
21:54hellosway[m]m1 macs have the same display
21:55tpw_rulespiroko: can bsd easily read the device tree? under linux the GPT ESP UUID is in /proc/device-tree/chosen/asahi,efi-system-partition
21:57m2231puppy has quit [Quit: m2231puppy]
21:58aem64[m]will there be a way for transfering files between macOS and linux?
21:59aem64[m]also can i make caps lock function as lcontrol
21:59ChaosPrincessmake a new partition and format it as fat32
21:59kelito has quit [Quit: Konversation terminated!]
22:00kettenistpw_rules: there is no easy way to translate a GPT ESP UUID into a BSD disklabel partition
22:00kettenisand at this point I have no intention to write code to support that
22:01kettenisone of the reason I'm not fond of marcan's "multiple ESP" approach
22:01pirokoanyway, my goal was not to point out the only the negative things. I'm floored by the fact that this thing can run openbsd
22:01pirokoseriously impressive work :)
22:03kettenisno worries
22:04tpw_ruleskettenis: i have to be honest i have no idea what you mean. is there no /dev/disk/by-partuuid equivalent?
22:05kettenistpw_rules: no there isn't
22:06gsora[m]jeremy: same! Fastest OpenBSD laptop in the west
22:06gsora[m]Weirdly enough jcs didn’t post an article yet
22:06meowcat285[m]1Shame I will have to uninstall asahi later today
22:06meowcat285[m]1I need to space for movies for a trip
22:10gsora[m]Oh no! Watch movies from Linux!
22:12meowcat285[m]1gsora[m]: All of my movies are are on itunes sadly
22:12TramtristTis a tale of woe
22:16Tano70 has joined #asahi
22:17yrz[m] has joined #asahi
22:18Sobek[m]By the way, speaking of the GPU side of things, I’ve seen stuff about OpenGL, but is Vulkan also on the roadmap ? High performance nowadays tend to also involve vulkan (and then stuff like DxVk are built on top of it). (@alyssa ?)
22:19aem64[m]ooh vulkan support would be amazing
22:19aem64[m]considering macos doesn't support it
22:20gsora[m]I’ll be happy with a functional compositor, I’ll be honest
22:20Sobek[m]aem64[m]: (Hmm MoltenVk is a thing on macOS, I think the Vulcan tutorial more or less targets macOS using it as part if the SDK, and there are perhaps 1-2 obscure corners that don’t work but otherwise it works well)
22:21aem64[m]Sobek[m]: afaik moltenvk doesn't work as well as native vulkan
22:21aem64[m]because isn't it translating it to metal?
22:22clover[m]is this manjaro user reporting the same audio playback bug that is in asahi (where you have to switch profiles before sound plays when streaming music, through headphones) https://forum.manjaro.org/t/pulseaudio-restart-only-works-with-music-inside-browser/96608
22:23JamesReilly[m] has left #asahi [#asahi]
22:24AndrewGlaze[m] has joined #asahi
22:25AndrewGlaze[m] is now known as Candygoblen123[m]
22:26Tano70 has quit [Quit: Leaving]
22:30aem64[m]how often will asahi get updates?
22:31j`eywhen new features are ready
22:31j`ey(or theirs a rebase to newer linux versions, but I suspect that wont be that often)
22:32Candygoblen123[m]I saw an update today so it seems to be pretty frequent
22:34j`eywasnt a new kernel though, just an issue with the kernel headers package
22:39justashadow[m] has joined #asahi
22:42crw has joined #asahi
22:44crwQuick question, If I install the Arch minimal install, what's the wifi setup situation look like?
22:44crwJust normal arch wifi setup? or will there be complications
22:53mpscrw: look if iwd is installed is installed by default
22:59MaxNurzia[m] has joined #asahi
23:02kelito has joined #asahi
23:08crw has quit [Remote host closed the connection]
23:09kelito has quit [Remote host closed the connection]
23:11M1bn3mar[m]hey Glanzmann u sead that u r gonna make a gentoo installer no??
23:16eroux has quit [Ping timeout: 480 seconds]
23:19enchiladasconpinguino[m]<mps> "this gives me idea, I could (..." <- great idea, new install I did with official installer is working great
23:19enchiladasconpinguino[m]only needs your linux-asahi.apk and small tweak to grub
23:20mpsenchiladasconpinguino[m]: what is tweak to grub?
23:21mpsand I look if I could clean linux-asahi APKBUILD and merge it tomorrow
23:23mpsalso I got m1n1 APKBUILD with rust to work, hackish though but works
23:26enchiladasconpinguino[m]explicit "set root", add "rootwait", and use PARTUUID to find root
23:26enchiladasconpinguino[m]not too many changes for grub
23:26matthewayers[m]j`ey: Do you know how I'm supposed to update the Debian build that Glanzmann created? Or should I start fresh with a new partition with the alpha release? I am using the kernel build from 2022-03-10
23:26eroux has joined #asahi
23:26matthewayers[m] * j`ey: Do you know how I'm supposed to update the Debian build that Glanzmann created? Or should I start fresh with a new partition with the alpha release? I am using the kernel build from 2022-03-10
23:26branon has left #asahi [WeeChat 3.0]
23:27mpsenchiladasconpinguino[m]: `set root='hd0,gpt2'` is not needed in my tests but ok
23:27j`eymatthewayers[m]: he has a script you can run to update the kernel, but otherwise I assume apt update as per usual
23:27mpsenchiladasconpinguino[m]: also your tweaks are for btrfs, and I think default fs should be ext4
23:27enchiladasconpinguino[m]mps: hrmm maybe just the other two fixes is enough, not sure yeah
23:28matthewayers[m]Gotcha. I ran it and I'm still on the same kernel version even after restart... hmm
23:28enchiladasconpinguino[m]no tweaks made for btrfs support, just standard installer
23:28j`eymatthewayers[m]: then no new kernel!
23:28enchiladasconpinguino[m]didn't do a manual installation at all
23:28j`eymatthewayers[m]: latests is 20220310
23:28mpsenchiladasconpinguino[m]: and please do not use 'quiet' in kernel cmdline, alpine is not ubuntu ;)
23:29enchiladasconpinguino[m]lol its just what the installer does by default, didn't add that
23:29mpsenchiladasconpinguino[m]: also, modules are just for examples if someone wants to change/add some
23:29enchiladasconpinguino[m]usual `# setup-alpine` from .iso is all
23:30efegurkan[m] has joined #asahi
23:30sheepgoose_ has joined #asahi
23:31mpsenchiladasconpinguino[m]: yes, I know this about 'quiet' even raised this to alpine TSC but they voted to keep it. now you know why I'm loosing good thinking about alpine :)
23:31enchiladasconpinguino[m]this grub config might be "wrong" in multiple ways, no argument from me..
23:31enchiladasconpinguino[m]I simply was trying to make the least amount of required changes from standard installer for it to still boot
23:32mpsI prefer to see kernel messages on console early
23:32mpsenchiladasconpinguino[m]: anyway, thank you for testing and fixes
23:33enchiladasconpinguino[m]of course, thanks for kernel work ;)
23:34enchiladasconpinguino[m]nothing actually wrong with your config for dev mapper or encryption
23:34enchiladasconpinguino[m]and I went through the kernel config and compared to stock lts
23:34enchiladasconpinguino[m]initramfs mounting of FDE root is complex, will keep investigating this
23:35realmoot has joined #asahi
23:35brudda[m]has anyone made an ASCII for the asahi Linux logo for that beautiful neofetch output? I know technically its just alarm by default, but I think the fact its on an M1 deserves that much at least
23:35enchiladasconpinguino[m]I don't think so yet, but def need that lol
23:35enchiladasconpinguino[m]other arch flavors are detected
23:36realmootAsahi boots so damn quick im impressed
23:36brudda[m]Way faster than macos lol
23:37realmootI ran geekbench and I get 1700/7000ish which is amazing tbh
23:37j`eyiBoot still feels quite slow
23:37brudda[m]I might play around with an ASCII logo lol
23:37pzcz has joined #asahi
23:38mpsj`ey: https://tpaste.us/Oq1m this is m1n1 APKBUILD which works
23:38pzcz has quit [Remote host closed the connection]
23:38realmootBTW I never realized the pre-bundled text editor KATE exists so I'm using that and not missing sublime so far...
23:39badlydrawnface[m] has joined #asahi
23:39gsora[m]A kernel dev friend swears by it
23:39nicolas17p sure _marcan uses Kate for everything, I've seen it on his asahi coding streams
23:40j`eymps: oh you retarballed it?
23:40mpsj`ey: yes, have no better idea
23:40THX1984 has joined #asahi
23:40badlydrawnface[m]the website faq for uninstallation says to simply remove the modified partitions
23:41badlydrawnface[m]however you need to refer to startup disk to change the boot order, otherwise you will brick
23:41j`eymps: listing them all out :/
23:41badlydrawnface[m]* boot order before deletion, otherwise
23:41j`eynicolas17: yep he does, and people always ask why he isnt using vscode or something
23:41mpsj`ey: this is just POC, not final solution
23:42gsora[m]If Kate had LSP support, I would try it
23:42badlydrawnface[m]j`ey: bc vscode isn't working bc electron isn't working bc chromium doesn't support 16k page sizes
23:42j`eybadlydrawnface[m]: this is on his current main computer, which is x86
23:43gsora[m]Last time I used it was in… kde 3.5 probably
23:43enchiladasconpinguino[m]using vscode right with 4k pages
23:43enchiladasconpinguino[m]could also make a vm with 4k pages from stock asashi install, in the short term
23:43enchiladasconpinguino[m]* vscode right now with 4k
23:44marcanbrudda[m]: trick_?
23:44marcanbadlydrawnface[m]: brick?
23:44marcanwhen you delete the default boot OS it tries one boot, fails, falls back to boot recovery, and asks you to pick another startup disk
23:45marcanI don't see it bricking
23:45badlydrawnface[m]i might have deleted too many partitions
23:46badlydrawnface[m]macos's partition style is very foreign to me
23:46badlydrawnface[m]i unbricked it btw
23:46marcanif you deleted the recovery partition that would be why
23:46marcanthe last one
23:46marcanthat one is system recovery
23:46marcannever touch that one :)
23:47badlydrawnface[m]note to self: NEVER, EVER touch disk0s1 through disk0s3
23:47badlydrawnface[m]disk0 is the equivalent to sda/nvme0n1 on mac it seems
23:48badlydrawnface[m]only delete disk0s4 and disk0s5
23:48badlydrawnface[m]what about disk2?
23:48realmootBut last time I bricked my install
23:48marcanthose are virtual disks because APFS is weird
23:49badlydrawnface[m]marcan: yeah 🥴
23:49eroux_ has joined #asahi
23:49marcanyou also shouldn't be thinking in terms of numbers
23:49realmootNot really sure which volumes to delete because there's one called 'EFI-EFI Asahi' so I left that
23:49badlydrawnface[m]will the installer deal with it, or create duplicates?
23:49marcanbecause macOS partition numbers do *not* correspond to partition table indexes
23:49marcanthey are allocated on demand
23:49marcanand can be out of order following disk ops
23:49badlydrawnface[m]which is why i see something about a "cleanup script" in the blog
23:49badlydrawnface[m]does it fix that?
23:50marcanif you delete the disk0sX container the corresponding diskY virtual disk will go away with it
23:50marcanit's like apfs pretends each container is another disk with more partitions that are actually volumes, but it's not even real partitions, the whole system is weird
23:50eroux has quit [Ping timeout: 480 seconds]
23:51marcanyou want to delete disk0s3, 4, 5
23:51marcandisk0s3 == disk2
23:51marcanyou can also just delete disk2, it is equivalent to disk0s3 for the purposes of `diskutil apfs deleteContainer`
23:51marcansee how it says "Physical Store disk0s3"
23:52marcaneither way the cleanup script is https://alx.sh/wipe-linux but it's pretty extreme, should work fine for simple cases like yours
23:53marcanI need to get some sleep, but I hope that made some sense :)
23:54j`eymarcan: i naively assumed you had just woken up :P
23:55nicolas17yeah I haven't figured out his timezone yet
23:58badlydrawnface[m]disk2 is a container
23:58badlydrawnface[m]needed to use `deleteContainer` instead of `deleteVolume`
…