marcan 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
citizen1[m] has joined #asahi
yrlf has joined #asahi
user982492 has joined #asahi
Moprius has quit [Quit: Konversation terminated!]
Telvana has quit [Ping timeout: 480 seconds]
Telvana has joined #asahi
Telvana has quit [Ping timeout: 480 seconds]
Telvana has joined #asahi
PhilippvK has joined #asahi
phiologe has quit [Ping timeout: 480 seconds]
Telvana has quit [Ping timeout: 480 seconds]
user982492_ has joined #asahi
user982492 has quit [Read error: Connection reset by peer]
Telvana has joined #asahi
Telvana has quit [Read error: Connection reset by peer]
user982492_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
user982492 has joined #asahi
Gues__________________________ has joined #asahi
Telvana has joined #asahi
marvin24 has joined #asahi
marvin24_ has quit [Ping timeout: 480 seconds]
Gues__________________________ has quit []
eroc1990 has quit [Quit: The Lounge - https://thelounge.chat]
eroc1990 has joined #asahi
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Telvana has quit [Ping timeout: 480 seconds]
ptudor has quit [Ping timeout: 480 seconds]
gabuscus has joined #asahi
Telvana has joined #asahi
ptudor has joined #asahi
user982492 has joined #asahi
ptudor_ has joined #asahi
ptudor has quit [Ping timeout: 480 seconds]
user982492 has quit []
user982492 has joined #asahi
guillaume_g has joined #asahi
user982492 has quit []
the_lanetly_052 has joined #asahi
user982492 has joined #asahi
Telvana has quit [Ping timeout: 480 seconds]
nicolas17 has quit [Quit: zzZ]
Telvana has joined #asahi
eroux has joined #asahi
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
user982492 has joined #asahi
Telvana has quit [Ping timeout: 480 seconds]
bisko has joined #asahi
Telvana has joined #asahi
bisko has quit [Ping timeout: 480 seconds]
Telvana has quit [Ping timeout: 480 seconds]
Telvana has joined #asahi
Axenntio has joined #asahi
jluthra has quit [Remote host closed the connection]
jluthra has joined #asahi
Axenntio has quit []
Telvana has quit [Ping timeout: 480 seconds]
Telvana has joined #asahi
Telvana has quit [Ping timeout: 480 seconds]
Axenntio has joined #asahi
gabuscus_ has joined #asahi
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gabuscus has quit [Ping timeout: 480 seconds]
gabuscus_ has quit [Ping timeout: 480 seconds]
gabuscus has joined #asahi
ptudor_ has quit [Ping timeout: 480 seconds]
gabuscus_ has joined #asahi
gabuscus has quit [Ping timeout: 480 seconds]
Axenntio is now known as Axenntio[away]
Axenntio[away] is now known as Axenntio
<marcan> Serentty[m]: you don't have to grow macOS, the installer is perfectly happy installing to unpartitioned space
Axenntio is now known as Axenntio[away]
Axenntio[away] is now known as Axenntio
Axenntio is now known as Axenntio[away]
Axenntio[away] is now known as Axenntio
Axenntio is now known as Axenntio[away]
Axenntio[away] is now known as Axenntio
the_lanetly_052__ has joined #asahi
the_lanetly_052 has quit [Ping timeout: 480 seconds]
<mps> I managed to destroy my mbp :\
<j`ey> ??
<mps> spilled water over it and display doesn't work
gabuscus_ has quit [Ping timeout: 480 seconds]
<j`ey> oh :'(
<mps> I can connect over wifi to it using ssh
<mps> nothing bad reported with dmesg but display is blank
gabuscus has joined #asahi
gabuscus_ has joined #asahi
gabuscus has quit [Ping timeout: 480 seconds]
<m1n1m4[m]> <mps> "spilled water over it and..." <- oh God! you have an external?
<mps> m1n1m4[m]: my son have usb dongle with hdmi, will try it later
Axenntio is now known as Axenntio[away]
Axenntio[away] is now known as Axenntio
Axenntio is now known as Axenntio[away]
Axenntio[away] has quit [Quit: Axenntio[away]]
gabuscus has joined #asahi
gabuscus_ has quit [Ping timeout: 480 seconds]
marvin24 has quit [Ping timeout: 480 seconds]
marvin24 has joined #asahi
gabuscus has quit [Ping timeout: 480 seconds]
kov has joined #asahi
gabuscus has joined #asahi
<kaprests> Hey! There is a while since the feature support page has been updated, is it up to date?
<chadmed> it is yeah
<chadmed> work has been mostly focused on getting stuff landed upstream and tracing the GPU
Glanzmann has joined #asahi
<kaprests> I see, thanks for the reply! :))
<chadmed> no problem :)
<Glanzmann> mps: :-( about your mbp. Maybe consider buying a macbook air. I assume you can go with the smallest model. Also rember that most likely m2 macbook airs will be released in Nov 2022. Bad timing. :-(
<Glanzmann> mps: HDMI will not work on linux for the time being but maybe under macos.
<mps> Glanzmann: yes, I know, I thought to use hdmi to switch default boot from asahi to macos and then I could experiment with linux
<mps> Glanzmann: and sure, next time I would choose air
<j`ey> but hdmi over usb should be fine?
<mps> j`ey: I'm waiting son to come here and check
<Glanzmann> In Germany you can get the air very cheap. There is also an education discount if you have some grand children and your son being self employed, maybe he can get a tax discount.
<_jannau_> depends on whether it's a displaylink type device or a dp -> hdmi converter using dp alt mode
<mps> _jannau_: I have two usb-c hubs with hdmi, on one hdmi doesn't work with my 2 chromebooks
<mps> and second one where hdmi works with cromebooks can't be plugged in mpb, maybe could if I use mallet
gabuscus has quit [Ping timeout: 480 seconds]
gabuscus has joined #asahi
Axenntio has joined #asahi
bisko has joined #asahi
Axenntio is now known as Axenntio[away]
Axenntio[away] is now known as Axenntio
Axenntio is now known as Axenntio[away]
Axenntio[away] has quit []
Axenntio has joined #asahi
Axenntio is now known as Axenntio[away]
Axenntio[away] is now known as Axenntio
gabuscus_ has joined #asahi
Axenntio is now known as Axenntio[away]
Axenntio[away] is now known as Axenntio
gabuscus has quit [Ping timeout: 480 seconds]
Moprius has joined #asahi
Axenntio has quit [Quit: Axenntio]
<cmalvi[m]> Anyone installed successfully ProtonMail-bridge?
Axenntio has joined #asahi
<mps> Glanzmann: also here apple offer students and professor discount but I'm not sure how much. looks like it is around 100 euros
<Glanzmann> Same as in Germany.
yuyichao_ has quit [Ping timeout: 480 seconds]
gabuscus_ has quit [Remote host closed the connection]
yuyichao_ has joined #asahi
Glanzmann has quit [Quit: leaving]
Axenntio is now known as Axenntio[away]
gabuscus has joined #asahi
Axenntio[away] is now known as Axenntio
Axenntio has quit [Quit: Axenntio]
Ry_Darcy has joined #asahi
Axenntio has joined #asahi
Ry_Darcy has quit [Remote host closed the connection]
artemist has quit [Quit: artemist]
artemist has joined #asahi
Axenntio has quit [Quit: Axenntio]
Axenntio has joined #asahi
the_lanetly_052__ has quit [Ping timeout: 480 seconds]
guillaume_g has quit []
<Serentty[m]> Linux won’t boot after turning it off and trying to turn it on again the next morning. Unfortunately I had an uptime of over eight hours yesterday so I am not exactly sure what could have caused it. I ran `pacman -Syu` so it could have given me the wrong kernel I suppose, but I thought that the added Asahi repositories would take care of that... (full message at
<Serentty[m]> And then after that it just shows every service as FAILED. No extra information. Just that it failed to start.
<Serentty[m]> s/`/``/, s/`/``/
<Serentty[m]> s/`/```/, s/`/````/
<Serentty[m]> * Linux won’t boot after turning it off and trying to turn it on again the next morning. Unfortunately I had an uptime of over eight hours yesterday so I am not exactly sure what could have caused it. I ran `pacman -Syu` so it could have given me the wrong kernel I suppose, but I thought that the added Asahi repositories would take care of... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/ZsoflqyxdNNtYqqwCwuazWVt)
<j`ey> is that the last message?
Telvana has joined #asahi
<Serentty[m]> Nope, after that are all of the services failing to start. But those say nothing of note. Here is one of them:... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/BsfloWzLjRZAyPOPOacPDbWl)
<Serentty[m]> And it just has one of those for every service.
Axenntio has quit [Quit: Axenntio]
Telvana has quit [Ping timeout: 480 seconds]
Telvana has joined #asahi
bps has joined #asahi
Telvana has quit [Ping timeout: 480 seconds]
Telvana has joined #asahi
akemin_dayo has quit [Quit: ┐(´д`🍍)┌ ]
Telvana has quit [Ping timeout: 480 seconds]
bps has quit [Ping timeout: 480 seconds]
firefox317_ has joined #asahi
dlromw^ has quit [Remote host closed the connection]
jb__ has joined #asahi
firefox317 has quit [Ping timeout: 480 seconds]
<jb__> Woop! Just installed it on my 2020 m1. Amazing work!
jb__ has quit [Quit: Lost terminal]
___nick___ has joined #asahi
___nick___ has quit []
___nick___ has joined #asahi
nicolas17 has joined #asahi
ptudor has joined #asahi
nicolas17 has quit [Quit: Konversation terminated!]
nicolas17 has joined #asahi
the_lanetly_052__ has joined #asahi
Moprius has quit [Quit: Konversation terminated!]
phire has quit [Remote host closed the connection]
Telvana has joined #asahi
phire has joined #asahi
jb__ has joined #asahi
jb__ has quit []
flobba has joined #asahi
Telvana has quit [Read error: Connection reset by peer]
flobba has quit [autokilled: Please do not spam on IRC. Email support@oftc.net with questions. (2022-05-09 18:58:56)]
user982492 has joined #asahi
Telvana has joined #asahi
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
user982492 has joined #asahi
user982492 has quit []
Telvana has quit [Remote host closed the connection]
___nick___ has quit [Ping timeout: 480 seconds]
<Serentty[m]> Does anyone have any idea about the NVMe thing?
user982492 has joined #asahi
<cmalvi[m]> I’ve tested some apps, even with a 4K kernel patch to exclude this problem, here the result:... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/tYIPIEWmjlfIEAStMyHHoZbA)
<j`ey> cmalvi[m]: slack and discord are both electron, right?
<cmalvi[m]> Yes but vscodium works
<j`ey> oh you patched electron too
<cmalvi[m]> No I’ve used a kernel with 4K pages
<j`ey> unless they bundle electron, I dunno how that works
<j`ey> oh right, sorry
<cmalvi[m]> No problem :) it’s just a test with apps I use, maybe is useful for someone
<Serentty[m]> I got EXT4FUSE set up so I can see the Linux installation. The kernel images still end in -asahi so I don’t think having the wrong kernel is the issue.
<j`ey> yeah the fact youre booting and have nvme at all means you have the right kernel
<Serentty[m]> Regardless of how to fix it, any idea what this error means in the first place? Is it failing to mount / on the NVMe drive? I have not found anyone else having this problem on Asahi so I have no idea where to start.
<Serentty[m]> Most results for this error are patches and such.
<pimeys[m]> does somebody have an example repo to compile your nixos flake and cache stuff to cachix for the whole system?
<j`ey> Serentty[m]: trying to get into a root shell would be good, then you could manually try mount it
<Serentty[m]> Hm... is it failing to mount though? The next message from asahi-root looks okay. But then every single service fails with no explanation after that.
<Serentty[m]> I’ll try that though.
tensorcat[m] has joined #asahi
<j`ey> it doesn't sound like it is failing to mount
<Serentty[m]> Aha! It seems that it managed to write the to the journal.
<Serentty[m]> I copied the file over to another machine to read it.
<Serentty[m]> Another Linux machine I mean. I can access the file from MacOS, but I need journalctl to read it.
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Serentty[m]> Aha, I got it! The problem is a strange one.
<Serentty[m]> I still have no idea what is causing it or how to fix it.
<Serentty[m]> But it seems that the NVMe thing was a red herring. It probably gave me that before and I didn’t notice, because it goes on and mounts things anyway.
<Serentty[m]> The actual problem is that it can’t run any executables. Every single service it tries to start gives “Exec format error”.
<j`ey> alright run 'file <path>' on one of them
<Serentty[m]> sshd: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=a72cbf1c90de638cc25c35c8bad25a70c0fefae2, for GNU/Linux 3.7.0, stripped
<j`ey> well that looks fine
<j`ey> and /lib/ld-linux-aarch64.so.1 exists?
<Serentty[m]> Yep.
<Serentty[m]> ld-linux-aarch64.so.1: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), static-pie linked, BuildID[sha1]=56df7ffff6ba3e301a5e6a16d8b8162032f5f66f, not stripped
<Serentty[m]> OH!
<Serentty[m]> I remember something that I did yesterday, now.
<j`ey> oh?
<Serentty[m]> I installed qemu-user-static from the AUR.
<Serentty[m]> It probably set some binfmt hooks.
<Serentty[m]> I was going to try to run x86 software.
<Serentty[m]> But I went to bed before I got around to it.
ar4s[m] has joined #asahi
<j`ey> hmm not sure how easy that will be to undo
<Serentty[m]> It seems /etc/binfmt.d is empty.
<j`ey> /usr/lib/binfmt.d/ ?
<Serentty[m]> Aha! It has a file.
<Serentty[m]> qemu-static.conf
<Serentty[m]> I will try moving that somewhere else.
<Serentty[m]> Oh, but EXT4FUSE is read-only. :|
<Serentty[m]> Time to install the Paragon free trial?
<j`ey> Serentty[m]: can you upload that qemu-static.conf?
<j`ey> first line.. I guess the AUR is hardcoded for x86_64
<Serentty[m]> Weird considering that I see a link for an AArch64 build in the PKGBUILD file.
<j`ey> hm
<j`ey> Serentty[m]: can you link the pkgbuild youre looking at?
<Serentty[m]> Aha.
<Serentty[m]> That is the package. But it seems to pull in this:
<j`ey> there you go!
<Serentty[m]> So anyway, now that that is resolved, how would you recommend running x86 software?
<j`ey> alarm has qemu-user, but not qemu-user-static
<Serentty[m]> I mostly just care about Wine.
Telvana has joined #asahi
<j`ey> well qemu works, if you dont overide binfmt :P
<Serentty[m]> My plan was to set up an x86 Arch chroot and install Wine in that.
<j`ey> FEX emu is another one to try,, instead of qemu
<Serentty[m]> Doesn’t that have issues with Asahi’s page size?
<j`ey> if you have a 16K kernel, yes
<Serentty[m]> So I would have to build my own kernel to get that to work?
<j`ey> for now, yeah
<Serentty[m]> I am looking at how to do it with QEMU, but everything I can find involves binfmt.
<j`ey> you can run a full VM
<Serentty[m]> Ah, I was hoping it would be possible to just use a chroot.
<j`ey> or dont install that binfmt.conf
<j`ey> or modify it etc
<Serentty[m]> Would it be as simple as removing the first line having it try to emulate AArch64, and leaving the other lines intact?
<Serentty[m]> Oh, and I guess I would need a line for x86.
<j`ey> I hope!
<Serentty[m]> Hm... not sure how to write those extra lines by hand since they’re all just a bunch of escaped hex.
<Serentty[m]> Wow, this package is so much better! :D
<cmalvi[m]> * I’ve tested some apps, even with a 4K kernel patch to exclude this problem, here the result:... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/RGOYShcvovyjKNWCAujQpviO)
<Serentty[m]> Well, now I get a strange QEMU error trying to chroot, but it’s better than not booting. Thanks! I’ll fiddle with it from here.
<Serentty[m]> qemu-x86_64-static: ./include/qemu/rcu.h:102: rcu_read_unlock: Assertion `p_rcu_reader->depth != 0' failed.
<Serentty[m]> /usr/bin/arch-chroot: line 347: 588 Trace/breakpoint trap (core dumped) SHELL=/bin/bash unshare --fork --pid chroot "${chroot_args[@]}" -- "$chrootdir" "$@"
<j`ey> someone else had that issue
<Serentty[m]> The report of the issue is the only thing in the logs there, right?
<Serentty[m]> As in that person never figured it out?
user982492 has joined #asahi
<j`ey> doesnt seem so
Telvana has quit []
Telvana has joined #asahi
nehsou^ has joined #asahi
Telvana has quit []
Telvana has joined #asahi
greguu has quit [Ping timeout: 480 seconds]
greguu has joined #asahi