ChanServ 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
jeffmr has joined #asahi
hspak101539 has quit []
hspak101539 has joined #asahi
sam___ has joined #asahi
KaitoDaumoto has joined #asahi
<sam___> I looked through the asahi installer commits, to my understanding the m2 air is now supported as a normal install?
jeffmr has quit [Remote host closed the connection]
possiblemeatball has joined #asahi
Glanzmann has joined #asahi
<Glanzmann> Sam___: m2 air is working for a long time.
digicyc has quit [Remote host closed the connection]
<Glanzmann> jmr2: I always use git fetch -a -t which seems to get all the commits and tags.
digicyc has joined #asahi
Brainium has quit [Quit: Konversation terminated!]
jeffmr has joined #asahi
<sam___> Glanzmann: Ok I see. Though my M2 came preloaded with 13.0 so I assume I would have to downgrade that to use the normal installation mode?
jeffmr has quit [Remote host closed the connection]
marvin24 has joined #asahi
jeffmr has joined #asahi
marvin24_ has quit [Ping timeout: 480 seconds]
<Glanzmann> Sam___: All m2 came with macos 13. So just install it and see if it works. It is working since 25th August at least. Anyway I need to run.
Glanzmann has quit [Quit: leaving]
<marcan> Sam___: you never have to downgrade anything, you only have to *upgrade* if you have an ancient macOS version (which is impossible on M2)
* marcan wonders if all these crazy ideas about downgrades being necessary / upgrades breaking things come from people used to jailbreaking and hostile manufacturers...
<sam___> marcan: thats more or less why haha, I'm not used to using apple products, I just sort of assumed the worst going into it
ptudor_ has quit [Quit: Strict-Transport-Security: max-age=48211200; preload]
ptudor has joined #asahi
jluthra has quit [Remote host closed the connection]
jluthra has joined #asahi
<marcan> it's a computer, not an iPhone or a PS5 :p
possiblemeatball has quit [Quit: Leaving]
jeffmr has quit [Quit: Leaving]
jeffmr has joined #asahi
cylm_ has joined #asahi
creechy has quit [Quit: ZNC 1.7.5+deb4 - https://znc.in]
guillaume_g has joined #asahi
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #asahi
SSJ_GZ has joined #asahi
winter has quit [Remote host closed the connection]
chadmed has quit [Remote host closed the connection]
chadmed has joined #asahi
sam___ has quit [Quit: Page closed]
os has quit [Quit: The Lounge - https://thelounge.chat]
os has joined #asahi
bps has joined #asahi
Puto has quit [Read error: Connection reset by peer]
Puto has joined #asahi
lewurm has quit [Ping timeout: 480 seconds]
lewurm has joined #asahi
Method_ has quit [Quit: ZNC 1.8.2+deb1+bionic2 - https://znc.in]
Method has joined #asahi
chadmed has quit [Remote host closed the connection]
chadmed has joined #asahi
r0ni has quit [Quit: Textual IRC Client: www.textualapp.com]
bcrumb has joined #asahi
bcrumb has quit []
compassion has quit [Ping timeout: 480 seconds]
ptudor has quit [Ping timeout: 480 seconds]
ptudor has joined #asahi
hightower3 has joined #asahi
amarioguy has joined #asahi
SSJ_GZ has quit [Remote host closed the connection]
SSJ_GZ has joined #asahi
hightower4 has joined #asahi
tertu2 has quit [Quit: so long...]
hightower2 has quit [Ping timeout: 480 seconds]
tertu has joined #asahi
hightower3 has quit [Ping timeout: 480 seconds]
Coastalcrown has joined #asahi
eroux_ has joined #asahi
eroux has quit [Read error: No route to host]
possiblemeatball has joined #asahi
eroux has joined #asahi
eroux_ has quit [Read error: Connection reset by peer]
ciggi has quit [Quit: No Ping reply in 180 seconds.]
ciggi has joined #asahi
lewurm has quit [Ping timeout: 480 seconds]
lewurm has joined #asahi
hightower3 has joined #asahi
hightower4 has quit [Ping timeout: 480 seconds]
hightower3 has quit [Ping timeout: 480 seconds]
hightower2 has joined #asahi
Coastalcrown has quit [Remote host closed the connection]
Coastalcrown has joined #asahi
MajorBiscuit has joined #asahi
vmeson has quit [Ping timeout: 480 seconds]
delsol has joined #asahi
delsol has quit [Ping timeout: 480 seconds]
vmeson has joined #asahi
<ayke> I can't seem to get AP mode working in NetworkManager (both with the iwd and with the wpa_supplicant backends - they fail with different error message). Is this a known issue?
<ayke> I have a MBP M1 Pro
Coastalcrown has quit [Remote host closed the connection]
Coastalcrown has joined #asahi
<ayke> (also found that wpa_supplicant doesn't have a particular unrelated bug I was having with iwd, which is a nice discovery)
ChaiTRex has quit [Ping timeout: 480 seconds]
ChaiTRex has joined #asahi
gladiac has joined #asahi
amarioguy has quit [Remote host closed the connection]
delsol has joined #asahi
jess has quit [Quit: Lost terminal]
Coastalcrown has quit [Remote host closed the connection]
Coastalcrown has joined #asahi
Coastalcrown has quit [Remote host closed the connection]
Coastalcrown has joined #asahi
creechy has joined #asahi
alyssa has joined #asahi
alyssa has left #asahi [#asahi]
giffel has joined #asahi
giffel has quit [Quit: Lost terminal]
___nick___ has joined #asahi
___nick___ has quit []
___nick___ has joined #asahi
jluthra has quit [Remote host closed the connection]
jluthra has joined #asahi
bps has quit [Ping timeout: 480 seconds]
bcrumb has joined #asahi
delsol has quit [Remote host closed the connection]
bps has joined #asahi
gladiac has quit [Quit: k thx bye]
MajorBiscuit has quit [Ping timeout: 480 seconds]
bcrumb has quit [Quit: WeeChat 3.7.1]
bcrumb has joined #asahi
bcrumb has quit [Quit: WeeChat 3.7.1]
cylm_ has quit [Ping timeout: 480 seconds]
chadmed has quit [Ping timeout: 480 seconds]
cylm_ has joined #asahi
Zopolis4 has quit [Quit: Connection closed for inactivity]
imobilis has quit [Remote host closed the connection]
imobilis has joined #asahi
delsol has joined #asahi
chengsun has joined #asahi
VinDuv has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
chengsun- has joined #asahi
VinDuv has joined #asahi
chengsun_ has quit [Ping timeout: 480 seconds]
chengsun has quit [Ping timeout: 480 seconds]
chengsun has joined #asahi
chengsun- has quit [Ping timeout: 480 seconds]
bcrumb has joined #asahi
Coastalcrown has quit [Remote host closed the connection]
MajorBiscuit has joined #asahi
Coastalcrown has joined #asahi
mkurz has joined #asahi
<mkurz> On my macBook Pro, Asahi tells me that the battery capacity is 83,9177 percent after 92 cycles, however macOS says battery capacity is 98% after also 92 cycles. Why do they report different stats? Is there a problem or is my battery fucked?
DragoonAethis has quit [Quit: hej-hej!]
DragoonAethis has joined #asahi
amarioguy has joined #asahi
Brainium has joined #asahi
SSJ_GZ has quit [Remote host closed the connection]
SSJ_GZ has joined #asahi
ChaiTRex has quit [Quit: ChaiTRex]
<delsol> what do they claim max capacity and current capacity it?
<mkurz> From macOS: "AppleRawCurrentCapacity" = 5052 "NominalChargeCapacity" = 5254 "DesignCapacity" = 6075 "AppleRawMaxCapacity" = 5104
<mkurz> From Asahi: energy-full: 45,972 Wh energy-full-design: 54,675 Wh energy-rate: 8,649 W voltage: 12,066 V
Brainium has quit [Remote host closed the connection]
Brainium has joined #asahi
<ncl> mAh vs Wh i guess but funny if you do eg energy-full-design/DesignCapacity you get 9.0 but it should? == voltage (12) ?
hertz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mkurz> For me it seems Asahi calculates the battery health based on the "DesignCapacity", however Apple uses either the "AppleRawMaxCapacity" or the ""NominalChargeCapacity". OK I get that. However what pisses me off a bit is that "NominalChargeCapacity" and ""AppleRawMaxCapacity" are much much lower than the advertised "DesignCapacity"
<mkurz> I get that battery capacity varies on new devices and some may have 99% or 98% of the actual advertised capacity, because of the nature of batteries. However I don't get when or how they set "NominalChargeCapacity" or "AppleRawMaxCapacity"
bluetail has quit [Quit: The Lounge - https://thelounge.chat]
bluetail has joined #asahi
<mkurz> For exammple "NominalChargeCapacity" is only about 86% of the "DesignCapacity"...
<mkurz> So they kind of lie to you, they just set the value to a much lower value (maybe when first turning on the device) so it looks like the battery has full capacity, which it has not...
<mkurz> so they only show you percentage but not raw values (had to type in some terminal commands to get that values, in their system info dialog they don't show that)
<mkurz> Can someone with a MacBook Pro 14" let me now their values of "upower -i /org/freedesktop/UPower/devices/battery_macsmc_battery"?
<mkurz> Like energy-full, energy-full-design and charge-cycles, thanks, I would be very interested what others have here
Major_Biscuit has joined #asahi
MajorBiscuit has quit [Ping timeout: 480 seconds]
___nick___ has quit [Ping timeout: 480 seconds]
bcrumb has quit [Quit: WeeChat 3.7.1]
<ncl> > For exammple "NominalChargeCapacity" is only about 86% of the "DesignCapacity"..
<ncl> did you turn on 'optimized battery charging' in macos
<mkurz> ncl: yes it's turned on
<mkurz> Maybe that is the reason, however would that mean that I this settings is carried over the Asahi?
<mkurz> So I guess I have to restart, turn it off and see what happens after a while, if the values go up
Major_Biscuit has quit [Ping timeout: 480 seconds]
Major_Biscuit has joined #asahi
unicordion has joined #asahi
Coastalcrown has quit [Ping timeout: 480 seconds]
Coastalcrown has joined #asahi
hertz has joined #asahi
Coastalcrown has quit [Read error: Connection timed out]
Coastalcrown has joined #asahi
winter has joined #asahi
possiblemeatball has quit [Quit: Leaving]
<mkurz> blazra: thanks, you have 7% more capacity than me...
<blazra> I am not using it much on battery though
<blazra> And I am keeping it at 80% charge most of the time
<mkurz> to keep it between at 85
<j`ey> the kernel has it built in now, or soon will, let me check the versions
<j`ey> ok nope, the latest one in asahi doesnt have it in the kernel yet
<mps> j`ey: it has
<mkurz> j`ey: Is it a Asahi only specific kernel patch or upstream? Can you refer the patch/mailing list discussion/git commit? Thanks!
<j`ey> mkurz: it's asahi specific, it's ..
<mps> /sys/class/power_supply/macsmc-battery/charge_control_start_threshold and /sys/class/power_supply/macsmc-battery/charge_control_end_threshold are in 6.1.0-2
<j`ey> mps: the alarm repo still has asahi-6.1-2
<j`ey> hm
<mps> it is in asahi-6.1-2
<mps> Toggle commit message
<mps> uhm
<mps> sorry
<jannau> "power: supply: macsmc_power: Implement charge thresholds" is only in asahi-6.1-3
soonercane has joined #asahi
<mps> hm, I was sure that I'm using 6.1-2
<mps> let me check
<j`ey> I guess you upgraded!
<soonercane> Whoa, IRC, haven't been here for about 20 years haha!
<mps> j`ey: yes, I see I did but forgot
<mps> sorry for misinformation
<mkurz> So how does that work in the kernel then? Is there a configuration file or something?
cylm_ has quit [Quit: WeeChat 3.6]
<mps> mkurz: yes, these two files /sys/class/power_supply/macsmc-battery/charge_control_start_threshold and /sys/class/power_supply/macsmc-battery/charge_control_end_threshold
<mkurz> mps: ah ok got it
<j`ey> mkurz: it's a standard linux interface thing
<j`ey> so maybe some tools already know about it
<mkurz> j`ey: ah nice!
<mkurz> will this two files be there automatically when I upgrade to that 6.1-3 kernel?
<mkurz> Or do I need to create them?
<j`ey> they will be created by the driver
<mkurz> ok nice
<mps> in kernel tree Documentation/ABI/testing/sysfs-class-power file explains these two files
<mkurz> mps: thanks!
<mkurz> So are there any tools that make use of this files? Like does KDE somehow support them?
<mkurz> LIke what if I want to have it charged 100% because I am planning to go out for the day? I guess I have to echo 100 to the charge_control_end_threshold file?
<mps> mkurz: right now I'm doing just that
<mkurz> mps: alright
<mps> because I don't use any big DE
<mps> but maybe some of big DEs have option for this control
<mkurz> mps: I can't see anything in KDE; but maybe its disabled right now because the files don't exit now, I will see later, thanks!
<jannau> kde needs https://invent.kde.org/plasma/powerdevil/-/merge_requests/127 to support it on apple silicon
<mkurz> jannau: ah nice, so much useful information here ;)
<mkurz> jannau: That patch already made it into powerdevil 5.26.5 which arch linux pull in already, nice. (second commit here: https://github.com/KDE/powerdevil/commits/v5.26.5)
<mkurz> so that is fixed
Major_Biscuit has quit [Ping timeout: 480 seconds]
jess has joined #asahi
Major_Biscuit has joined #asahi
SSJ_GZ has quit [Ping timeout: 480 seconds]
<blazra> I have just tried the KDE charge limit setting and it seems to work - nice!
Major_Biscuit has quit [Ping timeout: 480 seconds]
<mkurz> blazra: But you are using the asahi-6.1-3 kernel?
<blazra> I am using the edge kernel, so that's 6.2.0-rc2-asahi-1-1-edge-ARCH
<blazra> mkurz: ^
<mkurz> blazra: are you using the asahi-dev repo?
<blazra> mkurz: yes
<mkurz> blazra: ok, that's why
bps has quit [Ping timeout: 480 seconds]
<mkurz> blazra: I am not using -dev... so I am still on 6.1.0-asahi-2-2-edge-ARCH, so I will just wait until that kernel hits the stable channel
<mkurz> blazra: but it's awesome this is working now, it's brand new, just released 2 says ago (I mean powerdevil)
<mkurz> blazra: ...2 days ago...
<blazra> mkurz: yeah, it is great
<mkurz> blazra: just curious, is there a toggle or something do let the macbook charge up to 100% just once? Like in the "Battery and Brightness" widget in the "task bar"? Like if I have the macbook plugged in like most of the time but want it charge up before I take it out, but don't really want to change the settings, but let it charge to 100% just once?
<mkurz> blazra: that's why I love Asahi+Arch Linux so much, it's fantastic
<mkurz> blazra: Because going to the settings set the value to 100% and back afterwards when it's charged is a bit cumbersome IMHO
<blazra> mkurz: I can't see anything like that - there is just a note, that battery is configured to charge only to the charge limit you set, but no override
<blazra> at least in the widget
<mkurz> blazra: yes, that is what I feared when I saw the screenshot in https://invent.kde.org/plasma/powerdevil/-/merge_requests/5
Coastalcrown has quit [Ping timeout: 480 seconds]
<mkurz> blazra: The only sane workaround I can think of right now is to go to "Advanced Power Settings" -> "Configure Notifications..." and run a command when charge is complete and set it back to the previous percent via command
Coastalcrown has joined #asahi
<delsol> mkurz: no... but thats a great feature idea.
<delsol> an "Airport" mode.
<delsol> Charge to 99.99% because I don't know when I'll have power again....
<mkurz> delsol: Yes, I am about to open an issue in the powerdevil repo
<delsol> (plus get it, airport mode?)
<mkurz> delsol: I think I get it? ;)
<delsol> Airplane mode: no cellular network... Airport mode: no power
<mkurz> delsol: yeah makes sense
chadmed has joined #asahi
<delsol> offtopic: If M2-Extreme became too damn expensive, release it anyways as a halo option.... who gives a shit if the people that used to buy maxed out Quadra 950's, Powermac 9600's, G3's, G4's, G5's, Mac Pro's.... for their DTP workloads, audio workloads, imovie workloads etc don't need the power anymore... SOMEONE will want the power, even if its just people shooting and editing 4k/8k....
<delsol> some of the x86->ARM server workloads might like it and justify the price too....
delsol has quit [Remote host closed the connection]
Coastalcrown has quit [Ping timeout: 480 seconds]
Coastalcrown has joined #asahi