#
…

2022-03-20

00:00tpw_rulesno, docker doesn't change anything
00:00tpw_rulesthe executable can't even be loaded into memory
00:01tpw_rulesbecause the sections aren't 16K aligned
00:03j`eyrun it in qemu tcg :P
00:03tpw_rulesor install nixos
00:03tpw_ruleswhich i ship with a 4k kernel by default
00:13kreechy has quit [Ping timeout: 480 seconds]
00:20j`eytpw_rules: does kernelParams put it in the .config?
00:22sorearqemu tcg won't help you with mmap alignment requirements
00:22sorear(user, anyway)
00:23tpw_rulesj`ey: put what?
00:23tpw_ruleskernelParams is for kernel command line arguments
00:24clover[m]and asahi distro shipped with 16K pages as an act of defiance against 4K paged projects?
00:24tpw_rulesso those get passed to the bootloader
00:24kreechy has joined #asahi
00:24tpw_rulesin fairness chromium being 4K limited is both deliberate and stupid
00:25j`eysorear: I meant full system qemu!
00:26j`eytpw_rules: what does nix do with kernelParams? I guess it depends on what is set in the .loader?
00:26GavinPacini[m] has joined #asahi
00:27phire has quit [Server closed connection]
00:27tpw_rulesj`ey: like i said they get passed to the bootloader stuff which puts them on the kernel command line
00:27phire has joined #asahi
00:27tpw_rulesso they get written to your grub.conf or systemd-boot conf files or whatever
00:28j`eytpw_rules: makes sense
00:32amw has quit [Server closed connection]
00:32amw has joined #asahi
00:35_whitelogger has joined #asahi
00:41rikkaa has joined #asahi
00:45sorearI suspect you can run a 4K kernel under KVM
00:50ciggi has quit [Server closed connection]
00:50ciggi has joined #asahi
00:54brentr123[m]16k page tables or whatever it’s called will let more apps run?
00:55AdwyzzOLEDEdition[m]no they are the native page tables, so they are the fastest
00:56tpw_rulestechnically 4k page tables are also native, assuming the kernel switches the cpu hardware to that mode
00:56tpw_rulesthey're slower because you, in some sense, have to do 4x the memory management because your pages are 1/4 the size
00:58tpw_rulesi imagine that's mostly TLB activity and pagetable management overhead
00:58j`eysorear: yeah, I realised what I said doesnt make sense. too tired to think properly
00:59arekm has quit [Remote host closed the connection]
00:59arekm has joined #asahi
01:01littlejth has joined #asahi
01:01Lucy[m] has joined #asahi
01:02Lucy[m]Question. How easy would it be to "port" another distro to Asahi?
01:03chadmed has joined #asahi
01:03j`eyLucy[m]: what distro are you interested in?
01:03tpw_rulesif you're skilled with it, pretty easy. all you really have to do is compile a kernel that's compatible with the M1, then follow whatever process to install your distro into a UEFI environment
01:04Lucy[m]j`ey: Pop!_OS.
01:06j`eyyou can probably reuse some of the debian work
01:07kode54it doesn't want to play audio through the headphone jack
01:07kode54it does, however, want to play through the built in speaker
01:08chadmedjust for the benefit of the people having the discussion earlier this morning re speakers: i will definitely not be adding instructions to the readme on how to enable the speakers for reasons already stated.
01:08kode54I didn't enable the speakers
01:09chadmedit's trivial to do yourself if youre at a level of ability where you should be testing stuff like that anyway
01:09kode54well, all I did was change PipeWire from Mono to Pro Audio
01:09nicolas17kode54: does it actually work, or does it offer to switch to speakers and then is silent?
01:09kode54it plays really quiet though
01:09nicolas17(plz lower volume when testing)
01:09chadmedplus im not capable of providing support to people who are having issues beyond making sure what i do installs correctly on all machines
01:09nicolas17what device?
01:09kode54Mac mini
01:10chadmedand i dont think it would be right for me to take donations from people for doing something as trivial and stupid as speaker EQ, so it will just be a "support will come as i am able to provide it" thing
01:11kode54sounds fine to me
01:11kode54I didn't want to use the speaker on my Mini really
01:11chadmednow that said, i do offer just the best speaker eq we're gonna have just the best speakers on linux and make macos pay for it believe me folks, yuge stuff
01:12m6wiq has quit []
01:12chadmedyeah i cant imagine anyone actually wanting to use the builtin mini speaker long term, but for the sake of making sure our support for this platform is complete we should enable it properly
01:13chadmedone thing that always got my goat about running linux on my A1708 was how crap the sound experience is. you need out of tree patches to the cs42l42 codec driver, and even with them applied the sound quality is terrible
01:15chadmedi will make the experience on these machines as far removed from the intel mac experience as possible or i will die trying
01:27levadopa[m] has joined #asahi
01:28littlejthHi all, quick question, and hopefully I'm asking this in the right channel, but has anyone had any known issues with the second step of the installer when performing 'local policy update'? 'bputil failed' for me even making sure my password is 100% correct
01:29littlejthwith code 401 'Failed to create local policy' which isn't incredibly descriptive
01:30littlejthand i *believe* I've done all the installer steps correctly although I do apologize if I may have missed something or if this is a known issue. Also, if this is not, is the best way to completely try again to run diskutil to delete the new partitions?
01:31kreechy has quit [Ping timeout: 480 seconds]
01:37sheepgoose has joined #asahi
01:41kreechy has joined #asahi
01:42aratuk has joined #asahi
01:42aratuk has quit []
01:45tpw_rulesi think someone else has had that problem. but yes, deleting the partitions with diskutil would be the best way to retry
01:49kreechy has quit [Ping timeout: 480 seconds]
01:50kreechy has joined #asahi
01:51kreechy has quit []
01:54sheepgoose has quit [Ping timeout: 480 seconds]
01:56jmr2 has joined #asahi
01:58jmr2marcan: is it by design that if you go to http://cdn.asahilinux.org/installer/ with a browser, installer-v0.3.7.tar.gz isn't listed, even if it exists?
01:59tpw_rulesit's listed for me
02:00jmr2Huh. Listed over https, but not http. No idea why the browser defaulted to http.
02:00adamjm has joined #asahi
02:01tpw_rulesit's listed for me on http too
02:01tpw_rulesthere must still be caching issues
02:02adamjmHi, I am (like probably half of the rest of the M1-having world) trying out Asahi today, I'm wondering if there's a central location to look for bugs if I'm having issues ? In specific my laptop has crashed twice while resizing the disk trying to install. In both cases, it was a very hard crash where even the touchpad stopped responding. Any idea or where could I look to see if someone else is having this issue?
02:02tpw_rulesthat's expected
02:03tpw_rulesit's not actually crashing, probably
02:03adamjmeven if the touchpad stops responding (I'm talking about the haptic feedback no longer working)
02:03adamjmI thought that was really low level and indicated something crashed :)
02:03chadmeddiskutil needs to unmount the root disk to resize it. shrinking apfs is pretty slow too, just let it do its thing
02:03adamjmso, just do it again, and wait a long time
02:04tpw_rulesif you close all your apps and don't touch it after you hit 'y' to confirm the resize, it won't freeze. it has to lock out the disk while it processes and that freaks things out
02:04adamjmok, i'm just too impatient
02:04adamjmi'll try again, thanks :)
02:05robinp_ has joined #asahi
02:07robinp_ is now known as robinp
02:07sheepgoose has joined #asahi
02:14krbtgti woonder if the second ANS is in use considering the fact there's a second SSD slot on the studio
02:15krbtgtwell, at least the ultra
02:15krbtgtwe'll see if the max has a second slot
02:16nicolas17TIL there's a second SSD slot on the studio
02:16kode54probably found out from Max Tech's video
02:17kode54what a shoddy teardown, but FIRST
02:17kode54he was first to realize you could take off the rubber ring (and without a heat gun, so he left some of it behind in the glue)
02:18kode54bet chadmed loved cringing at that, assuming he watched it like a trainwreck
02:19meowcat285[m] has joined #asahi
02:19chadmed"is that copper? yeah? wow!"
02:19chadmedturned it off after that, i just couldnt go on any longer
02:20meowcat285[m]Hey, quick question, is uninstalling as simple as deleteing the partition?
02:20kode54well, there's also a boot definition you need SIP off or recovery to delete
02:20kode54the docs said that so many successive installs will make a bunch of those accumulate
02:20chadmedim interested in how those socketed ssds are interfaced with the ssd though. the nvme controller is not behind pcie, so are those m.2 slots directly wired to nvme? if so, existing drives probably wont work, right?
02:21meowcat285[m]kode54: Ah, I was just wondering in case I wanted the space that asahi takes up back
02:21kode54we'll need someone like iFixit to do a proper teardown and ID
02:21kode54meowcat285[m]: the config files eat kilobytes
02:21moka has joined #asahi
02:21kode54so just deleting the partition and resizing will let you reclaim all your space
02:21meowcat285[m]You said it like they take a lot of space
02:22kode54I didn't mean space
02:22tpw_rulesthe more annoying problem of the boot policy files is they make bputil slow
02:22kode54that's the issue
02:22kode54so many repeated installs without cleaning them up will make future installs take longer
02:23kode54there's a script for doing it, if it comes to it for you
02:23meowcat285[m]Like how many installs are we talking about untill it causes issues?
02:23kode54it must be run either from recovery or from an install that has SIP disabled
02:23meowcat285[m]kode54: Could you link that script please?
02:23kode54maybe tpw_rules would know these?
02:23tpw_rulesa dozen or two probably
02:23tpw_rulesbut even then, it's not really an issue. just slightly increased patience
02:23meowcat285[m]Oh, its very unlikely I would do that many
02:24kode54recalling that bputil already takes like a minute and a half on a fresh install with nothing but macOS on the machine
02:24kode54it doesn't take much longer otherwise
02:24nicolas17oof what the heck is it doing
02:24tpw_rulesit's not THAT slow
02:24kode54it took that long here
02:24tpw_rulesit has to talk to the SEP to re-sign all the boot policies
02:25nicolas17hashing stuff? lots of back-and-forth communication with the SEP?
02:25kode54maybe I just got unlucky
02:25kode54also is it normal to have no keyboard control in the boot loader?
02:25jmr2tpw_rules: it was said earlier today that past 10-20, timeouts are possible, so it can cause issues.
02:25tpw_ruleskode54: what system?
02:25kode54Mac mini
02:26tpw_rulesbut something like "curl -L https://raw.githubusercontent.com/AsahiLinux/asahi-installer/main/tools/cleanbp.sh | sh" in recovery should clean up the boot policies
02:26kode54keyboard and mouse attached by USB-A port, downstream a couple of hubs
02:26tpw_rulespossibly. some fancier keyboards or very old ones u-boot doesn't like
02:26tpw_rulessome hubs too. its usb support is kind of bad
02:26kode54it's a Magic Keyboard with Numeric Keypad
02:26kode54permanently attached by USB
02:26tpw_rulesi'm using a random dell one
02:27jmr2Easter egg in m1n1 or in the bin format? hexdump -C m1n1.bin and look for ascii art... literally! (Near the end.)
02:28moka has quit [Remote host closed the connection]
02:28tpw_rulesdo you mean the font bitmaps?
02:29tpw_ruleskode54: so try a different keyboard. iirc u-boot prints how many keyboards it detects?
02:29lbredeso has joined #asahi
02:32tpw_rulesno, it just prints how many usb devices
02:32tpw_rulesit also won't work when plugged into the USB-A ports
02:32tpw_rulesu-boot doesn't understand those yet
02:33robinpi have the 1TB 14" Pro. Whats a recommended size if I want to dabble with development (80% i.e. 200G for Asahi) way too much?
02:33tpw_rulesprobably, to be honst
02:34tpw_rulesbut if you're willing to delete the linux stuff and lose your data there, it's super easy to adjust later
02:34lbredeso has quit [Remote host closed the connection]
02:35robinpcan you adjust the linux partition size like you can the apfs ones ?
02:37littlejth has quit [Ping timeout: 480 seconds]
02:40tpw_rulesyou'd have to use something like gparted on a live disk to move it
02:40tpw_rulesit's theoretically possible, but would be annoying
02:43M0x8FF[m]technically not an asahi question but uh
02:43M0x8FF[m]does stuff in the AUR work on arch arm
02:45nicolas17depends on the package
02:52riker77_ has joined #asahi
02:57riker77 has quit [Ping timeout: 480 seconds]
02:57riker77_ is now known as riker77
02:58jmr2 has quit [Quit: Page closed]
03:00arcampeny[m] has joined #asahi
03:08fortelling[m]<M0x8FF[m]> "technically not an asahi..." <- running protonvpn with no problems, installed via yay
03:13PhilippvK has joined #asahi
03:17phiologe has quit [Ping timeout: 480 seconds]
03:27kov has quit [Quit: Coyote finally caught me]
03:27kov has joined #asahi
03:36kode54What do I need to install to have the equivalent of the kde version from the base version?
03:36kode54SDDM also segfaults on boot here, I have to restart it manually from a tty
03:37kode54tpw_rules: and yeah, keyboard won't work here, because all my input devices are on a USB-A port
03:37nicolas17 has quit [Ping timeout: 480 seconds]
03:37kode54and I don't have any USB-C hubs
03:43THX1984 has joined #asahi
03:44kode54MArch Linux 5.17.0-rc7-asahi-next-20220310-5-1-ARCH (tty1)
03:44kode54alar login:
03:44kode54[ 1.7164501] tas2770 1-0031: ASoC: error at snd_soc_component_update_bits on tas2770.1-0031 for register: [0x0000000a] -61
03:44kode54[ 1.716502] tas2770 1-0031: ASoC: error at snd_soc_dai_set_fmt on tas2770 ASI1: -61
03:44kode54thought it was 2 lines
03:45kode54didnt want to try gpming it if logging in would clear it
03:46swampertx[m] has joined #asahi
03:55kylealanhale has joined #asahi
04:07marvin24 has joined #asahi
04:10kylealanhale has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:11marvin24_ has quit [Ping timeout: 480 seconds]
04:13liott[m] has joined #asahi
04:13liott[m]Speaking from a working install!
04:14liott[m]I noticed a funny thing with the script, if you password is all spaces it wouldn't authenticate correctly for me near the end (after the disk formatting step)
04:14liott[m]I just changed my password to not be all whitespace and it finished lol
04:14liott[m]tpw_rules: ty! Been having fun getting everything cozy
04:16M0x8FF[m]is nmtui not shipped with the minimal installation?
04:16M0x8FF[m]i’ve been trying to connect to the internet with no luck
04:17tpw_rulesiirc you need to use wpa_supplicant or iwd?
04:19M0x8FF[m]iwd hasn’t worked for me either
04:21M0x8FF[m]i guess i’ll go try using wpa_supplicant
04:28doggkruseM0x8FF[m]: Did you make sure your wifi firmware loaded? Mine did not on the first boot after install
04:30xeq has joined #asahi
04:31xeq has quit []
04:31M0x8FF[m]0x8FF: Did you make sure your wifi firmware loaded? Mine did not on the first boot after install
04:32M0x8FF[m]What is up with fluffychat
04:32M0x8FF[m]No I have not
04:35M0x8FF[m]wpa_supplicant is not found either btw
04:36liott[m]I got yay running, and as far as installing armcord, it segfaults, but this is running great for an alpha so far!
04:37doggkruseI didn't do the minimal install, but to get my wifi working I just rebooted several times
04:37doggkruseI still have firmware loading errors in dmesg, but idk if that's expected or not and it works
04:37M0x8FF[m]wifi worked out of the box for me when i did the gui installation
04:38M0x8FF[m]you know what i’ll just install the gui one + remove all of the packages
04:38liott[m]sometimes it's easier to play jenga than build a new house :)
04:42chadmedwe dont use wpa_supplicant, we use iwd
04:45M0x8FF[m]which running iwctl just hangs
04:46liott[m]to get back to macos do i just do the "hold down power for a while" trick again?
04:46M0x8FF[m]yeah and then select macOS
04:46doggkruseliott[m]: shutdown then hold power. Pic macOS from options
04:47M0x8FF[m]It has a name though, it is called Boot Picker
04:47liott[m]i'll make a github issue about my script bug. Thanks for the help everybody
04:47M0x8FF[m]Is it the hanging thing?
04:47THX1984is there support for bluetooth yet?
04:47liott[m]if ur password is all spaces
04:48liott[m]the like third or so time it asked me to authenticate my password (after partitioning, pre-reboot) it wouldn't work
04:48chadmedno bluetooth doesnt work yet, its pretty far down the priority list and nobodys looked at it yet
04:48liott[m]so i changed the password to not be all whitespace and it finished
04:49M0x8FF[m]has marcan gone down the horrorsof Linux sound drivers yet?
04:52chadmedyeah sound is disabled in the DT right now though
04:52doggkrusebasics for sound are working but there's a risk of blowing out speakers so disabled for the alpha
04:53chadmedwe dont want people exploding the speakers until we can limit them properly
04:53chadmedive been testing for a couple of weeks now and have them running beautifully but the way we do it isnt really ready for end users just yet
05:00The_Walt[m] has joined #asahi
05:01GlanzmannQuixote Probably you did not have the most recent kernel package installed.
05:01GlanzmannQuixote[m]: You can do that with curl -sL tg.st/u/ksh and run the commands as root
05:04thewalt[m] has joined #asahi
05:07GlanzmannFedora Users: ^
05:08Glanzmannkov: If you have tips and tricks for fedora, for example a script to compile the kernel yourself, please put it in the wiki https://github.com/AsahiLinux/docs/wiki/Fedora
05:09thewalt[m]Hello! I tried to erase the partition Asahi Linux from created from diskutility on macOS and when I rebooted I was met with a screen with an exclamation mark and a link to support.apple.com/restore. Any idea
05:09thewalt[m]any idea as to how I can fix this? Would be very much so appreciated
05:09Glanzmannthewalt[m]: I assume you deleted the wrong partitions.
05:09Glanzmannthewalt[m]: You need to a dfu restore or idevicerestore.
05:10Glanzmannthewalt[m]: The DFU restore needs to be done using a second mac. If you don't have a second mac than idevicerestore it is: tg.st/u/idevicerestore_quickstart.txt
05:10Glanzmannthewalt[m]: In the future please use marcans wipe script: curl -L https://alx.sh/wipe-linux | sudo sh
05:10Glanzmannthewalt[m]: And also for the future. Never delete the first, second and last partition.
05:17PermissionDenied[m] has joined #asahi
05:19mdl has joined #asahi
05:21winter has quit [Quit: The Lounge - https://thelounge.chat]
05:22winter has joined #asahi
05:48kameks has joined #asahi
05:50joheyTrying the Alpha installer. It fails: Your system firmware is too old. Please upgrade to macOS 12.3 or newer."
05:50joheyThing is, 12.2 is the latest available as I can see.
05:52joheyAt least my system says: "Your Mac is up to date - macOS Monterey 12.2"
06:01Glanzmannjohey: Click on buttons in the menu at some point it will offer you a newer one.
06:01GlanzmannI think for me it was clicking the settings, accepting them, than it scans for new versions.
06:03joheyGlanzmann: Okay. Well, it scans for new versions as I open the Software update tool. But it doesn't get the 12.3 anyway.
06:03joheyBut alright. This has nothing to do with Asahi Linux, so I guess I'll google my way around this. :)
06:07Glanzmannjohey: For me modifying the options and modifying them back did the trick on three systems. It also was not showing up at first.
06:07r0nibefore i jump into this, and i'm reading so many conflicting things, once i install on a macmini i can use the usb-a ports on there to mount flash drives and such, correct?
06:07r0nii keep seeing usb-c specifically mentioned everywhere
06:08Glanzmannr0ni: Correct.
06:08Glanzmannr0ni: On the mini the usb-a ports don't work in u-boot and grub. But they work in Linux.
06:08GlanzmannAlso the usb-a ports on the mini are 3.0 speed, while the usb-c ports on the mini are currently usb 2.0 speed.
06:09r0niahh ok that is a bit of a problem then lol
06:09Glanzmannr0ni: It is not that much of the problem because most of the time, you don't need to touch u-boot and grub.
06:09r0niwell to install a completely diff OS it is
06:09Glanzmannr0ni: But if you do you probably need a usb-c to usb-a adapter for the keyboard. That is what I'm using currently.
06:10Glanzmannr0ni: yes, If you want to install complete different os, you also don't need it if you get everything right the first time.
06:10Glanzmannr0ni: You can run the asahi installer with the option to only put the uefi environment.
06:10GlanzmannThan you plug in the usb stick in the usb-c port with an adapter.
06:10GlanzmannThan it boots debian live.
06:11GlanzmannFrom debian live you can install whatever Linux distribution you like.
06:11GlanzmannAnd than you reboot into the booted version.
06:11r0niok as far as usb-c drives, can we mount a apfs drive?
06:12Glanzmannr0ni: In macos you can't under Linux the driver seems to be not sufficient.
06:12GlanzmannPut your usb stick and keyboard in it.
06:12r0nii'm pondering doing a slackware install, we have a minirootfs, but i'd have to compile the rest as I go
06:13Glanzmannr0ni: You can cheat and use the my build artefacts if you want.
06:13Glanzmannr0ni: So you need three things other than the rootfs (an efi grub), u-boot.bin and a kernel.
06:14r0nii see the arch kernel files, i can repackage them myself i assume
06:15Glanzmannr0ni: You can find them here tg.st/u/k.deb curl -sLo /boot/efi/m1n1/boot.bin tg.st/u/u-boot.bin and /u/grubaa64.efi
06:16Glanzmannr0ni: Godspeed. If you run into trouble let me know. I can also package you a slackware if you don't succeed. It was my first distribution 19 years ago. :-)
06:17r0niwe do have a 32bit arm release out but the aarch64 is still private, i'm sure i can fall back to that if I need to and then re-build the system
06:17GlanzmannFedora users: I updated the image so that it no longer contains the fedora upstream kernel and does not install fedora upstream kernel in the future.
06:17r0nitho it' smore fun to start from scratch ;)
06:18Glanzmannr0ni: Debian live is your friend: https://alx.sh/w/Debian
06:18Glanzmannr0ni: I packaged Fedora yesterday within an hour like that.
06:20r0niGlanzmann: thank you for all the input, i'll check out the debian and see how it fares for me and go from there!
06:21Glanzmannr0ni: Btw. In the debian live you can install any packages that you need, so if you want you can even build a kernel from there.
06:27M0x8FF[m]i left the asahi installer while my mac was in sleep mode for like 30 minutes and it's on
06:27M0x8FF[m] Extracting root.img into disk0s7 partition...
06:27M0x8FF[m]++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
06:27GlanzmannM0x8FF[m]: Either wait and see if it continues or press-c, run 'curl -L https://alx.sh/wipe-linux | sudo sh' and start over.
06:29M0x8FF[m]Yikes I think it's corrupted
06:30M0x8FF[m]*The Partition
06:30M0x8FF[m]There is no install OS option anymore
06:32M0x8FF[m]I guess I have to restart everything :p
06:32M0x8FF[m]* have to *really* restart everything
06:33GlanzmannM0x8FF[m]: Just kill the linux partitions with: curl -L https://alx.sh/wipe-linux | sudo sh
06:34Glanzmannand than start the installer again: curl -sL https://alx.sh | sh
06:34GlanzmannI hope you have a fast internetconnection.
06:37r0ni has quit [Quit: Textual IRC Client: www.textualapp.com]
06:46kameks has quit [Ping timeout: 480 seconds]
07:00guruprasadah has joined #asahi
07:01guruprasadah has quit []
07:11doggkruse has quit [Quit: Konversation terminated!]
07:13doggkruse has joined #asahi
07:15M0x8FF[m]Ty Glanzmann
07:17the_lanetly_052 has joined #asahi
07:21marcanno install OS option just means there is no free space because the partition was already created
07:25epic1110[m] has joined #asahi
07:28doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:42mps`07:11 ... r0ni| ok as far as usb-c drives, can we mount a apfs drive?`
07:43mpsmounting APFS doesn't work out of the box
07:43mpsthough last night I've build kernel module which allows mounting APFS
07:44THX1984 has quit [Ping timeout: 480 seconds]
07:44mpsit is not in mainline kernel nor in asahi kernel yet
07:55aycippo[m] has joined #asahi
07:57sheepgoose has quit [Ping timeout: 480 seconds]
08:01the_lanetly_052 has quit [Ping timeout: 480 seconds]
08:09pugguu[m]1Just wondering is there a way to update my stub partitions to 12.3 without re installing I’m currently on 12.1
08:09pugguu[m]1Cus I heard latest requirements are 12.3
08:09Glanzmannbeacon[m]: Just run the installer in 1tr than this does not happen by accident.
08:10beacon[m]Glanzmann: Ahhhhhhhhh yes i was running with rosetta on the terminal checked yeah
08:10beacon[m]thanks so much
08:11GlanzmannThank marcan. :-)
08:11marcanGlanzmann: it's already fixed in the installer
08:11Glanzmannpugguu[m]1: So, best thing is you ask marcan to implement stub os updates in his installers (would also save me a lot of trouble).
08:11beacon[m]thanks marcan :)
08:11Glanzmannmarcan: Good, btw. I now use the installer from the cdn and only overwrite the json.
08:12Glanzmannpugguu[m]1: So to update only the stub partition, you need to do the following: delete the old stub partition from Linux or macos (it is the 2.5 GB partition). Than use the installer to install m1n1 only.
08:13marcanGlanzmann: I will implement stub OS updates when there is a >12.3 stub that we need to support for some reason
08:13marcanwhich will happen when either there is a new feature we really want, or the next round of macs comes out
08:13marcanuntil then, you're on your own with your 12.1 users, that was never part of the official release installer
08:13Glanzmannpugguu[m]1: If I should do a video of the same, let me know.
08:14pugguu[m]1Glanzmann: The uboot is in the efi partition then?
08:14Glanzmannmarcan: I hoped to sweettalk you into implementing it.
08:14Glanzmannpugguu[m]1: So we have now to m1n1 (stage 1) and (stage 2).
08:14Glanzmannpugguu[m]1: I was talking about the m1n1 (rust one for chainloading).
08:14Glanzmannpugguu[m]1: Which distribution do you run?
08:15* Glanzmannprays for apple to come to Glanzmanns rescue with a soon macbook air m2 release.
08:15Glanzmannpugguu[m]1: Okay, so before you update the stub, you should run curl -sL tg.st/u/ksh
08:16GlanzmannOne second, I have to add one line.
08:17Glanzmannpugguu[m]1: Done.
08:18pugguu[m]1And I’m guess I’m gonna want to update to Mac OS 12.3
08:18Glanzmannpugguu[m]1: Yes.
08:18pugguu[m]1Let’s hope it doesn’t brick lol
08:18Glanzmannpugguu[m]1: That is a requirement. If you run into trouble, let me know. Maybe I will even look at marcans python installer code and implement the update stub partition myself.
08:19Glanzmannpugguu[m]1: I don't think so.
08:19Glanzmannpugguu[m]1: Anyway, having backups can't hurt. I don't have any backups, but I also don't keep anything on my workstations that I don't have somewhere else.
08:20pugguu[m]1That might be a good idea actually I have a 64gb usb laying around somewhere my Mac OS partitions is 100 gigs so hopefully it will compress it enough
08:24pugguu[m]1Huh 31gigs apparently lol
08:24pugguu[m]1Pretty good compression lol
08:25kylealanhale has joined #asahi
08:25GlanzmannGlanzmann: Sorry this happens when my daughter is climbing on me while working on the laptop.
08:26pugguu[m]1And before you ask I don’t have any other external drives that are bigger I know it’s not really a good idea to use a usb flash drive for backups
08:26marcanGlanzmann: also, please stop telling people to curl wipe-linux | sudo sh, first because that could wipe other stuff if you're not sure about their setup, second because that doesn't work if sudo asks for a password
08:27pugguu[m]1A script to wipe Linux that sounds like an accident waiting to happen
08:28marcannobody should run that without first checking that they have a vanilla macOS setup with just one or a few macOS APFS containers >3GB they want to keep, because it *will* wipe anything that looks like a 2.5GB APFS volume regardless of what it is, and anything that isn't APFS and mentions EFI or Linux or anything
08:28marcanit'll probably nuke Intel macs too
08:28marcanpugguu[m]1: I wrote it for us developers who do reinstalls all day
08:28marcanand I do send it to people running into installer issues I fixed so they can reinstall, but always with a disclaimer
08:29pugguu[m]1marcan: and please add stub updates to installer :)
08:29marcansure, after the GPU is done
08:30marcanyou *do* realize how frustrating it is to have people tell me to drop everything else and implement a feature because Glanzmann decided to fork our installer and get users in a bad state, right?
08:31marcanI just released the first alpha and was very careful with how we set up everything to have this last for a long time and use the new bless support and everything, so we didn't have a large support burden, and so I can continue working on hardware support
08:31pugguu[m]1Feels bad man
08:32marcanI'll be supporting folks who used the official installer after it was released (i.e. not /dev); anything else, you're on your own, sorry, I have too many other things to prioritize first
08:33j`eymarcan: perfectly reasonable
08:34winterguess i was in the right to nuke my pre-release install (only by a few hours!) - just gotta set up a new one with the prod installer then
08:34pugguu[m]1That’s fair enough I’ll update to official installer just so I can get support but considering it’s arch Linux imma be asking a lot more questions just a pre warning
08:35chadmedthe arch wiki has a page translating common commands from other distros to arch stuff
08:35j`eypugguu[m]1: arch is easy ;)
08:35chadmedarch is fantastic because the documentation is just so thorough and easy to follow
08:35marcanwinter: a few hours is fine, if you're on a 12.3 stub the only last-minute thing I did was add the meta packages
08:35pugguu[m]1Not if your me lol last time I used arch I managed to bork it 3 times in one day
08:36marcanjust pacman -S asahi-meta asahi-desktop-meta
08:36marcan(and regular package updates)
08:36pugguu[m]1And it wasn’t even vanilla arch it was Mankato
08:37pugguu[m]1pugguu[m]1: Manjaro*
08:37marcanreally I think everything on /dev is fine too, as long as you deal with package changes that happened in the last day or two: upgrade, uninstall m1n1-uboot, install m1n1 uboot-asahi asahi-meta asahi-desktop-meta
08:38Ry_Darcy_ has joined #asahi
08:38marcanespecially if you didn't use expert mode
08:38marcanpeople who used the old alxsh thing, yeah, that's all legacy and unsupported
08:38winteri should test this later but when i nuked my install, i deleted the volume group from disk utility and then erased the apfs containers and such with diskutil -- is the erasing volume group step really necessary? or would that happen anyways when using diskutil
08:39marcanyou don't need to erase the volume group, that goes away with the container
08:39chadmedyou dont need to erase the vols if youre already destroying the container
08:39marcanyou do need to erase the linux/efi partitions though, which may not work very well from disk utility (the graphical version)
08:39marcanthe graphical app is... pretty bad
08:40pugguu[m]1But sorry Marcan for being a pain i don’t mean to piss anyone off if I have I’m sorry
08:40marcanit's okay
08:41Guest2621 has joined #asahi
08:41* marcangoes off to get a late lunch
08:42pugguu[m]1Anyways my backup is almost done then I can update to 12.3 and run the official installer
08:42chadmedlunch at 1800? time really just manages to slip away sometimes huh
08:44rolandt1988[m] has joined #asahi
08:45riker77 has quit [Quit: Quitting IRC - gone for good...]
08:47Guest2621If I wanted to build a kernel with 4K pages support, would I just need to clone+build the kernel from the asahi kernel github page?
08:47M1bn3mar[m]hey, i installed alarm minimal but the wifi is not present i only got "lo"?
08:47chadmedGuest2621: yep usual procedure applies for kernel building/installation for uefi machines
08:47chadmedalso that patch yeah
08:48Guest2621But otherwise I can just build as normal
08:48j`eyyou could use the PKGBUILD to make it easier?
08:48Guest2621Right, I'll investigate that
08:49Guest2621Oh so I can build it like an arch package
08:49chadmedM1bn3mar[m]: run update-vendor-firmware and reboot
08:50M1bn3mar[m]chadmed: thx, will try
08:51giskard has joined #asahi
08:56Ry_Darcy_ has quit [Remote host closed the connection]
08:56MajorBiscuit has joined #asahi
08:58Guest2621And then to apply the patch I just edit the PKGBUILD with something similar to this:https://wiki.archlinux.org/title/Patching_packages
09:01jannaua first step towards updating would be a "use existing EFI system partition"
09:01riker77 has joined #asahi
09:04benmkw[m] has joined #asahi
09:07povikchadmed: say what? out-of-tree patches to cs42l42 on intel macs?
09:07bluetail[m]intel... wait ... I thought asahi linux targets m1 machines
09:08chadmedyeah intel macs after 2015 or something
09:09povikdo you have a link?
09:09chadmedcan definitely confirm its required on the A1708 (2017 mbp without touchbar) and the 2011 mac mini
09:09povikwe *too* do use cs42l42 driver
09:10chadmedah cs8409 not 42l42
09:10Ry_Darcy_ has joined #asahi
09:10bluetail[m]Recently tried to live boot debian on the imac 2019. It did fabulously fail. "Could not open Display" .
09:10bluetail[m]Installing Vega 48 drivers would not help. Adding a new kernel would not help.
09:10bluetail[m]Did stop to try.
09:10chadmedthat machine has a T2 in it
09:11chadmedtheres special requirements for T2 macs
09:11RudraSaraswat|btwiusearchandub has joined #asahi
09:11rikkaa has quit [Quit: Connection closed for inactivity]
09:11bluetail[m]like turning the security off?
09:11povikah cs8409 then it's not as interesting
09:11chadmednot sure what specifically
09:11Ry_Darcy_@Glanzmann Trying your installer again. When I select Debian as OS, I am now receiving a HTTP 404 error - not found.
09:11mpschadmed: oh, where is this update-vendor-firmware
09:12benmkw[m]Hello I installed asahi yesterday and got it working (yay, THANKS!) ... but I still have some questions:... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/PfhGhMGjZKuXopqmXhyNPKCO)
09:12mpsis it Arch pkg
09:12chadmedpovik: yeah lol wrong chip sorry
09:12chadmedmps: its part of asahi-scripts on github, it ships with the arch images already installed
09:12mpsthank you both
09:13Ry_Darcy_Thir 404 error is new. Did not have this yesterday.
09:14RudraSaraswat|btwiusearchandubHi, I keep getting this error while installing Asahi after entering the correct password
09:15mpsjannau: yes, "use existing EFI system partition" is very good idea
09:16winterah thanks marcan that makes sense (re: my apfs container question)
09:18winterWhy would bputil ask for a username in addition to a password on a single user machine?
09:20winternoticed that when installing
09:20winter(i ask since my experience directly contradicts the above screenshot)
09:23RudraSaraswat|btwiusearchandub<winter> "Why would bputil ask for a..." <- Nope, it just asked for a password
09:24RudraSaraswat|btwiusearchandubThe error doesn't seem to be related to the password, since it doesn't even try to update the policy after entering the wrong password
09:25RudraSaraswat|btwiusearchandubRudraSaraswat|btwiusearchandub: ^ winter
09:25Ry_Darcy_@Glanzmann there this morning?
09:27bakk[m] has joined #asahi
09:30j`eyRudraSaraswat|btwiusearchandub: a few people have had the issue, guess it needs a fix from marcan
09:30bakk[m]Sorry if someone asked this already, but what's the status on sleep mode (and going to sleep when the lid is closed)? From what I can understand, it does not currently work, correct? Are there any plans for it in the near future?
09:31tomtastic has quit [Quit: ZNC - https://znc.in]
09:31j`eybakk[m]: yes, there's some issues with PCIe, otherwise it's working
09:31bakk[m]Oh I see!
09:31Guest2621Is there a specific -p or --strip option I need to use with that 4K patch file in my PKGBUILD
09:31j`eys2idle that is, where the CPU is still on, but idle
09:32j`eyfull sleep will be later
09:32Guest2621I've got an error that says:can't find file to patch at input line 5
09:32Guest2621Perhaps you used the wrong -p or --strip option?
09:32bakk[m]What do the issues with PCIe mean in practice
09:32j`eybakk[m]: it crashes :P
09:32bakk[m]Aha ahahah
09:32Tobias[m]1234 has joined #asahi
09:33ciggi has quit [Remote host closed the connection]
09:34ciggi has joined #asahi
09:34RudraSaraswat|btwiusearchandubj`ey: Is it safe to reboot into macOS?
09:35tomtastic has joined #asahi
09:35Tobias[m]1234RudraSaraswat|btwiusearchandub: It should be. At least for me I did it multiple times and nothing happened.
09:37Cy8aer[m]What would you do if you would have a brand new machine: resize the system partition first and then upgrade to 12.0.3 or upgrade first? I guess that with first partitioning you do not have the time machine thingie?
09:38j`eyI would just upgrade to 12.3 straight away
09:38Tobias[m]1234 is now known as Fl1tzi[m]
09:38Fl1tzi[m]j`ey: The docs say you have to.
09:39j`eyCy8aer[m]: also the installer can resize the partition for you
09:39joheyGlanzmann: I sorted out the update issue by doing a full installation of 12.3. I simply couldn’t get it to find the update.
09:40Cy8aer[m]j`ey: yes but - as I understand - an upgrade will create time machine backups and fills the partition. That's why I ask.
09:41j`eymaybe? I guess you can delete them after anyway *shrug*
09:41Cy8aer[m]unpack, resize, upgrade 12.3, install avahi
09:41Chainfire has quit [Remote host closed the connection]
09:41Naz_Mir has joined #asahi
09:42Fl1tzi[m]I’ve heard some people have problems with the video playback in YouTube?
09:42Cy8aer[m]s/avahi/asahi/g
09:43Naz_MirHi everyone, I'm problems with the Asahi installer. Is this the right place to ask questions about installation?
09:44trevyn4Naz_Mir: yes
09:46Guest2621 has left #asahi [#asahi]
09:46Naz_MirThanks. I ran the script `curl https://alx.sh | sh` The script resized my disk, created partitions, downloaded files etc. Later it asked me for my admin password and failed multiple times with the message "Couldn't bless /Volumes/...... "
09:47j`eyNaz_Mir: how long ago?
09:47mpspovik: about audio last night talk, yes it works as you described
09:47Naz_MirJust a while back.
09:47j`eyNaz_Mir: 5mins? hours?
09:47j`eybecause there was a fix, that might be relevant
09:48Tano70 has joined #asahi
09:48Naz_Miroh ok, I ran the script an hour and half ago
09:48dottedmagAnyone seen a failure adding second APFS volume during installation? I have filed https://github.com/AsahiLinux/asahi-installer/issues/42 without checking if it is a known issue.
09:48j`eyNaz_Mir: inside your terminal can you run: arch
09:49Naz_MirYeah, the first time I ran - it was under rosetta.
09:50j`eydottedmag: yeah that's been seen
09:51the_lanetly_052 has joined #asahi
09:52Naz_Mirj`ey I later aborted the installer and trying to run under arm64. But don't know if I should delete the existing partitions or is there a way I can tell the installer to use the existing partitions.
09:55dottedmagj`ey: My error seems to originate from self.ins.prepare_volume, and that does not take total_size, so this commit shouldn't affect it
09:56j`eydottedmag: ok, I must have been getting confused. someone else was talking to marcan about it, so good to have the GH issue
09:57j`eyNaz_Mir: no way to reuse the partitions cufrrently
09:58Naz_Mirj`ey: thanks for the info. I will delete the existing partitions and attempt the installation again in arm64 mode. I will report if I face any issues.
09:58M1bn3mar[m]hey, after installation of alarm minimal and trying to connect to wifi with iwctl command i connected within iwd successfully but when i exit it no network to be found plus whenever i run iwctl it print's out "NetworkConfigurationEnabled: disabled"; anyone?
09:58kameks has joined #asahi
09:59chadmedwhat do you mean no network to be found
09:59Ry_Darcy_ has quit [Remote host closed the connection]
10:00M1bn3mar[m]chadmed: like pinging 1.1.1.1 or using pacman or anything require's internet for that matter
10:01Ry_Darcy_ has joined #asahi
10:02Ry_Darcy_@Glanzmann pinging Thomas.
10:02chadmedwhat does ip addr say?
10:05benmkw[m]> <@benmkw:matrix.org> Hello I installed asahi yesterday and got it working (yay, THANKS!) ... but I still have some questions:... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/ukoVKJrwRBGOqFyQImoaJYxu)
10:06benmkw[m]diskutil would not merge the free space into my main volume though so going back to stock likely seems to involve a whole reinstall anyway
10:09M1bn3mar[m]chadmed: ping: connect: Network is unreachable
10:09j`eybenmkw[m]: yeah you have to resize the volume if you want that free space, otherwise it just stays free space
10:10j`eyM1bn3mar[m]: 'ip addr' try that command
10:13pugguu[m]1I’m currently running the updated alpha asahi installer :)
10:14M1bn3mar[m]ip addr display's l0 and wlan0 same for ip link and ifconfig
10:17pugguu[m]1Should it be taking more than 5 mins to add the root partition
10:17j`eypugguu[m]1: probably it's 3gb
10:24M1bn3mar[m]trying to connect to wifi with iwctl command i connected within iwd successfully but when i exit it no network to be found plus whenever i run iwctl it print's out "NetworkConfigurationEnabled: disabled"
10:28pugguu[m]1https://gitlab.com/volian/nala is there anything like this for arch?
10:29Ry_Darcy_ has quit [Remote host closed the connection]
10:32Naz_Mir has quit [Remote host closed the connection]
10:35rikkaa has joined #asahi
10:36Ry_Darcy_ has joined #asahi
10:37Ry_Darcy_@Glanzmann losing connection here constantly. Did you respond Thomas?
10:39PaterTemporalis has joined #asahi
10:44chadmedhe did not
10:48pugguu[m]1My wifi in a loop Damit
10:48m6wiq has joined #asahi
10:53RudraSaraswat|btwiusearchandub> <@rs2009:matrix.org> The error doesn't seem to be related to the password, since it doesn't even try to update the policy after entering the wrong password
10:53Ry_Darcy_ has quit [Remote host closed the connection]
10:53RudraSaraswat|btwiusearchandub<RudraSaraswat|btwiusearchandub> "SHA_20220320_144323772.jpg" <- ^ marcan
10:54ashi01c[m] has joined #asahi
10:55ExeciN[m] has joined #asahi
10:56pugguu[m]1And boom locked myself out
10:57pugguu[m]1What do I do now
10:57j`eylocked yourself out..?
10:57pugguu[m]1Yea locked myself out of kde
10:58j`eywhat does that mean?
11:00pugguu[m]1Tip don’t leave caps lock on then figure out you left caps lock on log in fix the cap lock by changing it to what it supposed to be then log out because u notice it’s x11 so log out to see if there’s wayland then resize u entered the new password wrong and ur now locked out of Linux
11:00pugguu[m]1Yay can this week get any better
11:01ExeciN[m]Hi people. I somehow managed to break recovery. This isn't strictly asahi related but this community might be the best knowledge repository to get it fixed without the need of a full recovery and therefore a total data wipe.
11:04mpspugguu[m]1: Caps Lock key shouldn't exists on computer keyboards, it is just problem
11:05M1bn3mar[m]hey, my wifi network is configured but i just couldn't connect to wifi properly
11:05chadmedif you broke the system recovery volume theres nothing you can do, you will need to restore the machine from AC2 or libidevicerestore
11:06chadmedM1bn3mar[m]: you need to give us more information that what you have. repeating the same question with no extra information is going to get better answers
11:06chadmeds/that/than
11:07M1bn3mar[m]chadmed: ip addr output's l0 and wlan0 properly so does ip link and ifconfig
11:08chadmedwhat's inside /etc/resolv.conof
11:08j`eyM1bn3mar[m]: is there an ip address with 'ip addr'?
11:08j`eyin the output
11:08M1bn3mar[m]chadmed: i have to reboot
11:09ashi01c[m]lol i just checked asahis twitter abt the volume resize error, wish me luck on formatting my mac
11:19Chainfire has joined #asahi
11:20ChainfireIt seems patching Chromium to support 16kB pagesize is relatively easy (disclaimer: building but not tested yet), but supporting 64kB pagesize would require a fairly large overhaul of their memory allocator.
11:21Axenntio_ has joined #asahi
11:23Axe has joined #asahi
11:27PaterTemporalis has quit [Ping timeout: 480 seconds]
11:29kloenk has quit [Remote host closed the connection]
11:29Axenntio_ has quit [Remote host closed the connection]
11:30Axe has quit [Remote host closed the connection]
11:32sorearwhy does the allocator page size have to be the same as the kernel/hardware page size anyway? is chromium doing fun things with mprotect and SEGV handlers?
11:37Quixote[m]<j`ey> "1bn3mar: is there an ip address..." <- j`ey: sorry, I'm still trying to compile wireguard but it seems the problem are the linux-header. Do you have some repository to download the different headers version of asahi?
11:37j`eyI dont
11:37Quixote[m]Glanzmann: do you have some repository to download the different headers version of asahi?
11:38Quixote[m]I'm stuck bc I can't compile any software I need and I dont know how solve
11:38Quixote[m]* how solve it
11:39ChainfireI have no idea. They do use mprotect and SEGV handlers but I'm not sure to what purpose. What I do know is they use a construct they call partitions, which requires to be 4 times the page size, but partitions larger than 64kb aren't supported. I don't see a reason why they couldn't be, but it would require a quite a number of changes to logic I don't understand and don't want to invest the time to figure it out.
11:39j`eyChainfire: but ppc uses 64K page sizes I think
11:40ChainfireSeeing as every build takes about an hour, has to be done on an x86_64, debugging this is hell, etc, I don't want to go too deep down the rabbithole.
11:40Chainfirej`ey> yes, the code says so, but either I'm completely missing something, or the PPC build would actually fail if run on trunk right now
11:45GlanzmannQuixote[m]: I send you yestday all debs for the kernel (the kernel package, debug symbols, libc and header files).
11:45GlanzmannIf you install all of them you should be good to go.
11:45GlanzmannQuixote[m]: Otherwise you could build the kernel yourself. That is the script I'm using: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blob_plain/refs/heads/master:/bootstrap.sh
11:46Ry_Darcy_ has joined #asahi
11:46Glanzmannmarcan: I'll support the users who need an upgrade before the official version of the installer. I'll write a wiki entry and do a video. Focus on your priorities.
11:46Glanzmannmarcan: I'll also not send the wipe script to any users anymore before checking their diskutil list output.
11:47Glanzmannmarcan: I also corrected the way to call the script in my notes.
11:47GlanzmannRy_Darcy_: Let me fix the installer.
11:49Ry_Darcy_ has quit [Remote host closed the connection]
11:49LuEvers[m]after having installed alarm with the dev install_script, m1n1 and u-boot get updated by the corresponding packages on marcan's repo do they? there is no need to do anything on macos / recovery side to update the components?
11:49j`eyLuEvers[m]: correct
11:50GlanzmannRy_Darcy: For me the installer works, where did you get the 404 from? https://pbot.rmdir.de/u/EfF_iCLSAd1cNep8qPUcLg
11:50LuEvers[m]great, thanks
11:50Ry_Darcy_ has joined #asahi
11:51GlanzmannExeciN[m]: It happened to me once, too. I deleted 1tr. As a result macos refused to apply updates. I did a full system wipe and used a second mac to get my system back working. At the time I was also asking in here for help, but marcan was advising me to wipe it clean and resetup.
11:51axenntio has joined #asahi
11:52GlanzmannRy_Darcy: The installer works for me (I did not change anything) where did you get the 404 from?
11:56axenntioI read about the Notch thing. Does it means that the height of the screen is shrink for now?
11:57Ry_Darcy_Thomas, on your installer, you have now the choice of two OS´s i)Debian orf ii) Fedora. After choosing Debian, after some error messages, the 404 error appears.
11:57GlanzmannI see, let me try it.
11:59GlanzmannRy_Darcy: I found the error and corrected it, but I have to test it now.
11:59mdl has left #asahi [#asahi]
12:03Jamie[m]1do we have keyboard backlight support (on pro/max MBP)?
12:03j`eyJamie[m]1: on a branch, not in asahi
12:04j`eyhowever not sure if we can submit that code, so it's better to not look at it I think
12:07Tano70hello, i have macbookPro M1 Max, i hope I hope will come out, a good supported beta asahi linux with chromium, and working speakers, that would be a start
12:08GlanzmannRy_Darcy: So, I'm just installing debian on my wifes macbook air. It appears to be working. step1 is done.
12:10M1bn3mar[m]j`ey: ip addr display's l0 and wlan0 info
12:10j`eyM1bn3mar[m]: just paste the full output
12:11Ry_Darcy_@Glanzmann mail on the way..
12:12chadmedyeah so resolv.conf should not have that stuff in it
12:12chadmedif youve edited it manually youre going to screw up resolved
12:13LuEvers[m]i think resolvd overwrites it at next boot
12:13LuEvers[m]it's jsut a softlink
12:13LuEvers[m]s/jsut/just/
12:19Ry_Darcy_ has quit [Quit: Page closed]
12:21GlanzmannRy_Darcy: The Debian installation on my wifes laptop finished successfully thank you for letting me know about the 404.
12:22GlanzmannFedora / Debian users: If you tried to install this morning Debian or Fedora and you got a 404. I fixed that error now. Ry_Darcy Thank you for letting me know.
12:24kameks has quit [Ping timeout: 480 seconds]
12:27kylealanhale has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:29Rakshit[m]Is there a specific wiki where I can contribute a small guide to fixing Firefox scaling on MacBook Screens, because out of the box the density and ratio is messy. Fixing that requires overwriting of Firefox UI css using a userChrome.css config file
12:30Rakshit[m]Everything in the wiki was very OS specific so I'm not entirely sure, if I should create a new section or add under something?
12:32j`eymaybe a new page? Tips and Tricks, or something
12:33dottedmagThat's not very Asahi-specific. Any HiDPI-screen is affected, right? I remember seeing this information in Arch wiki, I believe.
12:33dottedmagSo maybe a list of links to HiDPI-related solutions?
12:35GlanzmannRy_Darcy: I got the email, but I don't really understand. This was after I fixed the issue? https://pbot.rmdir.de/GBgJyw6_6SZT0S7QYwidTg.png
12:35GlanzmannM1bn3mar[m]: dhcpcd wlan0
12:35GlanzmannOf course that is not the proper way to do it, but that worked for me.
12:35j`eyM1bn3mar[m]: ok, so no IP for wlan0
12:36j`eyGlanzmann: send Ry_Darcy the url, see if they can curl it manually
12:37M1bn3mar[m]so i need to run dhcpcd wlan0
12:38Glanzmannj`ey: I have my http log and I can see that he can access the file.
12:38RudraSaraswat|btwiusearchandubbtw, did anyone else get an error related to bputil not being able to update a policy in the second stage? (I think it could be specific to the Mac Mini)
12:38j`eyGlanzmann: heh
12:38RudraSaraswat|btwiusearchandub * btw, did anyone else get an error related to bputil not being able to update a policy in the second stage? (I think this error could be specific to the Mac Mini)
12:39Glanzmannj`ey: But ... he is not downloading the whole package but only beginning.
12:39GlanzmannHe also mentioned that he has a flaky internet connection. And I can see the access from three different internet providers in switzerland. And I assume all three are from Ray.
12:39GlanzmannBecause all ahve the same pattern.
12:43GlanzmannHere is my http log anonymized (I left the ip of my wifes laptop in): https://pbot.rmdir.de/zSu63zOdHq5qcuMV4po59g
12:44Ry_Darcy_ has joined #asahi
12:49darkapex1 has joined #asahi
12:51darkapex has quit [Ping timeout: 480 seconds]
12:52GlanzmannRy_Darcy: Any luck or still getting the error?
12:52chadmed has quit [Ping timeout: 480 seconds]
12:53GlanzmannRy_Darcy: If you still have no luck, the next step would that you set up a webserver on your lan and mirror all artefacts locally and use that mirror.
12:55Ry_Darcy_ has quit [Quit: Page closed]
13:00mpsRakshit[m]: do you have more info about FF fixing? and is it for xorg or wayland?
13:03darkapex2 has joined #asahi
13:04BitcoinCandyWarrior has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:04darkapex1 has quit [Ping timeout: 480 seconds]
13:04BitcoinCandyWarrior has joined #asahi
13:10darkapex2 is now known as darkapex
13:10BitcoinCandyWarrior has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:11BitcoinCandyWarrior has joined #asahi
13:17axenntio has quit [Quit: leaving]
13:22qiuren[m] has joined #asahi
13:27spookyzeb[m] has joined #asahi
13:27BitcoinCandyWarrior has quit [Ping timeout: 480 seconds]
13:35Ry_Darcy_ has joined #asahi
13:36Ry_Darcy_Wonders will never cease... coming to you from an M1 (2020) running Thomas Glanzmanns Debian. Danke Thomas.
13:36the_lanetly_052 has quit [Ping timeout: 480 seconds]
13:36j`eynice nice
13:36Ry_Darcy_About bloody time.
13:38GlanzmannRy_Darcy: What did you do?
13:38GlanzmannHow did you resolve the issue?
13:38GlanzmannDid you visit a friend with a salt fibre line?
13:38GlanzmannBecause that would be my next proposition. That we meet in Zurich at friends flat. :-)
13:39Ry_Darcy_Prefer Bern. People are less stressed. The French influence of course.
13:39vadeaway[m] has joined #asahi
13:40Ry_Darcy_One last point. After the message "Wrapping up..." and "Installation complete, press enter to reboot"
13:41ChainfireChromium with 16k pages working: https://drive.google.com/file/d/10Ch8V7QGTc5NR-YNMv-4Kw_IMOR-nyaB/view?usp=sharing ... Seems to work fine for me. Can I get someone with a 4kB kernel to test if it doesn't break, please?
13:42vadeaway[m]I just installed asahi with the minimal arch distro, i however noticed that it’s missing wpa_supplicant, for netctl or iw, so i’m unable to connect to internet.
13:42Ry_Darcy_Again a black screen (I waited five minutes). At this stage, I was prepared to call it a day and forget about things. I powered off the machine completely, waited 30 seconds, powered on again. Then came the Asahi stuff and Linux.
13:42Chainfire(just extract the .tar.gz and run the chrome binary from a (local) terminal)
13:43Ry_Darcy_Time for cigars, cognac and dancing girls!
13:43vadeaway[m]vadeaway[m]: Does anyone know a way around? MBA doesn’t have an ethernet port.
13:44Ry_Darcy_ has quit [Remote host closed the connection]
13:44Ry_Darcy_ has joined #asahi
13:44Ry_Darcy_or dancing boys. Whatever your poison is.
13:46j`eyvadeaway[m]: iwd should be in the minimal system
13:47vadeaway[m]Command not found
13:47j`eyiwctl?
13:47JasonAntwi-Appah[m] has joined #asahi
13:48vadeaway[m]Appreciated
13:48j`eyvadeaway[m]: arch wiki page is decent https://wiki.archlinux.org/title/Iwd
13:52AdwyzzOLEDEdition[m]iwd is the daemon, iwctl the cli configuration utility
14:06m6wiq1 has joined #asahi
14:08m6wiq has quit [Read error: Connection reset by peer]
14:13joheyI have followed the installation script until until the installation is complete and "press enter to reboot". I press enter. It reboots. Then everything is black. The screen is put to sleep.
14:14joheyI went with the desktop installation.
14:15joheyI can still boot in to macOS by turning off and long-hold power button.
14:15joheyMac Mini M1.
14:15tpw_rulesjohey: mac mini?
14:16joheytpw_rules: Yes.
14:16tpw_rulesthere's a lot of monitor compatibility issues with that right now. you'll have to try a different one
14:16tpw_rulesif you can disable auto source switching on your current one, that might help. or fiddle with turning the monitor on at the same time as the mini
14:16joheyAha! So the system might actually be up.
14:17tpw_rulesyeah, you just can't see it. the monitor gets one short chance to sync at boot
14:18m6wiq1 has quit [Remote host closed the connection]
14:20joheytpw_rules: Ok, thanks for the pointer! Now I know where to start.
14:20tpw_rulesthat patch fixed the issues for me, but it increases boot time a lot
14:21justeinkemp[m] has joined #asahi
14:24skipwich has quit [Quit: DISCONNECT]
14:25axboeChainfire: nice, can you share the diff?
14:25skipwich has joined #asahi
14:28joheytwp_rules: But turning off and on the monitor should make it sync anyway, no?
14:28Glanzmannjohey: Nope, we don't have a dcp driver in the kernel that is distributed.
14:28Quixote[m]<Glanzmann> "If you install all of them you..." <- ok, thank a lot, yeah, I have to use all you send me. I was trying just to install the linux-headers but anyways thanks a lot for your help
14:29Glanzmannjohey: As a result the display will only work when it is powered on, detected at boot and stays on.
14:29Glanzmannjohey: When you disconnect/connect or turn the display off/on it will no longer be possible to see something.
14:30Glanzmannalyssa first an later jannau working on the dcp driver. I saw a lot of commits in the past days, so maybe there is something to try.
14:30Glanzmannjannau: Is the dcp driver in a state were we can try it or should we wait? Were you able to fix the frequency change performance regression?
14:31GlanzmannQuixote[m]: The issue, I build the kernel and debian installer artefacts at least once a day, so I never know which exact kernel you have.
14:31Chainfireaxboe> I'm heading out right now, but it's just a few lines, I actually hardcoded to use 16kb instead of 4kb, as that *should* work on 4kb (still looking for that tester!), and that's what Chromium already did for PPC (4kb vs 64kb) as well. 64kb will not work due to max sizes in the allocator beyond my will and time to understand/fix. Built and works on Asahi 16kb for me.
14:32ChainfireI'll link you up later if you want. And submit to Chromium if it still works for 4kb users.
14:32Quixote[m]Glanzmann: I have exactly this: 5.17.0-rc7-asahi-next-20220310-12131-gbb583ca91538
14:33GlanzmannChainfire: Send me the patch as well, than I'll test it on 4k and 16k.
14:33joheyGlanzmann: Aha oki!
14:34Quixote[m]Glanzmann: wow!! you are the best!! thanks a lot!!! I owe you
14:35Quixote[m]I'm going to try right now!!!!!!!
14:35joheyMy monitor isn’t native hdmi. It has displayport and dvi. I’m using a dp-hdmi cable. I might be better off with a dvi-hdmi cable?
14:36GlanzmannChainfire: Binary works for me on 4k kernel.
14:36axboeChainfire: ran it, doesn't work for me. but hardcoded 16k was already a known solution, there's been patches for that for a while
14:36Glanzmannjohey: Yes, probably.
14:37joheyCool. Will see if I can find one.
14:37axboe(on 16k kernel here)
14:40axboeneeds to be dynamic for a real fix imho, or it'll break on 64k pages. might as well get it fixed properly once and for all
14:47MajorBiscuit has quit [Ping timeout: 480 seconds]
14:51rikkaa has quit [Quit: Connection closed for inactivity]
14:55eagles13[m] has joined #asahi
14:56eagles13[m]Can I donate Ethereum to the Asahi project?
14:56_inside has joined #asahi
14:57eagles13[m]Love what you're doing and would like to send over a couple of eth.
14:57j`eycan you not donate normal currency?
14:58_inside has quit [Remote host closed the connection]
14:58eagles13[m]It's sadly a lot of effort to liquidate 3-4 ether which is what I'd like to donate, and then send it over using traditional channels. I have plenty of liquid crypto but not much liquid fiat.
15:04eagles13[m]I did do some digging and apparently opencollective has support for crypto donations, so hopefully it wouldn't be too much effort for the project to accept them.
15:04eagles13[m]* accept them. If you have objections to PoW I can gladly donate a PoS token.
15:04j`eyyou'll have to wait for markan to reply, I got the feeling he wasn't interested in crypto
15:07ChaosPrincessyou yourself mentioned the reason why people might not want your crypto :P
15:07ChaosPrincess"It's sadly a lot of effort to liquidate 3-4 ether"
15:13eagles13[m]It does depend somewhat on where you are in the world. In Europe & the US it's pretty easy. Where I find myself now, not so much.
15:14kjm99 has joined #asahi
15:15eagles13[m]* so much. In any case, afaict marcan's objections lie mainly around the perceived wastefulness of proof of work, which is why I offered to donate a proof of stake token.
15:20tpw_rulesGlanzmann: there is already an issue filed i think
15:21brstream[m] has joined #asahi
15:22kjm99 has quit [Ping timeout: 480 seconds]
15:26kloenk has joined #asahi
15:35Fl1tzi[m]brstream: ?
15:37Fl1tzi[m]Is it possible to hibernate the system?
15:37j`eynot currently
15:38Fl1tzi[m]So I can’t really use the lid switch?
15:38j`eyYou can turn the display off
15:39Fl1tzi[m]Yeah but does that save much power?
15:40brstream[m]@Fl1tzi Excuse me, I was having trouble joining the room.
15:40j`eya little
15:40Fl1tzi[m]But it is a alpha so I understand that at this point it’s not really possible. Anyways, how do I turn the display off?
15:41Ry_Darcy_ has quit [Remote host closed the connection]
15:41brstream[m]On a M1 Macbook I tried clicking on the sideways (180 degree) display (without a connected external display). Now my installed Ahahi Linux is unusable! I can’t even move the mouse around on the sideways display, or login on boot. What to do…?
15:41j`eybrightness in KDE should just turn it off
15:42brstream[m]Is there a way to revert to initial install settings via boot loader?
15:43brstream[m]Even with the install script it’s not evident how to overwrite the existing installation.
15:43opticronyou basically have to blow away the partitions, let me find the link
15:44marcanyou can just ctrl-alt-F2 (that's ctrl-option-Fn-F2 on macbooks) and log into the text terminal and fix it there
15:44brstream[m]Ah! How would I access the display settings in the text terminal marcan?
15:44marcangood question :)
15:44marcandoes the problem affect the login screen too? (sddm)
15:45brstream[m]Yes. Initially the login screen comes up (I have auto login) and then it turns sideways and no keyboard or mouse response.
15:45Fl1tzi[m]j`ey: I‘m not using KDE (I installed it using the minimal version) and xrandr shows display „None-1“ but I was unable to turn the display off
15:45marcanif you have auto login then you don't really have a login screen
15:46marcanI guess you mean the startup indicator thing?
15:46brstream[m]Weird thing: when I closed the lid in that state, and then opened it again, I do see the desktop. But no mouse response.
15:46marcanyou can try rm -rf /home/<yourusername>/.local/share/kscreen
15:46marcanand then systemctl restart sddm
15:47brstream[m]Ok. I’ll give these a try. Thanks!
15:48marcanactually sudo systemctl restart sddm
15:48marcanassuming you log in as a normal user
15:49marcanRudraSaraswat|btwiusearchandub: the key is the "pairing" in that error
15:49marcanthat means the wrong boot option is set as default
15:49RudraSaraswat|btwiusearchandubmarcan: ah, thanks for the info :)
15:50marcanyou probably booted into macOS again at some point between the installer and the second step?
15:50RudraSaraswat|btwiusearchandubmarcan: nope, i don't think so (but i did boot into macOS after it gave that error)
15:50marcandid the installer finish successfully?
15:50marcanthe macos part
15:50brstream[m]marcan: Marcan, excellent! I’m able to see the hash-name json file in the kscreen directory. I’m guessing that the variable “rotation”: 2, needs to be set back to 1,
15:50RudraSaraswat|btwiusearchandubalso, i was interested in building https://twitter.com/ubuntu_unity for m1 macs (I'm the dev of Ubuntu Unity)
15:50marcanbrstream[m]: I'd just wipe the entire kscreen folder
15:51marcanthat's your monitor settings in general
15:51RudraSaraswat|btwiusearchandubmarcan: nope, it gave the pairing error
15:51marcanthat's weird...
15:51brstream[m]marcan: That did it! Brilliant!
15:52marcanRudraSaraswat|btwiusearchandub: try using the boot picker to set asahi as the default; it'll bootloop when the machine restarts, so force a shutdown with the power button, make sure it's really off, then power off holding again and try selecting it as usual
15:52brstream[m]Very helpful to know the key combo for getting into text terminal. Thanks
15:52RudraSaraswat|btwiusearchandubmarcan: sure, i'll try that
15:52marcan*power on holding
15:52Ry_Darcy_ has joined #asahi
15:53RudraSaraswat|btwiusearchandubalso, is it possible to boot regular ARM ISOs with the latest kernel
15:53marcanand I meant did the macos part of the installer, before the reboot, finish successfully
15:53marcani.e. telling you it's going to shut down
15:53Ry_Darcy_A simple run of hdparm on a freshly installed (Thomas Glanzmann) Linux returns the following results:
15:53Ry_Darcy_hdparm -tT /dev/nvme0n1p6 /dev/nvme0n1p6: Timing cached reads: 42832 MB in 1.99 seconds = 21479.81 MB/sec Timing buffered disk reads: 12024 MB in 3.00 seconds = 4007.68 MB/sec
15:54marcanlatest upstream kernel? that will boot on t8103 but if it's a 4K build only USB will work, and chances are there's missing config options for apple support
15:54RudraSaraswat|btwiusearchandubmarcan: I've built an Ubuntu Unity ARM ISO with the latest kernel and was wondering if it's possible to boot it on the M1 Mac Mini
15:54marcane.g. arch linux kernels don't boot at all and I haven't gotten around to figuring out why
15:54Ry_Darcy_Any comments on the results here. I am quite happy with them.
15:55marcanbasically unless you're a kernel dev building your own kernels anyway and running on a Mac Mini, I wouldn't really recommend upstream kernels at this point
15:55brstream[m]I’ve also been unable to connect to a WPA2 wifi network. The password is correct. Is this not yet working?
15:55marcanI can't vouch for any distro shipping builds that would work at this stage
15:55marcanbrstream[m]: WPA2/3 works in principle
15:55marcantry turning wifi off and on though
15:55marcanI've seen it be weird sometimes
15:55j`eyRy_Darcy_: results better than the older code you were using?
15:56Ry_Darcy_Yes. But be fair to Pipcet, the NVME code he was using was rather old...
15:56Ry_Darcy_Or not ripe if you would.
15:57Ry_Darcy_to be fair - all thumbs.-
15:57brstream[m]tried turning wifi off and back on. then it tries to connect to the wifi network and says “Connection ‘[SSID]’ is deactivated”
15:57brstream[m]another box says “No secrets provided” or something. Now it’s disappeared.
15:57j`eyRy_Darcy_: it's likely to get worse again though, right now flushes are being batched together, that may be removed
15:58marcanwon't affect reads though
15:58marcanjust synced writes
15:58brstream[m]Nevermind. My bad wifi works now.
15:58j`eyah yes, didnt see that was reads only
15:58brstream[m]wifi is now working. Thanks so much marcan!
15:59marcansorry if wifi is a bit flaky, though it's hard to tell what's "us" and what's general brcmfmac nonsense :)d
15:59marcandefinitely needs a bit of polish
15:59RudraSaraswat|btwiusearchandubmarcan: i would suggest documenting errors, since there's hardly any public info on the bputil command
15:59marcanone thing that is very helpful is if you can find reproducible steps for any specific issue
15:59brstream[m]no. i’m embarrased to say i typed in the password incorrectly
16:00Ry_Darcy_This is just a POC for me at the mo. I am happy with what I have. Considering yesterday´s shenanigans.
16:00brstream[m]what beautiful work this is! what a joy to use linux on an m1 macbook!
16:02Fl1tzi[m]j`ey: thanks for the help. I used `xset dpms force standby`
16:05RudraSaraswat|btwiusearchandubmarcan: also, is there a kernel package for Debian/Ubuntu which works with the M1?
16:05marcanI assume Glanzmann has something
16:06kjm99 has joined #asahi
16:07marcanbut really, for other distros, you're kind of on your own at this point; I'm happy to work with distro developers to help them add official support, but it's very hard to support every custom unofficial setup people might come up with right now
16:07j`eyand it's much better to spread the work anyway
16:08marcanthat's why we have a reference distro, so people can look at it and see how we do things and how they might translate to others, and so we can work on one platform/subset of the ecosystem
16:08Fl1tzi[m]marcan: I mean it’s already great to provide something like arch and I think the first thing to do is getting stuff ready and after that it’s possible to provide proper support for other distros.
16:09marcanlinux is too broad for our small team to support everything, we'd never get anything done; we've been making good progress because we were able to focus on the kernel, but we can't stop doing that now and switch to helping people come up with bespoke setups
16:09RudraSaraswat|btwiusearchandubmarcan: ah, I understand :)
16:09marcanthe assumption right now is basically that if you install our alpha you're at least competent enough with linux to drive around an Arch install and work with official documentation, and that if you want to roll your own something else, you get to work it out yourself :)
16:10jannauRudraSaraswat|btwiusearchandub: 'make -jN bindeb-pkg' in the asahi kernel should work
16:11ograffDoes the alpha installation run inside m1n1/the hypervisor or on bare metal (or does it matter). Alternatively, do I completely misunderstand how this works?
16:11marcanbare metal; the hypervisor is only for development
16:12marcanm1n1 is just a bootloader in this context
16:12marcanm1n1's hypervisor features are only a developer feature and only work with USB tethering to another host
16:12ograffTheoretically when I have time I’d love to help with development but perhaps I should focus on making useful bug reports / testing :)
16:13marcanbut of course for development you can (and probably should) use the hypervisor; everything that runs on bare metal also runs on the hypervisor (almost)
16:13marcanograff: detailed bug reports are great :)
16:14marcanand also writing docs would be very helpful too
16:14marcanI tried to write some useful ones like the m1n1 user guide, but there's a lot more to cover
16:14j`eym1n1 is magic
16:14Fl1tzi[m]marcan: BTW, Great work on the installer. Worked flawlessly.
16:14kjm99 has quit [Ping timeout: 480 seconds]
16:14marcanincluding stuff around common pitfalls and such
16:14marcanour wiki also currently has a lot of old content that should probably just be removed
16:15marcanFl1tzi[m]: thanks :)
16:15ograffI’ll read through existing docs, get asahi installed and see what improvements I can make
16:16alyssa has joined #asahi
16:16alyssaShrinking APFS data structures
16:17alyssaTime left: rand() * 14
16:17marcanalso, I tweeted this earlier, but something almost everyone here can do if they have a non-US/JP keyboard is figure out what, if any, of the available keyboard layouts works well, and if anything is wrong, and explain it in detail in a bug on our xkeyboard-config package
16:17marcanhaving a bad keyboard layout sucks and fixing it is night impossible for end users, so I really want to get that right
16:17marcanand fix all the brokenness in xkb
16:17marcanbut I absolutely rely on people to tell me what to do there, for localized layouts
16:18marcanand it has to be a very detailed explanation to do the right thing and understand how it should work, and what makes sense for linux
16:18alyssamarcan: Will let you know on my Canadian English keyboard which is totally not identical to a US keyboard
16:18marcanis it actually sold as canadian?
16:18alyssa(xkb *does* have a "Canadian" layout but it's for French)
16:18marcanalso wait is this an apple keyboard?
16:19alyssa2. Yes, but irrelevant -p
16:19Sobek[m]@marcan, once I have sorted my macos backup mess, I plan on testing a french kayboard MBP M1Max with 4TB, will let you know the best keyboard stuff when I get around to that. Thanks a lot for all the work !
16:19marcanI mean I'm specifically interested in all the apple-weirdness, which there's quite a bit of
16:19alyssaWhat is the difference between an US and a Canadian English keyboard layout?
16:19alyssaR: There's no difference except for the flag icon. It is presumably there so that Canadians don't have to be looking at the US flag all the time to type their language
16:19marcanSobek[m]: and also explain everything that's wrong with the best layout so we can fix it :)
16:20marcanI already fixed some bork in the japanese layout and added two tweaks to make the backslash exist somewhere... (which one you pick depends on preference)
16:20marcanand I still haven't even gotten around to seeding japanese IME configs, someone on twitter was already confused by that...
16:20j`eySobek[m]: luckily 4TB nvme is fixed now :)
16:20marcankeyboards are complicated
16:21marcanbut also if we don't care about this nobody else will, I guarantee upstream distros aren't going to be picking up random macs and testing layouts
16:21marcanso it's good to have this all prototyped and tested and upstream it
16:21* alyssadebates between UEFI environment and tethered boot
16:21marcanalyssa: you can have both
16:21marcanthere's that 5 second backdoor mode I mentioned
16:21alyssayeah, I mean for the installer asking me
16:21tpw_ruleshow do you trigger that?
16:22j`eyrun shell.py or something
16:22alyssaI guess UEFI environment gets the firmware copied over and allows a less nonsense boot
16:22marcanright, I mean if you pick tethered boot you're stuck with a m1n1 that can't chainload; if you pick UEFI you can always turn it into tethered forcefully by removing/renaming the m1n1.bin from the ESP
16:22j`eyalyssa: yup
16:22tpw_rulesi thought there was a key command
16:22marcanor engage the timeout backdoor
16:23tpw_rules has left #asahi [Textual IRC Client: www.textualapp.com]
16:23tpw_rules has joined #asahi
16:23tpw_ruleswhoops, wrong button. thanks
16:23alyssaRealistically I'll end up fscking with my boot flow so defaulting to the UEFI environment is the sane option
16:24marcanalso for the HV you still need to clobber xnu with m1n1 separately
16:24marcanand that would always be tethered of course, at least normally
16:24marcanbut I usually always have both
16:24marcanclobbered macos for shenanigans/tethered boot, and a standalone uefi chain
16:24marcanyou can always have the macos side boot the linux filesystem anyway
16:25marcanat least until we start using SEP maybe possibly, we'll see
16:25marcanbut I assume people doing this know what we're doing :p
16:25alyssaI had HV capabilities before, think I'm relinquishing that for today because let's be real I don't want to deal with kernel side
16:26alyssa(I mean. If there's a HV trace I can look at I'm not opposed to kernel dev. But I don't need that capability on my one and only machine.)
16:26alyssa(And in a pinch I could stick m1n1+hv on top of my regular macOS and just not tell marcan because they'll hate that)
16:26marcanit sure helps I have a pile of them... right now my Mini is my main victim for dev, my M1 Pro formerly was but has now become the main Asahi build box, and then the Air/MBP alternate duties of testing the installer/macOS stuff/clean Asahi reinstalls
16:27marcanthe nice thing about the Mini is it has HDMI so it's the only one I can nicely show on stream :p
16:27marcan(and now it's back, after the 12.0 nonsense)
16:28Sobek[m]<marcan> "Sobek: and also explain everythi..." <- That's the plan. I'm probably going to make a big ugly text file with what macOS does, what the linux layout does and any really stupidly wrong thing that must be fixed (in addition to difference where people may argue Linux is doing better), checking Shift, Alt, Alt+Shift, etc.
16:29alyssamarcan: OK silly question but how did you make the Linux partition boot to 1TR and open asahi script magically
16:29j`eythat was VinDuv's work :D
16:29marcanit's the USB installer feature
16:29alyssaI am so confused
16:29marcanruns a macOS .app from a boot volume
16:29j`eyhe found this IAPhysicalMedia.plist magic
16:29marcanit's magic™!
16:29marcanand amazing
16:30alyssais Apple, like, OK with this?
16:30marcanI mean, we aren't actually booting *to* 1TR, you do that by holding the button
16:30marcanand I'm pretty sure you still get a password prompt if you have FileVault
16:30kjm99 has joined #asahi
16:31alyssaok, got myself to broken U-boot
16:31marcanthe hack is we set it as default, *then* drop that file so it becomes a weird quantum superposition of bootable volume and USB installer volume
16:31alyssaI guess I can take it from here
16:31marcanso if you boot normally it tries to boot normally (and fails since it's not kmutil'd yet)
16:31jannaumacbook pro 14/16 has hdmi as well und looks identical to dcp/disp0 except that iboot doesn't powers it on
16:31marcanbut if you open the picker, it sees it as a USB volume, since we also de-legitimize it as a boot volume for its purposes by moving another file
16:31alyssajannau: ...and you need atcphy stuff, no?
16:31alyssaor is it physical hdmi?
16:31marcanand then the second stage script swaparoos those things around to nuke the USB installer mode and switch it into a legit boot volume
16:31svenatcphy stuff is 90% done
16:32marcanthen you reboot and voila
16:32alyssasven: :O
16:32svenjust needs a few more DisplayPort pokes to bring up some “dpphy”
16:32jannauit's physical hdmi, looking exactly like the mini hdmi
16:32j`eyI didnt realise the 14/16 had a physical hdmi port
16:33svenbut I can already configure the lanes and everything to displayport
16:33alyssajannau: Nice
16:33marcanjannau: it isn't
16:33marcanit's just atcphy plugged into dp2hdmi
16:33alyssa...Why would they do that?
16:33marcangood question"
16:33marcanI guess they really wanted an HDMI port instead of another thunderbolt port?
16:33AdwyzzOLEDEdition[m]quite a few devices do that
16:33alyssa(If the Mini is real HDMI? ...or is the Mini also fake HDMI?)
16:34marcanit's different
16:34alyssaI know the Mini's HDMI is internally dp
16:34marcanthe mini is LPDP plugged into the same converter
16:34alyssabut no fake type-c in there I don't think
16:34marcanbut it's not atcphy
16:34marcanit's a dedicated DP PHY
16:34marcan(and much smaller)
16:34marcanthere's also a *second* DP PHY apparently, unused?
16:34marcanbut I don't think there's a disp1? so I'm not sure how that's supposed to work
16:34marcanthere's also, like, unused USB3 ports
16:35marcanthese chips have a lot of unused things
16:35marcanand it's kind of hard to discover stuff that's not in the ADT and unused by xnu
16:35marcanI should do a brute force mmio scan one day...
16:35marcandid that for the wii once but that platform was... simpler
16:35buntudu[m] has joined #asahi
16:35marcan(and full of mirrors, at least I think these things don't really mirror regs in weird places)
16:35sventhe only mirrors I’ve seen is just next to each other
16:36marcanI've seen that for smaller peripherals
16:36marcanlike sub 1 page
16:36marcanbut no weird higher level mirroring
16:36* povikhas been poking at undocumented ADMAC and MCA instances recently
16:36marcanpovik: yes :D
16:36sveniirc I also saw it for maybe dwc3
16:36povikthanks to the power domains there's some order to it
16:36svensomething bigger than a few pages
16:37svenand it was then just mirrored at start + 0x10000 (offset made up, but you get the idea)
16:37j`eyand darts?
16:37svenmight’ve been darts and not dwc3 actually
16:37j`eyI thought there was some mirroring there
16:37alyssasven: we should backport the piece of the kernel to old debian
16:37alyssaso we can have DARTs in bullseye
16:38marcanpovik: nice trick with the power domains
16:38svenalyssa: I’m not gonna stop you!
16:39marcanhave I mentioned that my keyboard, as in the piano kind, is running an ancient kernel with a modern xHCI driver backported to it?
16:39Fl1tzi[m]marcan: I think I actually have a broken keyboard layout. Two buttons are switched
16:39marcanbecause I upgraded the motherboard but nothign has EHCI any more :p
16:39Fl1tzi[m]I‘m using the german layout
16:40marcanFl1tzi[m]: cool! can you check the different xkb variants and see if anything fixes it, and what exactly is switched and how it should work? and file it at https://github.com/AsahiLinux/xkeyboard-config
16:40jannauargh, yes. it's on atc3-phy. how did I convince myself it isn't? Did I forgot to check and remembered the results from the mac studio?
16:40marcanwould love to have a detailed report for each regional layout :)
16:40Fl1tzi[m]marcan: Im going to try (:
16:40cadawerum1[m] has joined #asahi
16:41alyssasven: I just want the pun ok
16:41svenif someone gets dcpext up in Linux I’ll see if I can manage to convince atcphy to talk to it and bring up whatever the next calls dpphy as well
16:41svenotherwise thunderbolt is up next
16:41RudraSaraswat|btwiusearchandub<marcan> "Rudra Saraswat | btw i use..." <- the startup disk selector (after booting into the recovery) only shows macOS
16:42marcanwait did it show the asahi stuff the first time?
16:42marcanotherwise how did you end up running the script?
16:42svenjannau: or if you want to try it yourself: the code to configure the lanes for DP is already in my branch
16:42marcanahh wait, hold on
16:42marcanthe USB boot stuff might not work with that
16:42svenjust make sure it happens in the usb mode switch because dwc3 will hate you otherwise
16:43RudraSaraswat|btwiusearchandubit did show asahi when booting, but the startup disk selector (from the recovery utilities) only shows macOS
16:43marcanbecause of the hijack thing we do
16:43marcanso I don't know if bless works, but try
16:43marcandiskutil list
16:43marcanfind the Asahi partition (the APFS stub)
16:43marcanbless --setBoot --device /dev/disk0<whatever>
16:43marcanthen you can just shutdown -h now
16:43kjm99 has quit [Ping timeout: 480 seconds]
16:43alyssathe release m1n1 (bputil'd in), it chainloads automatically ESP/m1n1/boot.bin? and that boot.bin is a m1n1.bin that I can replace with my own (debug) m1n1?
16:44marcanalyssa: yes, if you installed in UEFI mode/etc (since it has to configure the ESP PARTUUID to look for)
16:44marcanand that is correct
16:44marcanbut also if you just move it away, it'll fail to load it then fall back to proxy mode and turn on the console at that point
16:44j`eyalyssa: the installer installls boot.bin is a combined m1n1+uboot
16:45marcanright, with the DTBs
16:45marcanbut it can be any m1n1
16:45marcanyou could concatenate a kernel too if you really wanted
16:46jannausven: I think dcpext bringup is just replacing dcp/disp0 with dcpext0/dispext0. the powerup issue is then hopefully just the atc phy config
16:47svenoh, interesting
16:47jannauI can try that
16:47RudraSaraswat|btwiusearchandubmarcan: just realized macOS doesn't have a `poweroff` symlink to `shutdown` lol
16:48marcanjannau: good chance it'll hit some unimplemented callbacks though, since it's a bit different
16:48marcanbut yeah
16:48alyssamarcan: j`ey: k, thanks :)
16:48alyssaI admit I'm tempted to install a combined m1n1+kernel there but whatever, tethered boot first
16:48GlanzmannRudraSaraswat|btwiusearchandub: https://alx.sh/w/Debian
16:48marcanI mean I won't stop you
16:48marcanand now that we have chainloading that's actually a valid, if a bit weird, approach
16:48marcanif a distro wants to not have any "normal" bootloaders
16:49marcanthough given the PSCI stuff that we're probably doing via u-boot, I think u-boot will be required for sanity in the future
16:49GlanzmannRy_Darcy_: I'm also happy with the NVMe performnace on the macbook. In the old days we had an issue with slow random writes but axboe fixed that for us.
16:49marcanI always hated people concatenating kernels for *kmutil* stuff, that's just wrong...
16:49marcanbut with chainloading it's a lot less crazy
16:49alyssawhy does new m1n1 look so weird
16:50alyssaIdk it looks different
16:50alyssai guess too many lines of logs from the DCP init
16:50marcaner, I don't think we changed anything?
16:50j`eyare you sure thats not uboot? :P
16:50marcanwell that yes
16:50marcanwe do have more things in there
16:50alyssait's the dcp init vs real fb lol
16:50marcanyeah the dcp init on the mini is extra
16:51marcanalso nvme which is another instance of rtkit
16:52alyssaUmm I guess this gives me tethered boot so Linux "should" work now once I revert out my 11.x crap
16:53alyssaUprev today, woo.
16:53alyssaaka the "deal with marcan's nags day"
16:54marcan... she said, half a year later
16:54RudraSaraswat|btwiusearchandubmarcan: is it possible to use a 1440p 144hz monitor (systemsettings5 only lists 1080p as an option)?
16:55marcanRudraSaraswat|btwiusearchandub: not until DCP is in
16:55marcanthere is no modesetting at all
16:55alyssamarcan: It's only been half a year?
16:55alyssaSpeaking of, DCP time..
16:56alyssa(Debian booted off a random USB disk I had with an arm64 debian rootfs lying around)
16:56alyssathat's a normal thing to have right
16:56alyssav useful
16:56* marcanlooks at his random arm64 arch rootfs on a stick
16:56marcanpretty sure that's normal
16:56alyssait even has 3D acceleration!!
16:56marcanmine has a full KDE desktop!
16:56alyssa^for nextgen malis, not apple
16:56AdwyzzOLEDEdition[m] is now known as AdryzzOLEDEdition[m]
16:56alyssaok i guess there's current gen now but that's depressing
16:58* alyssarebuilds jannau's tree
16:58alyssaI guess I should really be uprevving the kernel too while I'm at it
16:58alyssadreadfully boring
17:01alyssajannau: "Reference only swapped out framebuffers" thank you for fixing that lol
17:01Rakshit[m]<mps> "ジャイナ教Rakshit: do you have more..." <- Mmm Firefox doesn't work well with HiDPI displays since UI scaling is limited to elements and not font. (I'm using default Xorg)... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/BkfBXKqWWtHsPGMgnKCVzuGg)
17:02kylealanhale has joined #asahi
17:03marcanRakshit[m]: you need to go to system settings and set the UI scale to 150%
17:03jannaualyssa: dcp has become a little complicated due the reserved memory handling. It needs a modified m1n1 (chainloading is sufficient) and is incompatible with u-boot
17:03marcanit already *is* at 150% at the xorg side, but for some reason neither that slider nor firefox pick it up
17:03alyssajannau: OK
17:03marcanneed to figure out where they're getting that from
17:04marcanif you do that you don't need to do anything else
17:04alyssajannau: It's working on the m1n1 I chainloaded, and I don't use u-boot, sooo :-p
17:04joheyIs dcp the monitor sync thing?
17:04marcandcp is the display controller
17:05marcanright now linux is using a dumb framebuffer
17:05marcanno actual display driver at all
17:05marcanjust a generic one
17:06j`eyI ocassionally get weird glitches on the framebuffer console, if I run dmesg or somethng that does a lot of output
17:06joheymarcan: At this very moment mine is even less. Just a monitor claiming to have no signal. But I got it all explained.
17:06alyssajannau: .....Why does regular m1n1 without those commits work then? :-p
17:06alyssaoh because it's an older DCP branch right
17:06jannauwith dcp? do you still have a dcp branch with walk_pages?
17:07alyssayeah, I'm rebuilding the kernel now
17:07doggkruse has joined #asahi
17:08marcanjannau: that region-id stuff worries me
17:08marcanI'm not sure those IDs are stable
17:08marcandoes xnu really use those?
17:08marcanI stayed away from doing that because it doesn't seem right
17:09jannauthey seem to be stable over macos 11 and 12 and for t8103 and t600x
17:09marcanstill...
17:10jannauit seemed slightly less bad than scanning the darts for mapped regions
17:11jannaunot sure what xnu does, it could simply not touch the disp/dcp DARTS
17:11svenit doesn’t
17:11Rakshit[m]<marcan> "ジャイナ教Rakshit: you need to go..." <- I tried that, but Firefox doesn't consistently scale entire UI and apparently it's scaling does not work for frictional values like 158dpi/96dpi = 1.64
17:11Rakshit[m]So for now the only solution is custom config
17:12svenit gets the level 1 page tables address somewhere
17:12svenand then the second level address as well
17:12marcanit looks fine for me at 150% (144dpi)
17:12jannauit is in the ADT
17:12svenand that’s the only region it doesn’t touch
17:12Glanzmannalyssa: I also put a Debian live system that you can use to boot from usb stick: https://alx.sh/w/Debian basically it is what you told me year ago evolved you can also install packages in ram.
17:12Rakshit[m]marcan: Oh 🤔
17:13jannausven: pt-region-0 / l2-tt-0
17:13svenyeah, that
17:16jannauI guess I should try to crash xnu/dcp by modifying the regions in the ADT
17:18Ry_Darcy_@Glanzmann Chapeau for your efforts and help. With my present setup, am I stuck at 5.16-rc7 or will ftp.fau.de pick up the latest kernel versions/minor releases also?
17:19Ry_Darcy_should have read 5.17-rc7
17:20Ry_Darcy_A further qualification Asahi kernel versions/minor releases.
17:22bluetail[m]<Glanzmann> "alyssa: I also put a Debian live..." <- Wait. I will try that to verify my claim macOS is "breaking" video signal for me, not the actual hardware.
17:22bluetail[m]I will report back ASAP
17:23bluetail[m]I can boot it just like other media right?
17:23bluetail[m]I did hope I could hold option and boot it from USB
17:23nicolas17 has joined #asahi
17:27bluetail[m]I mean I can watch the video https://tg.st/u/live.mp4 but I feel tired. Goodnight
17:30GlanzmannRy_Darcy_: The kernel in Debian is to old to run m1n1. Once the stuff we have in the asahi branch is upstream debian will pick it up after a few months.
17:31GlanzmannRy_Darcy_: So I build the kernel at least once a day using the lastest asahi branch.
17:31GlanzmannRy_Darcy_: So you can run as root the following script to boot m1n1 (stage2) and the kernel: curl -sL tg.st/u/ksh | bash
17:32Glanzmannbluetail[m]: So you need an asahi install. Than i u-boot interrupt the boot process by pressing a key and than you can say 'run bootcmd_usb0' and it will boot from usb
17:32Glanzmannbluetail[m]: Also note that Debian has a serial console for grub and serial log in.
17:33Glanzmannbluetail[m]: Option key press does not work.
17:33Glanzmannbluetail[m]: the m1 macs can not boot from external media unless it is chainloaded from something that is on the nvme ...
17:34GlanzmannRy_Darcy_: Btw. you can also build the kernel by yourself. I put the instructions here: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blob_plain/refs/heads/master:/bootstrap.sh and keep them up2date.
17:34bluetail[m]What do you mean with serial login? Console? All I want to test is Firefox (just a image)
17:34Glanzmannbluetail[m]: So you have already asahi installer installed?
17:34Ry_Darcy_@Glanzmann that means I wipe out my existing installation oder? :)
17:34bluetail[m]No. But I got it. It's a hook, so I have to follow the guide. I didnt do anything yet.
17:35GlanzmannRy_Darcy_: You deinstall your current kernel and replace with the most recent one.
17:35Ry_Darcy_via apt oder :)
17:36GlanzmannRy_Darcy_: The problem is we currently don't have a stable dtb because we're moving fast. So as a result the dtb (which is in m1n1 stage 2) needs to be in sync with the kernel. So as a result you need to sync the dtb (device tree) with the kernel install.
17:36GlanzmannLater when things have calmed down in a year or two than the dtb will be stable.
17:36bluetail[m]By the way, if you instruct somebody... Do A, **then** do X.. "Than" is a comparision. Smaller "than". Bigger "than".
17:36bluetail[m]But who cares. I'm a big fan of you Glanzmann.
17:37Ry_Darcy_Fear enuff = fair enough. Thx.
17:37Glanzmannbluetail[m]: Hrhr. SOmeone already wrote me an email about this. If I write a text I
17:37Glanzmann'll spot it but when my son is on my shoulders, I'll not spot it. :-)
17:37bluetail[m]I wasn't it
17:38Ry_Darcy_@Glanzmann zerfleddert is a good name. Just as good as Dachschaden..
17:39GlanzmannRy_Darcy_: At the moment I have no repository for Debian. So unless you initiate the kernel update manually you will stick with it. I'm at the moment not comfortable doing that because I'm afraid that someone updates the dtb without the kernel or vice versa and renders his/her system unbootable.
17:39Ry_Darcy_Vrestanden.
17:39Ry_Darcy_Verstanden.
17:39Ry_Darcy_All thumbs.
17:39GlanzmannRy_Darcy_: hrhr. It is not my domain, a domain of a friend. I was to lazy to setup gitweb and did not want to put it on github so I ended up putting it on his server.
17:40bluetail[m]alyssa=alyssa rosenzweig?
17:40alyssaShe is not known for her ability to use IRC
17:41bluetail[m](confused). I assumed you are the person who does mainly work on gpu drivers for the m1. I just wanted to confirm you are that person.
17:41Ry_Darcy_Proud girl. Neither am I.
17:50s3thi has joined #asahi
17:51kjm99 has joined #asahi
17:51kjm99 has quit []
17:51s3thi has quit []
17:52alyssagraphical disk utility is so useless
18:01bluetail[m]<alyssa> "graphical disk utility is so..." <-... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/FJeVmTbfxpspgIUkkalWHDfi)
18:04LuEvers[m]marcan: would it be a good idea to add a kernel with 4k patch applied to the repo?(linux-asahi-4k / -headers) i've written a pkgbuild for it, that sources the normal linux-asahi pkgbuild
18:06GlanzmannLuEvers[m]: marcan deliberately put a 16k page kernel in the reference distribution so that things break and people complain.
18:06GlanzmannI followed jannaus advice and put a 4k kernel in Debian because to many people were complaining that chrome and other webkit stuff does not work.
18:07GlanzmannBut probably it would be best to let the user choose the pagesize they want. 4k doesn't break that much 16k has ~20% better compile performance.
18:07LuEvers[m]yeah the 16k can stay default (and come with the ashai img), but having an entry in troubleshooting to fix crhomium/electron related things wouldn*t be that bad
18:08AdryzzOLEDEdition[m]i think that keeping 16k as the default has a few benefits:
18:08AdryzzOLEDEdition[m]it makes other software want to fix their issues with 16k pages as M1 isn't the only end user to those fixes
18:09AdryzzOLEDEdition[m]because ultimately the problem comes down to "it being too much of a hassle to fix unless enough users benefit from it" as far as what i have seen
18:10GlanzmannAdryzzOLEDEdition[m]: I understand the reasoning, but when I shipped Debian with a 16k kernel people complained to me that stuff does not work, so I decided to go 4k again.
18:10LuEvers[m]sure :) that's why it just could be packaged and come not as default for the normal user (that isn't able to compile with patches) not to scare away by basic non-working everyday apps
18:10ore has joined #asahi
18:11meenmachine has joined #asahi
18:11AdryzzOLEDEdition[m]i mean just chromium being fixed would inherently fix most issues
18:14nico_32i seem to remember that the 16k pagesize was because a hw limitation on thunderbold
18:15Fl1tzi[m]marcan: I created a pr for the lay-out fix.
18:15nico_32something like the iommu doesn't have 4k granularity
18:16clover[m]@[Lu Evers] link to linux-asahi-4k?
18:16Glanzmannnico_32: There is a patch from sven: b4 -o - 20211019163737.46269-1-sven@svenpeter.dev | git am # Discussion: https://lore.kernel.org/linux-iommu/20211019163737.46269-1-sven@svenpeter.dev/ https://tg.st/u/iommu.patch
18:17meenmachine has quit [Read error: Connection reset by peer]
18:18LuEvers[m]clover: that patch
18:19Glanzmannnico_32: With that patch you can have 4k page size, but don't break the iommus.
18:20MikaB[m] has joined #asahi
18:20clover[m]i was hopeing your pkgbuild was published somewhere
18:21Glanzmannj`ey: Did sven send the nvme/rtkit stuff?
18:21j`eynot yet
18:21MikaB[m]sorry to interrupt, but I was wondering why hdmi is working on the mac mini but not on the macbooks. Has it to do with primary/secondary outputs or are the hdmi ports on the macbook on an entirely different subsystem?
18:23LuEvers[m]clover[m]: gimme a minute, struggling to get a different-named package out of the build
18:24LuEvers[m]i'll open a pr
18:25Glanzmannj`ey: I see, thank you.
18:27m6wiq has joined #asahi
18:28sventhat lock issue still annoys me and kinda prevents me from sending it *sigh*
18:29j`eysven: send it anyway.. can think about it over the next few revisions.. :)
18:29Glanzmannsven: Yes, please send it anyway, we will figure it out eventually and fix it.
18:30Glanzmannsven: If there is anything I can do to help with giving you access remotely or testing more stuff, let me know.
18:30svensure, i first need more ideas what might cause it though :D
18:37george has joined #asahi
18:37george is now known as Guest2647
18:42gsora[m]Anybody here running FDE on root?
18:42gsora[m]I might start running asahi regularly and I’d like to have root encrypted
18:45buntudu[m]Does rotating the screen on Asahi work for anybody else? For me it just rotates, freezes, and then defaults back to normal.
18:45j`eysomeone else had issues too, unless that was you earlier
18:46meenmachine has joined #asahi
18:47alyssa/dev/nvme0n1p5 let's go
18:50THX1984 has joined #asahi
18:56yuyichao_ has joined #asahi
18:57meenmachine has quit [Quit: Textual IRC Client: www.textualapp.com]
18:57yuyichao has quit [Read error: Connection reset by peer]
18:57meenmachine has joined #asahi
19:08nicolas17huh, I edited the wiki and it Just Worked, I thought it would say I have no access and send some kind of pull request... (I'm not too experienced with github >.>)
19:14giskard has quit [Quit: Textual IRC Client: www.textualapp.com]
19:17vadeaway[m]Is there a discord?
19:18vadeaway[m]Also how would i get my fn buttons to work again
19:18vadeaway[m]Brightness etc…
19:18j`eydepends on the DE
19:19vadeaway[m]Good one haha
19:22Guest2647I've built a kernel using the instructions here: https://github.com/AsahiLinux/docs/wiki/DesktopKernel but how would I go about installing the Image.gz file?
19:22Guest2647 has quit [Quit: Leaving.]
19:22george1 has joined #asahi
19:24george1 has quit []
19:41LuEvers[m]sven: is there anything i should pay attention to while applying the 4k-pages patch you*ve written? I added it with "patch -Np1 " to the kernel source, but after installing the package / kernel it still shows me pagesize 16384
19:41svenyou also need to change the page size in the kernel configuration
19:42LuEvers[m](I'm doing it with makepkg to package it, so no git allowed here)
19:43alyssa"A start job is running for /dev/nvme0n1p4" alyssa what did you botch this time
19:45nico_32kernel module missing? :)
19:47meenmachine has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:49alyssaprobably
19:49alyssaor my frankendebian is catching up to me
19:50pj1 has joined #asahi
19:51alyssastill trying to do "start job is running for /dev/nvme0n1p4" that doesn't exist anymore, grumble
19:51doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:53doggkruse has joined #asahi
19:58m6wiq has quit []
19:59THX1984 has quit [Remote host closed the connection]
20:09doggkruse has quit [Ping timeout: 480 seconds]
20:13m6wiq has joined #asahi
20:15marcanMikaB[m]: HDMI on the macbook is internally connected to a thunderbolt port. HDMI on the mac mini is internally connected to a DisplayPort port.
20:16marcanpushed an installer update with better network robustness, a somewhat crude progress display, and possibly a bit faster with the downloads
20:16MikaB[m]Oh I see. And as thunderbolt is not supported yet, so is HDMI. Makes sense. Thanks!
20:16marcanspecifically DisplayPort over the Type C ports is not supported
20:16marcanwhich is what that uses
20:17marcanwhile the native DisplayPort controller is (mostly because we don't have to do anything for it at all)
20:17vadeaway[m]installer updates, are also included with system updates?
20:17marcanno, because the installer is for when your system isn't installed yet
20:18MikaB[m]I see. My next question would have been why HDMI output on the mac mini works while the last blog post states that DP does not yet work. But that has now been answered. Thanks!
20:18vadeaway[m]aah, so so imma have to re-install every now and than? thats what you're saying right?
20:19marcanno, the installer update doesn't matter for people who have already installed
20:19mpsvadeaway[m]: asahi installer is for setup macos and install basic thing to run linux, and possibly install Arch linux
20:19marcanit's literally the installer
20:19vadeaway[m]ah alright lmao, thought perhaps a lower layer of importancy.
20:23kylealanhale has quit [Quit: Textual IRC Client: www.textualapp.com]
20:32PaterTemporalis has joined #asahi
20:32svenmood of the week or maybe even month at this point ;)
20:33mpsj`ey: :D
20:38chengsun has quit [Quit: Quit]
20:38chengsun has joined #asahi
20:38m6wiq has quit []
20:39trouterI've taken the liberty of creating an FAQ page and sprucing up the wiki home page a little. I added a couple things from above to the FAQ as a starting point...
20:41trouterInterestingly, I cloned the wiki locally (git@github.com:AsahiLinux/docs.wiki.git) and it gave me a permission denied message, but editing through the GitHub UI works fine
20:41trouter(permission denied was on push, fetch is fine)
20:42meenmachine has joined #asahi
20:44mpsLuEvers[m]: I doubt it will ever merged
20:46AdryzzOLEDEdition[m]<trouter> "Interestingly, I cloned the wiki..." <- github's wiki system is kinda of a mess imo. it uses git but then there are no pull requests on the interface and stuff
20:47LuEvers[m]mps: kk, would it be better pushing it to AUR
20:48LuEvers[m]or are 4k pages so bad xD
20:48clover[m]I'd like to see it on AUR
20:49mpsLuEvers[m]: marcan want software author to fix this to not depend on kernel, and I agree with this
20:49clover[m]idc that much about faster compile times, i just want to use VS Code
20:49LuEvers[m]mps: i understand and agree too
20:49mpsLuEvers[m]: though I build kernels with this patch because f2fs doesn't work with 16K page size
20:50mpsand for now I build kernel for alpine with this patch but would like to get rid of it
20:51svenmaybe I should just get this upstream and then it’ll trickle down to asahi anyway ;p
20:52LuEvers[m]mps: my thought was at least make it user-friendly, to patch the kernel, if needed. having chromium-apps (which there is a lot of) makes asahis publicity bad. this would be an easy quick-fix for those just looking to install, fiddle 2 hours around, and re-boot to macos, and leave an "asahi is great!" instead of an " asahi is buggy, my fav browser didn't work".
20:53LuEvers[m]but yeah, I'll try to get it to aur, until we won't have the asahi kernel anymore.
20:56pj1Hi! I've tried the alpha on mb air. Got stuck in "Extracting root.img into disk0s7 partition..." (probably because of sleep when screen went blank?). Is there a way to tell the installer to use previously created partitions instead of shrinking the macos one again?
20:56M0x8FF[m]hm for some reason internet still isn’t working on minimal isntall
20:57M0x8FF[m]i connected to my internet with iwd/iwctl
20:57M0x8FF[m]however the asahi mirrors are broken? almost
20:57M0x8FF[m]Sorry for the horrendous screenshot
20:57dottedmagThat is, resolver is misconfigured
20:58clover[m]is there a way for the installer to caffeinate macOS while its running so users' machines don't fall asleep mid-install?
20:58j`eyclover[m]: yes I think so, I think thats built in now isnt it?
20:58MikaB[m]you could ask them to enable caffeine for a better installation experience?
20:59j`eypj1: there isnt, no
20:59LuEvers[m]clover: pmutil could do this with root privileges, but i think it's permantent
21:00j`eyLuEvers[m]: caffeinate already does that
21:00M0x8FF[m]how can i fix the dns issue then
21:00LuEvers[m]0x8FF / shulkk: can you dig google.com
21:00LuEvers[m]and show what it tells?
21:01M0x8FF[m]multiple different answers
21:01LuEvers[m]what DNS server is it showing?
21:01M0x8FF[m]one is telling me to use some dnsresolv cli tool and another to edit /etc/resolv.conf
21:01M0x8FF[m]what DNS server is it showing?
21:02LuEvers[m]dont edit /etc/resolv.conf, it's managed by a service
21:02M0x8FF[m]wdym by > what DNS server is it showing?
21:02Ry_Darcy_ has quit [Remote host closed the connection]
21:03LuEvers[m]there should be a flag to show the dns server
21:03LuEvers[m]ah well it shows localhost with sysd-resloved
21:04LuEvers[m]it should show you the currend DNS servers
21:04LuEvers[m]try: resolvectl
21:04M0x8FF[m]Cloudflare 1.1.1.1
21:06alyssahow many debian developers does it take to boot a lightbulb
21:07LuEvers[m]they don't support lightbulbs, too new
21:08M0x8FF[m]i really wish they kept nmtui in 😅
21:09mpssven: with around 20% slowdown it will be accepted in mainline ;)
21:11mpsLuEvers[m]: adding this patch should be left to distros to decide
21:11nexus7556 has joined #asahi
21:12mpsLuEvers[m]: sven did a great work making it and I'm happy to use it (thank you sven)
21:12sveni mean… the slowdown is caused by 4K vs. 16k and not by that patch
21:12LuEvers[m]mps: i haven't really even looked into it.
21:12mpsyes, but ...
21:12LuEvers[m]but i will
21:13mpspersonally for me this slowdown is not big problem
21:14trouter has quit [Quit: ZNC 1.8.2 - https://znc.in]
21:14gsora[m]Is it even that noticeable?
21:15j`eyprobably not for daily usage
21:15mpsI even don't notice much diff working with 4K or 16K kernels in daily work
21:15mpsgsora[m]: yes :)
21:15gsora[m]I wonder what workloads are affected up to 20%
21:15tpw_rulescompiling is like 25% slower on 4k
21:15mpsgsora[m]: building kernels for now in my case
21:16LuEvers[m]ive compiled the 4k kernel with the 16k and 4k kernels booted, and didn't notice such a big slowdown... maybe because the m1 is already fast
21:16alyssa has left #asahi [#asahi]
21:16trouter has joined #asahi
21:17tpw_rulesi mean i doubt you can really notice it per se without using `time` but it's trivial to measure
21:17mpsfor example compiling crystal programs in my tests slowdown is around 10%
21:17gsora[m]And x86 stuck with 4K pages just for convenience more than anything else I guess
21:18mpsbut kernel builds are 20-25%
21:18mpsgsora[m]: some arm64 cpus can't work with 16K pages
21:19tpw_rulesi think m1 is the only one that can?
21:19tpw_rulesand possibly its predecessors
21:19mpssome = most
21:20m6wiq has joined #asahi
21:20mpstpw_rules: maybe some newer cpus can, but I don't own any of them
21:20gsora[m]mps: I see
21:21mpssomeone told that ubuntu build some kernels with 64K page size
21:21tpw_rulesRHEL used to
21:21mpshow and where it works I have no idea
21:23mpshah, it is for ppc64
21:24gsora[m]Is it? The url says arm64 though
21:24gsora[m]And I see thunderx mentions :P
21:29mpsiirc I had access to thunderX year or two ago, and now have access to neoverse-n1 but didn't looked how page size can improve performance
21:30mpshmm, running alpine from usb flash gives me a lot of problems while it works fine from usb ssd disk
21:31sheepgoose has joined #asahi
21:32gsora[m]The neoverse n1 always seemed cool, wanted to run it as desktop but didn’t have enough $$$ to get one
21:32mpsgsora[m]: building kernel on m1 mbp is faster than on neoverse-n1
21:33mpsthough I use it in lxc container on neoverse-n1
21:34gsora[m]mps: oh well. I have a 14” mbp now, much better machine overall
21:34oz81dog[m] has joined #asahi
21:35mpsgsora[m]: could be because neoverse-n1 I use have not so fast disk
21:35gsora[m]Im curious about a specific rust compiling task, I’ll source a 4K kernel and compile on OS X and arch… if it’s fast enough I could work off asahi
21:36j`eygsora[m]: macOS is using 16K pages. I think it'll be reasonably similar speeds
21:36gsora[m]Yeah you might be right
21:37gsora[m]If it’s still faster than my desktop amd 1700x I’ll be happy haha
21:42meenmachine has quit [Read error: Connection reset by peer]
21:44Tano70 has quit [Quit: Leaving]
21:44pphilipss has joined #asahi
21:48sheepgoose_ has joined #asahi
21:53sheepgoose has quit [Ping timeout: 480 seconds]
21:54m6wiq has quit []
22:00pj1alpha v0.3.12 fail: idyld[4008]: Library not loaded: /Library/Frameworks/Python.framework/Versions/3.9/Python Reason: tried: '/Library/Frameworks/Python.framework/Versions/3.9/Python' (no such file), '/System/Library/Frameworks/Python.framework/Versions/3.9/Python' (no such file) zsh: done curl https://alx.sh | zsh: abort sh
22:11sirn has quit [Server closed connection]
22:11BlitzWorks has quit [Server closed connection]
22:11sirn has joined #asahi
22:21chir4gm has quit [Server closed connection]
22:21chir4gm has joined #asahi
22:21kovgsora[m], j`ey I have been running rust (the compiler) builds as a benchmark, in my testing the 16k kernel was getting the same time as a 4k kernel on a VM under MacOS, around 20 minutes
22:22kovand macos native was doing it in 16 minutes, those were run on a mac mini, I just reinstalled my Air, I'll run the tests on it
22:22hendry has quit [Server closed connection]
22:22hendry has joined #asahi
22:22kovI have Glanzmann's 4k kernel right now, I'll do 16k and macos after that
22:23abbe has quit [Server closed connection]
22:23abbe has joined #asahi
22:23shenki has quit [Server closed connection]
22:23shenki has joined #asahi
22:25dottedmagpj1: I also see that
22:25dottedmagmarcan: ^ something new?
22:27dottedmagj`ey: That's dyld, it does not read PATH, does it?
22:27abrasive has quit [Server closed connection]
22:28abrasive has joined #asahi
22:28j`eyI dont think so, but its the most 'obvious' recent change
22:28abbe has quit [Remote host closed the connection]
22:28abbe has joined #asahi
22:29myon98 has quit [Server closed connection]
22:29myon98 has joined #asahi
22:29dottedmagUgh. caffeinate breaks it.
22:29marcandid caffeinate break that?
22:30marcanseriously?
22:30gsora[m]kov: might that be vm overhead?
22:30axenntio has joined #asahi
22:31kovgsora[m], the 16k kernel test was bare metal
22:31marcanworked for me but...
22:31marcanreverted
22:32dottedmagconfirmed, now it works
22:32j`eywhy is that messing with DYLD_PATH or anything..
22:33dottedmagWeird, I see nothing related in caffeinate.c
22:34phire has quit [Server closed connection]
22:34_alicei wonder if the IOPMAssertionCreateWithName API would work with cython…
22:34phire has joined #asahi
22:34_aliceand just have the installer request the power assertion itself
22:34nicolas17compare output of "env" and "caffeinate -dis env"? I doubt it's messing with the environment but that would confirm/disprove
22:35vadeaway[m]anyone any idea about screen resolutions/
22:35marcanvadeaway[m]: there is no display controller driver, none of that is ever going to work
22:35marcanwait until DCP is ready
22:36M0x8FF[m]Can I reinstall the OS from the asahi installer
22:36nicolas17dottedmag: thought so, but then wtf...
22:36M0x8FF[m]Can I reinstall the OS from the asahi installer
22:38j`eyM0x8FF[m]: not currently
22:39AdryzzOLEDEdition[m]in order to reinstall you need to start from scratch
22:40robinp has quit [Server closed connection]
22:40robinp has joined #asahi
22:41clover[m]<LuEvers[m]> "here is the 4k pagesize kernel..." <- compiling...
22:44chengsun has quit [Quit: Quit]
22:44chengsun has joined #asahi
22:46zyry has joined #asahi
22:46marcandottedmag: does it work if you put the caffeinate in the boostrap, outside the framework stuff?
22:46marcandownload the output of curl and stick it in front of the sudo / installer.sh lines
22:46marcanif that works I'll just put it there
22:47zyryjust wanna say, massive fan of the project. I booted my M1 last night into asahi and love it
22:47dottedmagmarcan: Looks like DYLD_LIBRARY_PATH gets unset by dyld, so loading caffeinate "eats" it.
22:48marcanso does it work if we put caffeinate outside?
22:49LuEvers[m]Can‘t you just spawn a new bash shell with bash -c „caffeine“?
22:49LuEvers[m]Shouldn‘t touch the envs
22:50dottedmagmarcan: `exec caffeinate sudo -E ./install.sh "$@"` & similar for installer.sh works
22:50nicolas17I remember there was a list somewhere of coprocessors and how they communicated (eg. which ones used ASC mailbox)
22:50artemist has quit [Read error: Connection reset by peer]
22:50nicolas17where is that?
22:51danny055[m] has joined #asahi
22:53danny055[m]Hi i just installed asahi on my mac would it be fine if i just deleted my mac os and just installed linux ?
22:53danny055[m]install linux*
22:53di1[m] has joined #asahi
22:53j`eydanny055[m]: there's currently no ay to update the system firmware if you delete macOS
22:54j`ey(so it's not recommended just yet)
22:55marcanthought so
22:55marcanthat's why I didn't see it
22:56clover[m]macOS is still required, so only dual boot at this time
22:56j`eyi guess it makes sense, cant use DYLD_LIBRARY_PATH to override functins from binaries
23:00yrlf has quit [Quit: The Lounge - https://thelounge.chat]
23:01nicolas17is there any public 'trace file', for example from the m1n1 DCP tracer? (I don't have M1 hardware myself >.>)
23:01yrlf has joined #asahi
23:03Namidairoin some alternate universe, there might have been a nice enough apple to implement fwupd and/or at least license firmware blobs for redistribution
23:06danny055[m]How can I go back to Mac in recovery mode I try bputil -n and I pick 1 macintosh hd but I get an error
23:10dottedmagmarcan: second step says "enter your password twice". I had to enter password once, then say "y" to confirm, then enter my username and password. Maybe needs a bit of clarification?
23:11dottedmagdanny055[m]: I pushed the power key until I got a boot picker, and picked mac.
23:11dottedmagAlso, is there a way to disable this damn chime?
23:11axenntio has quit [Ping timeout: 480 seconds]
23:11marcanNamidairo: that's not the problem, this is about system firmware which is updated via a ramdisk boot
23:12marcanwe'll probably figure out a way to implement it at some point
23:12marcandottedmag: macos settings
23:12zyry has quit [Remote host closed the connection]
23:13dottedmagmarcan: thanks
23:13danny055[m]Oh ok that works thanks but like the default boot drive is asahi Linux
23:14danny055[m]I was wondering how I can change that
23:14mpsdottedmag: in macos audio settings
23:15dottedmagOne thing that becomes obvious when Linux is booted: this machine is DAMN FREAKING FAST.
23:15mpsdanny055[m]: in macos there is option in settings to set default OS
23:16clover[m]@[Lu Evers] done compiling. after doing a pacman -U do i need to change grub config since the name is different?
23:16marcanor you can just hold option while using the boot picker from the power button
23:16* mpslearned something about macos in past few months ;)
23:16Namidairoyeah I imagine there are quite a few that are just happy to erase macos for the free space or macos hate boner
23:17mpsNamidairo: I need sometimes to boot macos and set backlight
23:18danny055[m]I will go into recovery mode and try to change the boot drive from there
23:19marcandottedmag: I stuck caffeinate into the bootstrap, hopefully it didn't break?
23:20dottedmagmarcan: tried, works.
23:20axenntio has joined #asahi
23:21clover[m]nvm got it working. now i can load my favorite code editor 😎 ty Lu Evers
23:23danny055[m]Instead of pressing down the power button every time to boot into Mac os is there a way that it just automatically boots into Mac os
23:24marcanthere's three ways, this is standard macos stuff
23:24marcanpress option while selecting it
23:24marcanor change it in recovery mode with the boot picker
23:24clover[m]yes i would also like macOS to have boot priority for now
23:24marcanor change it in macos settings
23:24marcanthis is how it has worked in macos for like at least a decade ;)
23:25nicolas17what does the macos settings do? write to nvram?
23:25nicolas17I guess a Linux tool to do the same is doable eventually?
23:26marcanbut there's an implied dependency on APFS support because without that you can't actually know the right value for that nvram var
23:26NamidairoI was about to ask if that was an EFI var
23:26marcanthese machines do not have EFI natively
23:28axenntio has quit [Ping timeout: 480 seconds]
23:30mpsmarcan: I mounted APFS with https://github.com/linux-apfs/linux-apfs-rw kernel module previous night
23:31marcanyeah, I know about that
23:31marcanI'm not going to ship it until I run some torture tests on it though
23:31marcanlast thing I need is for people to start corrupting their APFS worse than macos already does all on its own
23:31mpssure, I just wanted to test will it work
23:32marcanwe're going to need it to implement xARTs, but that's a very very simple use case, so hopefully we can prove it's stable enough for that
23:32nicolas17the write support is *documented* to be "this will likely cause corruption" level
23:32marcanxARTs only involved writing blocks in one file that's the only file in a subvolume of the iBoot System Container, so *hopefully* I can convince myself it's stable enough for that at some point
23:33marcanbut I definitely don't want people trying to mount random volumes at this point
23:34Namidairoit's recoverable, but you'd rather not soft-brick people given the chance
23:35mpshmm, `cat /dev/urandom > $rootFS` is feature in unix, not a bug
23:35axenntio has joined #asahi
23:43axenntio has quit [Ping timeout: 480 seconds]
23:45Namidairodare someone to run btrfs with transparent compression?
23:54Fl1tzi[m]It’s really a pain to renew the German key mapping but I hope some people will use it.
23:57marcanpushed new images / refs to prod (github cache might take 5 min to update)
23:57marcanthose fix the bad mirrorlist and also the firefox initial dpi thing
23:57marcanI'm going to sleep :p
23:57Fl1tzi[m]What time is it for you lol?
23:58marcanmy sleep schedule has kind of been a mess the past few days
23:58Fl1tzi[m]Oh it’s 1am for me and I have school tomorrow… D:
23:58j`eymarcan: did your jam go ok?
23:58nicolas17there's always people online to make me feel better about my own sleep schedule
23:58Fl1tzi[m]nicolas17: lmao
23:59matthewayers[m]It’s 20:00 here in the US and I always enjoy waking up to hundreds of messages (it’s been 1000+ recently)
…