#
…

2022-11-26

00:03rayanamukami3 has quit [Read error: Connection reset by peer]
00:03rayanamukami3 has joined #asahi
00:08emilsedgh has joined #asahi
00:11emilsedghHello everyone. When first version was released months ago I tried installing it, but I got stuck somewhere (I can't remember the details). Now Im trying to give it another shot but my partitions seem stuck and I haven't been able to figure out how to help it. Here is what my "Disk Utility" shows. https://pasteboard.co/a1zPPbLn2TCa.png
00:11emilsedghAnd here is the installer
00:13emilsedghI see a "Linux Filesystem" there with 90G. Im guessing this is from my previous attempt. But the installer doesn't allow me to pick it
00:13tpw_rulesemilsedgh: you can follow these instructions to get rid of the old partitions: https://github.com/tpwrules/nixos-m1/blob/main/docs/uefi-standalone.md#nixos-uninstallation just mentally substitute "asahi" everywhere that page says "nixos"
00:13confusomu has quit [Ping timeout: 480 seconds]
00:13emilsedghThank you tpw_rules
00:13tpw_rulesyou can skip the step at the end to re-expand your main macOS install then simply install in the free space using the installer to save a bit of time
00:21emilsedghOh fantastic
00:25emilsedgh has quit [Remote host closed the connection]
00:26emilsedgh has joined #asahi
00:28jamespmorgan has joined #asahi
00:30capta1nt0ad has quit [Remote host closed the connection]
00:31capta1nt0ad has joined #asahi
00:35jamespmo_ has quit [Ping timeout: 480 seconds]
00:40emilsedgh has quit [Quit: Page closed]
00:40coailtb^ has joined #asahi
01:00rayanamukami3 has quit [Read error: Connection reset by peer]
01:00rayanamukami3 has joined #asahi
01:00Dementor has quit [Remote host closed the connection]
01:01Dementor has joined #asahi
01:09Dementor has quit [Ping timeout: 480 seconds]
01:15Dementor has joined #asahi
01:33bpye has quit [Quit: Ping timeout (120 seconds)]
01:33bpye has joined #asahi
02:20Emantor has quit [Quit: ZNC - http://znc.in]
02:20Emantor has joined #asahi
02:26cylm has quit [Quit: WeeChat 3.6]
02:44StupidYui has quit [Ping timeout: 480 seconds]
03:29nicolas17 has quit [Quit: Konversation terminated!]
04:11Stroller has quit [Quit: Stroller]
04:53marvin24 has joined #asahi
04:57marvin24_ has quit [Ping timeout: 480 seconds]
06:38SSJ_GZ has joined #asahi
06:42rpmasiha has joined #asahi
06:42rpmasihaHas anyone got sway-WM working?
06:42capta1nt0adI heard alot of people were using it
06:43rpmasihaYes but the problem comes with scaling.
06:43rpmasihaWhen you scale with a decimal value it gets very blurry.
06:43capta1nt0addo you have DCP support?
06:43capta1nt0adi heard about some scaling issues with that
06:45rpmasihaThat's not the scaling issue that Sway WM is facing.
06:45capta1nt0adplus that's on X11
06:45yukarpmasiha: this will be fixed once the gpu driver is ready
06:45rpmasihai3 was working pretty fine.
06:46rpmasihaI'm very excited to see GPU drivers being actively worked on.
06:46yukain the meanwhile you can start sway with the environment variables WLR_RENDERER=gles2 WLR_RENDERER_ALLOW_SOFTWARE=1
06:46yukabut that might be buggy in other ways
06:46rpmasihaThat fixes the scaling issues?
06:46rpmasihaI'll try that out.
06:47rpmasihaWhat about other wayland-based DEs/WMs?
06:47rpmasihaSo far I've seen KDE/GNOME running fine.
06:48yukarpmasiha: this is a property of the pixman renderer
06:49yukaalso happens on any x86 machine when selecting the pixman renderer
06:51kettenis has quit [Ping timeout: 480 seconds]
06:52rpmasiha has left #asahi [Thank you, I am leaving now...]
07:09kettenis has joined #asahi
07:50trsohmers has quit [Ping timeout: 480 seconds]
07:51trsohmers has joined #asahi
08:00Dcow has joined #asahi
08:08Dcow has quit [Ping timeout: 480 seconds]
08:32bgb has joined #asahi
08:49Dcow has joined #asahi
08:50bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
08:50bisko has joined #asahi
08:50capta1nt0ad has quit [Remote host closed the connection]
08:51capta1nt0ad has joined #asahi
08:52bisko has quit []
08:54eye4m has joined #asahi
08:54Dcow has quit [Remote host closed the connection]
09:17Dcow has joined #asahi
09:26Dcow has quit [Ping timeout: 480 seconds]
09:31Dcow has joined #asahi
09:35Dcow has quit [Remote host closed the connection]
09:35Dcow has joined #asahi
09:37eye4m has quit [Quit: zzZZZzz]
09:52capta1nt0ad has quit [Remote host closed the connection]
09:53capta1nt0ad has joined #asahi
10:14capta1nt0ad has quit [Quit: Konversation terminated!]
10:25StupidYui has joined #asahi
11:19mps_ is now known as mps
11:23bcrumb has joined #asahi
11:24bcrumbresolved almost every issue from yesterday except firmware
11:24bcrumbfirmware is still not loading... i checked the python script it out and asahi_fwextract and that is working properly
11:24bcrumbso for some reason it can't load what i've posted to pastebin yesterday
11:26thastibcrumb: is the "asahi" hook present in /etc/mkinitcpio.conf ?
11:26bcrumbthasti: yeah
11:26bcrumblooking if i have my hooks and kernel args here so i can post
11:26j`eyI think it's related to the systemd thing
11:26j`eyI know it was working before, but maybe there was an update that broke it somehow?
11:27bcrumbHOOKS=(base asahi systemd autodetect keyboard sd-vconsole modconf block sd-encrypt filesystems fsck)
11:28bcrumbright yeah so i have this
11:28j`eyyou added systemd there right?
11:28bcrumbyes, i did, but it worked perfectly before
11:28bcrumbi have running with it for like 2 months and something already
11:29bcrumb.luks.name=[ENTER UUID HERE]=root rd.luks.options=allow-discards,no-read-workqueue,no-write-workqueue lsm=landlock,lockdown,yama,integrity,apparmor,bpf root=/dev/mapper/root rootwait rw quiet splash
11:29bcrumbkernel args
11:29bcrumb*rd.luks.name, didn't catch that part
11:30j`eymaybe the new fw approach in the initramfs is what is ow broken with systemd
11:31bcrumbi can try switching to the regular hooks, i need to check how an identical setup would look like and if need to edit something in fstab
11:32bcrumbiether that or if it is possible that whatever is done with the vendorfw stuff in boot to do during userspace
11:32bcrumbuntil the issue(?) isn't fixed
11:33j`eyyeah you can do that step manually, and reload stuff that needs firmware
11:33j`eythat could work
11:33bcrumbdo you have any pointer to github or something what parts of code I should emulate?
11:34bcrumbalso I probably would need to at least run once with encrypt because otherwise i can't prove it's systemd causing the issue, on latter thought
11:34j`eybcrumb: https://oftc.irclog.whitequark.org/asahi/2022-11-01#31581134; you can read this part, where someone else had the same issue basically
11:35bcrumbright, i see
11:35bcrumbi will try fixing this today and report on results
11:36j`eybcrumb: is your /init in the initramfs systemd?
11:37bcrumbj`ey: i am not completely sure right now... https://github.com/b-crumb/asahi-luks-notes/blob/main/ASAHILUKS.md i am building asahi exactly as here written
11:37bcrumbctrl+f "simple script to build"
11:38bcrumbfor the stage 2 which may give more, you can scroll up for mkinitcpio, anything other than hooks and conf was not important, otherwise i can check now
11:38bcrumbi just need to see how
11:39j`eyI dunno enough about mkinitcpio to know, but it does look the same as WhyNotHug0's issue
11:40bcrumbalright, i'll get to work then
11:41shaanair has joined #asahi
11:42shaanairJust bought a macbook air, and the first thing I did is to install Asahilinux, Works fine , Really appreciate hardwork done by the Asahi Team. Hats off to you All guys.
11:51bcrumbfunnily not realizing what the discussion was about i posted an entire file based on systemd setup
11:52bcrumbthe same day
11:54gladiac has joined #asahi
11:57capta1nt0ad has joined #asahi
12:00bcrumbi just don't understand one thing with 2.5 https://wiki.archlinux.org/title/dm-crypt/Encrypting_an_entire_system#LUKS_on_a_partition , why would base then be included with these hooks if systemd completely overrides it
12:01bcrumb has quit [Remote host closed the connection]
12:02bcrumb has joined #asahi
12:02bcrumbso i'm wondering whether the author made a mistake or systemd-boot is the one overriding base vs the systemd hook doing it
12:04shaanair has quit [Quit: Konversation terminated!]
12:04bcrumb has quit []
12:05chengsun_ has joined #asahi
12:06bcrumb has joined #asahi
12:06bcrumb"Hooks are referred to by their name, and executed in the order they exist in the HOOKS array of the configuration fil"
12:06bcrumbmy hooks start with (base asahi ...) this should be working... ok time to test regular encrypt
12:07j`ey'"Other hooks with runtime components will need to be ported, and will not work as intended"'
12:09chengsun has quit [Ping timeout: 480 seconds]
12:14bgb has quit [Ping timeout: 480 seconds]
12:18bcrumbj`ey: one last thing, asahi is post udev or pre?
12:19j`eyI think it's pre-udev, cos fw should be available
12:19j`eybut not sure, I dont use initramfs
12:19bcrumbalright, thanks
12:20bcrumb has quit [Quit: Page closed]
12:28hir0pro has joined #asahi
12:30___nick___ has joined #asahi
12:30___nick___ has quit []
12:32___nick___ has joined #asahi
12:41bcrumb has joined #asahi
12:42bcrumbso i've tried using normal kernel hooks with proper arguments and the boot process just hangs
12:42bcrumbif using the encrypt hook, this is the original issue which led me to use systemd-encrypt
12:42bcrumbwhich worked properly
12:43bcrumbso i have no idea why this is happening, but it would be probably best if I just downgrade the whole thing
12:43bcrumbi just need to find out which packages i need to downgrade
12:43bcrumband then i can look towards making a systemd unit or something to extend compatibility
12:44bcrumbbut yeah, if anyone is using here the actual "encrypt" hook and it works, please mention me
12:45bcrumbi am not sure whether the problem is that i can't enter a password because of the keyboard, or whether no password prompt (so the decryption is started) exists, but earlycon doesn't give any info
12:46bcrumbfurthermore, in that discussion it was mentioned that systemd also overrides debugging capability? i mean, with systemd earlycon debug works for me
12:46bcrumb has quit []
12:47j`eyit wasn't earlycon that was broken, it was some initramfs logging thing
12:50bcrumb has joined #asahi
12:51bcrumbis there any mirror i can download historical versions from? i don't have the former asahi-scripts in cache, if not i guess i can build it
12:52bcrumbi suppose i can just manually add it to the proper locations
12:53bcrumbi think it's just that new way of handling the vendorfw that is making problems
12:54bcrumb has quit []
13:13bcrumb has joined #asahi
13:14bcrumbso downgrading the asahi hook and install in /usr/lib/initcpio/{hook,install} did not work
13:14bcrumbdoes anyone know what else I should downgrade in relation to this
13:14bcrumbasahi-fwextract?
13:14bcrumbi have the update-vendor-firmware and comm binaries present but unsure of version
13:15bcrumbbecause if i don't do this, i can't even run my system, because the encrypt hook as said simply doesn't work yet, i think
13:17bcrumbor meta packages?
13:18bcrumbin fact, yeah, it does not load firmware even with my old m1n1 that used to work, so another package should be responsible for this
13:20j`eydid you remake the initramfs after downgrading?
13:20bcrumbremade the initramfs and also used the original kernel args
13:21bcrumb has quit [Quit: Page closed]
13:23bcrumb has joined #asahi
13:26bcrumbok, no, nevermind, so the image i claimed above was a sysd image i made yesterday, i just used the proper old image and it worked
13:26bcrumbfirmware loaded
13:26bcrumbnow i need to find out what packages are at fault for this, and upgrade
13:26bcrumbif someone has any ideas btw what i should log while this is working, i guess firmware first
13:28bcrumb🤔 so vendor is still completely empty
13:28bcrumbbut the thing is working
13:29bcrumbthere is a brcm file though in firmware
13:31j`eywell if it's the old way, then it's not placed in vendor
13:32bcrumbi can rebuild the older versions now I suppose so let me do that
13:37nomnomcookie has quit [Read error: Connection reset by peer]
13:37nomnomcookie has joined #asahi
13:42gladiac has quit [Quit: k thx bye]
13:45nomnomcookie has quit [Read error: Connection reset by peer]
13:45nomnomcookie has joined #asahi
13:50capta1nt0ad has quit [Quit: Konversation terminated!]
13:50capta1nt0ad has joined #asahi
13:50capta1nt0ad has quit []
13:51capta1nt0ad has joined #asahi
13:52capta1nt0ad has quit []
13:58nomnomcookie has quit [Read error: Connection reset by peer]
13:58nomnomcookie has joined #asahi
14:01capta1nt0ad has joined #asahi
14:02nomnomcookie has quit [Read error: Connection reset by peer]
14:02bcrumb has quit [Quit: WeeChat 3.7.1]
14:05bcrumb has joined #asahi
14:07bcrumbI've generated a successfull image, it's either linux-asahi{-headers}, asahi-fwextract, or asahi-scripts
14:08bcrumbOr combination, since they are made to work together I guess
14:10bcrumbI suppose I will go through the kernel images first
14:10bcrumb has quit [Quit: WeeChat 3.7.1]
14:22hir0pro has quit [Quit: hir0pro]
14:43LinuxM1 has joined #asahi
14:48Stroller has joined #asahi
15:00hir0pro has joined #asahi
15:05cylm has joined #asahi
15:56eye4m has joined #asahi
15:59hir0pro has quit [Quit: hir0pro]
16:15LinuxM1 has quit [Ping timeout: 480 seconds]
16:16eye4m has quit [Quit: zzZZZzz]
16:18eye4m has joined #asahi
16:18eye4m has quit []
16:22opticron has quit [Ping timeout: 480 seconds]
16:24hir0pro has joined #asahi
16:33gladiac has joined #asahi
16:36gladiac has quit []
17:00rvalue has quit [Remote host closed the connection]
17:00rvalue has joined #asahi
17:10opticron has joined #asahi
17:16ten157 has joined #asahi
17:16Dementor has quit [Remote host closed the connection]
17:20ciggi has quit [Ping timeout: 480 seconds]
17:22Dementor has joined #asahi
17:30eye4m has joined #asahi
17:37ciggi has joined #asahi
18:11VegaDreamcast has joined #asahi
18:33djorz has joined #asahi
18:53bcrumb has joined #asahi
18:53bcrumbdoesn't seem to be the kernel...
18:53bcrumb has quit []
19:23eye4m has left #asahi [faded...]
19:34bcrumb has joined #asahi
19:34bcrumbok so yeah, it's asahi scripts doing it, with the latest 2-2 update it seems
19:34bcrumbeven upgrading fwextract to 2-2 does not break things, but new firmware doesn't load i think
19:35bcrumbbut kernel is fully updated with systemd in kernel hooks... so at this point i am not sure WHY this is booting properly
19:37cylm has quit [Quit: WeeChat 3.6]
19:39bcrumb has quit [Quit: WeeChat 3.7.1]
19:43coailtb^ has quit [Remote host closed the connection]
19:49bcrumb has joined #asahi
19:50pbsds0 has quit []
19:50pbsds0 has joined #asahi
19:53bcrumb 14:30 <marcan> and /new_root is called /sysroot in the systemd world
19:53bcrumbit might just be that this is the issue
19:53bcrumb has quit []
19:53bcrumb has joined #asahi
19:55bcrumbjust that i don't understand why this is booting then, cause scripts 2-1 (20220918.2-1) is also using new-root as target root
19:57bcrumbmaybe because the older script (20220918.2-1) runs this in the earlyhook
19:57bcrumband in the latehook too
20:08bcrumbso my hooks are HOOKS=(base asahi systemd...) so since 20220918 runs that vendor thing in an earlyhook and systemd takes off only after, i suppose the update-vendor-firmware call before installs all firmware which has allowed my OS to load up until now
20:34onethirtyfive has joined #asahi
20:36bcrumbcuz im looking to actually write this sysd unti
20:50bcrumbreading more into seems doable even i think
20:57jluthra has quit [Remote host closed the connection]
20:58jluthra has joined #asahi
21:08___nick___ has quit [Ping timeout: 480 seconds]
21:09bcrumband i suppose the unit would have to be written as a C binary
21:09bcrumbso, the units executable
21:12bcrumbi will make a writeup to confirm im right, but i suppose prehook is post local-fs.target and post systemd-udevd.service, and posthook is as stated after initrd-fs.target
21:14bcrumb(err pre udevd)
21:15bcrumb has quit [Quit: WeeChat 3.7.1]
21:15hir0pro has quit [Quit: hir0pro]
21:18VegaDreamcast has quit [Quit: Leaving]
21:25vx has quit [Quit: G-line: User has been permanently banned from this network.]
21:25vx has joined #asahi
21:26bluetail has quit [Ping timeout: 480 seconds]
21:28panzone has joined #asahi
21:28panzone has quit []
21:29ten1576 has joined #asahi
21:34ten157 has quit [Ping timeout: 480 seconds]
21:34ten1576 is now known as ten157
21:44bluetail has joined #asahi
21:57gladiac has joined #asahi
22:02ten1579 has joined #asahi
22:05ten157 has quit [Ping timeout: 480 seconds]
22:05ten1579 is now known as ten157
22:07thasti has quit [Remote host closed the connection]
22:08iaguis has joined #asahi
22:09thasti has joined #asahi
22:11ten1572 has joined #asahi
22:15ten157 has quit [Ping timeout: 480 seconds]
22:15ten1572 is now known as ten157
22:28iaguis has quit [Quit: leaving]
22:43gff_ has joined #asahi
22:43gff_ has quit [Read error: Connection reset by peer]
22:48gff has quit [Ping timeout: 480 seconds]
22:48gff_ has joined #asahi
22:59Major_Biscuit has joined #asahi
23:24onethirtyfive has quit [Quit: WeeChat 3.7.1]
23:31SSJ_GZ has quit [Ping timeout: 480 seconds]
23:40Major_Biscuit has quit [Ping timeout: 480 seconds]
…