marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | "Does XXX work yet?": https://alx.sh/fs | 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
mxz has quit [Quit: cya]
mxz has joined #asahi
jnn has joined #asahi
elros has joined #asahi
jn has quit [Ping timeout: 480 seconds]
elros has quit [Ping timeout: 480 seconds]
shreyansh has quit [Quit: Konversation terminated!]
elros has joined #asahi
elros has quit [Ping timeout: 480 seconds]
ptudor_ has joined #asahi
ptudor has quit [Ping timeout: 480 seconds]
elros has joined #asahi
drubrkletern has joined #asahi
elros has quit [Ping timeout: 480 seconds]
drubrkletern has quit [Remote host closed the connection]
zerdox has quit [Read error: Connection reset by peer]
faustine has joined #asahi
faustine has quit []
zerdox has joined #asahi
elros has joined #asahi
zerdox has quit [Remote host closed the connection]
elros has quit [Ping timeout: 480 seconds]
zerdox has joined #asahi
gabuscus has quit []
Bogdan5 has quit [Quit: The Lounge - https://thelounge.chat]
thenemesis has joined #asahi
thenemesis has quit []
Bogdan5 has joined #asahi
elros has joined #asahi
elros has quit [Ping timeout: 480 seconds]
gabuscus has joined #asahi
elros has joined #asahi
elros has quit [Ping timeout: 480 seconds]
da_jtp has joined #asahi
crabbedhaloablut has joined #asahi
da_jtp has quit []
loki_val has joined #asahi
crabbedhaloablut has quit [Read error: Connection reset by peer]
ellyq has quit [Read error: Connection reset by peer]
elros has joined #asahi
elros has quit [Ping timeout: 480 seconds]
marvin24_ has joined #asahi
marvin24 has quit [Ping timeout: 480 seconds]
elros has joined #asahi
elros has quit [Ping timeout: 480 seconds]
elros has joined #asahi
zerdox has quit [Ping timeout: 480 seconds]
elros has quit [Ping timeout: 480 seconds]
mxz has quit [Quit: cya]
mxz has joined #asahi
cylm has quit [Ping timeout: 480 seconds]
nicolas17 has quit [Quit: Konversation terminated!]
elros has joined #asahi
elros has quit [Ping timeout: 480 seconds]
zerdox has joined #asahi
elros has joined #asahi
elros has quit [Ping timeout: 480 seconds]
SalimTer- has quit [Quit: ZNC - https://znc.in]
SalimTerryLi has joined #asahi
elros has joined #asahi
elros has quit [Ping timeout: 480 seconds]
hightower3 has quit [Ping timeout: 480 seconds]
lewurm`` has quit [Ping timeout: 480 seconds]
elros has joined #asahi
elros has quit [Ping timeout: 480 seconds]
Fischmiep has quit [Ping timeout: 480 seconds]
hightower2 has joined #asahi
hightower2 has quit [Ping timeout: 480 seconds]
elros has joined #asahi
elros has quit [Ping timeout: 480 seconds]
Fischmiep has joined #asahi
elros has joined #asahi
elros has quit [Ping timeout: 480 seconds]
elros has joined #asahi
elros has quit [Ping timeout: 480 seconds]
DarkShadow4444 has quit [Quit: ZNC - https://znc.in]
DarkShadow44 has joined #asahi
zerdox has quit [Read error: Connection reset by peer]
zerdox has joined #asahi
lewurm has joined #asahi
elros has joined #asahi
chadmed has quit [Remote host closed the connection]
chadmed has joined #asahi
elros has quit [Ping timeout: 480 seconds]
qyliss has quit [Quit: bye]
qyliss has joined #asahi
Vesec has joined #asahi
SuperED has joined #asahi
chadmed has quit [Remote host closed the connection]
SuperED has quit []
elros has joined #asahi
chadmed has joined #asahi
loki_val has quit []
hightower2 has joined #asahi
crabbedhaloablut has joined #asahi
qyliss has quit [Quit: bye]
qyliss has joined #asahi
chadmed has quit [Remote host closed the connection]
chadmed has joined #asahi
amarioguy has quit [Remote host closed the connection]
eldriitch has joined #asahi
mohit815 has quit [Quit: mohit815]
mohit815 has joined #asahi
ciggi_ has quit [Ping timeout: 480 seconds]
zerdox has quit [Ping timeout: 480 seconds]
ellyq has joined #asahi
Vesec has quit [Ping timeout: 480 seconds]
reillyeon has quit [Quit: The Lounge - https://thelounge.github.io]
reillyeon has joined #asahi
jeisom has quit [Quit: Leaving]
jeisom has joined #asahi
mohit8156 has joined #asahi
lewurm has quit [Ping timeout: 480 seconds]
mohit815 has quit [Ping timeout: 480 seconds]
mohit8156 is now known as mohit815
cylm has joined #asahi
Moprius has joined #asahi
u154s has joined #asahi
<u154s> @jannau thanks for that.
u154s has quit [Remote host closed the connection]
pinkieval has quit [Remote host closed the connection]
pinkieval has joined #asahi
VinDuv has quit [Ping timeout: 480 seconds]
Moprius has quit [Ping timeout: 480 seconds]
ciggi has joined #asahi
elros has quit [Ping timeout: 480 seconds]
elros has joined #asahi
cylm_ has joined #asahi
cylm has quit [Ping timeout: 480 seconds]
elros has quit [Ping timeout: 480 seconds]
mps has quit [Quit: leaving]
elros has joined #asahi
ptudor has joined #asahi
ptudor_ has quit [Read error: No route to host]
mps has joined #asahi
lewurm has joined #asahi
lewurm`` has joined #asahi
lewurm has quit [Ping timeout: 480 seconds]
ydalton has joined #asahi
<ydalton> since when has chromium and chromium based browsers been broken on fedora asahi? the system packages and flatpaks don't work at all
<_jannau__> system packages are broken on M2* due to bti, someone needs to file a bug for that
<j`ey> isnt that this one? https://bugs.chromium.org/p/chromium/issues/detail?id=1145581#c60 or did you mean file a fedora packaging bug?
<_jannau__> fedora packaging bug to build it without BTI
ten1572377432 has quit [Remote host closed the connection]
ten1572377432 has joined #asahi
elros has quit [Ping timeout: 480 seconds]
elros has joined #asahi
<ydalton> yeah, it says "illegal instruction" and then it dumps core
<ydalton> is that the expected behavior?
<_jannau__> on for the system packages on M2*, yes. not sure about flatpaks
<j`ey> you can try booting with 'arm64.nobti' on the kernel command line, as a temporary workaround
<ydalton> flatpaks crash for a different reason, something about the gpu
<ydalton> does `arm64.nobti` have unwanted side-effects?
<j`ey> BTI is a set of instructions for 'hardening' code by disallowing branches to unexpected locations in code
<ydalton> this is the error i get when i run the ungoogled chromium flatpak
<ydalton> it's the same issue on regular chromium and brave, those are the ones i test
<ydalton> s/test/tested
ydalton has left #asahi [ERC 5.4 (IRC client for GNU Emacs 28.2)]
ah- has quit [Remote host closed the connection]
ah- has joined #asahi
VinDuv has joined #asahi
Moprius has joined #asahi
mohit815 has quit [Quit: Ping timeout (120 seconds)]
mohit815 has joined #asahi
mohit815 has quit []
mohit8156 has joined #asahi
mohit8156 has quit []
marvin24_ has quit [Ping timeout: 480 seconds]
vLily has joined #asahi
rvalue has quit [Remote host closed the connection]
rvalue has joined #asahi
mohit815 has joined #asahi
zerdox has joined #asahi
<pitust> how do i read the lid switch on an m1 mbp?
<pitust> things don't seem to automatically work (or at least suspend is broken and/or disabled)
<pitust> (and/or mis/unconfigured)
<pitust> and also how do i ask it to go to sleep (s2ram or otherwise)?
<j`ey> closing the lid should work
<jannau> pitust: evtest (as root) should list an input event device "Apple SMC power/lid events"
<pitust> closing the lid doesn't seem to work
<j`ey> arch linux non-edge or?
<pitust> evtest does
<pitust> linux-asahi
<jannau> (pm_)sleep is only enabled in the edge kernel
<pitust> is it functional? or is it like half broken
<jannau> linux-asahi-edge
<pitust> thanks
lena6 has joined #asahi
<jannau> it breaks bt under some conditions (possibly always if there's a active bt connection before suspend)
<pitust> i don't use bt so
<jannau> possibly causes problems with some USB devices (I don't remember details, could be fixed)
<pitust> i dont use usb either :^)
possiblemeatball has joined #asahi
<j`ey> pitust: btw you can: echo mem > /sys/power/state, to suspend manually
malte has joined #asahi
<pitust> ah thats the place where it goes
<pitust> thanks!
<pitust> returns -ENOSYS until i reboot into the new kernel ig
<pitust> how do i make grub use linux-edge-asahi not linux-asahi?
<pitust> grub is evil
<pitust> okay cool suspend half works
<pitust> the "suspend when laptop is closed" part doesnt
<pitust> and it doesn't wake up if i touch the keyboard
nicolas17 has joined #asahi
osaka1990 has joined #asahi
<pitust> also is the estimated battery life of "one hour" accurate?
<pitust> because if it is thats a little bit... *annoying*
<pitust> given that macos pulls 10+ hours
ten1572377432 has quit [Remote host closed the connection]
<jannau> pitust: wakeup should work with the lid and power button bit not keyboard
ten1572377432 has joined #asahi
<pitust> that makes sense cool
<pitust> it does work so
<jannau> ydalton: chromium bti issue reported as https://bugzilla.redhat.com/show_bug.cgi?id=2239523
<jannau> but, not bit
crabbedhaloablut has quit []
balrog has quit [Quit: Bye]
balrog has joined #asahi
<pitust> is there a way to make asahi power usage not suck?
<pitust> a two hour battery life is not really acceptable
<i509vcb> Are you using a kernel with brightness control and gpu?
<pitust> brightness control, yes
<i509vcb> My m2 air will run fine for about 8 or 9 hours when using it
<pitust> gpu, maybe?
<pitust> also linux reports the battery percentage as 77% even though macos says its 100%
<i509vcb> Idle and screen shut maybe 16 hours
<opticron> I'm not sure that estimate was accurate, especially if it was right after boot when things are still churning
<pitust> so i'm not sure how much trust do i put into that number
<pitust> opticron: it's still one hour after waiting a bit for it to stabilize
<pitust> if the reported percentage is accurate (which is not necessarily the case), the estimate of one hour matches the percentage
abbe__ has joined #asahi
<opticron> which laptop?
<pitust> m1 mbp
<pitust> 13"
<opticron> I have the M1M 14" and it definitely lasts for more than a couple hours
<pitust> hmm okay
<nicolas17> see if anything is eating CPU
<nicolas17> in powertop
<opticron> though they're quite different machine configurations
<jannau> pitust: that sounds like there is something wrong on your system
<pitust> htop says all cores are basically idle
<pitust> i'm also quite suspicious of the estimated "77%"
<pitust> macos says 100
<pitust> and says battery health is 83%
ciggi has quit [Read error: Connection reset by peer]
<nicolas17> how old is it?
<jannau> that's weird, those charge percentage and time to empty come directly from the smc
<pitust> i mean
<pitust> a year or two
<pitust> but i had the battery (i think?) replaced in december by an aasp
<jannau> battery health seems to be off, I think upower calculates that
<pitust> oh no they only replaced the logic board then okay
ciggi has joined #asahi
darkapex3 has quit [Remote host closed the connection]
abbe has quit [Ping timeout: 480 seconds]
darkapex3 has joined #asahi
<pitust> but still macos says 83% health and i got it from an aasp today so it should be all functional
abbe__ is now known as abbe
<nicolas17> afaik if the battery goes below 80% health in less than a year since purchase, that's considered a defect and you can get it replaced under warranty; not sure how other repairs affect that though
<jannau> the replaced logic could be an hint. services devices with part replacements seems to behave sometimes differently and we do not know why or how macos handles them
<pitust> hmm okay
<pitust> thats weird
<pitust> and annoying
<nicolas17> does it actually last 1-2 hours or are you just trusting the estimate? :)
<jannau> but I haven't seen reports of weird battery readings. but we are just querying the smc for values
<pitust> why would the estimate be wrong :P
<jannau> bugs in the smc firmware
<pitust> macos says the correct thing
<jannau> but yes, please test how the battery actually behaves
<pitust> sure
<pitust> will do
Moprius has quit [Quit: bye]
<jannau> how bright is the display? is the laptop warm? I think it would be noticeable if it would indeed use 80% or 100% of a battery charge in 1 hour
<pitust> brightness 140
<tpw_rules> yeah it would have to be dissipating some 60 watts
<pitust> the laptop isn't warm or anything, but i ran it for like 10 mins max
<pitust> a dissipation of 60 watts sounds... unlikely
<tpw_rules> i mean that's the math to discharge that battery in one hour
<pitust> mhm
<pitust> it also sounds unlikely in that macos reported 100% afterwards
<jannau> pitust: after `echo 1 | sudo tee /sys/module/macsmc_power/parameters/log_power` there continuous log messages like "macsmc-power macsmc-power: In 0.000W Sys 10.392W 3V8 5.731W MPMU 0.854W SPMU 2.238W CLVR 1.673W CPU 4.015W Batt -10.437W 74% Tempty 221m" in the kernel log (dmesg -w)
<pitust> okay got it
<pitust> will test in a minute, probably
rvalue has quit [Remote host closed the connection]
rvalue has joined #asahi
<jannau> that's from my 14-inch m1 max, the m1 air should show lower values but if Tempty with a full battery is there also very low (60 - 120 minutes) then it might be interesting to look at the values
ChaiTRex has quit [Remote host closed the connection]
ChaiTRex has joined #asahi
VinDuv has quit [Quit: ZNC 1.8.2+deb3.1 - https://znc.in]
VinDuv has joined #asahi
elros has quit [Ping timeout: 480 seconds]
eldriitch has quit [Quit: Leaving...]
<unixpoet> fwiw, I noticed that macos will fib about battery life / percentages whereas apps like coconutbattery give a more truthful report
<pitust> hmm okay
elros has joined #asahi
<pitust> unixpoet: thanks, that is very... *interesting*
<pitust> coconutBttery reports health 79%
<pitust> and charge 90.9 when macos reports 96
<pitust> and linux was saying 77%
<unixpoet> three different pieces of software, three different answers \o/
<unixpoet> it looks like linux might be taking health into account for the charge percentage, the math more or less works out
elros has quit [Ping timeout: 480 seconds]
skipwich has quit [Ping timeout: 480 seconds]
skipwich has joined #asahi
ten1572377432 has quit [Remote host closed the connection]
ten1572377432 has joined #asahi
Vesec has joined #asahi
elros has joined #asahi
elros has quit [Ping timeout: 480 seconds]
jess has joined #asahi
<pitust> but linux's battery usage number makes no sense
<pitust> the laptop is definitely not dissipating 60 watts of heat
elros has joined #asahi
joske has joined #asahi
elros has quit [Ping timeout: 480 seconds]
elros has joined #asahi
Vesec has quit [Remote host closed the connection]
elros has quit [Ping timeout: 480 seconds]
ptudor_ has joined #asahi
ptudor has quit [Ping timeout: 480 seconds]
joske has quit [Quit: Leaving...]
techtips has joined #asahi
techtips has quit []
chadmed_ has joined #asahi
<chadmed_> pitust: i can get about 6ish hours of light use with brightness at the same as you out of my 14" m1 pro machine
<chadmed_> we know there is something up with the idle power draw on t600x but it shouldnt be 2 hours of battery bad...
<chadmed_> i also have the same issue with the battery health measurements out of the smc, it jumps all over the place. last week it was 82% this morning it was 89%
joske has joined #asahi
joske has quit []