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-stream #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
skipwich has quit [Quit: DISCONNECT]
skipwich has joined #asahi
robinp_ has joined #asahi
gladiac is now known as Guest2516
gladiac has joined #asahi
robinp has quit [Ping timeout: 480 seconds]
lgaryslmtdea^ has quit [Remote host closed the connection]
Guest2516 has quit [Ping timeout: 480 seconds]
ciggi_ has quit [Ping timeout: 480 seconds]
ciggi has joined #asahi
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chadmed has joined #asahi
giyanani[m] has joined #asahi
qyousef_ has joined #asahi
qyousef has quit [Ping timeout: 480 seconds]
darkapex has quit [Ping timeout: 480 seconds]
alyssa has joined #asahi
<alyssa> We're linked on the wikipedia home page today... so that's neat :'o
<alyssa> marcan: ^^
user982492 has joined #asahi
<nicolas17> wow
Moprius has quit [Quit: Konversation terminated!]
PhilippvK has joined #asahi
<marcan> huh. nice.
phiologe has quit [Ping timeout: 480 seconds]
marvin24_ has joined #asahi
marvin24 has quit [Ping timeout: 480 seconds]
bisko has quit [Ping timeout: 480 seconds]
nicolas17 has quit [Quit: Konversation terminated!]
eroc1990 has quit [Quit: The Lounge - https://thelounge.chat]
eroc1990 has joined #asahi
eroux has quit [Ping timeout: 480 seconds]
eroux has joined #asahi
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Glanzmann> asahi-test[m]: There is Debian live system that you can use. Also see the quickstart.txt https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian
<Glanzmann> asahi-test[m]: Kontext: convert system to btrfs.
user982492 has joined #asahi
akemin_dayo has quit [Ping timeout: 480 seconds]
akemin_dayo has joined #asahi
derzahl has joined #asahi
<derzahl> anyone booting from a luks encrypted root?
<derzahl> ive got one set up. chrooted in. installed grub with --removeable. Im kinda going by this doc for reference, but im keeping arch - not installing debian: https://g3la.de/hedgedoc/s/MIaCyVv1A#
<derzahl> its the only doc ive found
<derzahl> anyone know if I need to mess with m1n1 at all or should I good to reboot after configuring grub?
<chadmed> as long as the ESP is visible to m1n1 and grub can access /boot then you _should_ be fine
bisko has joined #asahi
<derzahl> so I did a normal install on a 20gb root. then I created a new encrypted root with the rest of the space and rsync'd everything over to it
<derzahl> so i didnt change the ESP at all other than reinstalling grub from my chroot env
imt16r029[m] has joined #asahi
imt16r029[m] has left #asahi [#asahi]
<derzahl> well..here it goes I guess
Ry_Darcy has joined #asahi
<derzahl> does anyone know of chromium packages since this commit: https://chromium-review.googlesource.com/c/chromium/src/+/3545665? preferably ungoogled
<chadmed> it wont pop up in release builds until v102 but you could try a nightly or something
<derzahl> i guess i just try building with the ungoogled-chromium PKGBUILD
<chadmed> i dont think that grabs the source from the main branch though
<chadmed> yeah it uses tagged build 100.0.4896.127
<derzahl> ill have to look. its been awhile. if the patches all apply still then it should be ok
<derzahl> damn, no prompt to decrypt
<derzahl> gonna have to try manually
<mps> asahi-test[m]: you can extend script I put in guide, by adding extra packages (whatever needed) and increase size of root partition
<mps> asahi-test[m]: also, if you follow guide I wrote there that ready made usb disk image can be used as rescue system, just do first step to install wifi firmware and start iwd, then you can install any package on it and have it ready to use
<derzahl> that is your guide?
<mps> fully complete rescue image would be too big to put it on the web site for download
<mps> derzahl: ?
<derzahl> well, im booted now at least. manually unlocking and mounting to /new_root from emergency shell worked
<derzahl> took FOREVER though
<derzahl> i was super surprised when GDM finally came up
<chadmed> we dont have hardware crypto yet
<chadmed> thats all in the SEP
<derzahl> so it seems that the mkinicpio hooks for luks need some tweaking?
<mps> derzahl: I'm talking to asahi-test[m] about using alpine usb disk image
<derzahl> oh ok, i dont see any other messages
eloy_ has quit [Remote host closed the connection]
eloy_ has joined #asahi
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
derzahl has quit [Ping timeout: 480 seconds]
derzahl has joined #asahi
bps has joined #asahi
andaca[m] has joined #asahi
derzahl has quit [Ping timeout: 480 seconds]
derzahl has joined #asahi
giskard has joined #asahi
MajorBiscuit has joined #asahi
Phyx has joined #asahi
<Phyx> Glanzmann: Many thanks for the Debian scripts! Saved me lots of time!. I've been trying to use it to get Ubuntu working, I build the artifacts and install them fine but during boot the bootaa64.efi just hangs. Any idea what might be going on?
millenialhacker has quit [Quit: Konversation terminated!]
eroux has quit [Read error: Connection reset by peer]
eroux has joined #asahi
millenialhacker has joined #asahi
millenialhacker has quit []
lyiriyah[m] has joined #asahi
<florolf> chadmed: i don't think the SEP should matter for disk crypto speed? AIUI the SEP is no more of an accelerator than a TPM would be on a PC. ARMv8 has AES instructions and the kernel can take advantage of those
<asahi-test[m]> <mps> "asahi-test: also, if you..." <- thanks, i did that, then installed btrfs-tools but btrfs-convert wasn't on them, tried to search for it online and in the packages webpage ( alpine ) and could not find it. Anyway it was late and i have been kind of sleeping 4-5 hours lately, lots of new exciting things. So i will have a look at it with more time. And yes will have a better look at your script and the other with more time. For now i
<asahi-test[m]> just have to finish the install because i've been kind of playing with new toys and left a lot of work to do on the side.
<sven> chadmed: / florolf: the AP has access to an AES engine fwiw
<Sellerie> Hi there, I recently installed asahi on my Mac Mini M1 using the installer. I'm experiencing a weird issue with media playback though: When I try to watch a video (using a USB soundcard as HDMI audio doesnt seem to be working yet) it sometimes works flawlessly, sometimes it just doesnt start and I have to reboot to make it work again. Same with
<Sellerie> playing just music so it's definitely not just youtube thats broken or something like that
<mps> asahi-test[m]: apk add btrfs-extra
<Sellerie> Is there a known issue in that direction?
<sven> not sure if it's any faster than just doing it on the cpu for now :D
<sven> and eventually ANS (the nvme-coprocessor) presumably also can do the crypto itself
<mps> asahi-test[m]: it contains usr/sbin/btrfs-convert
<sven> but yeah, SEP is more of a TPM and less of a HW accelerator afaict
<florolf> sven: huh, there's a separate classic (i.e. async) AES peripheral too?
<sven> yes
<florolf> interesting
<sven> it also has some hidden keys but those should be disabled already by the time we get control
<florolf> okay, probably makes sense if you want to have something that can have a key sidechannel towards the SEP or something
<sven> I don't think there's any sidechannel
<sven> I think it's mostly a leftover from the days when there was no SEP
<as400[m]> did anyone notice that, when using schedutil governor, big cores are never brought down to 600MHz ? They stay at 2GHz all the time. Is this how it should be ? When using ondemand they are brought down to 600 Mhz.
<sven> I think it's also still used to decrypt iBoot
<sven> but those keys are disabled before it jumps to m1n1 or XNU
<asahi-test[m]> mps: perfect, thanks!
kettenis has joined #asahi
<florolf> sven: okay. still, with regard to derzahl's comment, my assuption would be that dm-crypt performance already ought to be decent with today's state of affairs given that the crypto instructions should just work?
<sven> yeah
<sven> i'm not even sure if using that aes engine would be any faster
<kettenis> I doubt it; there is a reason everybody (Intel, Sun, ARM) moved away from crypto engines to crypto instructions
<sven> true
<kettenis> maybe there are still some power saving opportunities in low-power scenarions where speed doesn't matter
<sven> would also be interesting to benchmark it and see how fast it actually is
<sven> I haven't seen XNU use it anywhere fwiw
<mps> asahi-test[m]: generic search for pkgs where is some command is `apk search cmd:btrfs-convert`
<mps> asahi-test[m]: I mean, on alpine and pmOS
eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eroux has joined #asahi
derzahl has quit [Ping timeout: 480 seconds]
lyiriyah[m] has left #asahi [#asahi]
<giskard> Glanzmann might be a recurring question so if there is do please point it to me.. but do you have a apt repo for kernel upgrades etc?
alyssa has left #asahi [#asahi]
eroux_ has joined #asahi
eroux has quit [Ping timeout: 480 seconds]
Moprius has joined #asahi
eroux_ has quit [Remote host closed the connection]
eroux has joined #asahi
laolmtdea^ has joined #asahi
eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eroux has joined #asahi
<cmalvi[m]> Hi, there any important news about asahi developement? Maybe some progress about daily use function / application
<jn> cmalvi[m]: generally, https://asahilinux.org/blog/
<jn> cmalvi[m]: the last big news item was the release of the alpha version of Asahi Linux
<jn> ... about a month ago
<cmalvi[m]> yes i 've already see it thanks
<cmalvi[m]> so no more recently news?
<jn> in other news, i think GPU kernel driver development (or at least related research) has started
<cmalvi[m]> oh cool, where i can read about?
<jn> not in text form, but https://www.youtube.com/watch?v=8DPBLQHybTM here's a GPU reverse-engingeering stream
<cmalvi[m]> thank, i'll see it when i come back home from work :)
<jn> slight warning, it's not condensed, it spans 6 hours
eroux_ has joined #asahi
eroux has quit [Read error: No route to host]
eroux has joined #asahi
eroux_ has quit [Ping timeout: 480 seconds]
jluthra has quit [Remote host closed the connection]
jluthra has joined #asahi
eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eroux has joined #asahi
eroux has quit [Remote host closed the connection]
<cmalvi[m]> <jn> "slight warning, it's not..." <- oh no problem, i'll divide in many days
<Cy8aer[m]> > asahi-test: it contains usr/sbin/btrfs-convert
<Cy8aer[m]> Are you sure that this still works? I killed my partitions with it years ago until it was said: Don't use it?
<mps> Cy8aer[m]: I don't know, I don't use btrfs
<Cy8aer[m]> @mps I only use - for years, including container snapshoting. Stable if you know what you do - same as with zfs.
<mps> I just told how to find executable in alpine
<Cy8aer[m]> Ah, I see.
<mps> Cy8aer[m]: iirc, fedora used btrfs as default in some releases so I guess it is stable
<Cy8aer[m]> but asahi-test tries to convert an ext partition to btrfs and that can fail with tears.
<Cy8aer[m]> (inside the partition of course)
<mps> when I have to convert FS I always make archive somewhre, reformat partition and then restore. I think it is more safe
<Cy8aer[m]> and faster 😉
<mps> and famous old online book 'The Tao of backup' ;)
Chainfire has joined #asahi
laolmtdea^ has quit [Remote host closed the connection]
mps_ has joined #asahi
mps has quit [Ping timeout: 480 seconds]
bps has quit [Ping timeout: 480 seconds]
Ry_Darcy has quit [Remote host closed the connection]
eroux has joined #asahi
user982492 has joined #asahi
Phyx has quit [Remote host closed the connection]
AndrewSomervell[m] has quit [Quit: Idle for 30+ days]
MarcoLastmarco[m] has quit [Quit: Idle for 30+ days]
Delta[m]1 has quit [Quit: Idle for 30+ days]
Deewiant has quit []
blazra[m] has quit [Quit: Idle for 30+ days]
M12destroyer21[m] has quit [Quit: Idle for 30+ days]
Amey has quit [Quit: Idle for 30+ days]
abbas_faiz[m] has quit [Quit: Idle for 30+ days]
melek89[m] has quit []
foxlet has quit [Quit: Idle for 30+ days]
alicela1n has quit [Quit: Idle for 30+ days]
pg12 has quit [Ping timeout: 480 seconds]
pg12 has joined #asahi
MajorBiscuit has quit [Ping timeout: 480 seconds]
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
derzahl has joined #asahi
Techcable has quit [Ping timeout: 480 seconds]
millenialhacker has joined #asahi
user982492 has joined #asahi
MiguelCarvajal[m] has joined #asahi
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
THX1984 has joined #asahi
nicolas17 has joined #asahi
Moprius has quit [Ping timeout: 480 seconds]
user982492 has joined #asahi
<derzahl> Where is the bleeding edge kernel code for Asahi? Seems the official repo hasnt had any updates for a month
<j`ey> thats the bleeding edge currently
<j`ey> work is being done on GPU kernel RE currently
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ciggi has quit [Ping timeout: 480 seconds]
ciggi has joined #asahi
user982492 has joined #asahi
Moprius has joined #asahi
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
user982492 has joined #asahi
<asahi-test[m]> <mps> "asahi-test: I mean, on alpine..." <- yes, thanks i read that but forgot. However today i remembered. So i reinstalled all on BTRFS and have a few Alpine questions:... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/PzMwQKAwjSzKIiYwWkmqOXNd)
qbit has quit [Quit: WeeChat 3.4.1]
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<asahi-test[m]> > <@baer:g3la.de> > asahi-test: it contains usr/sbin/btrfs-convert... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/ZDoeljYeJxjckgzVNPucmmzB)
<mps_> asahi-test[m]: could you please write questions here so I don't need to open browser for long messages
<nicolas17> write questions in a single, not-insanely-long line*
<asahi-test[m]> mps_: oh, i am using the browser version, what do suggest to solve it?
<jn> the "full message at..." thing is an artifact of the matrix-to-IRC bridge
<jn> long messages get that treatment
<jn> splitting into single line messages shorter than 500 characters or so means it won't happen
<mps_> jn: yes, but quite annoying for us who use text clients
<jn> indeed,
<derzahl> j'ey: hm ok. I figured bleeding edge more active and on 5.18 etc
<asahi-test[m]> jn: well i am new to both, what do you suggest ? an IRC client?
<jn> i'm just trying to explain what's happening here, for those unaware
<jn> asahi-test[m]: not necessarily
<jn> using matrix is fine, if you avoid hitting the "full message at..." mechanism
<asahi-test[m]> mps_: what is the name of that?
<mps_> asahi-test[m]: ?
<asahi-test[m]> mps_: the text client
<mps_> asahi-test[m]: there are many, weechat is popular, and I use irssi
<mps_> there are also good IRC clients with gui interfaces
<j`ey> derzahl: I understand, but the asahi branch is the latest
<j`ey> derzahl: there's some other branches around, but theyre WIP stuff
<asahi-test[m]> mps_: great and those work on terminal?
<mps_> well, text mode yes, but gui one are (ahem) gui
<j`ey> derzahl: Im sure markan will rebase asahi branch at some point soon(tm)
<jn> there's a fundamental difference between IRC clients and Matrix clients, they use different network protocols (IRC vs. Matrix)
<mps_> asahi-test[m]: gui clients are easier for those new to IRC
<derzahl> j`ey: gotcha. Im specifically interested in testing out any improvements to power saving. ill search LKML and github to see if I find anything
<asahi-test[m]> mps_: I get it, seems the problem is the misinterpretation of ALT+Enter that does not translate to a new line over there
<j`ey> derzahl: unlikely to be anything major
<asahi-test[m]> so splitting the lines
<asahi-test[m]> yes, thanks i read that but forgot. However today i remembered. So i reinstalled all on BTRFS and have a few Alpine questions:
<asahi-test[m]> •how to change the login so that i can choose a user and pass?
<mps_> asahi-test[m]: anyway, I don't have advice for DE, I use simple 'awesome wm' but I think xfce is ok
<asahi-test[m]> •which desktop is advisable to use? Tried lightdm from the instructions of the handbook and had package conflicts, them same happened trying gnome.
<asahi-test[m]> •how to install / build signal?
<mps_> asahi-test[m]: set password for root by running 'passwd' command and answer questions
<asahi-test[m]> mps_: i did that
<asahi-test[m]> asahi-test[m]: twice
<mps_> asahi-test[m]: for login prompt edit /etc/inittab and change line which start with 'tty1' to look like 'tty2:' line
<asahi-test[m]> mps_: great
<mps_> I prefer to just press enter with machines 'at my hands'
<mps_> asahi-test[m]: it should be `tty1::respawn:/sbin/agetty 38400 tty1'
<asahi-test[m]> mps_: i see, right
<mps_> asahi-test[m]: what was third question
<asahi-test[m]> what desktop do you use or how to solve the conflicting packages with gnome for example
<asahi-test[m]> asahi-test[m]: or you advise
<mps_> asahi-test[m]: I told above that I don't use DEs
<mps_> though I think xfce is good one
<asahi-test[m]> oh nice, what browser do you use then?
<asahi-test[m]> text based?
<mps_> asahi-test[m]: firefox
<mps_> and for plain text w3m
eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<asahi-test[m]> mps_: good idea
<asahi-test[m]> can you call firefox without a DE? Didn't thougt that was possible
<mps_> asahi-test[m]: chromium doesn't work on default asahi kernel
<asahi-test[m]> mps_: i never use it. I use ff or tb
<mps_> asahi-test[m]: yes, I run all gui apps without DE
<asahi-test[m]> mps_: niiiice!
<asahi-test[m]> do you have a tutorial or so on how to do that?
<mps_> no
<mps_> why it is needed
<asahi-test[m]> OK i mean i do not want to go off topic here
<asahi-test[m]> mps_: but you can just call it from the terminal?
<mps_> because this my advice is xfce, with it you have DE but not bloated one like gnome/kde
<asahi-test[m]> mps_: i know
<mps_> asahi-test[m]: yes, all apps can be run from terminal
<bluetail[m]> Hey can I assume vsync will never be truly supported like on most other Linux Distributions - even when gpu acceleration is given?
<asahi-test[m]> mps_: UAU that's good news
<mps_> asahi-test[m]: I wrote small guide to run xfce on alpine here https://arvanta.net/alpine/install-x/
<asahi-test[m]> mps_: the last question is how do i install/build signal to use there? cannot find links on that
<mps_> asahi-test[m]: what is 'UAU'
<asahi-test[m]> mps_: sorry WOW!
<asahi-test[m]> ehehe
<asahi-test[m]> asahi-test[m]: just meaning it is great news, like that i do not really need DE
<mps_> asahi-test[m]: I don't know what is name of signal app in alpine, I just remember that I saw some packages related to it
<asahi-test[m]> asahi-test[m]: just make a script to configure the apps or so
<asahi-test[m]> mps_: OK OK, where can i get that sort of info?
<mps_> signal-cli maybe
<asahi-test[m]> signal-desktop?
<asahi-test[m]> it's its normal name out of the phones
<mps_> never used signal, so I have no idea
<asahi-test[m]> mps_: OK great, not having to use the DE is very nice to know
<mps_> oh, yes. signal-cli doesn't work on aarch64 on alpine :\
<mps_> bad news
<asahi-test[m]> mps_: i do not think it works on any aarch64
<mps_> ah so
<asahi-test[m]> mps_: well i can always use it on the degoogled sp
<mps_> I don't know much about these things
<asahi-test[m]> well thanks very much will try all that
<mps_> np, glad to be of the help
millenialhacker has quit [Quit: Konversation terminated!]
calcium has joined #asahi
user982492 has joined #asahi
<calcium> Hey I'm trying to do a manual install with LUKS. "cryptsetup luksFormat" seemed to work correctly but opening the disk fails "cryptsetup luksOpen" https://paste.debian.net/plainh/9c22b428
<calcium> Any ideas?
<Cy8aer[m]> wrong passphrase?
millenialhacker has joined #asahi
<Cy8aer[m]> is the `dm_crypt`module loaded? (according to: https://bugzilla.redhat.com/show_bug.cgi?id=804365)
<calcium> looks like i don't have the dm_crypt kernel module.. ok
Toxblh[m] has joined #asahi
greguu has quit [Ping timeout: 480 seconds]
greguu has joined #asahi