#
…

2022-03-24

00:01kjm99 has joined #asahi
00:01user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:06Candygoblen123[m]<Glanzmann> "Anyone else who knows macos..." <- tbh it's prob time machine, i use "tmutil thinlocalsnapshots / 999999999999999 4" to clear them
00:06Candygoblen123[m]* it's prob just time machine,
00:06Candygoblen123[m]even one snapshot can take up a lot of space
00:07kode54snapshots are just deltas, but if you do a lot of data modification between snapshots, they can take up a lot of space, yes
00:07Candygoblen123[m]When i installed, i cleared them all, stepped away for about 5 minutes, came back to install Asahi, and had to clear them again because Time machine had created another one
00:08a1eaiactaest has quit [Ping timeout: 480 seconds]
00:08kode54turn off time machine, then
00:08kode54it creates snapshots regularly
00:08kode54well, don't if you don't have a problem with this
00:09kode54if it's not messing up your space issues, then don't turn it off
00:09dabaiste^ has joined #asahi
00:10Candygoblen123[m]kode54: but yeah, don't tell people to turn off time machine. Usually it's the only thing between them and losing their data
00:16a1eaiactaest has joined #asahi
00:16Tano70 has quit [Quit: Leaving]
00:23kode54but it's not much of a backup if it's only on the one machine
00:24Candygoblen123[m]it's on an external drive
00:24Candygoblen123[m]are you sure you know what you're talking about
00:25kode54no, I never know what I'm talking about
00:25nicolas17I think it creates a snapshot on the local disk
00:25nicolas17then copies that snapshot to the external backup disk
00:25nicolas17that way it gets a consistent copy even if there's programs modifying files while the backup is in progress
00:26Candygoblen123[m]it will create a snapshot when it begins backing up to the drive as well
00:26kode54my only backup is iCloud Documents
00:26nicolas17that's sync, not backup
00:26kode54and I look at massive data loss as an opportunity to start hoarding all over again
00:27kode54if anything, I hoard way too much
00:28kode54all my source code lives in public Git repositories, the rest is old garbage I stopped caring about ages ago
00:28kode54my photos live in iCloud Photos, nearing 30GB, and I hear that's a tiny figure
00:29kode54(I knew someone who already blew through an entire 2TB iCloud account just filling their photos library with raws)
00:29a1eaiactaest has quit [Ping timeout: 480 seconds]
00:29kode54and yes, they absolutely need to carry that 2TB of raws with them wherever they go
00:30kode54guess the 8TB Macs were made for them
00:35a1eaiactaest has joined #asahi
00:39chadmed has joined #asahi
00:41kjm99 has quit []
00:43a1eaiactaest has quit [Ping timeout: 480 seconds]
00:52a1eaiactaest has joined #asahi
00:55user982492 has joined #asahi
00:59ciggi_ has joined #asahi
01:00a1eaiactaest has quit [Ping timeout: 480 seconds]
01:00kode54sorry for ranting
01:01ciggi has quit [Read error: No route to host]
01:05dabaiste^ has quit [Remote host closed the connection]
01:07a1eaiactaest has joined #asahi
01:12bmentink[m] has joined #asahi
01:14bmentink[m]hi guys, I have just done a fresh install on my Macbook air, booted into Arch fine, but can't setup WiFi, when I try iwctl to set it up, it just sits there saying "Waiting for IWD to start"
01:14yuyichao_ has quit [Ping timeout: 480 seconds]
01:15a1eaiactaest has quit [Ping timeout: 480 seconds]
01:16amarioguy has quit [Ping timeout: 480 seconds]
01:16bmentink[m]How do I get network? I can't use ethernet over USB3, as it's not seen ..
01:17AntoniosPapadakis[m]if by Arch you mean Asahi Linux on an M1 [Pro|Max] chip, then WiFi should work. Try fiddling around with WiFi on|off switch. It sometimes gets stuck. If that doesn't work, a reboot should sort out the issue
01:18AntoniosPapadakis[m]the Mac Studio (and by extension the M1 Ultra chip) is not supported
01:18milek7bmentink[m]: you need to start iwd service first
01:18bmentink[m]I can see a wlan0 device ... I have a Macbook Air 2 years old
01:19bmentink[m]how do I start iwd service again?
01:20milek7systemctl start iwd
01:20bmentink[m]ahhh got it thanks
01:20a1eaiactaest has joined #asahi
01:25Aiden[m] has joined #asahi
01:26Aiden[m]hi folks, I wanted to ask what the thoughts of the battery life of M1 airs running asahi's first release are
01:27Aiden[m]I'm willing to stomach potential difficulty in finding supported software given how solid the battery life of said computers seem to be
01:27ReaganMcFarland[m]It’s def not as much as normal macOS
01:27ReaganMcFarland[m]But I think I get like 6-7 hours on my m1 MacBook Pro 2020
01:28Aiden[m]that's pretty exceptional for a linux laptop (in my experience)
01:29ReaganMcFarland[m]I get like 16 on macOS
01:29ReaganMcFarland[m]Depending on my workloads
01:29Aiden[m]is that doing development work?
01:29a1eaiactaest has quit [Ping timeout: 480 seconds]
01:29ReaganMcFarland[m]I use a VDI for work - I can get almost 11-12 hours on that with battery
01:30ReaganMcFarland[m]Virtual desktop interface
01:30Aiden[m]oh, through asahi?
01:30Aiden[m]viewing some virtual desktop on a separate machine?
01:30ReaganMcFarland[m]No for macOS but I was just saying how much battery I get on a normal day to day
01:30Aiden[m]ah okay, I see
01:30ReaganMcFarland[m]I would say asahi is considerably less than macOS in terms of battery life
01:30bmentink[m]Can't install xorg, get error retrieving harfbuzz ... any idea's
01:31ReaganMcFarland[m]But if your workloads aren’t super intense it should be fine
01:31Aiden[m]6-7 hours is still very nice
01:31Aiden[m]I get more like 2 on my acer aspire
01:31ReaganMcFarland[m]Lmfao that’s awful
01:31ReaganMcFarland[m]I can’t imagine going back to intel
01:31ReaganMcFarland[m]I miss Linux so much tho - Glad asahi is around :)
01:32Aiden[m]yeah... I will upgrade at some point, but engineering school tuition demands that I wait until my aspire cacks to purchase a new computer
01:32Aiden[m]and yeah, I have tried macos a bit, but really prefer using linux
01:33Aiden[m]where are you trying to install Xorg from?
01:33Aiden[m]some repository?
01:33Aiden[m]or compiling it yourself?
01:34Aiden[m]error message?
01:34bmentink[m]I have done the basic install as I want gnome
01:34bmentink[m]error message is "failed to retrieve 'harfbuzz-4.0.1-1 ... etc
01:35chadmedyeah... whats the etc bit...
01:35chadmedyou already told us it failed to get it, why does it say this is the case
01:35bmentink[m]ok, just a second slow typer
01:36bmentink[m]harfbuzz-4.0.1-1-aarch64.pkg.tar.xz from mirror.archlinuxarm.org .. error 404
01:36kode54don't forget to Sy first
01:36kode54always sync and full upgrade
01:36kode54switch mirrors then?
01:37bmentink[m]did pacman -Syu
01:37kode54try a different mirror
01:37bmentink[m]what mirrors should I be using, not the install ones?
01:37kode54well, for the base mirror list, there's all the alarm mirrors, pick one close to you
01:38kode54rank mirrors them if you feel like spending bandwidth
01:38a1eaiactaest has joined #asahi
01:38kode54*rankmirrors
01:38bmentink[m]ok will try
01:38kode54don't touch the Asahi mirrorlist, because it needs a server that has the Asahi packages
01:39kode54unless there are multiple mirrors there too, I dunno, I haven't looked at it yet
01:39kode54I only set my mirror to the Chicaco, IL mirror
01:39kode54the mirrorlist file mentions a California mirror, but that repo doesn't mirror alarm any more?
01:40bmentink[m]australia mirror did not help ... changed it and did a pacman -syyu
01:40kode54current harfbuzz is 4.1.0-1
01:40kode54at least on mainline arch
01:41bmentink[m]I will try the Chicargo one
01:41kode54I'm not in Asahi right now, so I can't tell you what's in the repo
01:42chadmedif its trying to get 4.0.1 its clearly not synced up
01:42chadmeddo pacman -Syyu to force it to update repos
01:42bmentink[m]see above .. I did
01:43kode54annoying issue I have with the Byobu update indicator
01:43kode54if you update your repo listings after installing updates
01:43kode54but the repo index is older than the last update check timestamp, then it won't remove the count
01:45bmentink[m]huh? every mirror I try returns the same error
01:46a1eaiactaest has quit [Ping timeout: 480 seconds]
01:51bmentink[m]So I can't continue the install, until I get some help here ..
01:51a1eaiactaest has joined #asahi
01:53doggkruse has joined #asahi
01:56Taro[m]im trying to install asahi with the command, but it stops after it downloads and doesnt continue to extracting nor initializing
02:00DragoonAethis has quit [Quit: hej-hej!]
02:00DragoonAethis has joined #asahi
02:01kode54bmentink[m]: none of the mirrors have a 4.0.1, because that's not the current version
02:01kode54your system should be asking for 4.1.0
02:01bmentink[m]well I have just done a fresh install and it is not asking for 4.1.0
02:04kode54and which user are you running pacman with?
02:05bmentink[m]has anyone tried the basic install here ..
02:06yuyichao_ has joined #asahi
02:06kode54but I haven't updated it since 4.1.0 was released today
02:06kode54I've been in macOS for over 24 hours
02:07kode54I've also done evil things in my setup
02:07bmentink[m]would you be able to try an "upgrade" and report back?
02:07kode54I downloaded jemalloc from ABS, patched the PKGBUILD for aarch64 (just needed the arch defined)
02:07kode54I'll do that next time I'm in Asahi
02:07kode54I'm kind of in a video call right now
02:08kode54I could do the Discord portion of the call from Linux, since that runs in Firefox
02:08kode54but I normally do the video over Skype, ever since macOS 12.3 came out
02:08kode5412.3 has a bug dealing with webcam formats other than raw YUV
02:08sentient_lilac[m] has joined #asahi
02:08kode54somehow, apps don't see or refuse to touch the MJPEG or H.264 formats now
02:09kode54Discord behaves with this by picking a high res, low frame rate raw format
02:09kode54Skype just picks the highest raw it can do at 30fps
02:09kode54I managed to get Telegram Desktop working with that jemalloc rebuild hack
02:10kode54"hack" because upstream alarm builders don't build on 16k or 64k machines, and jemalloc detects the page size of the building machine, and only supports smaller sizes than it was built with, not larger
02:10kode54this fix works for the few apps that import dynamic jemalloc from the jemalloc package, but not for the huge wealth of apps that static link it
02:11kode54like everything rust
02:11kode54rust needs rustc to bootstrap itself, but the stock rustc is built for 4k pages
02:11chadmedive been trying to hack the jemalloc that comes with fex to at least allow me to do SOMETHING with 16k pages
02:12kode54in case you may have missed it from a day or two ago
02:12kode54x64box posted a blog entry about getting their 16k page hack working
02:12enchiladasconpinguino[m]so possible DCP bug on M1 Mini: HDMI signal is only negoiated once on boot?
02:12enchiladasconpinguino[m]if I turn the monitor power off, display signal never comes back on. I have to then reboot the system remotely
02:13enchiladasconpinguino[m]can anyone else with Mini connected to HDMI display confirm? is there a workaround?
02:13enchiladasconpinguino[m]also no DPMS control, even though `xset q` show it is enabled. Which is most likely this same bug
02:13kode54yup, that's correct :[
02:13kode54m1n1 sets up the framebuffer on boot
02:13enchiladasconpinguino[m]so initial iBoot HDMI negotiation is all that happens, Linux driver can't do it? is that it?
02:13chadmedyeah box64 has worked on 16k pages for a while
02:13kode54prior to that, it simply inherited the boot framebuffer from the bootloader
02:13enchiladasconpinguino[m]oh so m1n1 can but Linux can't ?
02:13kode54it needs to set that up now
02:13enchiladasconpinguino[m]that's better than iBoot
02:14chadmedi think fex is faster for certain floating point codepaths which is why i want it up and running as well
02:14kode54as of macOS 12.0, iBoot doesn't even init a boot framebuffer
02:14tpw_rulesi don't think there is DCP yet
02:14tpw_rulesso there's no bug to be had. that's just observed behavior
02:14kode54FEX is getting faster, yes
02:14kode54for instance, they're working on doing 64 bit x87 as scalar neon instead of full softfpu
02:14enchiladasconpinguino[m]well its certainly bug, that you can hang your system that easily .. and have to leave monitor on running
02:15kode54Linux has no DCP support yet
02:15tpw_rulesyou're lucky you have a monitor that m1n1 can init successfully
02:15kode54I have a 1080p monitor on my HDMI
02:15kode54lucky it didn't have my previous setup
02:15kode54where I had the HDMI hooked up to my 4K monitor
02:15enchiladasconpinguino[m]I haven't tried a newer monitor yet
02:15enchiladasconpinguino[m]same, its an old monitor .. probably why it works
02:16Kevin5 has joined #asahi
02:16kode54m1n1 currently ignores displays over a certain resolution, because of behavior with monitors that are single DPI but lie about their resolution in the EDID
02:16chadmedyeah that x87 optimisation actually matters to me because of goldsrc
02:16kode54for some reason, it was decided that initializing a monitor that high would be detrimental rather than wanted
02:17enchiladasconpinguino[m]and DisplayPort USB-C port isn't working yet either right? almost certainly answer is no, just checking
02:17kode54DisplayPort is not implemented yet
02:17chadmedyeah dp alt mode does not work yet
02:17enchiladasconpinguino[m]yeah figured, v complex
02:17chadmeda few things need to fall into place for that
02:17kode54single display is one of the major reasons I don't like to try to spend my day in it
02:18kode54also lack of audio from the headphone jack
02:18enchiladasconpinguino[m]I guess I can boot it headless without HDMI plugged in at all? reboot for GUI when needed .. or else leave a gentle screensaver going for poor old monitor
02:18nicolas17enchiladasconpinguino[m]: afaik the public kernel has no DCP driver at all
02:18kode54every time I boot it, I have to move my headphone transmitter cable to my bluetooth microphone
02:18nicolas17oh I was scrolled up >.>
02:18enchiladasconpinguino[m]I remember seeing some work on it, but maybe its not merged into alpha release at all hrmm not sure
02:19kode54enchiladasconpinguino[m]: you can use a screen saver like gnome screensaver that just blanks the screen
02:19kode54or something equivalent
02:19enchiladasconpinguino[m]doing that already yeah, black at 100% brightness
02:19enchiladasconpinguino[m]I think slowly changing image is actually healthier for the screen
02:19kode54you could look into installing xscreensaver
02:20kode54and disable all the GL ones
02:20enchiladasconpinguino[m]yup already using that
02:20nicolas17oh yeah there was some DCP development work already, but it's not on the alpha release
02:20kode54one of my favorites for complexity is the old computer ones
02:20kode54a full NTSC simulator
02:20kode54complete with line noise
02:20enchiladasconpinguino[m]actually using XFCE screensaver sorry, not the old jwz one
02:20kode54and then Apple II graphics simulation
02:21kode54I always forget that thing's maintained by jwz
02:21kode54hi, why does the security model need to be implemented by the screen saver itself
02:22kode54shouldn't that be running in a sandbox, and the screen locker take care of protecting the system?
02:22nicolas17the "screen locker" being a separate process is also a problem
02:22enchiladasconpinguino[m]lol situation is slightly better on wayland, at least depending on compositor
02:22nicolas17I have seen bugs where people crash the screen locker with the login screen and fall right back on the user's desktop
02:23nicolas17wayland fixes it yeah
02:23kode54I use Wayfire on my Risen desktop
02:23enchiladasconpinguino[m]DCP driver isn't working .. because its not in this kernel at all yet, just framebuffer from m1n1
02:23enchiladasconpinguino[m]okay thanks for confirming the screen issue
02:23kode54hell with it, I'm turning off autocorrect
02:23enchiladasconpinguino[m]I thought / hoped it was an alpine specific issue heh
02:24nicolas17"It was revealed that this would have allowed anyone to bypass the security of the lock screen and access the desktop environment."
02:25nicolas17cats are hackers
02:26amarioguy has joined #asahi
02:30Kevin5 has quit [Quit: Textual IRC Client: www.textualapp.com]
02:36enchiladasconpinguino[m]from the wiki: `DCP needs cleanup`
02:36enchiladasconpinguino[m]so yes driver does exist, but not ready yet
02:48jsch[m] has joined #asahi
02:49riker77_ has joined #asahi
02:54skipwich has quit [Quit: DISCONNECT]
02:54riker77 has quit [Ping timeout: 480 seconds]
02:54riker77_ is now known as riker77
02:54skipwich has joined #asahi
03:00a1eaiactaest has quit [Ping timeout: 480 seconds]
03:00skipwich has quit [Quit: DISCONNECT]
03:02nicolas17enchiladasconpinguino[m]: https://asahilinux.org/2022/03/asahi-linux-alpha-release/ shows it under "Not yet, but coming soon"
03:03skipwich has joined #asahi
03:06skipwich has quit []
03:07skipwich has joined #asahi
03:08skipwich has quit []
03:09a1eaiactaest has joined #asahi
03:10doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:10doggkruse has joined #asahi
03:17enchiladasconpinguino[m]I see lots of `drm/apple:` which is a good sign
03:17a1eaiactaest has quit [Ping timeout: 480 seconds]
03:19enchiladasconpinguino[m]```DCP notifies PMP on power related events like a HDMI cable unplug.``` :)
03:19enchiladasconpinguino[m]so maybe already fixed here in this branch
03:22creechy has quit [Ping timeout: 480 seconds]
03:23phiologe has joined #asahi
03:26PhilippvK has quit [Ping timeout: 480 seconds]
03:27a1eaiactaest has joined #asahi
03:28chadmedjannau and alyssa have been working on it over the past couple of days i believe
03:28chadmedim out of the loop though, had an 8 hour exam yesterday that ive been preparing for heh
03:28amarioguy has quit [Ping timeout: 480 seconds]
03:28creechy has joined #asahi
03:30skipwich has joined #asahi
03:32nicolas17 has quit [Quit: Konversation terminated!]
03:33enchiladasconpinguino[m]yeah seeing recent commits, exciting
03:33enchiladasconpinguino[m]drm vblank appears to be present in the driver already :)
03:34skipwich has quit []
03:35chadmedand for their next trick, they will implement VRR! (pretty please :-P)
03:36GlanzmannCy8aer[m]: The arch was wrong. The line needs to be: debootstrap --arch=arm64 testing /mnt http://deb.debian.org/debian
03:36chadmedit will need to come eventually i think, its an enormous battery saving feature
03:36creechy has quit [Ping timeout: 480 seconds]
03:42kov has quit [Quit: Coyote finally caught me]
03:42kov has joined #asahi
03:43skipwich has joined #asahi
03:48skipwich has quit []
03:51skipwich has joined #asahi
04:01creechy has joined #asahi
04:09creechy has quit [Ping timeout: 480 seconds]
04:12Namidairo1600 nit backlight is what the people desire, for outdoor eyeball sizzling
04:13Namidairoalthough I think the display has thermal limits to stop you cooking it too fast
04:33creechy has joined #asahi
04:36a1eaiactaest has quit [Ping timeout: 480 seconds]
04:41creechy has quit [Ping timeout: 480 seconds]
04:45a1eaiactaest has joined #asahi
04:50marvin24_ has joined #asahi
04:53a1eaiactaest has quit [Ping timeout: 480 seconds]
04:54marvin24 has quit [Ping timeout: 480 seconds]
04:56creechy has joined #asahi
05:01a1eaiactaest has joined #asahi
05:04creechy has quit [Ping timeout: 480 seconds]
05:09a1eaiactaest has quit [Ping timeout: 480 seconds]
05:14creechy has joined #asahi
05:18a1eaiactaest has joined #asahi
05:30KDDLB has quit [Remote host closed the connection]
05:30kode54 has quit [Remote host closed the connection]
05:35KDDLB has joined #asahi
05:48creechy has quit [Ping timeout: 480 seconds]
06:01creechy has joined #asahi
06:02Ry_Darcy@Glanzmann Yesterday evening, tried to to bring up the M1 Mini on a 2K monitor in ZH. Again, a black screen. At this stage, I am convinced that it is the boot chainloading/DCP process that is very particular to which type of Monitor it will talk to.
06:05Ry_Darcy@Glanzmann This afternoon, I am in BE and will try again on the 2K monitor to apply your patch. The 2K monitor in BE worked last weekend. Having done that, I will have to wait until I am in ZH (tomorrow afternoon) to try your patch on my 4K monitor. This is not easy....
06:07EvadingEvasions[m]What are alternatives to firefox which run fine on Asahi?
06:10creechy has quit [Ping timeout: 480 seconds]
06:11GlanzmannRy_Darcy: I see. Jannau and Alyssa also working on the dcp driver. Maybe we have something we can use soon.
06:11GlanzmannRy_Darcy: Anyhow, keep me posted.
06:17Ry_Darcy@Glanzmann Will do. Very frustrating nevertheless. Not your fault though. Additional information. Through some magical process/act of god, I have managed to upgrade the M1 Mini to 12.3, fwiw.
06:19Ry_Darcy@Glanzmann I also ask myself, how did Pipcet (who I think worked on his own) manage to get "his" Linux to work with various monitors and resolutions?
06:20doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:24ptudor_ has joined #asahi
06:26a1eaiactaest has quit [Ping timeout: 480 seconds]
06:29ptudor has quit [Ping timeout: 480 seconds]
06:30creechy has joined #asahi
06:32j`eyRy_Darcy: he took a copy of the DCP driver and extended it
06:33kode54 has joined #asahi
06:35Ry_Darcy@j'ey He should be working with Asahi then... :)
06:35a1eaiactaest has joined #asahi
06:35kode54verified, it's installing 4.1.0 here
06:38dandiccf[m] has joined #asahi
06:39GlanzmannRy_Darcy: He did in the beginning but than there was diasgreement and he did his own thing.
06:39Glanzmannkode54: Context?
06:40kode54Glanzmann: bmentink[m] above was having an issue where no matter which mirror they picked, it would try to download harfbuzz 4.0.1-1
06:41kode54the only thing I can figure is that somehow, they have read-only repo metadata on their system
06:41user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:43creechy has quit [Ping timeout: 480 seconds]
06:43a1eaiactaest has quit [Ping timeout: 480 seconds]
06:44Ry_Darcy@Glanzmann thanks for the info.
06:49a1eaiactaest has joined #asahi
06:56marcanRy_Darcy: m1n1 depends on the DCP iBoot interface for early boot bring-up and that interface is very limiting
06:56marcaniBoot had problems with some monitors too
06:56marcanwe still should work on trying to make the best of it because without it there is no GRUB/U-Boot menu even if the kernel works with DCP
06:57a1eaiactaest has quit [Ping timeout: 480 seconds]
06:57marcanbut there's only so much we can do short of implementing the full DCP interface in m1n1, which, if we end up having to go there, will have to wait because that would *suck*
06:58chadmedwe should simply force monitor manufacturers to properly implement their capability advertising :-P
06:58a1eaiactaest has joined #asahi
07:00Ry_DarcyAppreciate all of your herculean efforts. Tis however frustrating..
07:01chadmeddo we know how widespread that "fake 4K" problem is? i'd be inclined to just tell people to cop it for the sake of m1n1's simplicity and ensuring that "most" people without that problem get a flicker-free native res boot experience
07:02creechy has joined #asahi
07:02chadmedlike if the only other two options are "implement all of DCP" and "assume X*Y res framebuffer" then neither are really that good. the former would just suck soooo hard to do and the latter would still bork compatibility with a bunch of monitors unless you went for like 800x600 as the assumed res
07:03chadmedand you still have to tear all that down once the kernel loads its own dcp driver so you get flickering and black screens and all sorts of nastiness people usually associate with nvidia proprietary drivers (not something we should associate ourselves with)
07:03Ry_DarcyI am lucky if the bloody thing shows up after initial boot at all - whatever manufacturer/screen resolution.
07:09guillaume_g has joined #asahi
07:10marcanchadmed: the "fake 4K" problem is universal and DCP's fault
07:10marcanI get fake 4K on my capture cards
07:10marcanit's not the monitor
07:10marcanit's DCP making up modes
07:11chadmedoh right right i have misread then, i thought it was monitor firmware reporting a 4K mode to the DCP. apologies
07:11chadmedi actually had a monitor years ago htat did this which is probably why i got confused
07:12marcananyway, now that we have chainloading, the real answer is obvious: add 10 lines of code to m1n1 and 5 lines of code to update-m1n1.sh so that people can do echo 'display=3840x2160@60' >> /etc/m1n1.conf and pick whatever mode they want
07:12marcanchainloading FTW
07:13marcanplus that will force stage2 to re-init the display; we can add a "display=auto" option which will re-probe the display in stage2, which will likely fix flakiness issues for everyone; we can even add a configurable timeout for robustness
07:13dottedmagmarcan: I don't even see raw EDID in ioreg under macOS: does DCP expose it at all?
07:13creechy has quit [Ping timeout: 480 seconds]
07:13marcanand then people who don't mind the extra delay can just do that
07:14marcandottedmag: not via the main interface, it does not
07:14marcanhowever there is some i2c passthrough stuff that I think has it
07:14marcanin the other endpoints (that the linux driver does not support/use)
07:14marcanbut at least the main DCP interface has a *lot* of information per-mode, plus scores
07:14marcanthat the iBoot interface doesn't
07:16dottedmagJust curious: have you seen DCP handling tiled monitors? Are they reported as two outputs with some metadata, or DCP merges them internally and handles refresh synchronization internally?
07:16marcanno idea but I assume the latter
07:16marcanwould be silly to punt that to macos
07:16kode54the Retina 5k iMac punted it to Windows when they finally supported it at native 5k there
07:16marcanyeah, tell me about it
07:17marcaneDP connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 597mm x 336mm
07:17marcan 3840x2160 60.00*+
07:17kode54it was funny seeing the first setup wizard's fading background fading out of sync in the middle
07:17dottedmagHah, if this is so, then X / Wayland compositors will work better with tiled monitors under M1 than under x86
07:17marcanstill stuck at 4K because Linux doesn't support it
07:17kode54yeah, I hate that
07:17marcandottedmag: everything graphics will work better under M1 than under x86 because x86 display output hardware kind of sucks, and drivers suck even more
07:17marcanonce we have the pieces in place
07:17kode54I eventually sold my heatwell iMac for a fourth of what I paid for it
07:18marcanespecially wayland since that has a chance at being as smooth as macOS with its design
07:18marcanOTOH, wayland also has problems with DPI scaling still so I dunno
07:18marcanI tried it earlier on asahi and wasn't impressed
07:18marcanit even seemed slower than xorg
07:18dottedmagmarcan: You sure know Wayland is a protocol, not software :-P What compositor have you tried? Kwin?
07:19marcanyes, but also specifically xwayland has DPI problems and this seems to be a longstanding issue
07:19marcan"firefox is blurry as heck" is not a good first impression
07:19dottedmagYeah, Xwayland is a pain.
07:19chadmedits slower and fractional scaling still causes stuff to become ugly
07:20chadmedlike if you log out and log back in the obvious aliasing disappears, but everything kinda just looks smeared
07:20marcanand yeah I noticed it was being "clever" with scaling and just resizing textures instantly when changed on the fly
07:20jannauscaling with kwin_wayland works well with dcp
07:20marcanwhich is cute and all but if apps don't support on the fly DPI switching you still need to restart them for stuff to become crisp
07:20marcanwhich is ugh
07:20jannaushouldn't firefox nowadays default to wnative wayland
07:20marcanI dunno, maybe the default app link starts the xorg mode
07:20chadmedyeah but im still liking it better than xorg on this machine
07:21marcanI'm sure this all can be improved
07:21chadmedyou need to add MOZ_ENABLE_WAYLAND=1 to /etc/env
07:21marcanbut it will take some time
07:21marcanthe default xorg experience was much better than the default wayland experience so xorg it was for the release
07:21chadmedfirefox does not default to wayland ever on arch without that environment variable, you can make it do so in gentoo by adding the wayland USE flag though
07:22marcanI couldn't even figure out how to set libinput configs by default for wayland, it seems it's punted to the compositor there so I guess it would've been in kdeglobals at that point...
07:22marcanI did eventually figure out where to put those systemwide but by then we were hours from shipping :p
07:22dottedmagNearly everything is punted to compositor in Wayland. It's "no policy in protocol" at the extreme
07:22marcanbut then libinput should've had config files for this so all compositors can share defaults
07:23marcans/wayland/wayland ecosystem/ if you will
07:23marcanthere still needs to be a way to set a systemwide default keyboard layout for sanity
07:23dottedmagNot much ecosystem, alas. I see the attempts at this, but they are painfully slow.
07:24marcanand this is why wayland still hasn't taken over :-)
07:24marcananyway, we'll work something out, in time
07:24dottedmagTrue. Everything is solvable, there is even a protocol for better handling of fractional scaling in works. But it will take enormous amount of time.
07:25marcanI promised "linux works at least as well as it does on every other machine", not "linux works as well as macos at everything", so I'm not going to be holding myself to that standard
07:25marcanbut I will take what I can get to make things work well by default on these machines
07:25marcancan't fix all the linux ecosystem's problems single-handed though ;)
07:25marcanfor now, let's fix mac keyboard layouts
07:26marcanthat one's inexcusable
07:26marcanstill can't believe apparently eisu and kana have been swapped on all mac JP keyboard layouts since the dawn of time
07:26marcanit seems nobody maintains any of this seriously
07:27marcanso that's where we can help :)
07:27dottedmagmarcan: How do I manually select these keyboard layouts you have mapping for in installer? I'd like to check ru and ua layouts to see if they are any good.
07:27chadmedmac support has been dreadful since forever as far as i know
07:27creechy has joined #asahi
07:27marcankde settings lets you change the layout (and also add options which the installer does not)
07:27dottedmagBecause I feel you'll need en+ua / en+ru instead of plain ua / ru
07:28ChainfireSo eh, I allocated 70GB for Asahi initially. I'm running out of space already. What are the steps to enlarge?
07:28marcanuh... good luck, enlarging backwards is always a pain
07:28marcanshrinking macOS more is easy, moving Linux upwards into the space is not so easy
07:29Chainfireso un/reinstall would be easier?
07:29marcanyeah, unfortunately
07:30marcanI wonder if there is even some diskutil magic incantation we can use to make that possible at all
07:30rkjnsnIf you can get a live media to boot via U-Boot, gparted makes the actual moving / resizing pretty easy.
07:30marcanyeah, if you use a live linux image or whatever you can do it
07:30marcanhonestly we should offer one at some point, "Linux Recovery" or whatever
07:30marcansomething bootable from u-boot directly
07:31marcanbut that's not really a thing yet for us
07:31marcaneven something with busybox and parted and a couple other tools would do the trick
07:31ChainfireOh, what you said made me think some weirdness was going on, but if I manage to shrink macOS, and was able to run gparted, that would "just work"
07:31coderush has joined #asahi
07:31marcanyes, the problem is you need to do it with your root filesystem unmounted
07:31marcanwhich means rescue media
07:31ChainfireYeah, I understand
07:31GlanzmannChainfire: you can decrease macos, boot debian live, apt-get install -y xinit blackbox xterm gparted
07:32marcanand it'll have to copy all your partition data backwards, so it won't be instant
07:32GlanzmannChainfire: Than start gparted and move the stub and esp partition to the end of the macos. And than resize your root filesystem. I have done it many times.
07:32marcanbut yeah, what Glanzmann said should work
07:33Glanzmannmarcan: The nvme on these machines is so fast that something that I would have assumed take 10 minutes was like 45 secs.
07:33marcanif you have an existing install and the DTBs are compatible, I think you can interrupt u-boot and type `run distro_bootcmd` to boot from USB
07:33marcanGlanzmann: heh
07:33EvadingEvasions[m]When is the chromium patch coming? I can't seem to find it.
07:33Glanzmannmarcan: Yes, that should work. I always use 'run bootcmd_usb0' but both should work.
07:34EvadingEvasions[m]If that gets patched? What about electron applications?
07:34marcanoh, it's in review already?
07:35marcanelectron will have to pull it downstream of course
07:35chadmedelectron applications would pick it up when electron pull it in
07:35EvadingEvasions[m]So that means going to latest electron.
07:35EvadingEvasions[m]Most applications dare venture beyond minor releases.
07:35creechy has quit [Ping timeout: 480 seconds]
07:35EvadingEvasions[m]I see VS-Code suffering from this issue as well no?
07:35chadmedwell maybe reevaluate using electron applications :-P
07:36marcanapple developers managed to port to a whole new architecture, surely electron developers for Linux can update their framework or backport a patch
07:36jonaburg[m] has joined #asahi
07:36EvadingEvasions[m]marcan: Many are not interested in general.
07:36marcanI'm not going to be rushing to offer 4K kernels just because people are lazy
07:36EvadingEvasions[m]Upgrading and testing breaking changes, surely electron will also take time to update chromium.
07:36marcanthey can fix their damn software; 16K is better for anyone who doesn't need FEX
07:36chadmedthey use electron in the first place because it allows them to do the bare minimum work possible to push a viable gui application out
07:36EvadingEvasions[m]Yet they disregard us off as 'niche' population and 'we don't care'
07:37chadmedtheres no chance in hell most electron app devs are going to bother working in patches to support anything but the bare minimum machines
07:37chadmedand as marcan said, it should not be our job to compensate for this
07:37chadmedi think until these devs get a grip youll just have to use alternatives
07:37EvadingEvasions[m]Let us hope some kind soul will go out of his way to compile VS-code.
07:37EvadingEvasions[m]Or one has to do it oneself.
07:37marcan4K/16K/64K have been standard on ARM64 since the dawn of time, therefore software that does not support all of them is buggy
07:37chadmedi mean if people really really really love vscode for some reason they can just use it in the web via github now...
07:38chadmedor just use a good text editor
07:38EvadingEvasions[m]It is not some reason good sir, it is very helpful, especially in a web developer's workflow.
07:38marcankate works fine, you know
07:38EvadingEvasions[m]Alas I am unable to find a good workflow with Kate.
07:38Glanzmannvim also did not give me any trouble.
07:38chadmednano always works heh
07:38coderushmarcan: seen you've mentioned TPM-like capabilities of AS multiple times, in connection to swappable NAND requiring DFU erase restore to work on a different machine. Wanted to point out the closets thing se have to TPM on AS because of it - SKP ( https://support.apple.com/guide/security/sealed-key-protection-skp-secdc7c6c88e/1/web/1 )
07:38EvadingEvasions[m]Yet I simply enjoy using Linux, with KDE plasma too. I have loved KDE software since the beginning.
07:39EvadingEvasions[m]I have tried incorporating nvim too. Treesitter CLI does not work because of architectural issues.
07:39marcancoderush: ah right, that's the stuff tying it to firmware version measurements right?
07:39marcanI've been meaning to look into how that works too, yeah
07:40ChainfireGlanzmann: how do I make a debian live usb? Just same instructions as for any other system?
07:40marcanof course we need to be very careful going there since that's how you end up with people losing all their data on a keyboard firmware update (*cough* Microsoft Surface *cough*)
07:40coderushmarcan: it's only enforced if FileVault is enabled for any APFS volume group, but if so, it measures the HW state, iBoot1 state, and local policy state, and ties user data access to them all
07:40marcanneed to make sure to fully understand it and have a good UX flow for it :)
07:41GlanzmannChainfire: You take an empty msdos usb stick and extract the tar in the root. See here: https://github.com/AsahiLinux/docs/wiki/Debian#livesystem
07:41coderushmarcan: the diagram on that page is nice enough in explaining the whole thing
07:42marcancoderush: is it always used behind the scenes for these password-derived keys, or is it something we can opt in/out of depending on our specific usage of SEP?
07:42coderushmarcan: there's also a limitation on the amount of SKP measurement slots available, so 20 OSes installed in parallel is a limitation for that part too
07:42GlanzmannChainfire: 'the wifi firmware thing is no longer necessary it picks it up automatically from the esp. I remove that part in the wiki'
07:43marcanI should probably make my Asahi image builder build a live rescue image too, in that style...
07:44coderushmarcan: BootPolicy layer always measures and sends the measurements to lower layers, but enforcement of it all is only enabled if FV is on. I also don't think you can do anything to break the measurements, unless you do something really strage.
07:44coderushmarcan: i.e. replace iBoot1 or try to manage local policies from Asahi
07:44marcannot like we could do anything with our own local policy anyway
07:45coderushYou could run SEP and talk to it the same way libbootpolicy.dylib does.
07:45jakebot6 has joined #asahi
07:45marcanthough I do need to figure out how to trigger SFR upgrades, most I've figured out so far is you copy some stuff to a staging location in Preboot (or system recovery?) and put stuff in NVRAM to make it boot into the upgrade ramdisk
07:45Glanzmannmarcan: For Debian it was super. Easy. I assume for arch it will be more or less the same: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blob/764bbca1b425faeb18d975d2a22fa827250e06c7:/bootstrap.sh#l106
07:45coderushBut you'll be deemed fuOS and the only thing you will be able to do is to get back to Full Security
07:45jakebot has quit [Read error: Connection reset by peer]
07:45jakebot6 is now known as jakebot
07:46marcanthat would let us get rid of macOS to some extent, though we'd still have to direct people into recoveryOS to complete a stub re-provision and upgrade the per-OS firmware
07:46marcanbut we have a good flow for that anyway with the USB installer flag hack, just need them to hold down the power button
07:46coderushActually, there's a flow for a tethered SFR update.
07:46marcanyou mean via DFU?
07:46coderushIt can be done via non-erase DFU, yes.
07:46marcanI know about revive mode, yes
07:47chadmedit would indeed be nice to yeet macos if we can get by with managing stuff from 1TR, dfu and linux
07:47marcanbut it also punts you into boot recovery assistant IIRC?
07:47marcanwipes all BPs or whatever?
07:47marcanIIRC you said telling people to use that was a bad idea
07:47coderushIndeed it puts you into rOS, but it doesn't wipe anything that had been valid before
07:47coderushJust re-measures it after you provide enough creds to authorize the re-measurement
07:47marcanso old fuOS BPs would still be valid?
07:48coderushIt is a bad idea in sense "please let macOS do it instead"
07:48marcanyeah, but some people don't want macOS
07:48marcanif you think it's okay to tell people to wire up and use idevicerestore, then we might be able to start offering "replace macOS" flows, at least in expert mode and understanding this
07:49marcanideally recoveryOS would have some way of doing it for us
07:49marcanand then we just ask it to do so and not have to implement too much
07:49marcansince we do drag around a full recoveryOS after all
07:49coderushWell, replace macOS means no FV, at least before SEP FW will be loaded by Asahi and all that.
07:50coderushSo you'll likely never need to even trip SKP into being enabled if you don't want macOS
07:50marcanI'm not in a rush to offer that flow either way, but there's always going to be people who ask and that's why I have expert mode in the installer, that implies some level of "here be dragons"
07:50coderushI understand, and admire their dedication. :)
07:51marcanI'm going to add a "delete partition" option to expert mode anyway just because diskutil sucks and we need a better UI for that, and the only thing stopping users from doing a no-macOS install at that point is something to stash around the SEP user identity list from it *before* nuking it so we can transfer it to linux
07:52marcanI've been thinking of just casually dropping that plist into iSCPreboot on Asahi installs, as a fallback and to enable that use case
07:52marcanthinking of it as "last known primary macOS user list"
07:53coderushStill need to get an owner created before, but yeah, that plist is required for all the stuff that can't just ask SEP for the owner list
07:53marcanyeah, that's what I mean, just boot macos once, create the owner, then boot into 1TR and run the installer and nuke it, and have it save just that plist
07:53coderushI feel kind of sad about the current state of this affair, because it seems stupidly complicated for no apparent reason
07:54Chainfire has quit [Remote host closed the connection]
07:54coderushBut you know all the reasons already after 1.5 years in those trenches...
07:54dottedmagmarcan: I checked ua/ru layouts, and they definitely need to be fixed. I don't know the syntax though (I've been using my own xkb symbols from keycodes up, so I don't know anymore how rules compose), were should I file the bug?
07:54jonaburg[m]the last time I tried to use a Mac was when I was super impressed by the hardware from the 2014 era MacBook Pro (first 'retina' marketing stuff).. almost a decade later and with the m1 I'm equally impressed by the hardware. can't express how much I love the project and where this is going!
07:54marcanif you can include a *very* detailed description of what the best layout/variant available so far is, and exactly what needs changing and how, that would be very helpful
07:55jonaburg[m]marcan: not sure how to send a private message on this client, but please send me a donation ETH address!
07:55marcanjonaburg[m]: sorry, I don't take crypto donations
07:55marcancoderush: :)
07:55coderushAlso, please don't forget about the fact that on Macs RU layout has at least 2 popular variants: usual Russian and Russian - PC created for switchers from PC
07:56marcanjust software, or are there two physical variants too?
07:56jonaburg[m]marcan: you gotta be a little crazy to do something so cool I guess ;D
07:56coderushI personally use the latter and would really like to have it as an option.
07:56dottedmagmarcan: xkeyboard-config already provides proper maps, it's the installer that selects the non-optimal (awfully non-optimal) variant.
07:56jonaburg[m]* guess ;D (wrong reply msg)
07:56coderushOnly SW, AFAIK
07:56marcanyou can just file a PR for that
07:56marcanwith the right layout/variant
07:56jonaburg[m]are you able to force xrandr to use a 120hz modeline in Asahi?
07:57marcanno resolution switching for now
07:57jonaburg[m]on an m1 Mac anyways, I'm not sure if thee did from the display comes out right
07:57marcanthat is coming
07:57dottedmagmarcan: I could, but I don't know the syntax for specifying two layouts there. ua/ru need two: base latin and additional cyrillic
07:57marcanwell, modelines aren't coming, ever
07:57marcanbut having the right modes available is
07:57marcandon't bother trying to add your own modelines, that will never work on these machines AIUI
07:57marcanunless we find a DCP command for it
07:58marcandottedmag: as in you need two options with a switch key?
07:58jonaburg[m]aah interesting, and I imagine the variable refresh rate is something not likely to come until mainline kernel gets support for this
07:58marcanlike an alt layout?
07:58jonaburg[m]forced 120hz and I wouldn't care tbh
07:58dottedmagmarcan: Yes. ua/ru layouts only specify cyrillic layout
07:58marcanjonaburg[m]: depends on exactly what apple means with VRR, we need to figure out how to make it work
07:58dottedmagAnd a switch is needed
07:59marcanbut I need to test how it works
07:59dottedmagAh, great, thanks.
07:59marcanyou can just file a bug on the asahi-calamares-configs repo and explain exactly what you want and how it should work
07:59marcanand I'll do my best to implement it
08:01jonaburg[m]I kind of screwed up my partitions a bit btw, I wanted to give macOS a bit more space so I actually just removed the Asahi partition.. used to how things are setup in linux, I was shocked to find out volumes do not function as they do over there :D
08:01Chainfire has joined #asahi
08:01jonaburg[m]now I have one tiny 40gb partition with like 850gb unclaimed space in its own volume.. if I remove that "other volume", then it gives an error that I can't expand the initial due to some internal error
08:01marcanjonaburg[m]: is this using the graphical Disk Utility?
08:01jonaburg[m]yes, correct
08:01marcanyeah, don't do that. that thing is broken as all hell.
08:02marcanI should add a flashing red sign for users
08:02jonaburg[m]looks like it.. am I able to repair it at this point via cli?
08:02marcanit does not work unless all you have is a pile of neatly lined up APFS volumes utilizing all available space
08:02marcanyeah, use the `diskutil` cli for everything
08:02creechy has joined #asahi
08:02coderushmarcan: it's "simplified to help the less experienced user with their most common operations", end quote.
08:03marcancoderush: and gives outright wrong and broken results if you have a less common set-up
08:03marcanlike impossible numbers :)
08:03jonaburg[m]interesting, from my reading I saw I thought they tried to solve the messy block allocation and flexibility by APFS in the first place
08:03marcanyeah, but that's all within a single container
08:03jonaburg[m]but thanks for the advice! ill use diskutil cli
08:03marcanwhich we can't use because Linux can't use that, and we also don't share a container with macOS for the stub partition because at least it makes wiping easier
08:04marcanI should make a wiki page for diskutil
08:04marcanthis is important enough
08:08a1eaiactaest has quit [Ping timeout: 480 seconds]
08:09coderushmarcan: anything GUI requires extreme amount of back-and-forth between the devs and the Human Interface people, with the latter doing everything they can to make thee GUI tools easier to use for non-power users. It often leads to software that is more usable for such users, but power users grumble about this to no end, also understandably.
08:10coderushCUI tools are way less regulated, and therefore are as brief or explicit as their devs like them to be.
08:10creechy has quit [Ping timeout: 480 seconds]
08:11Chainfiremarcan / Glanzmann : u-boot can't see my USB storage device. This machine only has usb-c ports, not sure if that's relevant
08:12GlanzmannChainfire: For me it works.
08:12GlanzmannChainfire: So I use a usb-c usb stick in either usb-a to usb-c dongle or in a hub with integrated ethernet and it always picks it up.
08:13GlanzmannChainfire: Can you paste me the output of parted /dev/sda print
08:13Glanzmannand the outout of 'find .' on the usb stick?
08:13GlanzmannChainfire: Did you use 'run bootcmd_usb0' in u-boot?
08:13MajorBiscuit has joined #asahi
08:15Major_Biscuit has joined #asahi
08:17ChainfireGlanzmann: yes, seems u-boot doesn't like this drive. Trying a different stick now
08:17coderush has quit []
08:19a1eaiactaest has joined #asahi
08:20GlanzmannChainfire: It is important that it is the first partition on the drive.
08:20creechy has joined #asahi
08:21GlanzmannChainfire: I tried with Kingston HyperX 64 GB and sandisk Ultra USB 3.0.
08:21ChainfireThanks, I just tried an ancient 1GB stick and that works
08:22MajorBiscuit has quit [Ping timeout: 480 seconds]
08:22GlanzmannChainfire: Perfect. vim /etc/wpa/wpa_supplicant.conf edit ssid and psk; ifup wlp1s0f0; apt update; apt install xinit blackbox gparted xterm; startx
08:23GlanzmannChainfire: Also don't forget to make the macos container smaller in macos: diskutil apfs resizeContainer disk0s2 <final size of macos>
08:23ktz3[m] has joined #asahi
08:25ktz3[m]Hey guys, is it my client or nobody can fetch prior conversations?
08:25chadmeduse the logs
08:26chadmedin the channel description
08:26ktz3[m]yes I'm doing that already thanks, just wondered if I could get them rendered in the client
08:26chadmednah doesnt work like that unfortunately
08:27Glanzmannktz3[m]: If you use linux, install irssi and than use the following to conenct to the chat: '/connect -ssl irc.oftc.net 6697' and join the channel '/join #asahi'
08:27ktz3[m]okay, no prob
08:28ktz3[m]oh thanks Glanzmann I got rssi installed but didn't get it to work
08:28ktz3[m]I'll try again
08:28creechy has quit [Ping timeout: 480 seconds]
08:29ktz has joined #asahi
08:29ktzIts working, thanks a lot
08:30Glanzmannktz: You're welcome.
08:41ChainfireGlanzmann: I now have the unallocated space between two APFS file systems. Can I just move those?
08:42Rakshit[m]I'm unable to change Security Policy for MacOS after installing Asahi
08:42Rakshit[m]Any idea why?
08:42Rakshit[m]Startup Security Utility only shows stub
08:42GlanzmannChainfire: Yes, move on after the other without resizing.
08:43GlanzmannPress the green checkmark after everyone.
08:43GlanzmannChainfire: Once you moved root fs you can extend it.
08:49_jannau_Rakshit[m]: afaik it allows you only to change the security of paired OS, change the startup disk to macos
08:49ChainfireGlanzmann: thanks, resized, macOS still boots, Asahi has grown. Victory is mine.
08:51Cy8aer[m] Glanzmann it installs... Thanks for the arm64 (but I thought that I tried it...)
08:52ktz3[m]mps: hey mps any news on the alpine installation guide? any chance it lands soon?
08:52creechy has joined #asahi
08:53Rakshit[m]_jannau_: Thanks! This worked!
08:56ptudor_ is now known as ptudor
08:59Chainfire has quit [Remote host closed the connection]
09:00creechy has quit [Ping timeout: 480 seconds]
09:01Chainfire has joined #asahi
09:06ktz has quit [Quit: Lost terminal]
09:18GlanzmannChainfire: Perfect.
09:19GlanzmannCy8aer[m]: I tried three different mirrors and than doublechecked my boostrap.sh script before i spotted the error ...
09:20jakebot has quit [Read error: Connection reset by peer]
09:20jakebot has joined #asahi
09:23creechy has joined #asahi
09:27a1eaiactaest has quit [Ping timeout: 480 seconds]
09:29a1eaiactaest has joined #asahi
09:31creechy has quit [Ping timeout: 480 seconds]
09:34a1eaiactaestCLONE has joined #asahi
09:35marcanhope that helps people
09:35marcanjonaburg[m]: ^
09:37a1eaiactaest has quit [Ping timeout: 480 seconds]
09:42YannickVanier[m] has joined #asahi
09:42_jannau_marcan: will the cleanup script wipe "external" macos installations if they are not connected?
09:43marcanboot policies? yes
09:43marcanbut the boot picker will regenerate those anyway
09:43marcanalso that cleanup only works with SIP disabled or from recovery anyway, otherwise it'll fail and do nothing
09:43_jannau_yes, boot policies
09:44YannickVanier[m]Just dropping by to thank the developpers, the install went flawlessly on my 2021 MBP M1 Pro, exeptionnal work by the whole crew. It's a keeper for sure
09:47mpsktz3[m]: I hope to have it on this weekend
09:48mpsyesterday I used some parts of my free to build new u-boot and testing different boot methods
09:48j`eymarcan: nice to have a cheatsheet to refer back to, I'm pretty sure I get it, but Ive only actually partitioned once and that was way before we had the installer :)
09:49mpsktz3[m]: and enchiladasconpinguino[m] told that will write someting about install which I will stole ;)
09:49AdryzzOLEDEdition[m]iBoot -> u-boot wasn't intentional, right?
09:49creechy has joined #asahi
09:50AdryzzOLEDEdition[m]we-boot confirmed
09:51amarioguy has joined #asahi
09:51amarioguy has quit [Remote host closed the connection]
09:55Glanzmannmarcan: Nice read. Thanks.
09:57chadmeddas u-boot has been around since like 2009
09:57chadmedits become basically the universal bootloader for embedded systems
09:57chadmedbut it is indeed a nice coincidence!
09:57creechy has quit [Ping timeout: 480 seconds]
09:58marcanAdryzzOLEDEdition[m]: in the wiki page? U-Boot is correct
09:59j`eyiBoot -> youBoot -> weBoot
10:00marcanthe boot chain for vanilla Asahi Linux is PMU OTP fuses → SecureROM → iBoot stage 1 → iBoot stage 2 → m1n1 stage 1 → m1n1 stage 2 → u-boot → GRUB core image → +GRUB modules → Linux → initramfs → pivot to root filesystem
10:00marcan(somewhat deliberately making it sound ridiculous :p)
10:00mpsDas U-Boot is fullname of u-boot
10:00j`eymarcan: -> kexec into newer kernel
10:01marcanI wonder if kexec works
10:01marcanpretty sure it wouldn't before the AIC changes, but maybe now it does?
10:01j`eynot until PSCI does
10:01marcanah right, for the core shutdown, since it can't re-spintable itself
10:01the_lanetly_052 has joined #asahi
10:02marcanit does work for single-core though, pipcet was doing that way early on (and I never liked it :p)
10:02j`eyhmm, actually if you boot with maxcpus=1 for the first kernel, maybe it works now
10:02marcanI think that always worked?
10:03j`eys/works now/worked already/
10:03marcanAIC was one reason why SMP wouldn't work (and still won't if you don't use FastIPIs, but even t8103 does now), but PSCI is another yeah
10:05jnj`ey: ..oO(WiiBoot)
10:05AdryzzOLEDEdition[m]wasnt the bootloader of the wii called iBoot too?
10:05a1eaiactaestCLONE has quit [Quit: WeeChat 3.4.1]
10:06a1eaiactaest has joined #asahi
10:08j`eyAdryzzOLEDEdition[m]: the OS was called IOS, mabe thats what youre thinking of
10:11jnand a third-party experimentation tool was called mini. it is the ancestor of m1n1
10:11AdryzzOLEDEdition[m]j`ey: yeah checked on wiibrew
10:12chadmedargh just the mere mention of IOS has triggered me
10:12chadmeddark memories of putting discs in that would wipe out whatever downgraded IOS versions i had for various stuff
10:12sorear(i have to wonder about kexec in connection to the preboot DCP issues we have)
10:13AdryzzOLEDEdition[m]i was in elementary school when i tried wii homebrew
10:13AdryzzOLEDEdition[m]it was not fun when it was the only console (and sd card for that matter) that i had
10:13chadmedsame lol, many fantastic memories
10:14chadmedi didnt have a working dvd player at the time so it was awesome just being able to play dvds in the wii
10:14j`eyI never played games past ps2, so m1 is the first I heard of marcan :D
10:15chadmedwell i was a drooling little idiot baby when i was using wii homebrew so naturally i paid no attention to who was actually behind it all
10:15chadmedjust a small world we live in i guess
10:16AdryzzOLEDEdition[m]the first time i got interested in development was with the 3ds but that was a mess of its own
10:16chadmedthough i do remember when you letterbombed the wii, it would ask you if you intended to pirate games. that definitely feels like something marcan would do
10:17jn(ok, this is getting offtopic)
10:19Sobek[m]Is there like #asahi-offtopic ?
10:19poviktake a look
10:19creechy has joined #asahi
10:20j`eySobek[m]: yep
10:25realmoot has joined #asahi
10:27ktz3[m]hey jey, I saw you mentioned something about voidlinux in the logs
10:27ktz3[m]do you happen to use it?
10:27j`eyI dont, someone else was using it here
10:28creechy has quit [Ping timeout: 480 seconds]
10:28j`eymaxung[m] is
10:29ktz3[m]maxung any chance to publish some documentation on how its done?
10:33realmootAny chance of getting emacs working?
10:38realmootSorry but thats a bug listing right... if so, it means it doesn't work yet?
10:39AdryzzOLEDEdition[m]here it says it's fixed
10:39mpspovik: repeating my question from last night 'what are VSENSE and ISENSE switches in alsamixer for speakers'
10:41realmoot"Asahi Linux aims to bring you a polished Linux® experience on Apple Silicon Macs."
10:41realmootThat's really funny considering they don't ship a working kernel
10:41realmoot has quit [Quit: Konversation terminated!]
10:41Glanzmannrealmoot: If you compile from source it is fixed.
10:42* dottedmagwonders who are "they"
10:42Sobek[m]What is he referring to, by "don't ship a working kernel" ?
10:43GlanzmannSobek[m]: He wants a 4kb kernel ...
10:43dottedmagobviously if Emacs from stable Debian does not work, then the kernel is not working ;)
10:43Sobek[m]Some people seem to forget this is still alpha and all the moving parts that have been dealt with yet, and all that remais to be done on the other front.
10:43Sobek[m]Stable Debian, on M1, call me in 2030 perhaps ?
10:44GlanzmannSobek[m]: On Debian, at lease me is shipping currently a 4kb kernel, so emacs is working on Debian. I tested this morning, wondered why, rembered that I run a 4k kernel.
10:47Sobek[m]Hmm, I hope the discussion with the distros will end up in a state where distro are will to support 16k kernel (or mostly 16k kernel, if eventually a solution is found so that odd balls like FEX can run on the kernel while using 16k pages for everyone else). But sorting out these final bits is way less important than the driver work, isn't it ?
10:47Sobek[m]Glanzmann: I thought emacs was its own OS ? Is there such a thing as the secret Asahemacs cabal ?
10:48GlanzmannSobek[m]: I agree. But first we need to get everything upstream which is a lot of work.
10:49GlanzmannSobek[m]: Also emacs is a hard dependency to onboard Linus Torvalds to apple silicon.
10:49Sobek[m]Yeah, just saw the amount of feedback they are getting on the latest patch series sent by Sven. A lot of work there is. And that amount of work deserves praise !
10:49Sobek[m]Glanzmann: Can't he use like, vim or Kate ?
10:51dottedmagSobek[m]: My ~/.emacs.d can now legally buy alcohol in US, do you really think I'd switch? He uses Emacs (or microemacs?) longer than I do.
10:51creechy has joined #asahi
10:51GlanzmannSobek[m]: Nope the keystroke are hard wired into his brain. Sobek, I also read the comments to Svens nvme patch series this morning. I mean its all 'just legwork' but someone needs to do it.
10:54klaus has joined #asahi
10:54klaus has quit []
10:59creechy has quit [Ping timeout: 480 seconds]
11:00povikmps: something you shouldn't worry about. refer to tas2770 datasheet if you are curious
11:00povikit's a case of the ASoC subsystem in linux exposing something it shouldn't
11:00jakebot has quit [Read error: Connection reset by peer]
11:00povikthe macaudio driver will hide it in the future
11:01jakebot has joined #asahi
11:01povik(it should already but apparently doesn't, something minor there)
11:03Sobek[m]Will the macaudio driver be able to deal with the DSP / prevent speaker kaboom part in the future, or is this impossible for such a driver ?
11:03mpspovik: thanks for info
11:03povikno the macaudio driver but a speaker amp driver will limit the maximal gain to a sensible value
11:04povikthat's a speaker amp driver in the kernel
11:04mpspovik: I thought these are some limiters, but I don't have datasheet so I just tried to guess
11:04povikDSP will be up to userspace
11:04povikwhether the amp gain caps will be enough to protect the speakers against evil userspace (if the DSP isn't there) i am not sure
11:05povikmps: no no, these switches are about sending some measurements from the speaker amps back to the SoC
11:06mpspovik: aha, thanks. I will not read datasheet, I trust you
11:06AdryzzOLEDEdition[m]there should be clamping in place to make sure that with stuff like pavucontrol setting volume above 100% doesn't have the same result but just clips
11:06povikmps: yeah, it's not much of an interesting read :)
11:07bradfier has quit [Quit: Leaving...]
11:08mpsheh, I have garage full of IC datasheets but not much of new ones, most are 15 and up years old
11:09bradfier has joined #asahi
11:10kameks has joined #asahi
11:10povikAdryzzOLEDEdition[m]: there's no way it wouldn't clip already as a result of the samples representation
11:22ktz3[m]hey mps sorry for asking again, could you by any chance fill up an entry on the wiki about installing alpine? I've been looking to hop to either void or alpine since the release but I haven't dared to try something on my own fearing that I might brick the macos installation (not that I care that much now that I think of it)
11:22ktz3[m]Thought I'd ask again before going yolo on my own
11:23chadmedSobek[m]: no, thats my job ;)
11:23ktz3[m]I mean I've daily driven alpine for a couple of months before switching to void but I can't say I trust myself to do it
11:24chadmedi did a demo on twitter of the difference the DSP and stuff makes btw https://twitter.com/chadmedAU/status/1506866244049268740
11:24chadmedusual caveats apply youre listening to a recording of a recording blah blah blah
11:24chadmedthe speakers do not explode if youre careful but i dont think we're ready to trust users to do that just yet
11:27creechy has joined #asahi
11:28jakebot0 has joined #asahi
11:30jakebot has quit [Ping timeout: 480 seconds]
11:30jakebot0 is now known as jakebot
11:31* povikshould finally try the DSP himself today!
11:33Sobek[m]<chadmed> "Sobek: no, thats my job ;)..." <- Has there been any progress in convincing upstream of the usefullness of your feature request (pipewire iirc) ?
11:34chadmedsadly no, seems to be dead in the water
11:35poviki wouldn't say so
11:35creechy has quit [Ping timeout: 480 seconds]
11:35mpsktz3[m]: I will try to create draft this evening (sorry I'm busy with something else for alpine and my $day_job else I would make it right now)
11:35mpsenchiladasconpinguino[m]: do you have time to help ktz3[m] to install alpine
11:35chadmedeh even if it is its not a huuuuge problem for us, just sucks for everyone else
11:36chadmedand the fact that there are two audio devices will just have to be some jank we put up with
11:36chadmedid rather that not be the case of course but its hardly the end of the world
11:37povikchadmed: i got the impression that usefulness of hiding devices was acknowledged
11:37povikwhat do you say to it being a job for the 'session manager'?
11:37Sobek[m]Can someone remind me of the URL for that discussion ?
11:37poviki operate under the assumption that's a different component from pipewire
11:38povikIIRC you said session manager can't solve it
11:39chadmedpovik: wireplumber exploded the entire setup and makes things break on these machines so i dont want it to be a wireplumber thing lmao
11:40chadmedof course that could just be related to some other thing
11:40chadmedbut i simply cannot get it to work at all on these machines, which is why i say to use pipewire-media-session in the repo
11:40chadmedi think wireplumber is trying to be too clever or something
11:42chadmedfwiw it didnt work even with the physical output so its not something i did
11:42ktz3[m]mps understandable, no worries! thanks for responding.. I got the boot usb handy thanks to your script already, I'm just missing out on what to do after booting from the usb. Any chance describing roughly it in a sentence or two?
11:43povikwe got to follow the upstream's view on separation of responsibility
11:43povikwhen people replace pulseaudio with pipewire they choose one of the session managers?
11:43mpsktz3[m]: ah good. you got to the point to start installation
11:44enchiladasconpinguino[m]happy to help folks with their alpine installs
11:45chadmedyeah i think arch asks you if you want wireplumber or pipewire-media-session
11:46ktz3[m]Almost where I left off before going afk, I just need to grab the static tool and I'm done with it
11:46mpsktz3[m]: use `lsblk -f` to find ESP, mount it to /mnt then untar wifi firmware `cd /lib/firmware && tar xvf /mnt/vendorfw/firmware.tar`
11:46chadmedthats the reason i want pipewire to do the device hiding, because it means pipewire-media-session will continue to work flawlessly for us
11:46chadmedand i have no idea why wireplumber wont work, nor the time or skills to try and debug and fix it
11:46mpsktz3[m]: after this try `/etc/init.d/iwd start`
11:46ktz3[m]I got ethernet all good
11:47apg has joined #asahi
11:47mpsktz3[m]: ah good (actually better :) )
11:47poviksure, AIUI (1) pipewire needs to do device hiding and (2) all else should be done in session managers
11:47ktz3[m]yeah, and then?
11:47povikbut that's just from reading the discussion and skimming pipewire's website
11:48mpsktz3[m]: from there you can follow standard alpine install guide but look at part about manually setting disk
11:48mpsktz3[m]: did you read docs.alpinelinux.org
11:49chadmedwell yeah if thats the separation of powers they want to go with, that will still work for us
11:49chadmedim not entirely sure how youd go about getting the session manager to set up the virtual sink though...
11:49ktz3[m]yeah this is the part I couldn't figure out in my mind, I've been having setup-disk acting funny sometimes and I'm not totally sure but if that's all there is to it I'm sure I'll do fine
11:51ktz3[m]so basically just extracting the firmware in the ESP and then doing the installer normally? The ESP is supposed to be ready if I'm running arch already or I should be doing that each time?
11:52mpsktz3[m]: if you format root partition and mount it, just run setup disk with some parameters for your case
11:54mpsktz3[m]: setup-alpine (if you don't break it at right step) will repartition drive, so on M1 *don't do this*
11:54as400[m]povik: any progress on t600x ?
11:54enchiladasconpinguino[m]honestly the most fool proof way to install alpine, with the current alpha, is to start with external usb
11:55mpsktz3[m]: I'm waiting enchiladasconpinguino[m] to appear here and ask how he installed alpine
11:55Sobek[m]<chadmed> "well yeah if thats the separatio..." <- And this is where the devs behind the session manager also so say, not our job, pipewire should be the one doing it ?
11:56chadmedprobably :D
11:57mpsktz3[m]: iirc first created VM image in qemu and installed linux-asahi kernel, and somehow 'dd'-ed (or with tar) to root partition on M1
11:57chadmedi guess the sad part is that its not exactly something that would be _hard_ to implement, it seems like its just that no one _wants_ to
11:57ChainfireDoes anybody know where we're at with GPU? Is (basic) acceleration weeks, months, or years away?
11:57enchiladasconpinguino[m]now successfully done two different installs to usb flash with: 1) script from @mps in chroot 2) standard .iso in qemu
11:57chadmedand by "not hard" i mean "not hard for someone who knows how"
11:57creechy has joined #asahi
11:57chadmedChainfire: userspace is looking pretty good for an accelerated desktop (~96% GLES2 coverage) but the kernel interface is still some time away i think
11:58mpsenchiladasconpinguino[m]: question is how you installed when you booted usb
11:58Major_Biscuit has quit [Ping timeout: 480 seconds]
11:58enchiladasconpinguino[m]I haven't done internal nvme install of alpine yet, we're not quite there yet
11:58enchiladasconpinguino[m](I mean you can do it manually, its possible .. I just do not recommend)
11:58Sobek[m]@chadmed do you have any pointers on what software does what in the Linux audio chain ?
11:58j`eyenchiladasconpinguino[m]: why dont you recommend it? works fine..
11:58mpsenchiladasconpinguino[m]: I think setup-disk should work but I didn't tested on M1 so not 100% sure
11:59ktz3[m]mps: haha, you're the man thanks for helping out by the way
11:59Major_Biscuit has joined #asahi
11:59enchiladasconpinguino[m]if you're an alpine expert already and have proper backups, okay sure ..
11:59chadmedSobek[m]: in what sense?
11:59j`eyoh ok, well that should probably be the case regardless :P
11:59povikas400[m]: progress on speakers. they can be enabled for experimentation under the risk of damaging them if one isn't careful
11:59povik(the enable switch is in dts)
12:00povikonce we deem them safe for general use, we will enable it by default
12:00Sobek[m]chadmed: Would it be possible to write a piece of software on the side that takes care of 2 by loading conf and dealing with pipe wire but sitting outside of the session manager (and that could be installed with any session manager) ?
12:00mpsenchiladasconpinguino[m]: ktz3[m]: first time installation for me was rsync-ing rootFS from one of my arm64 chromebooks
12:01as400[m]povik: wow - that's great. Any already existing driver in the kernel that can be used ?
12:01Sobek[m]chadmed: I don’t understand how ALSA, Pipewire, wire plumber and all the other piece of software for together.
12:01mpsat that time we used chainloading m1n1+dtbs+kernel with proper kernel cmdline
12:01chadmedSobek[m]: that was actually my initial design for handling this stuff, but marcan and i decided it would be better to generalise what we're trying to do so that _everyone_ can take advantage of it
12:01chadmedlol _no one_ understands how that stuff works
12:01povikSobek[m]: it's simple. ALSA is a part of kernel and set of userspace libraries and tools to interact with it
12:02povikanything else is a layer on top
12:02chadmedhonestly you just learn it like 5 year old me learnt how windows settings worked
12:02chadmedyou play with them until the machine explodes or otherwise stops working and then reverse that change ;)
12:02Sobek[m]And so is it possible for people to oops remove pipe wire and blast sound straight through ALSA and blow up the poor speakers ?
12:02Chainfireisn't that how everybody learnt everything 😂
12:03povikas400[m]: yes, there are drivers in kernel in the asahi branch
12:03chadmedSobek[m]: very little software actually has a direct alsa pipeline anymore but the possibility is absolutely there and we're not enabling audio until that possibility no longer exists
12:03ktz3[m]@mpv I tried hacking some way to somehow safely hand execution to void by either a chroot or running a wayland session through a container but I didn't get anywhere..
12:04ktz3[m]hit enter by mistake lol
12:05povikas400[m]: if you are asking which drivers we reused that we didn't have to write ourselves: we reused the tas2764 driver with some changes
12:05Sobek[m]Well if you write the soft that eat config files (let’s call it pipewire-dsp) and sets up pipewire, I think you can still lobby for it to be shipped by distros ? It will still be less convenient because people could end up with pipewire without pipewire-dsp but should still be generic enough to be usable by everyone ?
12:05creechy has quit [Ping timeout: 480 seconds]
12:05as400[m]povik: yes - that was my question actually - thx :)
12:05Sobek[m]chadmed: How do you deny that possibility ? Pipewire and friend can take ownership of the output to prevent any other software from using it ?
12:07chadmedi believe the driver will limit the volume. barring that it will just be a UCM2 profile, but thats not a foolproof way to do it either (users can delete them)
12:07ktz3[m]but yeah hopefully I'll be running alpine tomorrow, you'd better be working :D thanks a lot btw mps
12:07chadmedthe best and safest way is in the driver with a hard limit so that userspace doesnt even know about higher volumes at all
12:08poviki should do it already just so we don't discuss it anymore :p
12:09j`eypovik: should be easy, just add: max_volume = clamp(max_volume, 90);
12:09j`eyon line 230
12:09povikpretty much
12:11chadmeditll probably be a per machine thing right
12:12povikthe '90' value i should probably figure from macos in hypervisor, which is why i have been postponing it
12:12j`eyfine: max_volume = clamp(max_volume, of_get_prop("apple,max_volume")); :P
12:12chadmedon this machine at least its around ~65 before a 0dBFS signal will cause clipping
12:12mpsktz3[m]: sorry I don't have time today (or tomorrow) to test complete instalation, will try on weekend. but I expect it should work
12:13povikchadmed: is that with marcan's volume knob fixes?
12:13povik(current linux-asahi)
12:13chadmedyeha current kernel
12:13Sobek[m]Is there any value that would be over conservative but known to be safe that could be used as a default if the exact valkue for the machine isn't known ? (Aside from 0)
12:14chadmednot something we can determine sanely without experimentation
12:14chadmed10% is probably safe, but will you hear anything? no
12:14chadmedalsa kinda sucks in that its volume controls are linear but human hearing is not
12:14chadmeduserspace audio servers do a better job of this by having nonlinear volume curves
12:15povikisn't it linear in decibels?
12:15povikor that is the linear you are complaining about :p
12:15povikand human hearing isn't linear even in decibels
12:15chadmedis alsa? i know at least one of them is stupid and wrong
12:16AdryzzOLEDEdition[m]decibels arent linear by definition
12:16povikit's a figure of speach
12:17creechy has joined #asahi
12:17chadmedyeah but the problem is the alsa volume slider doesnt work like a fader, so it treats its db scale as linear
12:17chadmedwhich is why 10% might be inaudible but 20% is loud
12:17chadmedits dumb
12:17povikhow does a fader work?
12:17povikyou mean the bars are the same height even if decibel range is different?
12:18AdryzzOLEDEdition[m]it isnt doing a log() of the percentage
12:19chadmedmost faders are nonlinear, in that 1cm movement at the bottom will cause a greater change in apparent volume than a 1cm move at the top (log scale)
12:19chadmedhttps://www.sweetwater.com/sweetcare/media/2016/02/Sends-on-Faders.jpg heres an image of the faders on a desk i spent many years behind
12:20AdryzzOLEDEdition[m]a lot of linear potentiometers use a logarithmic scale too
12:20chadmedwell yeah thats all a fader is really
12:20chadmedbut the problem is alsa does not model this behaviour properly
12:20tomtastic has quit [Quit: ZNC - https://znc.in]
12:20chadmedand its "faders" are actually linear
12:20chadmedwhich is very silly
12:21AdryzzOLEDEdition[m]it treats db as a percentage
12:21ChainfireGuess we have a third Chromium patch submitted now... talk about doing triple work
12:21j`eyChainfire: link!
12:22ktz3[m]<mps> "ktz3: sorry I don't have time..." <- Its okay, at least I conceptualized a bit what I need to do so I guess I should be fine, lets see.. I want to do it right away tbh but I'm long overdue for bed.. have a great day for now
12:22tomtastic has joined #asahi
12:23a1eaiactaest has quit [Ping timeout: 480 seconds]
12:23enchiladasconpinguino[m]ktz3: ktz3: fwiw this script from mps worked on the first try for me with usb:
12:23Ashutosh[m] has joined #asahi
12:23Chainfirej`ey: the hardcoded was abandoned (not sure what the link is anymore), there's one here https://chromium-review.googlesource.com/c/chromium/src/+/3545665 and here https://chromium-review.googlesource.com/c/chromium/src/+/3545740
12:24ktz3[m]I've just struggled for like half an hour to find the apk static to run.. it isn't supposed to be a .apk is it?
12:24ktz3[m]> <@enchiladasconpinguino:matrix.org> ktz3: ktz3: fwiw this script from mps worked on the first try for me with usb:
12:24j`eyChainfire: i suppose it's a good thing
12:25mpsktz3[m]: yes, it is apk but you can untar it with any tar
12:25creechy has quit [Ping timeout: 480 seconds]
12:25ktz3[m]oh thats what I was missing, thanks mps
12:26jakebot3 has joined #asahi
12:27mpsktz3[m]: https://arvanta.net/alpine/install-alpine-riscv64-qemu-uboot/ this is for riscv64 in qemu guide I wrote, could be useful to shed some light
12:27Chainfirej`ey: well, as long as one of them gets accepted at some point, that'd be great for Asahi for sure. If it's not mine it's not great for the usefulness of my time though :D
12:28j`eyChainfire: I wonder if the other patch author is on this channel
12:28ChainfireNo idea. I have to run now, but I actually suspect that other patch will not link. Will probably try when I get back home.
12:29ktz3[m]mps: nice, thanks, you made it look simple
12:30mpswell alpine moto is: simple, small, secure
12:30mpsthough I'm not sure any of these words are true ;)
12:31jakebot has quit [Ping timeout: 480 seconds]
12:32jakebot3 is now known as jakebot
12:34chadmedrelative to windows? its probably all of those things
12:39chadmed has quit [Remote host closed the connection]
12:40ktz3[m]@mps haha it started stinking to me as well for no particular reason, maybe it mostly has to do with docker but I can't point my finger to something
12:41ktz3[m]I found voidlinux to be the perfect distro to suit an alpine like experience.. mind that I was using alpine at my desktop but yeah it was great nonetheless
12:43ktz3[m]but for now thank god for alpine honestly arch feels like bloatware now lol
12:48creechy has joined #asahi
12:48MajorBiscuit has joined #asahi
12:49Ry_Darcy has quit [Remote host closed the connection]
12:50apg has quit [Read error: Connection reset by peer]
12:50Major_Biscuit has quit [Ping timeout: 480 seconds]
12:56creechy has quit [Ping timeout: 480 seconds]
12:56kameks has quit [Ping timeout: 480 seconds]
12:58jonaburg[m]thanks Marcon for this writeup about disk utility! no idea where you learned this stuff, or if its all by experimentation and inference
13:02mpsktz3[m]: when someone try alpine after that everything else is bloatware
13:13matthewayers[m]Looks like Asahi got a shoutout here (totally wasn’t expecting it) https://youtu.be/AvGuXUJ6xjU
13:19creechy has joined #asahi
13:24manacho[m] has joined #asahi
13:30creechy has quit [Ping timeout: 480 seconds]
13:41yuyichao_ has quit [Ping timeout: 480 seconds]
13:41mpsktz3[m]: enchiladasconpinguino[m]: https://arvanta.net/alpine/install-alpine-m1/ is draft for alpine install
13:41mpsplease read and 'help me!' :)
13:56a1eaiactaest has joined #asahi
13:56creechy has joined #asahi
13:58Sobek[m]<mps> "please read and 'help me!' :)" <- This is going to turn into a gentoo install (like twitch trying to install archlinux)
13:59kita99 has joined #asahi
14:04a1eaiactaest has quit [Ping timeout: 480 seconds]
14:04creechy has quit [Ping timeout: 480 seconds]
14:05kelito has quit [Ping timeout: 480 seconds]
14:05j`eymps: it says qemu-riscv, not qemu-aarch64
14:07yuyichao_ has joined #asahi
14:08MajorBiscuit has quit [Ping timeout: 480 seconds]
14:19MajorBiscuit has joined #asahi
14:22jakimo has joined #asahi
14:22jakimo is now known as help
14:22help is now known as jakimo
14:22mpsj`ey: thank you
14:23mpscopy-paste writer in action :)
14:27a1eaiactaest has joined #asahi
14:27jakimoGood morning!
14:27creechy has joined #asahi
14:28jakimoI'm curious to know if there's an email update system to be informed as things move along for Asahi.. it's pretty amazing to see this project underway! I've only watched a video of it so far, but I'd like to install soon
14:32Glanzmannjakimo: If you have twitter account you could activate email notifications and subscribe marcan42 or asahi linux ...
14:35jakimogot it, thanks glanzmann
14:36a1eaiactaest has quit [Ping timeout: 480 seconds]
14:51jakimo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:52jakimo has joined #asahi
14:52doggkruse has joined #asahi
15:03jakimo has quit [Quit: Textual IRC Client: www.textualapp.com]
15:03kaprestsGoing forward, is the plan to have numbered releases, or will the alpha be gradually updated sort of like a rolling release?
15:05a1eaiactaest has joined #asahi
15:14doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:15amarioguy has joined #asahi
15:15user982492 has joined #asahi
15:18dottedmagrolling into disappearance
15:36mpsmarcan: will the filesystem label for ESP stay 'EFI - UEFI' in future? I want to make disk image for alpine linux and create script which will unpack firmware from ESP on boot
15:43LinuxM1 has joined #asahi
15:47LinuxM1someone who uses macbook Air M1 tell me how to turn on the volume? I can't get it to work, if I open "alsamixer" it shows me as "item" jack ADC and as "card" macbook air integrated aud
15:49mpsLinuxM1: 'Mixer' control
15:50LinuxM1mps can you explain better the steps I have to take?
15:51j`eyLinuxM1: by volume, you mean the jack right? there;s no speaker support yet
15:52LinuxM1with alsamizer i see only "jack"
15:52a1eaiactaest has quit [Ping timeout: 480 seconds]
15:52mpsah, question is about speakers, they don't work without change dtbs and rebuild
15:53m2231puppy has joined #asahi
15:54LinuxM1to date, is there any procedure to make the audio of my macbook air work? or can I do nothing?
15:54j`eyLinuxM1: do you mean speakers?
15:54j`eyor the headphone port
15:54LinuxM1a don't understand
15:55j`eyLinuxM1: do you want audio from headphones?
15:55Candygoblen123[m]currently, the internal speakers on your macbook air will not work under linux
15:55j`eyor out loud
15:55LinuxM1i want audio from speakers of my macbook air
15:56LinuxM1is is possible or not?
15:56j`eynot possible
15:56LinuxM1ok not possible
15:56Candygoblen123[m]you have to use the headphone jack
15:56Candygoblen123[m]and even then, sometimes it won't work
15:56LinuxM1I thought I was doing something wrong
15:58a1eaiactaest has joined #asahi
16:09maxung[m]ktz3: I did it very complicated, by installing asahi and then using a debian live stick to delete root partition, extracting void.tar, chrooting and setting everything up. because i had problems with grub and booting void, i ditched it and now boot directly via m1n1 (without u-boot). maybe i will write an install script similar to asahi/debian, not sure yet though
16:11j`eymaxung[m]: you dont need a script, just an image
16:13mpsheh, my script to make alpine usb disk could be easily adapted to install alpine on nvme root partition
16:15Major_Biscuit has joined #asahi
16:16amarioguy has quit [Ping timeout: 480 seconds]
16:16a1eaiactaest has quit [Ping timeout: 480 seconds]
16:17MajorBiscuit has quit [Ping timeout: 480 seconds]
16:17maxung[m]<j`ey> "maxung: you dont need a script..." <- but something to create an image right? or just packing my root + efi partition?
16:18maxung[m]mps: do you have a link?
16:18j`eyoh yeah you need a script to actually generate the image
16:18tpw_rulesmps: the EFI partuuid is in /proc/device-tree/chosen/asahi,efi-system-partition or so
16:18tpw_rulesthe filesystem label depends on the name you give your operating system
16:20m2231puppy has quit [Read error: Connection reset by peer]
16:20m2231puppy1 has joined #asahi
16:21shnert[m] has joined #asahi
16:22mpstpw_rules: I don't have this file on my machine
16:22maxung[m]mps: thanks
16:22shnert[m]Good morning everyone!
16:22tpw_rulesmps: do you have /proc/device-tree/chosen? did you install your own m1n1.bin?
16:23m2231puppy1 is now known as m2231puppy
16:23a1eaiactaest has joined #asahi
16:23m2231puppy has quit []
16:26mpstpw_rules: I have dir with some files but not asahi,efi-system-partition
16:27tpw_rulesdid you install your own m1n1.bin on the ESP or use the one the installer made?
16:28mpstpw_rules: no, I installed m1n1.bin from installer, though I created my own m1n1+dtbs+u-boot for ESP/m1n1/
16:29tpw_rulesso then you did install your own m1n1.bin on the ESP
16:29mpstpw_rules: right
16:29tpw_rulesyou need to gzip or xz compress the u-boot you concatenate to m1n1 or the chainloading won't work properly and you won't get that variable
16:29mpstpw_rules: why do ask
16:30guillaume_g has quit []
16:30mpss/do/do you/
16:31mpsor to rephrase, what is use case for /proc/device-tree/chosen/asahi,efi-system-partition
16:31tpw_rules[10:36] mps] marcan: will the filesystem label for ESP stay 'EFI - UEFI' in future? I want to make disk image for alpine linux and create script which will unpack firmware from ESP on boot
16:31a1eaiactaest has quit [Ping timeout: 480 seconds]
16:31tpw_rulesthe answer to that is that the ESP is named 'EFI -' + the name the user gave the OS in the installer
16:31maxung[m]mps: so I guess one would execute the install script from an existing alpine installation right?
16:31tpw_rulesthe way to unambiguously identify it is to use the UUID in that /proc/device-tree/chosen/asahi,efi-system-partition file
16:32nicolas17 has joined #asahi
16:32tpw_ruleswhich is the GPT PARTUUID
16:32mpstpw_rules: aha, will compress and look
16:33mpsmaxung[m]: you will see there how to run script on other distros and arches
16:33maxung[m]I see with static apk, this could also be used for void
16:33maxung[m]* for void (xbps)
16:34maxung[m]* static apk and/or qemu, this, * for void (xbps)
16:34mpsmaxung[m]: so void have also static variant of xkbs?
16:35marcanmps: if you are making distro images please make sure you read and understand this: https://github.com/AsahiLinux/docs/wiki/Open-OS-Ecosystem-on-Apple-Silicon-Macs
16:38mpsmarcan: ah, good one text, didn't know it exists. thank you
16:38marcanit's linked in our announcement post...
16:38mpsmarcan: you are talking to old and uncareful man :)
16:39mpssorry, jk
16:39mpsbut I missed it
16:40tpw_rulesmarcan: can you add the bit about compressing stage 2 payloads to make the chainloading work properly? i remember you mentioned you wanted to mandate compressed payloads; that could be good too
16:42marcan"arm64 Linux style kernel images, which should be gzip/xz compressed"
16:42marcanand the subsequent section mentions it again
16:42* marcanwrites docs that nobody reads :<
16:43mazthe fate of most docs...
16:43mazbut someone would shout at you for not writing them otherwise -- it's a loosing game.
16:46tpw_ruleswell now i know where to look first
16:50maxung[m]I'm wondering, does the m1n1 stage1 installed with kmutil just include "Initializes hardware -> Puts up a pretty logo -> Chainloads another version of itself from a FAT32 partition"?
16:50tpw_rulesyes, it doesn't have any payloads by default
16:52Glanzmannmarcan: Don't worry I have read all your docs. Everytime I learned something new. I once even had a fight with my wife because she disturbed me multiple times while I was reading one of your more bloated docs. The page turner about the boot chain.
16:54nicolas17'bloated' has a bad connotation :P
16:56kreechy has joined #asahi
17:00Ry_Darcy has joined #asahi
17:01user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:01creechy has quit [Ping timeout: 480 seconds]
17:02Ry_Darcy@Glanzmann I have applied your 4K boot.bin and rebooted. As you can see, I am still running on this cheap Benz 2K monitor in BE. I will have to wait until tomorrow evening to test this setup on my 4K monitor in ZH.
17:03Ry_Darcy@Glanzmann Benq not Benz.
17:04Ry_Darcy@Glanzmann - oot@debian:~# ll /boot/efi/m1n1/ total 2928 4 drwxr-xr-x 2 root root 4096 Mar 24 17:55 . 4 drwxr-xr-x 7 root root 4096 Jan 1 1970 .. 1460 -rwxr-xr-x 1 root root 1493310 Mar 23 16:23 1920p.bin 1460 -rwxr-xr-x 1 root root 1492547 Mar 24 17:55 boot.bin root@debian:~#
17:05Ry_Darcy@Glanzmann - when that is legible. :)
17:10amarioguy has joined #asahi
17:11chr has joined #asahi
17:21WhyNotHugoBooting an uefi bundle (systemd-stub+kernel+initrd+cmdline) just results in this and then the system reboots: https://pasteboard.co/UAeo9Q4tVuQK.jpg
17:21WhyNotHugo(previous issues were due to systemd-boot not supporting gziped kernels on aarch64)
17:22tpw_rulesthe kernel is crashing somehow. try to boot it under the hypervisor. systemd-boot works fine for me
17:23WhyNotHugotpw_rules: systemd-boot works fine for me without a UEFI bundle, only the bundle fails like this.
17:23WhyNotHugotpw_rules: Any links on where to start for that?
17:24WhyNotHugoOh, I need a second mac for that ,right?
17:24tpw_rulesno, you can use a second linux too
17:28tpw_rulesyou can turn on the backdoor proxy mode, then do the run_guest with m1n1.bin
17:33Sobek[m]Whoever was trying to make a suitable gentoo install media (+ stage3 I don't remember) how has it been going ? My backup situation has been sorted out, and I'm likely going to try out Asahi plus possibly gentoo this week-end
17:41a1eaiactaest has joined #asahi
17:50starsam80[m] has joined #asahi
17:56r0ni has quit [Ping timeout: 480 seconds]
17:56GlanzmannRy_Darcy: Let me know, how it turns out to be.
17:57Glanzmannjannau: Congrats on the double uart bring up. `o'
18:02amarioguy has quit [Ping timeout: 480 seconds]
18:04user982492 has joined #asahi
18:12Ry_Darcy has quit [Remote host closed the connection]
18:13Ry_Darcy has joined #asahi
18:23kreechy has quit [Ping timeout: 480 seconds]
18:26kreechy has joined #asahi
18:32alex587[m] has joined #asahi
18:42kelito has joined #asahi
18:43chr has quit [Ping timeout: 480 seconds]
18:46Cy8aer[m]Glanzmann: uuuh got it. This message is written out of Matrix Element, Firefox ESR - (the debian unstable firefox 98.0-2 does not open any window and hangs!!), crypted file system. You'll get some more information how to set this up soon.
18:47GlanzmannCy8aer[m]: So you have now dm-crypt / lvm / btrfs with the 4k kernel and firefox does not start?
18:47GlanzmannCy8aer[m]: Ah okay so everything works, just the unstable firefox gives you issues. I always use the esr so I never noticed.
18:47GlanzmannCy8aer[m]: Good to hear that you succeeded. ;-)
18:48jannauit sounds like the same issue we saw last week with the arch linux arm firefox 98
18:48Glanzmannjannau: But that is on a 4k kernel.
18:48the_lanetly_052 has quit [Ping timeout: 480 seconds]
18:48Cy8aer[m]Yes chromium works
18:48jannauI don't think it is related to the page size
18:49Glanzmannjannau: Yep. Seems like it.
18:49Glanzmannjannau: I see.
18:51Glanzmannjannau: Btw. I'm now using the mini as my primary workstation with the m1n1 2k patch. It is blazingly fast. :-)
18:54a1eaiactaestCLONE has joined #asahi
18:54a1eaiactaestCLONE has quit []
18:57a1eaiactaest has quit [Ping timeout: 480 seconds]
18:58chr has joined #asahi
19:06___nick___ has joined #asahi
19:07m6wiq has joined #asahi
19:09WhyNotHugoGlanzmann: Have you tried `firefox --no-remote --profilemanager` and a new profile?
19:10WhyNotHugoCy8aer[m]: ^
19:14Cy8aer[m]No even the profile manager does not come up.
19:15Cy8aer[m]and on the mbp14 there are the keys <> and ^° swapped.
19:15j`eygerman?
19:15jannauI'm very certain this is following firefox upstream bug https://bugzilla.mozilla.org/show_bug.cgi?id=1757571
19:16Cy8aer[m]german. Yes. That is a bit nasty because on `<>` is `|` as alternate key.
19:16Cy8aer[m]Ah (grabbing through the issues...)
19:17geerlingguyI didn't see anything in my quick searching... but has anyone tested 10G network performance on the 10G M1 mini's internal port?
19:18geerlingguyOn 2.5G network I'm only getting about 1.5 Gbps of throughput (same port and config gets 2.35 Gbps on macOS side, didn't know if driver issue or what). Haven't tested full 10G connection yet though.
19:18amarioguy has joined #asahi
19:19Cy8aer[m]j`ey: Thanks, `echo 1 >/sys/module/hid_apple/parameters/iso_layout` does it for me...
19:20j`eyCy8aer[m]: great
19:20Cy8aer[m](Wayland...)
19:20kim0[m] has joined #asahi
19:20j`eygeerlingguy: not many seem to have the 10G model
19:21geerlingguyI can't believe more people wouldn't be willing to run alpha software on the most expensive M1 mini model :D
19:21jannaugeerlingguy: not that I know of. we all bought the mini before the 10gb option was available
19:21nicolas17oh it's an option?
19:22nicolas17base model is 1G?
19:22jannaubut I see following on the mac studio: "pci 0000:03:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:02.0 (capable of 63.012 Gb/s with 16.0 GT/s PCIe x4 link)"
19:22geerlingguyThen I'll keep testing and see what I find. Maybe pinning to a CPU core or something. I noticed if I have the graphical resource monitor up it uses like 26% CPU on four cores just to display itself lol
19:22geerlingguyjannau: oh... I don't have Asahi on the studio, just running on M1. Let me look at pcie devices
19:23jannauthat line is from dmesg and sounds if the pcie link is just running with 2.000 Gb/s which would explain poor performance
19:23geerlingguySees Aquantia controller, 2.00 Gb/s limited by x1 link
19:23geerlingguyhmm... what's limiting it then?
19:23jannauthe studio uses the same nic
19:25geerlingguyIt seems like all 10G adapters use that aquantia nic :D
19:25ciggi_ has quit [Read error: Connection reset by peer]
19:26geerlingguyI believe the Thunderbolt adapter from OWC does too (though TB3 doesn't work on Asahi of course)
19:26jannauprobably a problem with pcie initialization
19:27artemist has quit [Ping timeout: 480 seconds]
19:28miniall of the mac compatible adapters I'm aware of do - because apple bundle the driver
19:28geerlingguyyeah. I'll document it for now and make a note to look later. Just exploring
19:28kim0 has joined #asahi
19:28miniI have a qnap one that is also aquantia - takes a SFP+ too for extra fun :)
19:28geerlingguyYeah that was my preferred choice, but it was more expensive than OWC :D
19:28LinuxM1 has quit [Quit: Leaving]
19:30ciggi has joined #asahi
19:30kim0Howdy all. Sorry if this is not directly related! Is there a way to run Linux on M1, in a high security VM .. (full disk encryption, and maybe using secure enclave) ?
19:32LinuxM1 has joined #asahi
19:32GlanzmannAbout the 10 Gbit/s mini. I just tested on a friends workstation which is running macos: I get 10 Gbit/s in both directions (that is under macos): https://pbot.rmdir.de/DNCF9_McRdUgBVirbloNWQ
19:33Glanzmanniperf3 single stream to another workstation in the same room
19:33jannauthat looks better: 'pci 0000:03:00.0: 15.753 Gb/s available PCIe bandwidth, limited by 16.0 GT/s PCIe x1 link at 0000:00:02.0 (capable of 63.012 Gb/s with 16.0 GT/s PCIe x4 link)'
19:35jannauwe initialize the pcie port as PCIe 1 because apple describes it as "maximum-link-speed = 1" which is clearly wrong
19:35WhyNotHugoClosing and opening the lid has been very reliable. In the past, new platforms have often had issues like the display not turning on after opening the lid.
19:36* WhyNotHugoknocks on woof
19:36jannauthere is also a "target-link-speed = 4"
19:37GlanzmannWhyNotHugo: Hrhr. Today it failed on me once. But I powered in on, closed the lid and lid was not turning on after I opened it. Probably because a pre m1n1 boot loader turned it off and m1n1 never probed the display. This was with Debian.
19:37GlanzmannWhyNotHugo: But yes, otherwise it is really stable.
19:38jannauthat seems to to be the way apple use to describe the port for 1gb and 10gb
19:38WhyNotHugoGlanzmann: Detecting the display at runtime should be possible, just absent on the software side, right?
19:39GlanzmannWhyNotHugo: Yep. It will probably come with the dcp at some point.
19:39Glanzmannjannau: Nice.
19:45jannauyes, apple seems to changed how they announce the link speed for the 10gb nic in 12.3 (or earlier)
19:51Glanzmannjannau: My test was on Macos 11.6.4.
19:54chrWould I be kicked if I asked whether my Asahi Debian partitions could be used with qemu from within Mac OS?
19:56AdryzzOLEDEdition[m]the root can as it is a standard aarch64 root
19:56AdryzzOLEDEdition[m]everything else no
19:56WhyNotHugoWhat's /dev/nvme0n2 and /dev/nvme0n3?
19:56j`eysome other namespaces
19:56the_lanetly_052 has joined #asahi
19:57j`eyused for macOS kernel panics and stuff
19:58geerlingguyjannau: ah, so you're thinking it'll run at x4 speed if you set link speed 4 instead? Hopefully that same setup works with the 1G units. I don't have one I could test on
19:58nicolas17syscfg is in a namespace too right?
19:59svenisn’t syscfg on the nor flash?
19:59GlanzmannWhyNotHugo: WhyNotHugo:
19:59GlanzmannThe others are used for kernel panic logs and stuff like that. That's pretty low level stuff you don't have to care about. This is an NVMe thing, like "low-level partitions". Just don't think too much about it.
19:59nicolas17ah right, separate flash altogether
19:59GlanzmannWhyNotHugo: Soure: THe documentation that noone reads besides me. ;-) https://github.com/AsahiLinux/docs/wiki/Partitioning-cheatsheet
19:59svenoh right, t kinda needs to load ANS firmware before it can access nvme
20:00j`eychicken and nvme problem
20:00svenso syscfg has to be on the other flash
20:00Glanzmannchr: Thank you for the positive Debian feedback.
20:00j`eychr: thats worth trying, not sure if anyone has
20:01nicolas17ah this is why I'm confused
20:01nicolas17theiphonewiki says "iPod touch (3rd generation) and beyond -- The NOR is replaced with a dedicated partition of NAND"
20:01Glanzmannj`ey: So, you read the documentation as well and watch every stream (hwich I don't) and you're faster. :-)
20:01j`eyGlanzmann: :P
20:01jannaugeerlingguy: yes, I think so. I have a fix which should apply to the mini as well as far as I can tell from Apple's template devicetree
20:01nicolas17I guess either that transparently looks like a separate NOR flash to software, or they reverted that change on later hardware 🤔
20:02geerlingguyhas anyone installed docker on Asahi? If I just `pacman -S docker` it gives an error saying it can't find containerd
20:02jannaugeerlingguy: do you fancy a reported-by: annotation in the commit message?
20:02geerlingguySure thing :)
20:02geerlingguygeerlingguy@mac.com is my GitHub/git email
20:03geerlingguyGlanzmann: apt-get in Arch?
20:03j`eygeerlingguy: needs a name too
20:03Glanzmanngeerlingguy: Well, let me put it that way, I installed arch once because I wanted to see it. It probably stayed 10 minutes.
20:03geerlingguy"Jeff Geerling <geerlingguy@mac.com>"
20:03jannaugeerlingguy: 'pacman -Syu', current version is containerd-1.6.2-1
20:04lkvrsfld[m]Hey geerlingguy
20:04lkvrsfld[m]Love your channel btw
20:04lkvrsfld[m]Docker worked without problem installing with pacman… try to pacman -Rns it, and check the dependencies while reinstalling?
20:04geerlingguyGlanzmann: yeah but my question is specifically regarding Asahi / Asahi desktop ;)
20:04geerlingguyjannau: interesting. It's trying to install 1.6.1
20:04jannauyour package index is probably outdated
20:04geerlingguyoooooooh.... didn't realize pacman is like apt
20:04geerlingguythought it was more like dnf
20:04geerlingguy"btw I don't use Arch [normally]" ;)
20:05nicolas17"like dnf" you mean "updating indexes every time"?
20:05geerlingguyyay docker installed
20:06lkvrsfld[m]Just disable that service?m, then it will start instantly
20:06lkvrsfld[m]geerlingguy: if docker service takes ages to load, it‘s caused by systemd-networkd-wait-online, that service just never loads, and docker waits 300s (same for other systemd services)
20:07chrj`ey: could you help me compose suitable args for qemu-system-aarch64 ? See http://nybo.no/diskutil/
20:07lkvrsfld[m]> Just disable that service?m, then it will start instantly
20:07lkvrsfld[m](I had it on asahi and pure arch linux arm)
20:07lkvrsfld[m]> <@prohackerbro:matrix.org> geerlingguy: if docker service takes ages to load, it‘s caused by systemd-networkd-wait-online, that service just never loads, and docker waits 300s (same for other systemd services)
20:07geerlingguyCan't start it though, "devmapper not configured". I'll keep digging
20:08the_lanetly_052 has quit [Ping timeout: 480 seconds]
20:08j`ey chr: I dont know how to do it offhand
20:09doggkruse has joined #asahi
20:09jonaburg[m]oh wow geerlingguy! I use many of your sensible roles :D
20:09jonaburg[m]s/sensible/ansible/
20:09kode54 has quit [Quit: Ping timeout (120 seconds)]
20:09geerlingguyIt's quite sensible to use them ;)
20:09geerlingguyone of the many things I plan on testing this week...
20:10* nicolas17is a noob handcrafting ansible stuff with no shared roles
20:10skipwich has quit [Quit: DISCONNECT]
20:10kefu_ has quit []
20:10nepeat has quit [Remote host closed the connection]
20:10kode54 has joined #asahi
20:10kefu_ has joined #asahi
20:10skipwich has joined #asahi
20:11nepeat has joined #asahi
20:11geerlingguyah... since I updated kernel probably just need a reboot
20:12lkvrsfld[m]geerlingguy: Are you using the mac mini?
20:12geerlingguyyep! Running now. Dang, love Asahi so far.
20:12geerlingguylkvrsfld[m]: yes 10G M1 mini with 2TB SSD 16GB RAM
20:13lkvrsfld[m]Nice. Didn‘t actually know they brought out a 10G version until reading it here
20:14kode54 has quit []
20:14geerlingguyYeah I held off on upgrading to M1 until the 10G version came out. And now that I have a Mac Studio, I'm going to play with Asahi on the M1 mini, see if I can get it to be an efficient little ARM server
20:15taowa has quit [Read error: Connection reset by peer]
20:15eichin has quit [Read error: Connection reset by peer]
20:15steev has quit [Read error: Connection reset by peer]
20:15mustache_ride___ has quit [Read error: Connection reset by peer]
20:15peac has quit [Read error: Connection reset by peer]
20:15cptcobalt has quit [Read error: Connection reset by peer]
20:15jkkm has quit [Write error: connection closed]
20:15maennich has quit [Read error: Connection reset by peer]
20:15Chainsaw has quit [Read error: Connection reset by peer]
20:15daniels has quit [Write error: connection closed]
20:15kendfinger has quit [Read error: Connection reset by peer]
20:15philpax_ has quit [Read error: Connection reset by peer]
20:15Vaughn has quit [Read error: Connection reset by peer]
20:15arnd has quit [Read error: Connection reset by peer]
20:15stblassitude has quit [Read error: Connection reset by peer]
20:15Venhal has quit [Read error: Connection reset by peer]
20:15jbowen has quit [Write error: connection closed]
20:15kode54 has joined #asahi
20:15sorear has quit [Read error: Connection reset by peer]
20:15sa1 has quit [Read error: Connection reset by peer]
20:15tardyp has quit [Read error: Connection reset by peer]
20:15enomem has quit [Write error: connection closed]
20:15saintdev_ has quit [Write error: connection closed]
20:15guan has quit [Write error: connection closed]
20:15jabashque has quit [Write error: connection closed]
20:15aeroraptor has quit [Write error: connection closed]
20:15NekomimiScience has quit [Write error: connection closed]
20:15esden has quit [Read error: Connection reset by peer]
20:15ovf has quit [Read error: Connection reset by peer]
20:15austriancoder has quit [Read error: Connection reset by peer]
20:15ZLSA has quit [Write error: connection closed]
20:15mmarchini has quit [Read error: Connection reset by peer]
20:15snek has quit [Read error: Connection reset by peer]
20:15ZLSA has joined #asahi
20:15sa1 has joined #asahi
20:15cptcobalt has joined #asahi
20:15stblassitude has joined #asahi
20:15peac has joined #asahi
20:15daniels has joined #asahi
20:15eichin has joined #asahi
20:15Venhal has joined #asahi
20:15philpax_ has joined #asahi
20:15NekomimiScience has joined #asahi
20:15ovf has joined #asahi
20:15guan has joined #asahi
20:15enomem has joined #asahi
20:15esden has joined #asahi
20:15aeroraptor has joined #asahi
20:15jkkm has joined #asahi
20:15mmarchini has joined #asahi
20:15snek has joined #asahi
20:15jabashque has joined #asahi
20:15tardyp has joined #asahi
20:15austriancoder has joined #asahi
20:15saintdev_ has joined #asahi
20:15sorear has joined #asahi
20:15kendfinger has joined #asahi
20:15mustache_ride___ has joined #asahi
20:16Vaughn has joined #asahi
20:16taowa has joined #asahi
20:16maennich has joined #asahi
20:16steev has joined #asahi
20:16Chainsaw has joined #asahi
20:16arnd has joined #asahi
20:16jbowen has joined #asahi
20:16lkvrsfld[m]Thought you featured the M1 in some video. I may be wrong
20:16lkvrsfld[m]They have potential. Please buy more of them and do a high performance kube cluster with them!😂
20:18kode54 has quit []
20:18kode54 has joined #asahi
20:18jbowen has quit []
20:19aeroraptor has quit [Read error: Connection reset by peer]
20:19saintdev_ has quit [Read error: Connection reset by peer]
20:19sa1 has quit [Read error: Connection reset by peer]
20:19sa1 has joined #asahi
20:19aeroraptor has joined #asahi
20:19jbowen has joined #asahi
20:19saintdev_ has joined #asahi
20:21geerlingguyHeh, definitely a *lot* faster than the Pi
20:22___nick___ has quit [Ping timeout: 480 seconds]
20:22nicolas17[buy me one to replace this desktop PC that I have to keep smacking to silence the fans]
20:22geerlingguynice thing so far: all the ARM64 Docker images I'm testing on Asahi have worked (just as they did in Docker for Mac)
20:23AdryzzOLEDEdition[m]can't wait for a watercooled mac mini
20:23tardyp has quit [Read error: Connection reset by peer]
20:23kendfinger has quit [Read error: Connection reset by peer]
20:23Chainsaw has quit [Read error: Connection reset by peer]
20:23maennich has quit [Read error: Connection reset by peer]
20:23Vaughn has quit [Read error: Connection reset by peer]
20:23jabashque has quit [Read error: No route to host]
20:24lkvrsfld[m]we should measure disk I/O and compare it to macOS docker. mount have been the biggest problem on macOS so far
20:24maennich has joined #asahi
20:24saintdev_ has quit [Read error: Connection reset by peer]
20:24nicolas17AdryzzOLEDEdition[m]: why? I thought it was silent enough already?
20:24sorear has quit [Read error: Connection reset by peer]
20:24jabashque has joined #asahi
20:24Vaughn has joined #asahi
20:24mustache_ride___ has quit [Read error: Connection reset by peer]
20:24austriancoder has quit [Read error: Connection reset by peer]
20:24mustache_ride___ has joined #asahi
20:24sorear has joined #asahi
20:24saintdev_ has joined #asahi
20:24minilkvrsfld[m]: there's a recent preview for macOS docker that improves that significantly on 12.3
20:24austriancoder has joined #asahi
20:24kendfinger has joined #asahi
20:24mini(but it's still a bit buggy)
20:24tardyp has joined #asahi
20:24AdryzzOLEDEdition[m]nicolas17: to push it further with freq
20:24Chainsaw has joined #asahi
20:24AdryzzOLEDEdition[m]i mean i doubt you can OC these
20:24lkvrsfld[m]mini: cool. we hacked it to work using the same UIDs on the host and in the container )
20:25nicolas17have people gotten the mini to throttle due to heat?
20:25lkvrsfld[m]> <@_oftc_mini:matrix.org> lkvrsfld: there's a recent preview for macOS docker that improves that significantly on 12.3
20:25lkvrsfld[m] * cool. we hacked it to work using the same UIDs on the host and in the container. that was even better than using NFS
20:27nicolas17that is definitely an issue on the macbook air, but I thought the fan on the mini was enough to keep it from throttling
20:27AdryzzOLEDEdition[m]funny how the air doesnt have any air
20:28nicolas17funny how the iMac Pro completely broke Steve Jobs's naming scheme
20:28mustache_ride___ has quit [Read error: Connection reset by peer]
20:28Vaughn has quit [Read error: No route to host]
20:28Vaughn has joined #asahi
20:28tardyp has quit [Read error: No route to host]
20:28kendfinger has quit [Read error: Connection reset by peer]
20:28tardyp has joined #asahi
20:28jbowen has quit [Read error: Connection reset by peer]
20:28saintdev_ has quit [Read error: No route to host]
20:28sorear has quit [Read error: No route to host]
20:28jbowen has joined #asahi
20:28arnd has quit [Read error: Connection reset by peer]
20:28steev has quit [Read error: No route to host]
20:29mustache_ride___ has joined #asahi
20:29sorear has joined #asahi
20:29arnd has joined #asahi
20:29steev has joined #asahi
20:29kendfinger has joined #asahi
20:29saintdev_ has joined #asahi
20:30lkvrsfld[m]mini: very nice!
20:30geerlingguywoah... Asahi Linux build within Docker is running in 6m on same M1 that runs in Docker for Mac in 9m — and that's not even using shared volumes!
20:31nicolas17iXxx for consumer segment, Xxx Pro for professional segment; "iMac Pro" makes no sense in that scheme
20:33AdryzzOLEDEdition[m]and they didnt even add an extra "max" just in case
20:34chr has left #asahi [ERC 5.4.1 (IRC client for GNU Emacs 29.0.50)]
20:34nicolas17we're in year 2020 Max
20:35nicolas17next year is 2020 Ultra
20:36AdryzzOLEDEdition[m]😭2013my beloved
20:36AdryzzOLEDEdition[m] * 😭2013 my beloved
20:36bmentink[m]hi all, using gnome on macbook air, but no sound and when I add a user the password is not accepted by gdm .. any clues
20:37AdryzzOLEDEdition[m]no sound is through the internal speakers?
20:37nicolas17bmentink[m]: headphone jack or internal speakers?
20:37amarioguy has quit [Ping timeout: 480 seconds]
20:38bmentink[m]no sound through speakers or jack
20:38AdryzzOLEDEdition[m]internal speakers dont work yet
20:38AdryzzOLEDEdition[m]for the jack try checking alsamixer
20:38LinuxM1jack dont work too
20:38nicolas17as listed in the alpha release announcement, "M1 only: Headphones jack (might be flaky)"
20:39nicolas17and "Not yet, but coming soon: speakers"
20:39bmentink[m]ok, any ideas on the useradd ?
20:39nicolas17a common suggestion I saw was to switch the audio profile to input only, then back to input+output, and that gets it unstuck
20:40bmentink[m]I tried "useradd -m username -p password"
20:41lkvrsfld[m]my air can keep up with the cooled ones
20:41lkvrsfld[m]well not completely
20:41lkvrsfld[m]but not bad for 10 min cb23
20:41axenntio has joined #asahi
20:42nicolas17lkvrsfld[m]: I have seen people get noticeable speedups adding impractical external cooling to the Air
20:42axenntio has quit []
20:42axenntio has joined #asahi
20:43bmentink[m]nicolas17: Where do you switch the audio profile?
20:43AdryzzOLEDEdition[m]just a thermal pad will do if you can stand the bottom of your laptop becoming a frying pan
20:43axenntio has quit []
20:43axenntio has joined #asahi
20:43axenntio has quit []
20:43nicolas17which (in early days) proved it's literally the same chip, not "throttled because it's the air" but throttled because it simply got hot
20:44lkvrsfld[m]AdryzzOLEDEdition[m]: Yep
20:44axenntio has joined #asahi
20:46AnhHoangNguyen[m] has joined #asahi
20:47axenntio has quit []
20:48AnhHoangNguyen[m] is now known as aaanh[m]
20:51Tano70 has joined #asahi
20:52Tano70 has quit [Read error: Connection reset by peer]
20:52risk has joined #asahi
20:55kelitoAnyone else feels the trackpad like too fast?
20:56bmentink[m]just right for me :)
20:56user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:56kelitoI feel it a little bit diff compared to OSX
20:57kelitomaybe the tap
20:57nicolas17does multitouch work?
20:57nicolas17I mean can you scroll with two fingers etc?
20:57bmentink[m]I can scoll and zoom ok
20:58kelitoYes, I can, so it works
20:58Tano70 has joined #asahi
20:58bmentink[m]except zoom does not seem to work in Firefox
20:58nicolas17I think Plasma is working on the 4-finger gestures and such
20:59mpsnicolas17: xorg or wayland?
21:00WhyNotHugoDoes the magic keyboard's touchId work on Linux?
21:00nicolas17WhyNotHugo: pretty sure we're far from that :)
21:01nicolas17will need a SEP driver etc
21:02mpsWhyNotHugo: touchbar?
21:02nicolas17and even once touchid on the MBP works, supporting the external magic keyboard might need extra work on top of that
21:02lkvrsfld[m]multi-finger-gestures (more than two) already work in wayland
21:02lkvrsfld[m]besides the scrollings speed the touchpad driver is great!
21:02WhyNotHugonicolas17: The TouchId interfacing is via the SEP only?
21:03mpslkvrsfld[m]: in xorg xinput can set accell to 0.7 for example
21:03axenntio has joined #asahi
21:04brudda[m]Talking about the keyboard, is the backlight possible yet?
21:04nicolas17WhyNotHugo: the fingerprint recognition algorithm is in the SEP firmware, and I think the touchid sensor is physically wired to the SEP and the main CPU can't even access the raw fingerprint image
21:04j`eybrudda[m]: no
21:04lkvrsfld[m]mps: ah cool. i only used wayland, saw the discussion of modifying it on wayland is more difficult
21:05mpslkvrsfld[m]: sorry, I don't know how to set it with wayland
21:05brudda[m]j`ey: Okay thanks : )
21:05lkvrsfld[m]mps: no prob, didn't even ask :)
21:05mpsdoes wayland use libinput driver?
21:05sventhe fingerprint communicates with the main CPU over SPI iirc
21:05dottedmagmps: Wayland is a protocol, it can't "use" anything
21:05j`eythats the mesa/bio stuff
21:05svenit’s just paired with the SEP such that the entire communication is encrypted
21:06dottedmagmps: That's similar to saying "Does HTTP use libapr"?
21:06svenand presumably the same protocol works over Bluetooth or usb for that keyboard
21:06j`eysven: just checked, spi2
21:06nicolas17sven: ah so not "physically wired to SEP alone" but it's encrypted, okay
21:06svenbut that’s all still far away
21:06j`eysven: in a galaxy far far away
21:07mpsdottedmag: yes, but people use wayland when meaning sway and similar
21:07dottedmagmps: So every compositor is free to use or not use libinput.
21:07dottedmagso is the question about kwin, mutter or libsway-based compositors?
21:07LinusSexTips[m] has joined #asahi
21:07mpsdottedmag: I'm not sure, only tried xorg
21:07nicolas17so it's similar to how the enrolled fingerprint is not *really* stored in the SEP (as Apple claims in marketing), but it's encrypted with a key only the SEP knows, so security-wise it's basically the same
21:08j`eythe SEP does have some storage though
21:09nicolas17yeah I think it has some tiny tamper-proof EEPROM?
21:19m6wiq has quit []
21:22axenntio has quit []
21:25Major_Biscuit has quit []
21:25LinuxM1 has quit [Quit: Leaving]
21:27doublerye[m] has joined #asahi
21:29kelito has quit [Quit: Konversation terminated!]
21:32facekapow[m] has joined #asahi
21:40Ry_Darcy has quit [Remote host closed the connection]
21:44m6wiq has joined #asahi
21:47patrikgy has joined #asahi
21:51Tano70 has quit [Quit: Leaving]
21:57user982492 has joined #asahi
21:58doublerye[m]kode54: can you provide some direction on Telegram Desktop rebuild you did?
21:59psykosei think the default tdesktop build vendors jemalloc, so it would probably just need a rebuild with no changes to work
21:59psykosejust guessing though
22:00tpw_rulesis there a way to query a jemalloc-enabled binary of whatever for the page size it was built with?
22:00a1eaiactaest has joined #asahi
22:03thk[m] has joined #asahi
22:03a1eaiactaestCLONE has joined #asahi
22:04a1eaiactaestCLONE has quit []
22:05thk[m]Hi, so does anyone have asahi up and running with m1-mini
22:05geerlingguyooh randomly the built in speaker started working when I opened SuperTuxKart
22:06nicolas17geerlingguy: you're on the official asahi-arch build?
22:06nicolas17I thought the built in speaker was disabled in the devicetree
22:06tpw_rulesonly on the macbooks
22:06geerlingguy(I'm on M1 mini)
22:06tpw_rulesand even then i think only on the pros
22:06tpw_rulesi don't think there's dangers with the mini
22:07thk[m]just tried installing on mini, display won't wake up?
22:07tpw_rulesthk[m]: some HDMI monitors are not compatible because there is only one chance to connect on boot
22:07tpw_rulesmake sure the display is on and listening on the HDMI port before you turn on the mac
22:07tpw_rulesyou might be able to configure your display to turn off auto switching and make that easier
22:08tpw_rulesif you can't get that to work, you'll have to try another monitor or wait til DCP support is merged
22:09thk[m]tpw_rules: ok, i have one 32" 4k Samsung and 32 "qhd Lenovo, but i have to try again
22:10a1eaiactaest has quit [Ping timeout: 480 seconds]
22:10nicolas17thk[m]: it didn't work ever? or did you turn it off and now won't go back on or something?
22:10bmentink[m]when are DisplayPort adapters via USB3 likely to be supported?
22:12thk[m]nicolas17: well after i choose Asahi and wait it to boot, display goes to sleep without signal
22:12tpw_rulesyeah, your display probably just isn't compatible
22:12tpw_rulesit should boot into asahi by default now
22:12nicolas17ah so it doesn't ever start, then yeah what tpw said
22:13tpw_rulesone of my monitors only works if i turn the mini and monitor on at the same time
22:15bmentink[m]Is ethernet adapters over USB3 being worked on as well?
22:16AdryzzOLEDEdition[m]when USB3 support rolls in all USB3 devices will work out of the box
22:16bmentink[m]Great, looking forward to that day ... :)
22:17ChainfireI use a 5G ethernet adapter on my MBP15. It's currently limited to USB2 speed due to this port not having USB3 support yet, but I see no reason why it wouldn't work once USB3 is up
22:19thk[m]well more monitor testing tomorrow..time to sleep
22:22r0ni has joined #asahi
22:30ChainfireAs I understand, macOS on the M1 only runs 64-bit code... can we run it in Asahi (if all dependencies were met) or is this a chip limitation?
22:30doublerye[m]psykose: used asp to checkout telegram-desktop, it and any other asp checkout only grabs x86-64 arch... not too familiar with this but figure if I could get aarch64 I'd be left to just run makepkg. are you more familiar?
22:32psykoseshould be fine to just change the arch= line
22:34dottedmagChainfire: theoretically can be done, but that means implementing drivers for something like QEMU for many M1 peripherals, including GPU. That's a lot of work.
22:35ChaosPrincessqemu-user-mode is your friend
22:35Chainfiredottedmag: even for 32-bit userspace stuff?
22:36dottedmagWell, that means whole Darwin syscall interface, has anyone done that?
22:36nicolas17dottedmag: I think you're mixing up "macos apps on linux" with "32-bit apps" :P
22:37nicolas17there's no such thing as "32-bit ARM macOS apps" even
22:37dottedmagYeah, I'm definitely missing some context. Sorry.
22:38j`eyChainfire: the chip doesn't support 32-bit
22:38nicolas17Chainfire: afaik Apple removed support for armv7 (32-bit) instructions on the A11, the M1 chip can only run aarch64 code
22:38nicolas17so you need a CPU emulator just like you would to run x86 code
22:38ChainfireThanks for the clarification, I thought so.
22:43j`eybin((mrs(ID_AA64PFR0_EL1) & (0b1111 << 0)) >> 0)
22:43j`ey(processor feature register)
22:45amarioguy has joined #asahi
22:47nicolas17what do the bits mean?
22:47ChainfireWell then I guess even if our 16kb patches are accepted, Google has found new ways to stop Chromium from working OOTB - https://bugs.chromium.org/p/chromium/issues/detail?id=1299021&q=aarch64&can=2
22:48nicolas17oh finally found something explaining the bits instead of just the field names
22:48nicolas170001 = AArch64 only
22:48nicolas170010 = supports both AArch64 and AArch32
22:48ChainfireThen again, if it builds, maybe not a problem. Does anything even use nacl anymore? I thought support was dropped last year in favor of WASM
22:48nicolas17Chainfire: yeah wtf is that, I thought NaCl was abandoned
22:49j`eyyeah thats weird
22:50nicolas17"Although initially Google planned to remove PNaCl in first quarter of 2018, and later in the second quarter of 2019, it is currently planned for removal in June 2022 (together with Chrome Apps)."
22:50nicolas17maybe you can just
22:50nicolas17disable it entirely when compiling
22:50Chainfireoh yeah you can, it is currently disabled for ARM64
22:51ChainfireBut if this makes it in, distros are not going to think of disabling it if only the Apple's don't play nice with it. Then again, I don't know if you'd ever encounter an actual issue as long as nacl isn't actually *used*.
22:53ChainfireWeird they're bothering to port at all, so close to removal. Makes my tinfoil hat think something else is going on.
23:02m6wiq has quit []
23:05r0niso for the past week i had been attempting to cross-compile slackware aarch64 pkgs from a rpi, and well it just wasn't working for me. turns out there's a unofficial aarch64 port already made, only there's no installer ;(
23:13jn has quit [Ping timeout: 480 seconds]
23:17memoryleak_ has joined #asahi
23:19jn has joined #asahi
23:21memoryleak has quit [Ping timeout: 480 seconds]
23:30tych0 has joined #asahi
23:33yuyichao_ has quit [Ping timeout: 480 seconds]
23:41tpw_ruleswait, so aarch32 can't just be run o the m1?
23:42j`eycorrect
23:43tpw_rulesthat's kind of disappointing
23:44tpw_rulesis that common for aarch64 systems?
23:46mpstpw_rules: didn't tried on m1 but I can run arm32 userspace on some arm64 boards and chromebooks
23:46j`eyit will become more common
23:46nicolas17given that there is a standard cpuid-like bit to say whether the CPU supports 32+64 or only 64, I don't think this is unique to Apple
23:47nicolas17but no idea about "common"
23:49mpshmm, I expected that I could run armv7 in lxc
23:49tpw_rulesi wonder how fast emulating 32 bit on 64 bit is then
23:50r0nii know i tried to run a armv7 binary in the arch install and it def told me "no"
23:50j`eyjust recompile :p
23:50tpw_rulesi wanted to do an aarch32 build bot at some point
23:52mpsoh, m1 can't run arm32 binaries
23:52nicolas17"Armv8-A architecture allows different levels of AArch64 and AArch32 support, for example: 1. AArch64 only designs 2. AArch64 designs that also support AArch32 operating systems and virtual machines 3. AArch64 support with AArch32 at (unprivileged) application level only"
23:52r0ni has quit [Quit: Textual IRC Client: www.textualapp.com]
23:53kreechy has quit [Ping timeout: 480 seconds]
23:53j`eywhich is what the ID_AA64PFR0_EL1 reg tells you
23:53doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:54mpsI can run armv7 binaries on neoverse-n1
23:54nicolas17that's Amazon's thing? I guess it makes sense they care about that compat
23:57jn has quit [Ping timeout: 480 seconds]
23:57mpsneoverse-n1 is ARM ltd cpu optimized for clouds
23:58nicolas17ah Amazon's SoC is Graviton but I think it uses Neoverse cores
…