ChanServ changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | https://asahilinux.org/2022/03/asahi-linux-alpha-release/ | General project discussion | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-alt #asahi-stream #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
rayanamukami3 has quit [Read error: Connection reset by peer]
rayanamukami3 has joined #asahi
emilsedgh has joined #asahi
<emilsedgh> Hello 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
<emilsedgh> And here is the installer
<emilsedgh> I 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
<tpw_rules> emilsedgh: 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"
confusomu has quit [Ping timeout: 480 seconds]
<emilsedgh> Thank you tpw_rules
<tpw_rules> you 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
<emilsedgh> Oh fantastic
emilsedgh has quit [Remote host closed the connection]
emilsedgh has joined #asahi
jamespmorgan has joined #asahi
capta1nt0ad has quit [Remote host closed the connection]
capta1nt0ad has joined #asahi
jamespmo_ has quit [Ping timeout: 480 seconds]
emilsedgh has quit [Quit: Page closed]
coailtb^ has joined #asahi
rayanamukami3 has quit [Read error: Connection reset by peer]
rayanamukami3 has joined #asahi
Dementor has quit [Remote host closed the connection]
Dementor has joined #asahi
Dementor has quit [Ping timeout: 480 seconds]
Dementor has joined #asahi
bpye has quit [Quit: Ping timeout (120 seconds)]
bpye has joined #asahi
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #asahi
cylm has quit [Quit: WeeChat 3.6]
StupidYui has quit [Ping timeout: 480 seconds]
nicolas17 has quit [Quit: Konversation terminated!]
Stroller has quit [Quit: Stroller]
marvin24 has joined #asahi
marvin24_ has quit [Ping timeout: 480 seconds]
SSJ_GZ has joined #asahi
rpmasiha has joined #asahi
<rpmasiha> Hello.
<rpmasiha> Has anyone got sway-WM working?
<capta1nt0ad> I heard alot of people were using it
<rpmasiha> Yes but the problem comes with scaling.
<rpmasiha> When you scale with a decimal value it gets very blurry.
<capta1nt0ad> do you have DCP support?
<capta1nt0ad> i heard about some scaling issues with that
<rpmasiha> Hmm
<rpmasiha> That's not the scaling issue that Sway WM is facing.
<capta1nt0ad> oh yeah
<capta1nt0ad> plus that's on X11
<yuka> rpmasiha: this will be fixed once the gpu driver is ready
<rpmasiha> Amazing!
<rpmasiha> i3 was working pretty fine.
<rpmasiha> I'm very excited to see GPU drivers being actively worked on.
<yuka> in the meanwhile you can start sway with the environment variables WLR_RENDERER=gles2 WLR_RENDERER_ALLOW_SOFTWARE=1
<yuka> but that might be buggy in other ways
<rpmasiha> That fixes the scaling issues?
<yuka> yes
<rpmasiha> I'll try that out.
<rpmasiha> What about other wayland-based DEs/WMs?
<rpmasiha> So far I've seen KDE/GNOME running fine.
<yuka> rpmasiha: this is a property of the pixman renderer
<rpmasiha> I see.
<yuka> also happens on any x86 machine when selecting the pixman renderer
kettenis has quit [Ping timeout: 480 seconds]
rpmasiha has left #asahi [Thank you, I am leaving now...]
kettenis has joined #asahi
trsohmers has quit [Ping timeout: 480 seconds]
trsohmers has joined #asahi
Dcow has joined #asahi
Dcow has quit [Ping timeout: 480 seconds]
bgb has joined #asahi
Dcow has joined #asahi
bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bisko has joined #asahi
capta1nt0ad has quit [Remote host closed the connection]
capta1nt0ad has joined #asahi
bisko has quit []
eye4m has joined #asahi
Dcow has quit [Remote host closed the connection]
Dcow has joined #asahi
Dcow has quit [Ping timeout: 480 seconds]
Dcow has joined #asahi
Dcow has quit [Remote host closed the connection]
Dcow has joined #asahi
eye4m has quit [Quit: zzZZZzz]
capta1nt0ad has quit [Remote host closed the connection]
capta1nt0ad has joined #asahi
capta1nt0ad has quit [Quit: Konversation terminated!]
StupidYui has joined #asahi
mps_ is now known as mps
bcrumb has joined #asahi
<bcrumb> resolved almost every issue from yesterday except firmware
<bcrumb> firmware is still not loading... i checked the python script it out and asahi_fwextract and that is working properly
<bcrumb> so for some reason it can't load what i've posted to pastebin yesterday
<thasti> bcrumb: is the "asahi" hook present in /etc/mkinitcpio.conf ?
<bcrumb> thasti: yeah
<bcrumb> looking if i have my hooks and kernel args here so i can post
<j`ey> I think it's related to the systemd thing
<j`ey> I know it was working before, but maybe there was an update that broke it somehow?
<bcrumb> HOOKS=(base asahi systemd autodetect keyboard sd-vconsole modconf block sd-encrypt filesystems fsck)
<bcrumb> right yeah so i have this
<j`ey> you added systemd there right?
<bcrumb> yes, i did, but it worked perfectly before
<bcrumb> i have running with it for like 2 months and something already
<bcrumb> *been
<bcrumb> .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
<bcrumb> kernel args
<bcrumb> *rd.luks.name, didn't catch that part
<j`ey> maybe the new fw approach in the initramfs is what is ow broken with systemd
<bcrumb> i 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
<bcrumb> *if I
<bcrumb> iether that or if it is possible that whatever is done with the vendorfw stuff in boot to do during userspace
<bcrumb> until the issue(?) isn't fixed
<j`ey> yeah you can do that step manually, and reload stuff that needs firmware
<j`ey> that could work
<bcrumb> do you have any pointer to github or something what parts of code I should emulate?
<bcrumb> also 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
<j`ey> bcrumb: https://oftc.irclog.whitequark.org/asahi/2022-11-01#31581134; you can read this part, where someone else had the same issue basically
<bcrumb> ok cool
<bcrumb> thanks
<bcrumb> right, i see
<bcrumb> thanks
<bcrumb> i will try fixing this today and report on results
<j`ey> bcrumb: is your /init in the initramfs systemd?
<bcrumb> j`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
<bcrumb> ctrl+f "simple script to build"
<bcrumb> for 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
<bcrumb> i just need to see how
<j`ey> I dunno enough about mkinitcpio to know, but it does look the same as WhyNotHug0's issue
<bcrumb> alright, i'll get to work then
shaanair has joined #asahi
<shaanair> Hi
<shaanair> Just 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.
<bcrumb> funnily not realizing what the discussion was about i posted an entire file based on systemd setup
<bcrumb> *enough
<bcrumb> the same day
gladiac has joined #asahi
capta1nt0ad has joined #asahi
<bcrumb> i 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
bcrumb has quit [Remote host closed the connection]
bcrumb has joined #asahi
<bcrumb> so i'm wondering whether the author made a mistake or systemd-boot is the one overriding base vs the systemd hook doing it
shaanair has quit [Quit: Konversation terminated!]
bcrumb has quit []
chengsun_ has joined #asahi
bcrumb has joined #asahi
<bcrumb> "Hooks are referred to by their name, and executed in the order they exist in the HOOKS array of the configuration fil"
<bcrumb> my hooks start with (base asahi ...) this should be working... ok time to test regular encrypt
<j`ey> '"Other hooks with runtime components will need to be ported, and will not work as intended"'
chengsun has quit [Ping timeout: 480 seconds]
bgb has quit [Ping timeout: 480 seconds]
<bcrumb> j`ey: one last thing, asahi is post udev or pre?
<j`ey> I think it's pre-udev, cos fw should be available
<j`ey> but not sure, I dont use initramfs
<bcrumb> alright, thanks
bcrumb has quit [Quit: Page closed]
hir0pro has joined #asahi
___nick___ has joined #asahi
___nick___ has quit []
___nick___ has joined #asahi
bcrumb has joined #asahi
<bcrumb> so i've tried using normal kernel hooks with proper arguments and the boot process just hangs
<bcrumb> if using the encrypt hook, this is the original issue which led me to use systemd-encrypt
<bcrumb> which worked properly
<bcrumb> so i have no idea why this is happening, but it would be probably best if I just downgrade the whole thing
<bcrumb> i just need to find out which packages i need to downgrade
<bcrumb> and then i can look towards making a systemd unit or something to extend compatibility
<bcrumb> but yeah, if anyone is using here the actual "encrypt" hook and it works, please mention me
<bcrumb> i 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
<bcrumb> furthermore, in that discussion it was mentioned that systemd also overrides debugging capability? i mean, with systemd earlycon debug works for me
bcrumb has quit []
<j`ey> it wasn't earlycon that was broken, it was some initramfs logging thing
bcrumb has joined #asahi
<bcrumb> is 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
<bcrumb> i suppose i can just manually add it to the proper locations
<bcrumb> i think it's just that new way of handling the vendorfw that is making problems
bcrumb has quit []
bcrumb has joined #asahi
<bcrumb> so downgrading the asahi hook and install in /usr/lib/initcpio/{hook,install} did not work
<bcrumb> does anyone know what else I should downgrade in relation to this
<bcrumb> ?
<bcrumb> asahi-fwextract?
<bcrumb> i have the update-vendor-firmware and comm binaries present but unsure of version
<bcrumb> because 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
<bcrumb> or meta packages?
<bcrumb> in fact, yeah, it does not load firmware even with my old m1n1 that used to work, so another package should be responsible for this
<j`ey> did you remake the initramfs after downgrading?
<bcrumb> yes
<bcrumb> remade the initramfs and also used the original kernel args
bcrumb has quit [Quit: Page closed]
bcrumb has joined #asahi
<bcrumb> ok, 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
<bcrumb> firmware loaded
<bcrumb> now i need to find out what packages are at fault for this, and upgrade
<bcrumb> if someone has any ideas btw what i should log while this is working, i guess firmware first
<bcrumb> 🤔 so vendor is still completely empty
<bcrumb> but the thing is working
<bcrumb> there is a brcm file though in firmware
<j`ey> well if it's the old way, then it's not placed in vendor
<bcrumb> right
<bcrumb> i can rebuild the older versions now I suppose so let me do that
nomnomcookie has quit [Read error: Connection reset by peer]
nomnomcookie has joined #asahi
gladiac has quit [Quit: k thx bye]
nomnomcookie has quit [Read error: Connection reset by peer]
nomnomcookie has joined #asahi
capta1nt0ad has quit [Quit: Konversation terminated!]
capta1nt0ad has joined #asahi
capta1nt0ad has quit []
capta1nt0ad has joined #asahi
capta1nt0ad has quit []
nomnomcookie has quit [Read error: Connection reset by peer]
nomnomcookie has joined #asahi
capta1nt0ad has joined #asahi
nomnomcookie has quit [Read error: Connection reset by peer]
bcrumb has quit [Quit: WeeChat 3.7.1]
bcrumb has joined #asahi
<bcrumb> I've generated a successfull image, it's either linux-asahi{-headers}, asahi-fwextract, or asahi-scripts
<bcrumb> Or combination, since they are made to work together I guess
<bcrumb> I suppose I will go through the kernel images first
bcrumb has quit [Quit: WeeChat 3.7.1]
hir0pro has quit [Quit: hir0pro]
LinuxM1 has joined #asahi
Stroller has joined #asahi
hir0pro has joined #asahi
cylm has joined #asahi
eye4m has joined #asahi
hir0pro has quit [Quit: hir0pro]
LinuxM1 has quit [Ping timeout: 480 seconds]
eye4m has quit [Quit: zzZZZzz]
eye4m has joined #asahi
eye4m has quit []
opticron has quit [Ping timeout: 480 seconds]
hir0pro has joined #asahi
gladiac has joined #asahi
gladiac has quit []
rvalue has quit [Remote host closed the connection]
rvalue has joined #asahi
opticron has joined #asahi
ten157 has joined #asahi
Dementor has quit [Remote host closed the connection]
ciggi has quit [Ping timeout: 480 seconds]
Dementor has joined #asahi
eye4m has joined #asahi
ciggi has joined #asahi
VegaDreamcast has joined #asahi
djorz has joined #asahi
bcrumb has joined #asahi
<bcrumb> doesn't seem to be the kernel...
bcrumb has quit []
eye4m has left #asahi [faded...]
bcrumb has joined #asahi
<bcrumb> ok so yeah, it's asahi scripts doing it, with the latest 2-2 update it seems
<bcrumb> even upgrading fwextract to 2-2 does not break things, but new firmware doesn't load i think
<bcrumb> but kernel is fully updated with systemd in kernel hooks... so at this point i am not sure WHY this is booting properly
cylm has quit [Quit: WeeChat 3.6]
bcrumb has quit [Quit: WeeChat 3.7.1]
coailtb^ has quit [Remote host closed the connection]
bcrumb has joined #asahi
pbsds0 has quit []
pbsds0 has joined #asahi
<bcrumb> 14:30 <marcan> and /new_root is called /sysroot in the systemd world
<bcrumb> it might just be that this is the issue
bcrumb has quit []
bcrumb has joined #asahi
<bcrumb> just 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
<bcrumb> maybe because the older script (20220918.2-1) runs this in the earlyhook
<bcrumb> and in the latehook too
<bcrumb> so 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
onethirtyfive has joined #asahi
<bcrumb> cuz im looking to actually write this sysd unti
<bcrumb> unit
<bcrumb> reading more into seems doable even i think
jluthra has quit [Remote host closed the connection]
jluthra has joined #asahi
___nick___ has quit [Ping timeout: 480 seconds]
<bcrumb> and i suppose the unit would have to be written as a C binary
<bcrumb> so, the units executable
<bcrumb> i 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
<bcrumb> (err pre udevd)
bcrumb has quit [Quit: WeeChat 3.7.1]
hir0pro has quit [Quit: hir0pro]
VegaDreamcast has quit [Quit: Leaving]
vx has quit [Quit: G-line: User has been permanently banned from this network.]
vx has joined #asahi
bluetail has quit [Ping timeout: 480 seconds]
panzone has joined #asahi
panzone has quit []
ten1576 has joined #asahi
ten157 has quit [Ping timeout: 480 seconds]
ten1576 is now known as ten157
bluetail has joined #asahi
gladiac has joined #asahi
ten1579 has joined #asahi
ten157 has quit [Ping timeout: 480 seconds]
ten1579 is now known as ten157
thasti has quit [Remote host closed the connection]
iaguis has joined #asahi
thasti has joined #asahi
ten1572 has joined #asahi
ten157 has quit [Ping timeout: 480 seconds]
ten1572 is now known as ten157
iaguis has quit [Quit: leaving]
gff_ has joined #asahi
gff_ has quit [Read error: Connection reset by peer]
gff has quit [Ping timeout: 480 seconds]
gff_ has joined #asahi
Major_Biscuit has joined #asahi
onethirtyfive has quit [Quit: WeeChat 3.7.1]
SSJ_GZ has quit [Ping timeout: 480 seconds]
Major_Biscuit has quit [Ping timeout: 480 seconds]