#
✕ nick:mkurz
#asahi · 2023-01-05 23:04
mkurzblazra: But you are using the asahi-6.1-3 kernel?
#asahi · 2023-01-05 22:27
mkurzso that is fixed
#asahi · 2023-01-05 22:27
mkurzjannau: 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)
#asahi · 2023-01-05 22:17
mkurzjannau: ah nice, so much useful information here ;)
#asahi · 2023-01-05 22:17
mkurzmps: 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!
#asahi · 2023-01-05 22:14
mkurzmps: alright
#asahi · 2023-01-05 22:13
mkurzLIke 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?
#asahi · 2023-01-05 22:12
mkurzSo are there any tools that make use of this files? Like does KDE somehow support them?
#asahi · 2023-01-05 22:12
mkurzmps: thanks!
#asahi · 2023-01-05 22:08
mkurzok nice
#asahi · 2023-01-05 22:07
mkurzOr do I need to create them?
#asahi · 2023-01-05 22:07
mkurzwill this two files be there automatically when I upgrade to that 6.1-3 kernel?
#asahi · 2023-01-05 22:06
mkurzj`ey: ah nice!
#asahi · 2023-01-05 22:05
mkurzmps: ah ok got it
#asahi · 2023-01-05 22:04
mkurzSo how does that work in the kernel then? Is there a configuration file or something?
#asahi · 2023-01-05 21:58
mkurzj`ey: Is it a Asahi only specific kernel patch or upstream? Can you refer the patch/mailing list discussion/git commit? Thanks!
#asahi · 2023-01-05 21:53
mkurzto keep it between at 85
#asahi · 2023-01-05 21:53
mkurzblazra: thanks. I will use https://aur.archlinux.org/packages/asahi-battery-threshold-git now
#asahi · 2023-01-05 21:51
mkurzblazra: thanks, you have 7% more capacity than me...
#asahi · 2023-01-05 21:15
mkurzSo I guess I have to restart, turn it off and see what happens after a while, if the values go up
#asahi · 2023-01-05 21:15
mkurzMaybe that is the reason, however would that mean that I this settings is carried over the Asahi?
#asahi · 2023-01-05 21:14
mkurzncl: yes it's turned on
#asahi · 2023-01-05 20:53
mkurzLike energy-full, energy-full-design and charge-cycles, thanks, I would be very interested what others have here
#asahi · 2023-01-05 20:53
mkurzCan someone with a MacBook Pro 14" let me now their values of "upower -i /org/freedesktop/UPower/devices/battery_macsmc_battery"?
#asahi · 2023-01-05 20:52
mkurzso 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)
#asahi · 2023-01-05 20:51
mkurzSo 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...
#asahi · 2023-01-05 20:50
mkurzFor exammple "NominalChargeCapacity" is only about 86% of the "DesignCapacity"...
#asahi · 2023-01-05 20:49
mkurzI 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"
#asahi · 2023-01-05 20:47
mkurzFor 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"
#asahi · 2023-01-05 20:25
mkurzFrom Asahi: energy-full: 45,972 Wh energy-full-design: 54,675 Wh energy-rate: 8,649 W voltage: 12,066 V
#asahi · 2023-01-05 20:23
mkurzFrom macOS: "AppleRawCurrentCapacity" = 5052 "NominalChargeCapacity" = 5254 "DesignCapacity" = 6075 "AppleRawMaxCapacity" = 5104
#asahi · 2023-01-05 20:01
mkurzOn 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?
#asahi · 2023-01-04 22:54
mkurzjannau: Also found https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/24 ;)
#asahi · 2023-01-04 22:49
mkurzjannau: thanks!
#asahi · 2023-01-04 22:35
mkurzjannau: Is it even "fixable"?
#asahi · 2023-01-04 22:35
mkurzjannau: thanks, so you are aware. Is there some open bug report I can follow?
#asahi · 2023-01-04 22:16
mkurz(Using the edge kernel with gpu enabled)
#asahi · 2023-01-04 22:16
mkurzUsing KDE/X11 the mouse pointer flickers. Is that normal?
#asahi · 2022-12-23 01:37
mkurzSo I think it does not change the header address alignment but does something else so it knows what the target system will be
#asahi · 2022-12-23 01:36
mkurzThe explanation of the flag is: -H:PageSize=0 Define PageSize of a machine that runs the image. The default = 0 (== same as host machine page size).
#asahi · 2022-12-23 01:35
mkurzI could solve my problem I had with theGraalVM native image tool by passing `-H:PageSize=16384` when producing the image. A bit weird, but the alignment still is 0x10000, however now I can execute the binary...
#asahi · 2022-12-23 00:36
mkurztpw_rules: thanks
#asahi · 2022-12-23 00:31
mkurzIf I produce a ELF binary with a page size of 64k, in theory that should run on all aarch64 machines, no matter if their kernel has a page size of 4k, 16k or 64k. Is that correct?
#asahi · 2022-12-22 18:29
mkurztpw_rules: so you are saying its a "bug" in graalvm? so I can do nothing about it, like passing params?
#asahi · 2022-12-22 18:23
mkurzbut I think that should be normal (?)
#asahi · 2022-12-22 18:23
mkurzSo if I run "readelf -l " for both binaries the align values are exactly the same, just the entry point differ and also the offsets
#asahi · 2022-12-22 18:22
mkurzThe align value for both binaries is 0x10000, which is 64k
#asahi · 2022-12-22 18:21
mkurzif I build it on on another aarch64 machine and copy the binary over it does not work
#asahi · 2022-12-22 18:21
mkurzif I build it in asahi the binary works
#asahi · 2022-12-22 18:21
mkurzcreated with graal native image tool

plus ›