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
<tpw_rules> i know the above isn't the official release builds but the same kernel (using a config identical to the official release build) that sees nvme on a 16" M1 Max does not on a 14" M1 Pro.
jamespmo_ has quit [Ping timeout: 480 seconds]
povik has quit [Remote host closed the connection]
isabella has joined #asahi
<isabella> what vpns work with asahi? i've tried nord and express which i have family memberships for but neither seem to work
<isabella> i was thinking of getting protonmail and if protonvpn works, i will def be getting it
amarioguy has quit [Remote host closed the connection]
possiblemeatball has joined #asahi
vmeson has quit [Ping timeout: 480 seconds]
vmeson has joined #asahi
nela has quit [Ping timeout: 480 seconds]
qwe has quit [Ping timeout: 480 seconds]
marvin24_ has joined #asahi
marvin24 has quit [Ping timeout: 480 seconds]
possiblemeatball has quit [Quit: Quit]
Zopolis4 has joined #asahi
gachikuku has joined #asahi
gachikuku has quit []
ptudor has quit [Ping timeout: 480 seconds]
ptudor has joined #asahi
<Nezteb> As a protonmail subscriber for several years, highly recommend 😄
basso has quit [Quit: The Lounge - https://thelounge.chat]
basso has joined #asahi
guillaume_g has joined #asahi
Zopolis4 has quit []
Techcable_ has quit [Ping timeout: 480 seconds]
chadmed has quit [Remote host closed the connection]
Techcable has joined #asahi
chadmed has joined #asahi
LinuxM1 has joined #asahi
chadmed has quit [Remote host closed the connection]
chadmed has joined #asahi
LinuxM1 has quit [Read error: Connection reset by peer]
vorgumle has joined #asahi
vorgumle was kicked from #asahi by ChanServ [You are not permitted on this channel]
pjakobsson has quit [Remote host closed the connection]
nyilas has joined #asahi
vmeson has quit [Ping timeout: 480 seconds]
vmeson has joined #asahi
mkurz has joined #asahi
vmeson has quit [Ping timeout: 480 seconds]
vmeson has joined #asahi
<mkurz> marcan: The charge thresholds patch made it into the edge kernel, so I can set "charge limits" now in KDE's "Advanced Power Settings", however those charge limits are not preserved during reboots. Are you aware of that? Should I open an issue?
<mkurz> marcan: Some ASUS notebooks have the same problem: https://bugs.kde.org/show_bug.cgi?id=450551
<mkurz> Not sure if that has to be fixed on Asahi's side
<_jannau_> we can't do anything about that. easiest solution for now is to have a ssytemd service which writes the start/stop threshold on boot
<_jannau_> mkurz: can you try to press Esc the next time the display stays black (if you not already tried that)
<mkurz> _jannau_: I will, however I am pretty sure I tried that
giskard has joined #asahi
<mkurz> _jannau_: I was using a systemd service before, so I will again. However, the problem the KDE settings are not persisted, is that a KDE bug or is there something that needs to be done on Asahi's side to make them persistent? Just curious.
<j`ey_> the KDE settings just use the sysfs settings though, surely?
<mkurz> j`ey_: I don't know
<_jannau_> we can not make them persistent so it has to be solved by software on the system
<mkurz> _jannau_: got it
<mkurz> thanks!
Zopolis4 has joined #asahi
leitao has joined #asahi
vmeson has quit [Ping timeout: 480 seconds]
vmeson has joined #asahi
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mkurz> j`ey_: I digged into the powerdevil source, it seems all it does it writes the charge limits to the /sys/class/power_supply/macsmc-battery/charge_control_[start|end]_threshold files when hitting the "Apply" button in the settings dialog.
leitao has joined #asahi
<j`ey_> mkurz: doesnt it read those back on start up?
<mkurz> j`ey_: it seems not
<mkurz> j`ey_: That's why https://bugs.kde.org/show_bug.cgi?id=450551 exists
<j`ey_> well then even with a system where the values can persist, it would go wrong I guess
<j`ey_> ah ok
<mkurz> j`ey_: Really? Why? I don't think so...(?)
<mkurz> j`ey_: For me the question is is that something that should be persistet by the kernel? However I am a total non-expert
<j`ey_> mkurz: I mean surely KDE has to read that file to show the current value to the user
<mkurz> j`ey_: Yes it just reads it that's it
<mkurz> j`ey_: And here in save it sets the thresholds: https://invent.kde.org/plasma/powerdevil/-/blob/master/kcmodule/global/GeneralPage.cpp#L193 nothing more
<j`ey_> ok, you said 'it seems not' if I asked if it read them
<j`ey_> but there was probably some confusion
<mkurz> j`ey_: ah sorry my mistake
<mkurz> j`ey_: I was thinking you were asking if it reads them back on startup, but it is not. It just reads them when showing the settings page.
<mkurz> So I will use the systemd service again until the KDE bug is resolved.
<mkurz> Or in case it turns out that is a thing the kernel should handle...
<_jannau_> the kernel can not handle it since it has no way to save values so it can load them on the next boot
<mkurz> _jannau_, j`ey_: Sorry I am a bit naiv here since I lack knowledge. However reading through the KDE bug my question is: Would it be possible that the Apple SMC actually does persist the thresholds but Asahi does not handle it correctly? Or does the SMC for sure erase the value on every restart?
<mkurz> It seems some device's SMC do keep the value, so I am wondering if Apple's would to but the kernel overrides it somehow
<mkurz> ..too...
vmeson has quit [Ping timeout: 480 seconds]
vmeson has joined #asahi
isabella has quit [Ping timeout: 480 seconds]
nela has joined #asahi
Guest8262 has quit [Quit: G-line: User has been permanently banned from this network.]
vx has joined #asahi
pjakobsson has joined #asahi
vx is now known as Guest8642
balrog has quit [Quit: Bye]
vmeson has quit [Ping timeout: 480 seconds]
vmeson has joined #asahi
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
antonio__ has joined #asahi
nyilas has quit [Ping timeout: 480 seconds]
Brainium has joined #asahi
balrog has joined #asahi
leitao has joined #asahi
jacksonchen666 has joined #asahi
jacksonchen666 has quit [Quit: WeeChat 3.8]
bisko has joined #asahi
c10l has quit [Quit: Bye o/]
possiblemeatball has joined #asahi
c10l has joined #asahi
<tpw_rules> marcan: when was the last time you updated the installer template images? was it really a year ago? can you update the uefi only image? the device trees in there seem to not be compatible with the latest kernels enough and nvme doesn't show up
vmeson has quit [Ping timeout: 480 seconds]
vmeson has joined #asahi
vmeson has quit [Ping timeout: 480 seconds]
c10l has quit [Quit: Bye o/]
povik has joined #asahi
c10l has joined #asahi
bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
c10l4 has joined #asahi
c10l has quit [Read error: Connection reset by peer]
Brainium has quit [Read error: Connection reset by peer]
vmeson has joined #asahi
gabuscus has quit [Ping timeout: 480 seconds]
c10l4 has quit []
c10l has joined #asahi
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vmeson has quit [Ping timeout: 480 seconds]
veeyee has joined #asahi
leitao has joined #asahi
___nick___ has joined #asahi
delsol has quit [Remote host closed the connection]
gabuscus has joined #asahi
CME_ has joined #asahi
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
CME has quit [Ping timeout: 480 seconds]
possiblemeatball has quit [Quit: Quit]
possiblemeatball has joined #asahi
Zopolis4 has quit []
gabuscus_ has joined #asahi
gabuscus has quit [Ping timeout: 480 seconds]
leitao has joined #asahi
qwe has joined #asahi
vmeson has joined #asahi
atodorov has joined #asahi
<atodorov> hey there, I'm trying to install Asahi Linux on a MacBook Pro but it fails to download the script. First curl could not resolve the alx.sh hostname. After running dig locally it moved onto Could not resolve host: cdn.asahilinux.org. At some point Safari also didn't recognize the Asahi Linux website but that seems resolved now. I've updated to MacOS 13.x (it's the first thing I did b/c that's a new machine). Has anyone seen such error
<atodorov> ?
<atodorov> huh, 6th time was the charm
bisko has joined #asahi
veeyee has quit [Quit: Leaving.]
gladiac has joined #asahi
leitao has quit [Ping timeout: 480 seconds]
gladiac has quit [Quit: k thx bye]
leitao has joined #asahi
leitao has quit []
qwe has quit [Ping timeout: 480 seconds]
leitao has joined #asahi
Burger has joined #asahi
leitao has quit [Ping timeout: 480 seconds]
leitao has joined #asahi
<marcan> tpw_rules: it wasn't a year ago, it was november
<marcan> I don't think we touched nvme since then?
<marcan> mkurz: there is no persistence, this is the OS's job
<marcan> the real answer here is that upower should be doing this
<marcan> but that never got merged/done
<marcan> there can't be any persistence because there is no nonvolatile memory involved, this is by design
<marcan> the charge thresholds aren't even implemented in hardware, they're implemented in software
<marcan> but even if they were implemented in SMC firmware, SMC has no nonvolatile memory other than the BMIC itself
possiblemeatball has quit [Quit: Quit]
leitao has quit [Remote host closed the connection]
leitao has joined #asahi
possiblemeatball has joined #asahi
<tpw_rules> marcan: ah you are right, it was november. still i think something was in fact touched
Misthios has quit [Quit: Misthios]
Misthios has joined #asahi
Burger has quit [Quit: Textual IRC Client: www.textualapp.com]
<winter> should I include loglevel=7 logs when reporting a driver bug, or is that not necessary?
<winter> (facing an issue with the KMS driver, if that helps answer the question -- just want to know if there's anything i can/should include other than repro steps :)
isabella has joined #asahi
Dementor has quit [Remote host closed the connection]
Dementor has joined #asahi
<isabella> Im trying to connect to a WPA-Enterprise network and I am struggling a lot. I tried a lot of different things, and my last attempt was to use nm-connection-editor. I got all the data except the anonymous identity, domain, and certificate. Is there a way to get this by myself? Or should I just ask IT for all the info?
<tpw_rules> i don't think you have to fill those in
<isabella> It doesn't let me not do it, it says I need a certificate
<ChaosPrincess> then you need the cert
<ChaosPrincess> cert is basically your password for wpa-enterprise networks
<tpw_rules> ah, the wpa-enterprise networks i've used take a password instead
<isabella> guess I'll just have to ask IT then
<ChaosPrincess> there are both types
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leitao has joined #asahi
isabella has quit [Remote host closed the connection]
seb4nihel has joined #asahi
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
giskard has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
leitao has joined #asahi
leitao has quit []
<opticron> huh, I didn't think the charge thresholds were merged yet
<opticron> or I'm looking at a stale branch
<jannau> winter: regarding the broken HiDPI after display off? I know what the issue is
<mps> opticron: it is merged before new year iirc
leitao has joined #asahi
<winter> jannau: ooh! okay. yeah, that's it :)
<winter> is it an edge specific thing, out of curiosity?
<winter> happy to test a patch either way
<winter> just nudge me
<opticron> but I'm not seeing any references to limits or thresholds
<opticron> and that branch hasn't been touched in a while
<winter> jannau: to be clear, this occurs when going from e.g. sway to getty and back again, which results in the kms driver reporting a physical size of 0 for the connector (see https://github.com/swaywm/sway/issues/7522)
<mps> opticron: I remember that I activated it on december
<winter> if that's the issue you mean, then i'd be happy to test whatever ^^
<opticron> huh
<mps> opticron: 2022-12-25 my msg on #asahi-dev was 'I see two new files in /sys/class/power_supply/macsmc-battery, charge_control_start_threshold and charge_control_end_threshold'
<opticron> maybe I'm looking in the wrong place, then
<mps> also '2022-12-25 18:30..........@m_arcan| and also battery charge threshold emulation in the macsmc-power kernel driver'
<mps> opticron: in kernel tree is file Documentation/ABI/testing/sysfs-class-power which explains usage
toasterking has quit [Read error: Connection reset by peer]
jfy has quit [Read error: Connection reset by peer]
handlerug has quit [Read error: Connection reset by peer]
mrCyborg has quit [Read error: Connection reset by peer]
pitust has quit [Read error: Connection reset by peer]
asimpson has quit [Read error: Connection reset by peer]
cds has quit [Write error: connection closed]
gpanders has quit [Read error: Connection reset by peer]
WhyNotHugo has quit [Read error: Connection reset by peer]
coder_kalyan has quit [Read error: Connection reset by peer]
jleightcap has quit [Read error: Connection reset by peer]
probie has quit [Write error: connection closed]
akspecs has quit [Read error: Connection reset by peer]
d4ve has quit [Write error: connection closed]
toasterking has joined #asahi
coder_kalyan has joined #asahi
flibitijibibo has joined #asahi
probie has joined #asahi
akspecs has joined #asahi
WhyNotHugo has joined #asahi
mrCyborg has joined #asahi
jleightcap has joined #asahi
gpanders has joined #asahi
asimpson has joined #asahi
nyilas has joined #asahi
handlerug has joined #asahi
d4ve has joined #asahi
jfy has joined #asahi
pitust has joined #asahi
cds has joined #asahi
antonio__ has quit [Ping timeout: 480 seconds]
<opticron> I think it got implemented in a way I didn't expect
<mps> opticron: there is also 'old' option to control charging with some userspace daemon writing to /sys/class/power_supply/macsmc-battery/charge_behaviour
<rann> hi all, was curious about the TBA status of the PMU driver for M2 based devices; does it matter much that that's not there yet?
<mps> opticron: I wrote daemon for this method about 9 months ago, https://www.arvanta.net/2x3d1kfg/charge-ctl.c
Oreols has joined #asahi
jacksonchen666 has joined #asahi
___nick___ has quit []
vmeson has quit [Ping timeout: 480 seconds]
___nick___ has joined #asahi
___nick___ has quit []
guillaume_g has quit []
___nick___ has joined #asahi
<opticron> mps, I think the confusion is that the release was cut from asahi-wip instead of from asahi
<opticron> I was under the impression that asahi was where that was happening
delsol has joined #asahi
<mps> opticron: yes, I follow asahi-wip branch when looking for changes
vmeson has joined #asahi
possiblemeatball has quit [Quit: Quit]
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Zopolis4 has joined #asahi
possiblemeatball has joined #asahi
seb4nihel has quit [Quit: ZNC 1.8.2 - https://znc.in]
psykose has quit [Remote host closed the connection]
psykose has joined #asahi
___nick___ has quit [Remote host closed the connection]
___nick___ has joined #asahi
<jannau> mkurz: do you happen to have kde night color enabled/set? Does the black display issue only happens after sunset with night color enabled?
<jannau> chadmed: ^^^
Dementor has quit [Read error: Connection reset by peer]
Dementor has joined #asahi
delsol has quit [Remote host closed the connection]
<bluetail3> there are reports from osx users that some vscode dark themes trigger flashing on the m series machines. I don't wonder about anything anymore. But, I really love my m1 running linux headless. It does its job well.
<jannau> seems to be triggered if night light is enabled/disabled while the display is off
bluetail30 has joined #asahi
jacksonchen666 has quit [Remote host closed the connection]
jacksonchen666 has joined #asahi
bluetail3 has quit [Ping timeout: 480 seconds]
systwi_ has quit []
systwi has joined #asahi
<mkurz> jannau: possible yes, night color is active and it happened over night
<mkurz> and I thing once on later afternoon
<mkurz> and I think once in later afternoon
<mkurz> jannau: You have a link to the KDE bug?
delsol has joined #asahi
<jannau> only a merge request
<mkurz> thanks!
<jannau> as workaround disable night color for now. it doesn't do anything yet
<mkurz> jannau: I will. I am wondering the merge requeset was opened 21 minutes ago, after your message here. How did you find out it was the night color?
<jannau> bug was reported in kwin's irc/matrix channel by me before that.
<jannau> I reproduced it locally on my dev mbp 13" which had night color enabled, but only after I returned to it after sunset
<mkurz> jannau: Thanks! I am happy you found the cause and this is getting fixed. It's an very annoying bug.
<jannau> chadmed: experienced the same problem but wasn't able to reproduce it after that
weitcis has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
nyilas has quit [Remote host closed the connection]
<mkurz> My setting was "Sunset and Sunrise at current location" so that means at sunset and sunrise there is like a 50 minute time window each where the colors will be changed and the bug can unfold
<mkurz> so that also explain why it was happening "randomly"
seb4nihel has joined #asahi
<mkurz> because I sometimes also lock my screen during the day for a couple of hours if I have other stuff to do but I was wondering why the bug didn't occur then
<mkurz> so being caused by night color changes makes total sense for me
<mkurz> jannau: Anyway, thanks a lot again!
<jacksonchen666> is this convo about "dark theme" or something similar to macos' "night shift"?
<jannau> fortunately night color has custom begin/end times. testing would have been a little annoying without that. I guess I could have changed the system time
<jannau> jacksonchen666: night shift
<jannau> doesn't work yet but can still trigger bugs
delsol has quit [Remote host closed the connection]
delsol has joined #asahi
___nick___ has quit []
Mary6 has quit []
Mary6 has joined #asahi
jacksonchen666 has quit [Quit: WeeChat 3.8]
weitcis has joined #asahi
c10l has quit [Ping timeout: 480 seconds]
delsol_ has joined #asahi
delsol_ has quit [Remote host closed the connection]
delsol has quit [Read error: Connection reset by peer]
delsol has joined #asahi
sjs has quit [Remote host closed the connection]
sjs has joined #asahi
Zopolis4 has quit []
delsol has quit [Remote host closed the connection]
V has joined #asahi
das_j has quit [Ping timeout: 480 seconds]
manawyrm has quit [Ping timeout: 480 seconds]
cy8aer has quit [Ping timeout: 480 seconds]
das_j has joined #asahi
zotanmew has quit [Ping timeout: 480 seconds]
waldi has quit [Ping timeout: 480 seconds]
timefractal has quit [Ping timeout: 480 seconds]
V_ has quit [Ping timeout: 480 seconds]
flokli has quit [Ping timeout: 480 seconds]
cy8aer has joined #asahi
manawyrm has joined #asahi
zotanmew has joined #asahi
timefractal has joined #asahi
waldi has joined #asahi
flokli has joined #asahi
manawyrm has quit [Ping timeout: 480 seconds]
zotanmew has quit [Ping timeout: 480 seconds]
timefractal has quit [Ping timeout: 480 seconds]
Moprius has joined #asahi
ptudor has quit [Ping timeout: 480 seconds]
manawyrm has joined #asahi
timefractal has joined #asahi
zotanmew has joined #asahi
Moprius has quit [Read error: No route to host]
ptudor has joined #asahi