marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | https://asahilinux.org/2022/03/asahi-linux-alpha-release/ | General project discussion | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-alt #asahi-stream #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
thevar1able has quit [Quit: ZNC 1.8.2 - https://znc.in]
thevar1able has joined #asahi
DarkShadow44 has quit [Quit: ZNC - https://znc.in]
pseigo_ has joined #asahi
thevar1able has quit [Quit: ZNC 1.8.2 - https://znc.in]
thevar1able has joined #asahi
witchbutter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
witchbutter has joined #asahi
witchbutter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
witchbutter has joined #asahi
luke has quit [Ping timeout: 480 seconds]
DarkShadow44 has joined #asahi
ptudor_ has joined #asahi
ptudor has quit [Ping timeout: 480 seconds]
millenialhacker has joined #asahi
andymc73[m] has joined #asahi
thevar1able has quit [Ping timeout: 480 seconds]
millenialhacker has quit [Ping timeout: 480 seconds]
kov has joined #asahi
thevar1able has joined #asahi
pseigo_ has quit []
pseigo_ has joined #asahi
PhilippvK has joined #asahi
phiologe has quit [Ping timeout: 480 seconds]
nicolas17 has quit [Quit: Konversation terminated!]
kov has quit [Quit: Coyote finally caught me]
kov has joined #asahi
nickchan has joined #asahi
nickchan has quit []
marvin24_ has joined #asahi
marvin24 has quit [Ping timeout: 480 seconds]
nickchan has joined #asahi
witchbutter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ry_Darcy has joined #asahi
ciggi has quit [Read error: Connection reset by peer]
ciggi has joined #asahi
nickchan has quit [Quit: nickchan]
nickchan has joined #asahi
witchbutter has joined #asahi
nickchan has quit [Quit: nickchan]
nickchan has joined #asahi
jluthra has quit [Remote host closed the connection]
jluthra has joined #asahi
chadmed_ has joined #asahi
chadmed_ has quit [Remote host closed the connection]
MajorBiscuit has joined #asahi
Major_Biscuit has joined #asahi
MajorBiscuit has quit [Ping timeout: 480 seconds]
witchbutter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
millenialhacker has joined #asahi
yamii has joined #asahi
millenialhacker has quit [Read error: No route to host]
pseigo_ has quit [Ping timeout: 480 seconds]
radens has joined #asahi
<radens> Hello! I have a question about the boot protocol used by m1n1. Do I understand correctly that m1n1 just jumps to the first instruction of the boot payload after it's decrypted, and does not relocate or load eg an elf or macho?
guillaume_g has joined #asahi
pseigo_ has joined #asahi
<sven> yes
<sven> the hypervisor can load a macho that looks like XNU but that's all done in python
<sven> and chainload.py uses a small stub to relocate the payload to overwrite m1n1
kettenis has joined #asahi
nickchan has quit [Quit: nickchan]
nickchan has joined #asahi
pseigo_ has quit [Read error: No route to host]
pseigo_ has joined #asahi
nickchan has quit [Quit: nickchan]
nickchan has joined #asahi
luke has joined #asahi
millenialhacker has joined #asahi
nickchan has quit [Quit: nickchan]
nickchan has joined #asahi
millenialhacker has quit [Ping timeout: 480 seconds]
nickchan has quit [Quit: nickchan]
nickchan has joined #asahi
mrkajetanp_ has joined #asahi
psykose has quit [Remote host closed the connection]
psykose has joined #asahi
<marcan> heh, so it turns out trackpad firmware on the old M1s was *already* RTKit
<marcan> it was just... running on something in the trackpad itself
<marcan> it has two firmwares
<marcan> it seems they moved one of them to the M2
<marcan> radens: I'm not sure what you mean by decrypted, nothing is encrypted
<marcan> the iBoot boot protocol was formerly mach-o, but now uses raw binaries. the m1n1 chainload boot protocol is identical. m1n1 can also load ARM64 linux kernel style images; that is the format used to run non-m1n1 payloads like u-boot and linux directly
nickchan has quit [Quit: nickchan]
dottedmag has joined #asahi
<mps> anyone know what is optimal battery charge and what does macos? I'm thinking to keep it between 85 and 90 percents
<chadmed> macos just "learns" when you take it on and off the charge and tries to make sure the battery is fully charged by the time you "usually" untether it
<chadmed> itll charge it at full current to 80% then hold it there until an hour or so before it thinks you want to use it then trickle charges it to 100%
<mps> chadmed: aha, yes I saw this 'smart charge; but don't have idea how it works
<mps> so, macos also can control charging current like chromebooks
<chadmed> yeah the smart part is just pulling enough current from the wall to hold the battery at 80% until it think youre gonna want to take it to work/school
<mps> AI in charger :)
<chadmed> i think it just tells the SMC to limit the charge current or something, idk i havent looked into it that deeply
<mps> I'm keeping chromebook to 85 - 90 by decreasing and increasing charging current
<chadmed> yeah i think the smc is in charge of that
<mps> and no one yet documented accesss to this?
roxfan2 has joined #asahi
<chadmed> no, no ones looked at it deeply enough to document anything other than "yeah we might be able to do it from linux idk"
millenialhacker has joined #asahi
<mps> chadmed: thanks for info
<mps> so for now we can do this by using, auto, inhibit and discharge oprions
<mps> options*
roxfan has quit [Ping timeout: 480 seconds]
millenialhacker has quit [Ping timeout: 480 seconds]
the_lanetly_052 has joined #asahi
millenialhacker has joined #asahi
millenialhacker has quit [Ping timeout: 480 seconds]
zx2c4_ has left #asahi [#asahi]
radens has quit [Quit: Connection closed for inactivity]
millenialhacker has joined #asahi
<marcan> /sys/class/power_supply/macsmc-battery/charge_behaviour
<marcan> you need userspace to handle the mode switching depending on state of charge
<marcan> there is no magic hardware management
<marcan> macOS does it itself
<marcan> to turn off charging: echo inhibit-charge > /sys/class/power_supply/macsmc-battery/charge_behaviour
<marcan> to turn on charging: echo auto > /sys/class/power_supply/macsmc-battery/charge_behaviour
<marcan> chadmed: ^
<marcan> come on give me some credit, I already figured all this out :p
<marcan> and it's implemented and shipping :p
<marcan> what we're missing is the userspace policy, which should probably go in upower
<mps> marcan: I wrote daemon for this about 3-4 weeks ago
<shieru[m]> Has anyone here experienced difficulties when using the built-in trackpad with KDE? Seems unintended "clicks" take place pretty often. (e.g. often I find it hard to move the pointer because my other hand was on the edge of the trackpad and it then thought I was having 2 fingers on it)
<mps> hackish one
<chadmed> marcan: i remembered _something_ from the stream where you worked it out but i couldnt remember how far you got :P
<marcan> mps: upower already has charging-threshold support for drivers that implement that, and logic to handle different battery attribute support levels
<marcan> clearly this needs to be a upower patch that implements the charging-threshold emulation for devices with on/off control like this one
<marcan> if that is implemented, it will magically work in KDE/GNOME with UI and everything
<marcan> no need for more hacky single-purpose daemons, let's do things right ;)
<mps> heh, didn't know because I don't use upower
millenialhacker has quit [Ping timeout: 480 seconds]
<marcan> ah, nevermind, apparently upower still doesn't do this?
<marcan> and KDE ended up hitting sysfs directly
<marcan> ugh
<marcan> well, time to pester that upower MR again then...
<marcan> though there is an argument for doing it in the kernel: it can be made to keep working even in s2idle, while a userspace daemon wouldn't
<marcan> so maybe we should go that way
<mps> marcan: I thought about this idea but I don't have idea how to make it in kernel
Catyre_ has joined #asahi
johey has joined #asahi
Catyre has quit [Ping timeout: 480 seconds]
pjakobsson has quit [Remote host closed the connection]
<sami-dev[m]> Someone told me GPU is in dev, but after adding asahi-dev to pacman.conf and doing a full system upgrade and reboot, I do not see any difference. Do I need to do something else to test out the GPU driver?
<_jannau_> that seems to be a misunderstanding. there is no gpu driver in asahi-dev. m1n1 in asahi-dev has display changes which should support more displays and higher resolution displays
<_jannau_> it also allows turning the the display off and on
<sami-dev[m]> Ahhh. Okay, it must have been a misunderstanding then.
<IcaroDextris[m]> <_jannau_> "that seems to be a misunderstand..." <- Does also support bigger text size?
Ry_Darcy_ has joined #asahi
Glanzmann has joined #asahi
millenialhacker has joined #asahi
<Glanzmann> jannau: Did I read that right, with the new m1n1 I can turn of my display while under Linux/x11, turn it back on and the signal comes back? I just need the current m1n1 'main branch'?
<Glanzmann> jannau: Currently, I'm turning my mini off once I finished work. :-)
<Glanzmann> off*
qeeg has quit [Remote host closed the connection]
qeeg has joined #asahi
millenialhacker has quit [Ping timeout: 480 seconds]
Catyre_ has quit [Remote host closed the connection]
Catyre has joined #asahi
Catyre has quit [Read error: Connection reset by peer]
Catyre has joined #asahi
mrCyborg_ is now known as mrCyborg
Ry_Darcy has quit [Remote host closed the connection]
Gaspare has joined #asahi
Catyre_ has joined #asahi
Catyre has quit [Ping timeout: 480 seconds]
Ry_Darcy_ has quit [Remote host closed the connection]
Catyre_ has quit [Remote host closed the connection]
Gaspare has quit [Quit: Gaspare]
millenialhacker has joined #asahi
millenialhacker has quit [Remote host closed the connection]
<jannau> Glanzmann: no, m1n1 switches dcp off so it doesn't disable the signal when you turn the monitor off
witchbutter has joined #asahi
millenialhacker has joined #asahi
witchbutter has quit []
millenialhacker has quit [Ping timeout: 480 seconds]
witchbutter has joined #asahi
balsamic24[m] has joined #asahi
Catyre has joined #asahi
witchbutter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Gaspare has joined #asahi
Catyre has quit [Ping timeout: 480 seconds]
Catyre has joined #asahi
nickchan has joined #asahi
rowang077[m] has left #asahi [#asahi]
witchbutter has joined #asahi
pseigo_ has quit [Ping timeout: 480 seconds]
nicolas17 has joined #asahi
Gaspare has quit [Quit: Gaspare]
Gaspare has joined #asahi
Major_Biscuit has quit [Ping timeout: 480 seconds]
the_lanetly_052 has quit [Ping timeout: 480 seconds]
pseigo_ has joined #asahi
nickchan has quit [Quit: nickchan]
Gaspare has quit [Quit: Gaspare]
nickchan has joined #asahi
nickchan has quit []
nickchan has joined #asahi
pseigo_ has quit [Read error: No route to host]
pseigo_ has joined #asahi
<Glanzmann> jannau: Ah, I see. Thank you for the explanation. I tried it and it works for me. I had to set the resolution manually using echo 'display=2560x1440' >> boot.bin but I assume that this is expected.
Gaspare has joined #asahi
pseigo_ has quit [Ping timeout: 480 seconds]
millenialhacker has joined #asahi
Gaspare has quit [Quit: Gaspare]
millenialhacker has quit [Ping timeout: 480 seconds]
rustylerp has joined #asahi
Revy has joined #asahi
pseigo_ has joined #asahi
rustylerp has quit []
Catyre_ has joined #asahi
Catyre has quit [Ping timeout: 480 seconds]
millenialhacker has joined #asahi
<see-air-rah[m]> Any Ideas in how to fix KDE Plasma 5.25 crashing over and over?
<see-air-rah[m]> I still have access to Konsole just no Plasma UI
luke has quit [Ping timeout: 480 seconds]
millenialhacker has quit [Ping timeout: 480 seconds]
pseigo_ has quit [Ping timeout: 480 seconds]
pseigo_ has joined #asahi
Catyre has joined #asahi
Catyre__ has joined #asahi
Catyre___ has joined #asahi
Catyre_ has quit [Ping timeout: 480 seconds]
Gaspare has joined #asahi
Catyre has quit [Ping timeout: 480 seconds]
luke has joined #asahi
Catyre__ has quit [Ping timeout: 480 seconds]
pseigo_ has quit [Ping timeout: 480 seconds]
witchbutter has quit [Ping timeout: 480 seconds]
millenialhacker has joined #asahi
riker77_ has joined #asahi
millenialhacker has quit [Ping timeout: 480 seconds]
riker77 has quit [Ping timeout: 480 seconds]
riker77_ is now known as riker77
Catyre has joined #asahi
Catyre has quit []
Sellerie has quit [Quit: bye bye - ich bin crazy fly]
nsklaus_ has joined #asahi
Gaspare has quit [Read error: Connection reset by peer]
nsklaus has quit [Ping timeout: 480 seconds]
kettenis has quit [Ping timeout: 480 seconds]
kettenis has joined #asahi
millenialhacker has joined #asahi
Catyre has joined #asahi
<IcaroDextris[m]> <see-air-rah[m]> "I still have access to Konsole..." <- Segmentation fault isn’t good…have you tried to reinstall kde? Like sudo pacman -S plasma (if I recall correctly the package group)
millenialhacker has quit [Ping timeout: 480 seconds]
Catyre___ has quit [Ping timeout: 480 seconds]
Catyre_ has joined #asahi
Sellerie has joined #asahi
Catyre has quit [Ping timeout: 480 seconds]
luke has quit [Ping timeout: 480 seconds]
kettenis has quit [Ping timeout: 480 seconds]
amarioguy has quit [Remote host closed the connection]
KamikazePlatypus has joined #asahi
KamikazePlatypus has quit [Quit: Leaving...]
KamikazePlatypus has joined #asahi
millenialhacker has joined #asahi
millenialhacker has quit [Ping timeout: 480 seconds]