2023-01-15
00:14Zopolis4 has joined #asahi
00:52flying_sausages has quit []
01:00flying_sausages has joined #asahi
01:03Droop has quit []
01:04Droop has joined #asahi
01:17TheDcoderBy the way, I'm installing plasma and it looks like some Xorg stuff is being suspiciously installed too
01:18chadmedwith arch you just install plasma-wayland-session and itll let you select a plasma session from sddm
01:24TheDcoderPipeWire is also getting installed but that makes sense because I selected a bunch of PW stuff
01:34faruk has quit [Quit: Textual IRC Client: www.textualapp.com]
01:34TheDcoderKind of crazy to think that both my Mac and RPi run on the same CPU arch and packages!
01:47systwi has joined #asahi
01:47jacksonchen666i find 150% global scale (in plasma & wayland) ideal (for someone who uses the "more space" option in macOS for the internal display on a 13 inch macbook)
02:09TheDcoderkind of off-topic but what browser do you guys use? I want to use the one which uses lesser power, not sure if Firefox is still more light-weight than Chrome in that regard
02:10ah- has joined #asahi
02:12ah-hey, since pretty recently my headphone audio on j316 sounds badly metallic, a few weeks ago it was perfectly fine
02:12TheDcoderchadmed: someone said they could get rEFInd to work but without all the features, so I still wanna try with a basic config
02:21regalramp has quit [Remote host closed the connection]
02:22TheDcoderthat's good but I was worried that I might lose software rendering after uninstalling normal `mesa`...
02:41regalramp has joined #asahi
02:47Brainium has quit [Quit: Konversation terminated!]
02:50confusomu has joined #asahi
02:58possiblemeatball has joined #asahi
03:00cylm has quit [Ping timeout: 480 seconds]
03:04mini0n has quit [Quit: Leaving]
03:12pthariensflame has joined #asahi
03:23Stary has quit [Ping timeout: 480 seconds]
03:29chadmed_ has quit [Remote host closed the connection]
03:37Stary has joined #asahi
03:53zzywysmmarcan: i just tried to install Asahi Linux via one true recovery on a new Mac mini M1, and it is badly broken. i get "Unable to determine primary OS. The installer requires you..."
03:55zzywysmj274ap, board id 0x22, chip id 0x8103, iBoot-8419.60.44, Bootmode: one true recoveryOS, OS version 12.6.2 (21G320), SFR version 22.3.65.0.0,0 System rOS version: 13.1 (22C65), no fallback rOS, login user: None
03:59zzywysmone change i did make was i renamed my Mac boot volume from "Macintosh HD" to "MacOS-SSD"
04:00pthariensflame has quit [Quit: Textual IRC Client: www.textualapp.com]
04:07zzywysmapart from updating the system software to 12.6.2, changing a couple minor system preferences, uninstalling garageband and imovie, and renaming that Mac boot volume as described, this is basically straight out of the box from the Apple Store
04:11Stary has quit [Ping timeout: 480 seconds]
04:11zzywysmTheDcoder: i've installed via one true recovery on my MacBook Air M1 before, and you don't have to enter your login creds until step2
04:13zzywysmon my MacBook Air i guess it was bound by default, since i never had an issue. on this Mac mini something is clearly different because it's not working
04:13TheDcoderI don't recall the specific but I'm pretty sure it's not possible... but take my advice with a pinch of salt
04:14zzywysmi've always run the Asahi installer in one true recovery, because resizing the partition i'm currently booted off of always squicked me out
04:16zzywysmi wonder if modifying your Mac boot volume name in the Finder breaks something subtle that the Asahi installer doesn't expect?
04:18TheDcoderDon't worry, macOS will introduce some casual corruption even if you don't resize it mounted ;)
04:19tpw_rulesnever actually heard of resizing causing corruption but it will freeze the machine for a long time if you tuch it
04:19zzywysmthe fact that my recoveryOS is 13.1 even though i only ever gave macOS permission to update me to 12.6.2 is very confusing to me
04:23TheDcoderTo be honest I was just watching the terminal in full screen and moving the cursor around a bit
04:25TheDcoder21? That's how old I am and I also do my root fs resize with a Live USB. But things are different in Mac and you simply can't plop in GParted Live :)
04:26zzywysmi'm gonna hold off trying to install Asahi Linux while booted in macOS and leave this Mac mini in one true recovery in case marcan comes back and wants any additional debugging info
04:44Techcable has quit [Read error: Connection reset by peer]
04:50Techcable has joined #asahi
04:54Stary has joined #asahi
05:20marcan< zzywysm> the fact that my recoveryOS is 13.1 even though i only ever gave macOS permission to update me to 12.6.2 is very confusing to me <- this is normal
05:20marcanrecoveryOS only ever goes up in version, therefore version lineages cannot ever be forked, therefore all macOS releases must use the newest recoveryOS in existence at the time of release
05:26zzywysmmaybe? i didn't think i told it to download releases, but maybe it did before i turned that off?
05:28marcanso the thing is macOS makes live changes to the root filesystem outside the blessed snapshot for updates, and that includes clobbering the SystemVersion plist (which the installer needs to check)
05:28marcanwithin macOS, these days we have a codepath to check the blessed snapshot, which is mounted
05:29marcanso it looks into the live root filesystem, finds a mess, can't figure out what macOS version it is
05:30marcan(patches to fix this welcome, if someone knows where the blessed snapshot name is stored / how to get it from recoveryOS)
05:34leah2 has quit [Ping timeout: 480 seconds]
05:47zzywysmmarcan: does tmutil work within recoveryos? it looks like it has a subcommand "listlocalsnapshots"
06:26possiblemeatball has quit [Quit: Leaving]
06:27regalramp has quit [Ping timeout: 480 seconds]
06:52SSJ_GZ has joined #asahi
07:43hertz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
08:18tim has joined #asahi
08:18tim has quit [Remote host closed the connection]
08:29w3enjoyer has joined #asahi
08:34w3enjoyer has quit [Remote host closed the connection]
09:07le0n has quit [Quit: see you later, alligator]
09:08le0n has joined #asahi
09:19leah2 has joined #asahi
09:36LinuxM1 has joined #asahi
09:52SSJ_GZ has quit [Ping timeout: 480 seconds]
10:02kit_ty_kate has quit [Quit: WeeChat 3.6]
10:17thansen has quit [Quit: The Lounge - https://thelounge.github.io]
10:17thansen has joined #asahi
10:18bps2 has joined #asahi
10:30thansen has quit [Quit: The Lounge - https://thelounge.github.io]
10:31thansen has joined #asahi
10:44jluthra has quit [Remote host closed the connection]
10:44jluthra has joined #asahi
10:56LinuxM1 has quit [Ping timeout: 480 seconds]
11:04bps2 has quit [Ping timeout: 480 seconds]
11:06bcrumb has joined #asahi
11:06bcrumb has quit []
11:16jeffmiw has joined #asahi
11:27jeffmiw has quit [Quit: Konversation terminated!]
12:02hertz has joined #asahi
12:16mkurz has quit [Quit: Leaving]
12:25jacksonchen666 has quit [Remote host closed the connection]
12:30jacksonchen666 has joined #asahi
12:35bps2 has joined #asahi
12:51yc has quit [Quit: Leaving.]
13:23Zopolis4 has quit [Quit: Connection closed for inactivity]
13:28bcrumb has joined #asahi
13:38chadmed_ has joined #asahi
13:49possiblemeatball has joined #asahi
14:02jeffmiw has joined #asahi
14:05bcrumb has quit [Quit: WeeChat 3.7.1]
14:09bps2 has quit [Ping timeout: 480 seconds]
14:11SSJ_GZ has joined #asahi
14:19cylm has joined #asahi
14:30bps2 has joined #asahi
14:35derzahl has quit [Remote host closed the connection]
14:38Tramtrist has quit [Remote host closed the connection]
14:42Tramtrist has joined #asahi
15:02jess has quit [Quit: Lost terminal]
15:03amarioguy has joined #asahi
15:13jacksonchen666 has quit [Ping timeout: 480 seconds]
15:16jacksonchen666 has joined #asahi
15:25jess has joined #asahi
15:55balor has quit [Quit: balor]
15:55balor has joined #asahi
16:05bcrumb has joined #asahi
16:18bcrumb has quit [Quit: WeeChat 3.7.1]
16:28mini0n has joined #asahi
16:41faruk has joined #asahi
16:43farukI've enabled sound in devicetree/recompiled sound driver. it's working so far. What should I do to make sure that I do not blow up my speaker other than not going more than 80% volume?
17:02faruk has quit [Quit: Textual IRC Client: www.textualapp.com]
17:13hightower2 has joined #asahi
17:17ah-when it asks you to put it in ProAudio mode, that's a dropdown in pavucontrol under Configuration
17:24bluetail8 has joined #asahi
17:29faruk has joined #asahi
17:30landscape15 has joined #asahi
17:31TobiasGrosser has joined #asahi
17:31bluetail has quit [Ping timeout: 480 seconds]
17:31bluetail8 is now known as bluetail
17:34TobiasGrosserchadmed: I just read through your https://github.com/AsahiLinux/docs/wiki/Apple-Platform-Security-Crash-Course article and was surprised by the phrase " An existing weakness is that /boot must be stored in the clear, and there is currently no Secure Boot or Measured Boot analogue with which we can guarantee the integrity of the kernel or initramfs." I have little experience in this space, but was wondering how to best set up
17:34TobiasGrossered boot as described in https://help.ubuntu.com/community/Full_Disk_Encryption_Howto_2019? AFAIU both /boot and / can be encrypted, as long as the EFI partition ships the right version of Grub? Or did I misunderstand something here?
17:36ChaosPrincessCurrently m1n1 loads its stage 2 from /boot and does not support it being encrypted or signed
17:36ChaosPrincessYou can get secureboot by doing a single stage m1n1 directly into kernel
17:37TobiasGrosserMh, I am not 100% sure I understand. Is the boot process of Asahi described somewhere on the wiki?
17:38TobiasGrosserSo you say we load m1ni-stage-1 from the EFI partition, which then loads m1mi-stage-2 from the /boot directory. Then grub is loaded from EFI or /boot, ...?
17:38ChaosPrincessapple stuff -> m1n1 stage 1 (on apfs) -> m1n1 stage 2 (on ESP) -> u-boot (inside stage 2) -> grub (on ESP) -> kernel
17:41TobiasGrosserI see, but the kernel and initrd today are on a ext4 partition, which are loaded after grub (ESP), right?
17:41faruk has quit [Quit: Textual IRC Client: www.textualapp.com]
17:42ChaosPrincessI think so.
17:43TobiasGrosserIn particular, they are in the /boot folder of that ext4 partition. At least the ubuntu-asahi that I installed had a shared root '/' and '/boot' parition. AFAIU both of them could remain shared and be encrypted, so only apfs and ESP remain unencrypted. Or am I wrong here?
17:44tpw_rulesi don't think that gets you much because the ESP is still unencrypted and m1n1 can't directly read from / or /boot
17:44TobiasGrosserI mostly try to understand the desirable end goal.
17:45TobiasGrosserAFAIU m1n1 would not need to read from / or /boot. It would just load grub (from ESP), which would then encrypt the (/ and /boot) partitions and pass control to the linux kernel.
17:45TobiasGrosserencrypt -> decrypt
17:47TobiasGrosserAhh, m1n1 loads uboot and uboot today is on the unencrypted ext4 partition?
17:47tpw_rulesi guess u-boot must have some secure boot support but i don't know anything about it, nor more importantly if it can be burned into the u-boot binary loaded by m1n1 so that the SEP protects it from modification
17:48TobiasGrosserFor my personal needs, I feel an encrypted / would be good enough. I would love to see SEP eventually, but mostly would like my data encrypted if I loose my laptop.
17:49tpw_rulesthen that's achievable today, you just would have to authenticate with a password or whatever every boot and would be susceptible to an evil maid attack
17:49ChaosPrincessIf your threat scenario is lost laptop, you can set up an encrypted /
17:50TobiasGrosserThat's what I am trying to do (and failing because of me not understanding exactly how to configure grub). I will debug this further over the next weeks, but thought its useful to understand the setup a little bit more.
17:51ChaosPrincessMove kernel and initrd to ESP, do / decryption from initrd
17:51TobiasGrosserI came across the ubuntu tutorial where the encrypted both / and /boot and thought that could work here as well. It seems because m1n1 stage 2 is on /boot that, I need to keep an unencrypted /boot.
17:51TobiasGrosserAh, interesting. What about m1n1 stage 2?
17:52ChaosPrincessits on esp
17:52dsharshakov has joined #asahi
17:52TobiasGrosserAnd grub is also on ESP, no?
17:53TobiasGrosserMh, then I could leave kernel and initrd encrypted in /boot (as ext4) partition and let grub decrypt it, no?
17:53TobiasGrosser(which means I could follow the https://help.ubuntu.com/community/Full_Disk_Encryption_Howto_2019 tutorial)
17:54dsharshakovU-Boot does have UEFI-style Secure Boot. However, that needs some improvements to work with keys/certs fused into the image (since no secure variable store available)
17:54ChaosPrincessTobiasGrosser: i guess that would work too
17:54TobiasGrosserThat is helpful.
17:54dsharshakovAnd likely later the solution would be to create a fused bundle of m1n1-2 + u-boot + kernel and sign it. m1n1 will be the boot picker in that case
17:55TobiasGrosserRight. And you would store this bundle on ESP?
17:55TobiasGrosserWould grub then still be in the picture?
17:55ChaosPrincessbut imo, thats a bad idea
17:56dsharshakovI talked to m a r c a n about that, he said that we need sep first to not compromise the signing key if password is compromised. I didn't fully understand the issue, but ok
17:56ChaosPrincessm1n1 shouldnt be a boot picked
17:56dsharshakovTobiasGrosser: GRUB can be removed in such a case
17:56TobiasGrosserah, interesting.
17:56dsharshakovChaosPrincess: well, can be avoided if DT stabilizes
17:57TobiasGrosserI see.
17:57dsharshakovif DT is stable enough to keep compatibility, then m1n1-1 -> m1n1-2 (common) + U-Boot built in -> EFI boot manager (grub) -> selectable kernels
17:58TobiasGrosserI see.
17:58TobiasGrosserOK, that's super helpful. I think Marcan has more ambitious goals with respect to secure boot. I mostly want to get my ext4 partition encrypted and in a shape that I can take advantage of later secure boot changes.
17:59TobiasGrosserAFAIU I can try to have a single / and /boot partition that is encrypted, have grub stored in (ESP) decrypt and load this partition.
17:59TobiasGrosserThat seems both attainable today and future proof with respect to secure boot hackery.
17:59dsharshakovyou need secboot rly in case you're in a dormitory and someone can mess with boot and then wait for you to enter password
18:00TobiasGrosserRight.
18:00TobiasGrosserThank you all, this was super helpful. I was a little unclear about the actual setup that I can get to today, but have no a good idea what to try for.
18:01dsharshakovread evil maid attack. If you unlock the drive after tampering then you might compromise the data
18:01TobiasGrosserNow I need to get back to grub config pains (and figuring out why my keyboard stopped working after grub changes)
18:01dsharshakovTo encrypt you probably can also create a partition for /home
18:01dsharshakovhowever that has some disadvantages and unsure whether the install would be fine after you partition the drive
18:03TobiasGrosserRight. An encrypted home is likely the easiest to setup. I will see where I end up with. This was already super helpful. Thank you dsharshakov and ChaosPrincess.
18:05dsharshakovI've recently seen a report of somehow breaking the install after changing partitions: I'd recommend being careful and ready to DFU the system (sorta factory reset)
18:06dsharshakovecryptfs might be one of the easiest choices btw. As well as cryfs or smth similar. Essentially it's a transparent crypto fs for your homedir. Not as secure as FDE, but easiest to setup
18:06TobiasGrosserYes, I saw that as well.
18:07TobiasGrosserRight. I might compromise for an encrypted home. Let's see. At the moment the laptop is a hobby to explore asahi, so I can take some risks.
18:10landscape15 has quit [Quit: WeeChat 3.8]
18:10dsharshakov has quit [Quit: Page closed]
18:15TobiasGrosser has left #asahi [#asahi]
18:19dg_ has joined #asahi
18:20dg_ is now known as hotbbqsauce
18:20hotbbqsaucebox64 emulation layer is not supported on the latest bleeding edge asahi kernel with gpu driver support?
18:21hotbbqsauceOnly test on Asahi for now, using the default "16K page" kernel
18:21DarkShadow4444 has quit [Quit: ZNC - https://znc.in]
18:22hotbbqsauceCorrect me if im wrong but is asahi bleeding edge kernel configured with a page size of 4096?
18:22hotbbqsauce has quit []
18:25DarkShadow4444 has joined #asahi
18:26DarkShadow4444 has quit [Remote host closed the connection]
18:26DarkShadow4444 has joined #asahi
18:31zopieux has quit [Ping timeout: 480 seconds]
18:33dg_ has joined #asahi
18:34dg_ has quit []
18:35kujegerwhen using box64 make sure it was compiled with the proper m1 options: https://github.com/ptitSeb/box64/blob/main/docs/COMPILE.md#for-m1
18:38zopieux has joined #asahi
18:57rvalue has quit [Remote host closed the connection]
18:57rvalue has joined #asahi
18:57m1nion has joined #asahi
19:03mini0n has quit [Ping timeout: 480 seconds]
19:04bps2 has quit [Ping timeout: 480 seconds]
19:08Zopolis4 has joined #asahi
19:14Bandicoot has joined #asahi
19:15Bandicoot has quit []
19:28tim has joined #asahi
19:29tim is now known as Guest1427
19:32zkrx has quit [Remote host closed the connection]
19:33zkrx has joined #asahi
19:35possiblemeatball has quit [Ping timeout: 480 seconds]
19:39possiblemeatball has joined #asahi
19:44___nick___ has joined #asahi
19:46___nick___ has quit []
19:48___nick___ has joined #asahi
20:12bcrumb has joined #asahi
20:12bcrumb has quit []
20:15bcrumb has joined #asahi
20:22bcrumb has quit [Quit: WeeChat 3.7.1]
20:24janrinze has joined #asahi
20:27bcrumb has joined #asahi
20:43bcrumb has quit [Quit: WeeChat 3.7.1]
20:47SSJ_GZ has quit []
20:47ihaveamac has quit [Quit: fail]
20:49ihaveamac has joined #asahi
20:50bluetail has quit [Quit: The Lounge - https://thelounge.chat]
20:53bluetail has joined #asahi
20:54bluetaildoes asahi - default archlinux auto suspend usb devices ? I have a problem with a read only file-system... its a drive formatted with btrfs
21:06bluetail has quit [Quit: The Lounge - https://thelounge.chat]
21:07___nick___ has quit [Ping timeout: 480 seconds]
21:09bluetail has joined #asahi
21:12bluetailI also just set APM_level = off... sudo hdparm -B 255 /dev/sda; sudo hdparm -B 255 /dev/sdb;
21:16balor has quit [Quit: balor]
21:16balor has joined #asahi
21:18Zopolis4 has quit [Quit: Connection closed for inactivity]
21:20krbtgt has joined #asahi
21:26possiblemeatball has quit [Quit: Leaving]
21:27zshroot has joined #asahi
21:29zshroothello everyone, i am an undergrad student new to open source developement, are there any resource from which i can learn and start contributing to this project
21:29Zopolis4 has joined #asahi
21:31Guest1427 has quit [Quit: Guest1427]
21:31Bandicoot has joined #asahi
21:38bps2 has joined #asahi
21:42julio7359 has joined #asahi
21:47zshroot has left #asahi [#asahi]
21:51julio7359 has quit [Ping timeout: 480 seconds]
21:54Dementor has quit [Remote host closed the connection]
21:54possiblemeatball has joined #asahi
21:55Dementor has joined #asahi
22:00bps2 has quit [Ping timeout: 480 seconds]
22:01jeffmiw has quit [Remote host closed the connection]
22:16julio7359 has joined #asahi
22:34Brainium has joined #asahi
22:36Bandicoot has quit [Remote host closed the connection]
23:00yrlf has quit [Quit: The Lounge - https://thelounge.chat]
23:14hspak10153970 has quit [Ping timeout: 480 seconds]
23:20irth has joined #asahi
23:35TheDcoderOh no... KDE has started acting up... it forgot the scaling I set yesterday and reverted to 100%
23:44m1nion has quit []
23:54possiblemeatball has quit [Ping timeout: 480 seconds]
23:56possiblemeatball has joined #asahi