<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
<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
<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
<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_: 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