#
…

2022-04-22

00:01skipwich has quit [Quit: DISCONNECT]
00:01skipwich has joined #asahi
00:16robinp_ has joined #asahi
00:22gladiac is now known as Guest2516
00:22gladiac has joined #asahi
00:23robinp has quit [Ping timeout: 480 seconds]
00:25lgaryslmtdea^ has quit [Remote host closed the connection]
00:28Guest2516 has quit [Ping timeout: 480 seconds]
00:50ciggi_ has quit [Ping timeout: 480 seconds]
00:58ciggi has joined #asahi
01:28user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:49chadmed has joined #asahi
01:49giyanani[m] has joined #asahi
01:54qyousef_ has joined #asahi
01:56qyousef has quit [Ping timeout: 480 seconds]
01:58darkapex has quit [Ping timeout: 480 seconds]
02:00alyssa has joined #asahi
02:00alyssaWe're linked on the wikipedia home page today... so that's neat :'o
02:00alyssamarcan: ^^
02:27user982492 has joined #asahi
02:38Moprius has quit [Quit: Konversation terminated!]
02:40PhilippvK has joined #asahi
02:42marcanhuh. nice.
02:42phiologe has quit [Ping timeout: 480 seconds]
03:17marvin24_ has joined #asahi
03:21marvin24 has quit [Ping timeout: 480 seconds]
04:13bisko has quit [Ping timeout: 480 seconds]
04:26nicolas17 has quit [Quit: Konversation terminated!]
04:49eroc1990 has quit [Quit: The Lounge - https://thelounge.chat]
04:50eroc1990 has joined #asahi
05:20eroux has quit [Ping timeout: 480 seconds]
05:21eroux has joined #asahi
05:23user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:26Glanzmannasahi-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
05:30Glanzmannasahi-test[m]: Kontext: convert system to btrfs.
05:32user982492 has joined #asahi
05:44akemin_dayo has quit [Ping timeout: 480 seconds]
05:50akemin_dayo has joined #asahi
06:15derzahl has joined #asahi
06:20derzahlanyone booting from a luks encrypted root?
06:22derzahlive 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#
06:22derzahlits the only doc ive found
06:22derzahlanyone know if I need to mess with m1n1 at all or should I good to reboot after configuring grub?
06:23chadmedas long as the ESP is visible to m1n1 and grub can access /boot then you _should_ be fine
06:24bisko has joined #asahi
06:27derzahlso 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
06:27derzahlso i didnt change the ESP at all other than reinstalling grub from my chroot env
06:37imt16r029[m] has joined #asahi
06:37imt16r029[m] has left #asahi [#asahi]
06:38derzahlwell..here it goes I guess
06:40Ry_Darcy has joined #asahi
06:42derzahldoes anyone know of chromium packages since this commit: https://chromium-review.googlesource.com/c/chromium/src/+/3545665? preferably ungoogled
06:43chadmedit wont pop up in release builds until v102 but you could try a nightly or something
06:45derzahli guess i just try building with the ungoogled-chromium PKGBUILD
06:45chadmedi dont think that grabs the source from the main branch though
06:47chadmedyeah it uses tagged build 100.0.4896.127
06:52derzahlill have to look. its been awhile. if the patches all apply still then it should be ok
06:53derzahldamn, no prompt to decrypt
06:53derzahlgonna have to try manually
06:57mpsasahi-test[m]: you can extend script I put in guide, by adding extra packages (whatever needed) and increase size of root partition
06:59mpsasahi-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
07:00derzahlthat is your guide?
07:01mpsfully complete rescue image would be too big to put it on the web site for download
07:01mpsderzahl: ?
07:02derzahlwell, im booted now at least. manually unlocking and mounting to /new_root from emergency shell worked
07:02derzahltook FOREVER though
07:02derzahli was super surprised when GDM finally came up
07:03chadmedwe dont have hardware crypto yet
07:03chadmedthats all in the SEP
07:03derzahlso it seems that the mkinicpio hooks for luks need some tweaking?
07:03mpsderzahl: I'm talking to asahi-test[m] about using alpine usb disk image
07:04derzahloh ok, i dont see any other messages
07:19eloy_ has quit [Remote host closed the connection]
07:20eloy_ has joined #asahi
07:42user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:42derzahl has quit [Ping timeout: 480 seconds]
07:44derzahl has joined #asahi
08:03bps has joined #asahi
08:07andaca[m] has joined #asahi
08:22derzahl has quit [Ping timeout: 480 seconds]
08:27derzahl has joined #asahi
08:31giskard has joined #asahi
08:45MajorBiscuit has joined #asahi
08:49Phyx has joined #asahi
08:51PhyxGlanzmann: 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?
09:14millenialhacker has quit [Quit: Konversation terminated!]
09:20eroux has quit [Read error: Connection reset by peer]
09:24eroux has joined #asahi
09:39millenialhacker has joined #asahi
09:40millenialhacker has quit []
09:55lyiriyah[m] has joined #asahi
09:57florolfchadmed: 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
09:58asahi-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
09:58asahi-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.
09:59svenchadmed: / florolf: the AP has access to an AES engine fwiw
09:59SellerieHi 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
09:59Sellerieplaying just music so it's definitely not just youtube thats broken or something like that
10:00mpsasahi-test[m]: apk add btrfs-extra
10:00SellerieIs there a known issue in that direction?
10:00svennot sure if it's any faster than just doing it on the cpu for now :D
10:00svenand eventually ANS (the nvme-coprocessor) presumably also can do the crypto itself
10:00mpsasahi-test[m]: it contains usr/sbin/btrfs-convert
10:00svenbut yeah, SEP is more of a TPM and less of a HW accelerator afaict
10:01florolfsven: huh, there's a separate classic (i.e. async) AES peripheral too?
10:01florolfinteresting
10:01svenit also has some hidden keys but those should be disabled already by the time we get control
10:01florolfokay, probably makes sense if you want to have something that can have a key sidechannel towards the SEP or something
10:02svenI don't think there's any sidechannel
10:02svenI think it's mostly a leftover from the days when there was no SEP
10:02as400[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.
10:03svenI think it's also still used to decrypt iBoot
10:03svenbut those keys are disabled before it jumps to m1n1 or XNU
10:04asahi-test[m]mps: perfect, thanks!
10:06kettenis has joined #asahi
10:07florolfsven: 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?
10:07sveni'm not even sure if using that aes engine would be any faster
10:08kettenisI doubt it; there is a reason everybody (Intel, Sun, ARM) moved away from crypto engines to crypto instructions
10:09kettenismaybe there are still some power saving opportunities in low-power scenarions where speed doesn't matter
10:10svenwould also be interesting to benchmark it and see how fast it actually is
10:10svenI haven't seen XNU use it anywhere fwiw
10:18mpsasahi-test[m]: generic search for pkgs where is some command is `apk search cmd:btrfs-convert`
10:19mpsasahi-test[m]: I mean, on alpine and pmOS
10:23eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:48eroux has joined #asahi
10:53derzahl has quit [Ping timeout: 480 seconds]
10:54lyiriyah[m] has left #asahi [#asahi]
11:19giskardGlanzmann 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?
11:23alyssa has left #asahi [#asahi]
11:39eroux_ has joined #asahi
11:42eroux has quit [Ping timeout: 480 seconds]
11:59Moprius has joined #asahi
12:01eroux_ has quit [Remote host closed the connection]
12:04eroux has joined #asahi
12:05laolmtdea^ has joined #asahi
12:21eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:22eroux has joined #asahi
12:40cmalvi[m]Hi, there any important news about asahi developement? Maybe some progress about daily use function / application
12:41jncmalvi[m]: the last big news item was the release of the alpha version of Asahi Linux
12:41jn... about a month ago
12:41cmalvi[m]yes i 've already see it thanks
12:42cmalvi[m]so no more recently news?
12:42jnin other news, i think GPU kernel driver development (or at least related research) has started
12:42cmalvi[m]oh cool, where i can read about?
12:44jnnot in text form, but https://www.youtube.com/watch?v=8DPBLQHybTM here's a GPU reverse-engingeering stream
12:46cmalvi[m]thank, i'll see it when i come back home from work :)
12:47jnslight warning, it's not condensed, it spans 6 hours
13:00eroux_ has joined #asahi
13:01eroux has quit [Read error: No route to host]
13:04eroux has joined #asahi
13:08eroux_ has quit [Ping timeout: 480 seconds]
13:20jluthra has quit [Remote host closed the connection]
13:20jluthra has joined #asahi
13:24eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:32eroux has joined #asahi
13:32eroux has quit [Remote host closed the connection]
13:55cmalvi[m]<jn> "slight warning, it's not..." <- oh no problem, i'll divide in many days
13:55Cy8aer[m]> asahi-test: it contains usr/sbin/btrfs-convert
13:55Cy8aer[m]Are you sure that this still works? I killed my partitions with it years ago until it was said: Don't use it?
13:57mpsCy8aer[m]: I don't know, I don't use btrfs
13:59Cy8aer[m]@mps I only use - for years, including container snapshoting. Stable if you know what you do - same as with zfs.
14:00mpsI just told how to find executable in alpine
14:00Cy8aer[m]Ah, I see.
14:01mpsCy8aer[m]: iirc, fedora used btrfs as default in some releases so I guess it is stable
14:01Cy8aer[m]but asahi-test tries to convert an ext partition to btrfs and that can fail with tears.
14:01Cy8aer[m](inside the partition of course)
14:03mpswhen I have to convert FS I always make archive somewhre, reformat partition and then restore. I think it is more safe
14:07Cy8aer[m]and faster 😉
14:09mpsand famous old online book 'The Tao of backup' ;)
14:12Chainfire has joined #asahi
14:18laolmtdea^ has quit [Remote host closed the connection]
14:31mps_ has joined #asahi
14:33mps has quit [Ping timeout: 480 seconds]
14:36bps has quit [Ping timeout: 480 seconds]
14:37Ry_Darcy has quit [Remote host closed the connection]
14:47eroux has joined #asahi
14:59user982492 has joined #asahi
15:02Phyx has quit [Remote host closed the connection]
15:13AndrewSomervell[m] has quit [Quit: Idle for 30+ days]
15:13MarcoLastmarco[m] has quit [Quit: Idle for 30+ days]
15:13Delta[m]1 has quit [Quit: Idle for 30+ days]
15:13Deewiant has quit []
15:13blazra[m] has quit [Quit: Idle for 30+ days]
15:13M12destroyer21[m] has quit [Quit: Idle for 30+ days]
15:13Amey has quit [Quit: Idle for 30+ days]
15:13abbas_faiz[m] has quit [Quit: Idle for 30+ days]
15:13melek89[m] has quit []
15:13foxlet has quit [Quit: Idle for 30+ days]
15:22alicela1n has quit [Quit: Idle for 30+ days]
15:22pg12 has quit [Ping timeout: 480 seconds]
15:31pg12 has joined #asahi
15:41MajorBiscuit has quit [Ping timeout: 480 seconds]
15:58user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:58derzahl has joined #asahi
16:15Techcable has quit [Ping timeout: 480 seconds]
17:01millenialhacker has joined #asahi
17:09user982492 has joined #asahi
17:36MiguelCarvajal[m] has joined #asahi
17:43user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:04THX1984 has joined #asahi
18:41nicolas17 has joined #asahi
18:44Moprius has quit [Ping timeout: 480 seconds]
19:14user982492 has joined #asahi
19:17derzahlWhere is the bleeding edge kernel code for Asahi? Seems the official repo hasnt had any updates for a month
19:18j`eythats the bleeding edge currently
19:19j`eywork is being done on GPU kernel RE currently
19:21user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:27ciggi has quit [Ping timeout: 480 seconds]
19:27ciggi has joined #asahi
19:42user982492 has joined #asahi
19:46Moprius has joined #asahi
19:53user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:55user982492 has joined #asahi
20:41asahi-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)
20:43qbit has quit [Quit: WeeChat 3.4.1]
20:43user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:44asahi-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)
20:47mps_asahi-test[m]: could you please write questions here so I don't need to open browser for long messages
20:48nicolas17write questions in a single, not-insanely-long line*
20:48asahi-test[m]mps_: oh, i am using the browser version, what do suggest to solve it?
20:49jnthe "full message at..." thing is an artifact of the matrix-to-IRC bridge
20:49jnlong messages get that treatment
20:49jnsplitting into single line messages shorter than 500 characters or so means it won't happen
20:49mps_jn: yes, but quite annoying for us who use text clients
20:49jnindeed,
20:49derzahlj'ey: hm ok. I figured bleeding edge more active and on 5.18 etc
20:49asahi-test[m]jn: well i am new to both, what do you suggest ? an IRC client?
20:50jni'm just trying to explain what's happening here, for those unaware
20:50jnasahi-test[m]: not necessarily
20:50jnusing matrix is fine, if you avoid hitting the "full message at..." mechanism
20:50asahi-test[m]mps_: what is the name of that?
20:50mps_asahi-test[m]: ?
20:51asahi-test[m]mps_: the text client
20:51mps_asahi-test[m]: there are many, weechat is popular, and I use irssi
20:52mps_there are also good IRC clients with gui interfaces
20:52j`eyderzahl: I understand, but the asahi branch is the latest
20:52j`eyderzahl: there's some other branches around, but theyre WIP stuff
20:53asahi-test[m]mps_: great and those work on terminal?
20:53mps_well, text mode yes, but gui one are (ahem) gui
20:53j`eyderzahl: Im sure markan will rebase asahi branch at some point soon(tm)
20:54jnthere's a fundamental difference between IRC clients and Matrix clients, they use different network protocols (IRC vs. Matrix)
20:54mps_asahi-test[m]: gui clients are easier for those new to IRC
20:55derzahlj`ey: gotcha. Im specifically interested in testing out any improvements to power saving. ill search LKML and github to see if I find anything
20:55asahi-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
20:56j`eyderzahl: unlikely to be anything major
20:57asahi-test[m]so splitting the lines
20:57asahi-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:
20:57asahi-test[m] • how to change the login so that i can choose a user and pass?
20:57mps_asahi-test[m]: anyway, I don't have advice for DE, I use simple 'awesome wm' but I think xfce is ok
20:58asahi-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.
20:58asahi-test[m] • how to install / build signal?
20:58mps_asahi-test[m]: set password for root by running 'passwd' command and answer questions
20:59asahi-test[m]mps_: i did that
20:59asahi-test[m]asahi-test[m]: twice
21:00mps_asahi-test[m]: for login prompt edit /etc/inittab and change line which start with 'tty1' to look like 'tty2:' line
21:00mps_I prefer to just press enter with machines 'at my hands'
21:01mps_asahi-test[m]: it should be `tty1::respawn:/sbin/agetty 38400 tty1'
21:01asahi-test[m]mps_: i see, right
21:02mps_asahi-test[m]: what was third question
21:03asahi-test[m]what desktop do you use or how to solve the conflicting packages with gnome for example
21:03asahi-test[m]asahi-test[m]: or you advise
21:04mps_asahi-test[m]: I told above that I don't use DEs
21:04mps_though I think xfce is good one
21:04asahi-test[m]oh nice, what browser do you use then?
21:05mps_asahi-test[m]: firefox
21:05mps_and for plain text w3m
21:05eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:06asahi-test[m]mps_: good idea
21:06asahi-test[m]can you call firefox without a DE? Didn't thougt that was possible
21:06mps_asahi-test[m]: chromium doesn't work on default asahi kernel
21:07asahi-test[m]mps_: i never use it. I use ff or tb
21:07mps_asahi-test[m]: yes, I run all gui apps without DE
21:07asahi-test[m]mps_: niiiice!
21:07asahi-test[m]do you have a tutorial or so on how to do that?
21:08mps_why it is needed
21:08asahi-test[m]OK i mean i do not want to go off topic here
21:09asahi-test[m]mps_: but you can just call it from the terminal?
21:09mps_because this my advice is xfce, with it you have DE but not bloated one like gnome/kde
21:09asahi-test[m]mps_: i know
21:09mps_asahi-test[m]: yes, all apps can be run from terminal
21:10bluetail[m]Hey can I assume vsync will never be truly supported like on most other Linux Distributions - even when gpu acceleration is given?
21:10asahi-test[m]mps_: UAU that's good news
21:11mps_asahi-test[m]: I wrote small guide to run xfce on alpine here https://arvanta.net/alpine/install-x/
21:11asahi-test[m]mps_: the last question is how do i install/build signal to use there? cannot find links on that
21:11mps_asahi-test[m]: what is 'UAU'
21:11asahi-test[m]mps_: sorry WOW!
21:12asahi-test[m]asahi-test[m]: just meaning it is great news, like that i do not really need DE
21:13mps_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
21:13asahi-test[m]asahi-test[m]: just make a script to configure the apps or so
21:13asahi-test[m]mps_: OK OK, where can i get that sort of info?
21:14mps_signal-cli maybe
21:14asahi-test[m]signal-desktop?
21:15asahi-test[m]it's its normal name out of the phones
21:15mps_never used signal, so I have no idea
21:16asahi-test[m]mps_: OK great, not having to use the DE is very nice to know
21:16mps_oh, yes. signal-cli doesn't work on aarch64 on alpine :\
21:17mps_bad news
21:17asahi-test[m]mps_: i do not think it works on any aarch64
21:18asahi-test[m]mps_: well i can always use it on the degoogled sp
21:19mps_I don't know much about these things
21:19asahi-test[m]well thanks very much will try all that
21:20mps_np, glad to be of the help
21:49millenialhacker has quit [Quit: Konversation terminated!]
21:54calcium has joined #asahi
21:56user982492 has joined #asahi
22:00calciumHey 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
22:00calciumAny ideas?
22:06Cy8aer[m]wrong passphrase?
22:09millenialhacker has joined #asahi
22:12Cy8aer[m]is the `dm_crypt`module loaded? (according to: https://bugzilla.redhat.com/show_bug.cgi?id=804365)
22:13calciumlooks like i don't have the dm_crypt kernel module.. ok
22:19Toxblh[m] has joined #asahi
23:40greguu has quit [Ping timeout: 480 seconds]
23:48greguu has joined #asahi
…