#
…

2022-12-09

00:00jmshrv has quit [Remote host closed the connection]
00:01jmshrv has joined #asahi
00:04rayanamukami3 has quit [Read error: Connection reset by peer]
00:04rayanamukami3 has joined #asahi
00:11mkurz has joined #asahi
00:14jelly has quit [Read error: Connection reset by peer]
00:17jelly has joined #asahi
00:46nate8 has joined #asahi
01:42chadmedjoske: do you have details i can add to a Tested-by on the tas2770 patch?
01:47Tramtristanyone have any tips for palm detection/rejection?
01:49rvalue has quit [Ping timeout: 480 seconds]
01:51chadmedkde has an option to turn off the trackpad while youre typing
01:52chadmedim pretty sure the trackpad firmware has its own palm rejection type stuff though
01:55rvalue has joined #asahi
02:28eiln has joined #asahi
02:29eiln has quit []
02:37deegz has joined #asahi
02:47TellowKrinkleI noticed the installer doesn't seem to give you a chance to set up partitions before installing
02:47TellowKrinkle What's the best way to get an Asahi install on btrfs?
02:59vivithecanineProbably following one of the guides for a manual install, just make sure btrfs stuff is in your initrd
03:00vivithecanineDunno if grub needs special modules for btrfs, iirc it doesn't need anything special
03:01chadmedgrub doesnt seem to like 16k btrfs
03:01chadmedso its worth having an ext4 boot or use your ESP as /boot
03:01chadmedi do the latter and use sd-boot instead of grub
03:08vivithecanineAh yeah that's right
03:15mkurz has quit [Ping timeout: 480 seconds]
03:26ethernet has quit [Remote host closed the connection]
03:26ethernet has joined #asahi
03:33nepeat has quit [Ping timeout: 480 seconds]
03:33ave3630 has quit [Ping timeout: 480 seconds]
03:33linuxgemini has quit [Ping timeout: 480 seconds]
03:36nepeat has joined #asahi
03:36ave3630 has joined #asahi
03:38linuxgemini has joined #asahi
03:52deegz has quit [Quit: Leaving]
04:39marvin24_ has joined #asahi
04:42marvin24 has quit [Ping timeout: 480 seconds]
04:59leif has joined #asahi
05:06leifthere is absolutely no problem with grub and 16k btrfs. My project has been using grub and a btrfs boot subvolume for ages: https://github.com/leifliddy/asahi-fedora-builder
05:08leif has quit [Quit: Leaving]
05:38cylm has joined #asahi
05:39jmshrv has quit [Remote host closed the connection]
05:55jmshrv has joined #asahi
06:00weitcis has joined #asahi
06:17dax has joined #asahi
06:21weitcis has quit [Remote host closed the connection]
06:25rkilgore has joined #asahi
06:25vx has joined #asahi
06:26vx is now known as Guest1439
06:26cylm has quit [Quit: WeeChat 3.6]
06:39jmshrv has quit [Ping timeout: 480 seconds]
06:48rkilgore has quit [Quit: leaving]
06:51rkilgore has joined #asahi
06:51rkilgoredoes anyone know if it's possible to boot into single user mode? I made a mistake trying to change my username and now can't login
06:54Guest1439 has quit [Quit: G-line: User has been permanently banned from this network.]
06:54vx^ has joined #asahi
06:56jamespmorgan has joined #asahi
07:00m5zs7k has quit [Ping timeout: 480 seconds]
07:02m5zs7k has joined #asahi
07:02jamespmo_ has quit [Ping timeout: 480 seconds]
07:05jmshrv has joined #asahi
07:15jmshrv has quit [Remote host closed the connection]
07:15jmshrv has joined #asahi
07:27vx^ is now known as vx
07:27vx is now known as Guest1444
07:28Techcable has quit [Ping timeout: 480 seconds]
07:28jmshrv has quit [Remote host closed the connection]
07:36jmshrv has joined #asahi
07:36Tano70 has joined #asahi
07:44rkilgore has quit [Quit: Lost terminal]
07:44jmshrv has quit [Ping timeout: 480 seconds]
07:49joske has joined #asahi
07:49joskechadmed: let me actually test it first from your new branch ;-)
07:49joskeit's not rebased on latest asahi though?
07:49m5zs7k has quit [Ping timeout: 480 seconds]
07:55joskeapplies with some offset, so fine
07:55joskebuilding
07:59joskechadmed: works!
07:59joskechadmed: Jos Dehaes <jos.dehaes@gmail.com>
07:59m5zs7k has joined #asahi
08:09guillaume_g has joined #asahi
08:09MajorBiscuit has joined #asahi
08:12MajorBiscuit has quit []
08:17MajorBiscuit has joined #asahi
08:32arndchadmed: in recent kernels btrfs supports 4k sectors in combination with 16k pages. There is still a warning about this being experimental, but the previous data corruption issue has been addressed
08:33arndit previously already worked using 4k sectors and 64k pages, so they just had to use the same logic for both
08:34janrinze has joined #asahi
08:49LinuxM2 has joined #asahi
08:54giskard has joined #asahi
08:55chadmedarnd: my rootfs is btrfs on my 14" pro so ik it works in the kernel, i just had 4 attempts at getting grub to see it as a /boot partition it never worked properly
08:56chadmedso i gave up and just use my ESP as /boot now which works a treat
08:56chadmedjoske: thanks!
09:00Guest1444 has quit [Quit: G-line: User has been permanently banned from this network.]
09:01vx has joined #asahi
09:01vx is now known as Guest1455
09:05arndchadmed: ok, I see. Apparently it's also been supported for longer than I thought: the btrfs support for 4K sectors already went into 5.19, just after I last tried (and failed) to use btrfs
09:08as400arnd: I confirm 4k sector btrfs working
09:09as400With 16k pages
09:09as400Using it for over 6 months. No problem.
09:09arndI'm also using it now on 6.1-rc8
09:10arndgood to hear that you haven't had any issues, that gives me a little more confidence in putting important data on this partition
09:11as400I wonder what is the performance penalty. If any. Do you happen to know arnd ?
09:12arndno idea. there should not be much overhead compared to a 4kb page kernel from the added indirection in the kernel code, that part looks fairly straightforward.
09:12arndfor comparing 4k sectors vs 16k sectors on a 16k page kernel, I would expect the usual workload specific tradeoffs to apply
09:14as400Ok, understood.
09:14arndI know that for a lot of SSD hardware, it takes the same time to access a 4KB sector as it takes to access a 16KB (or even 64KB) sector on disk since it can parallelize the access across channels
09:15arndon the other hand, if you have a lot of files that are smaller than 4KB, it now has to transfer more data across the interface, which adds a little bit of latency on slower devices like USB
09:17as400I the end, I'm not doing any io heavy workloads on my lappy. So I guess I should be perfectly fine. These things are insanely fast anyway :)
09:19arndI mainly cared about being able to access the same file system from both the 16KB page kernel I use as well as when mounting the drive on a different machine or when testing out a 4KB page kernel
09:21leitao has joined #asahi
09:21leitao has quit []
09:23arndas400: there is actually one data point I have measured exactly: For my daily work (building a linux kernel from source), there is a 40% space storing all the source and object files (asahi defconfig) in 16KB units (sectors or pages, doesn't matter) compared to 4KB units
09:25arndthe overhead grows to 400% when you compare 64KB pages to 4KB pages
09:26leitao has joined #asahi
09:27leitao has quit []
09:27SSJ_GZ has joined #asahi
09:30as400arnd: 400% is a lot ! Wouldn't expect overhead to be this big.
09:31nate8 has quit [Read error: Connection reset by peer]
09:31rvalue has quit [Read error: Connection reset by peer]
09:31nate8 has joined #asahi
09:31rvalue has joined #asahi
09:32arndas400: absolutely. It's even worse if you just look at the source files. https://docs.google.com/spreadsheets/d/1_hNBVMZe29oAW3CKCm1OYMKSAmcXLARsD0KA6QjC4ic/edit?pli=1#gid=0 has my data if you are interested
09:32leitao has joined #asahi
09:34gilbert has joined #asahi
09:37arnd53920 files in the kernel (source+obj) are between 1 and 4096 bytes long, so storing those in 16KB units uses 4x the space, and storing them in 16KB units uses 16x the space. For the larger files, there is less overhead
09:42joske has quit [Quit: Leaving]
09:45mkurz has joined #asahi
09:45mkurz has quit []
09:46gilbert has left #asahi [#asahi]
10:23as400arnd: interesting. So for you, no matter what page size, 4k sectors are the way to go. I wonder how many kernel trees are on your disk at the same time :)
10:26arndas400: I would guess no more than 30 source trees, most of them completely obsolete. I tend to have only a handful of active source trees but a lot of separate object trees for testing, and those would be in tmpfs and not count towards disk usage though.
10:27arndtons of other source trees on my disk though, and those likely have very similar patterns, so even the 40% overhead would add up quickly
10:28as400yup, absolutely
10:31arndI wonder if MacOS has the same sort of overhead from the page cache though, I suspect it does something more space efficient by caching smaller disk sectors rather than 16KB pages as the smallest unit
10:33arndhttps://man.openbsd.org/bread.9 sounds like openbsd stores file data in a buffer cache with smaller than page size units
10:38as400hmmm - I must admit I know nothing about OpenBSD fs
10:40leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:44Guest1455 has quit [Quit: G-line: User has been permanently banned from this network.]
10:44vx has joined #asahi
10:45vx is now known as Guest1467
10:50tinstew has joined #asahi
10:53leitao has joined #asahi
11:09as400Interesting - I get more fps in webgl aquarium on FF than on Chromium with gpu acceleration. Also Chromium uses much more cpu.
11:14tinstew has quit [Read error: Connection reset by peer]
11:23jamespmo_ has joined #asahi
11:24baskmart has joined #asahi
11:29jamespmorgan has quit [Ping timeout: 480 seconds]
11:31tinstew has joined #asahi
11:34baskmart has quit [Ping timeout: 480 seconds]
11:53mattgirv_ has quit [Ping timeout: 480 seconds]
12:00Tano70 has quit [Quit: Leaving]
12:01leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:05tinstew has quit [Read error: Connection reset by peer]
12:05daniel_ has joined #asahi
12:08daniel_ has quit [Remote host closed the connection]
12:12thatdevsherry has joined #asahi
12:12thatdevsherry has quit [Remote host closed the connection]
12:15thatdevsherry has joined #asahi
12:29tinstew has joined #asahi
12:29leitao has joined #asahi
12:41thatdevsherry has quit [Quit: Konversation terminated!]
12:51MajorBiscuit has quit [Ping timeout: 480 seconds]
12:51tinstew has quit [Read error: Connection reset by peer]
12:54tinstew has joined #asahi
12:57LinuxM2 has quit [Quit: Leaving]
12:59LinuxM2 has joined #asahi
13:04daniel_ has joined #asahi
13:04daniel_ has quit []
13:05leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:10leitao has joined #asahi
13:14tinstew has quit [Read error: Connection reset by peer]
13:15Cyrinux has quit []
13:17Cyrinux has joined #asahi
13:20morro has joined #asahi
13:20thatdevsherry has joined #asahi
13:21cylm has joined #asahi
13:37MajorBiscuit has joined #asahi
13:40morro has quit [Quit: Konversation terminated!]
13:46ChaosPrincesshaving a weird issue with gpu driver. if i log in to plasma with wayland session, open konsole and type `poweroff`, the shutdown process gets stuck on trying to disable sddm and i have to hard power down (systemd waited for more than 2 minutes for it).
13:47ChaosPrincessif i log out of plasma session and shut down from sddm, it works as intended
13:49_jannau_I think the timeout is 3 minutes and might be a dcp problem
13:50maximbaz has quit [Quit: bye]
13:52maximbaz has joined #asahi
13:54Tramtristthings gettin wild in here
14:06thatdevsherry has quit [Remote host closed the connection]
14:07MajorBiscuit has quit [Quit: WeeChat 3.6]
14:20thatdevsherry has joined #asahi
14:23leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:36thatdevsherry has quit [Quit: Konversation terminated!]
14:36thatdevsherry has joined #asahi
14:37grange_c has quit [Quit: The Lounge - https://thelounge.chat]
14:38grange_c has joined #asahi
14:42thatdevsherry has quit [Quit: Konversation terminated!]
14:47thatdevsherry has joined #asahi
14:55bcrumb has joined #asahi
14:56leitao has joined #asahi
15:03bcrumbsven: just to note, i've booted my pc right now, and realized the mouse works without replugging. I haven't done any updates. I'll check if this has to do with the device having to wait 15 (?) seconds before boot, because I thought that this happened a few rare times already, then doubted myself, but it seems it did
15:08svenif this is another race condition it could also just be pretty random
15:09bcrumbyeah, i think it is
15:09bcrumb(random)
15:09svenas i said, i'd enable tipd trace points and/or add some debug printk in there
15:17bcrumbyes, i didn't do this yesterday, i will be doing this and checking it out myself, thanks :)
15:17svenand once you have that take a closer look at the probe function. it absolutely wouldn't surprise me if there's a way to miss a plug event if the thing is already connected
15:18svenif that doesn't lead anywhere the next place to look is the dwc3 drd handling (including that annoying reset quirk)
15:37thatdevsherry has quit [Remote host closed the connection]
15:39amarioguy has quit [Remote host closed the connection]
15:44LinuxM2at the moment everything is fine on my air M2, i'm using firefox until chromium gets fixed, font and window settings are perfect, everything works really well. I am very satisfied
15:44Tramtristya its amazing :)
15:44TramtristAs soon as speakers and mic work.. dont need no macos anymore :)
15:46LinuxM2with the future progress we will have on gpu performance and hopefully with video encoders to not use the laptop cpu too much, i'd say i'd be happy already
15:46pirokoyeah I'm dd'ing with headphones
15:47LinuxM2exactly when we will also have the speakers working and there will be a worthy deep sleep of the system, similar to mac os, my air M2 will definitely be used under asahi linux
15:48bcrumbThe only thing that I need is aarch64 ports of some stuff
15:48bcrumbBut I'm using as main
15:48opticronno asking when things will be ready
15:49LinuxM2I currently use a small bluethoot speaker from "Anker"
15:49bcrumb has quit [Quit: WeeChat 3.7.1]
15:49thatdevsherry has joined #asahi
15:49pirokoI don't think they were asking when
15:49pirokoI think they were just stating when it happens, they will switch
15:50opticronspeakers are technically functional if you know how to enable them (the average user can't and shouldn't), deep sleep is coming eventually but there are things to work out with the kernel interface which could take a while
15:51LinuxM2opticron, Sure, I totally understand
15:52opticronah, it was phrased oddly, I assumed it was a question
15:54pirokoyeah it was
15:54piroko(phrased oddly) :)
15:54LinuxM2do you think by charging the battery under asahi could I have a deterioration compared to charging it under mac os? I state that I try to never let it go below 25% and I don't load it over 80%
15:58ChaosPrincessbattery is controlled by the smc, and smc firmware is the same in both os
15:58Dementor has quit [Remote host closed the connection]
15:59ChaosPrincessthere is the macos 'optimized battery charging' that is software managed, but someone itc made a daemon to do the same on linux
16:01Dementor has joined #asahi
16:02LinuxM2ah ok ChaosPrincess , thanks for the information!
16:02opticronLinuxM2, I plan to keep max charge at 85% to avoid degradation
16:02opticronmy current daily driver laptop is down to 65% because I didn't manage it properly and it's only 3 years old
16:04LinuxM2opticron, yes you are doing well, so far I have kept this range min 25% and max 80% on the old air m1 I still have 99% battery
16:04LinuxM2And it's been about two years since I bought it
16:06LinuxM2ChaosPrincess, I would be very happy to have a daemon script that does the same automatically, on mac os I use an application called "Aldente"
16:08ChaosPrincessi am using neither, but their authors are itc
16:11LinuxM2on asahi linux I'd like to get the same autonomy in standby as on "Mac os" which is also on standby for a whole month with very low battery consumption, so you don't have to switch it off every day!
16:11LinuxM2ChaosPrincess, thnaks!!!
16:20Techcable has joined #asahi
16:21mpsyes, I hacked this https://www.arvanta.net/2x3d1kfg/charge-ctl.c small daemon and using it daily from May, works fine
16:23mpsthough I should refactor it, didn't thought I will use it for so long
16:24LinuxM2mps how to activate this script? What should I do to have it automatically active even after restarting?
16:25mpsbcrumb based his daemon on this which I wrote
16:25mpsLinuxM2: it should be compiled, it is C program
16:26LinuxM2i have no experience with this
16:26mpscompile with 'gcc -o charge-ctl charge-ctl.c'
16:27LinuxM2ah ok, thanks mps :)
16:27mpsand run it from some boot script when machine boots
16:27LinuxM2however, I change the maximum value, I don't want to charge the battery beyond 80%
16:28mpsLinuxM2: here is little tweaked version https://tpaste.us/Rxm4
16:29mpsyes, right, I should add options to set max charge level and min
16:30mpsbut for now edit source and recompile
16:30jluthra has quit [Remote host closed the connection]
16:30jluthra has joined #asahi
16:31mpshmm, with musl I could make it fully static and put on url so people can use it without compiling
16:32LinuxM2mps thanks!! can i use it on my air M2? or specifico for M1?
16:32mpsbtw, here is perl version https://tpaste.us/9bYP but it is from Mart
16:33mpsLinuxM2: it should work on all machines with macsmc-battery driver
16:33LinuxM2ok perfect!!
16:34mpsI tested on two which I have, m1 mbp and m1pro macbook
16:34LinuxM2the perl version can it be used directly? do i save the file as .sh?
16:35mpsLinuxM2: it can be used directly ofc, but I would rename it to charge-ctl.pl
16:37mpsperl version served me as testing concept though it could be used quite fine normally and some users reported to me that they use perl version
16:37LinuxM2ok mps thanks very much!! :)
16:37mpsLinuxM2: you are welcome
16:38LinuxM2thanks!!!! :)
16:39* mpswaits for READFILE syscall to make such things easier
16:39LinuxM2mps, so if I understand correctly I directly load this script to start as a program?
16:40axboemps: that syscall is such a bad idea imho
16:40axboenot sure why greg keeps pushing that
16:40mpsyou should have installed perl interpreter, and I think it is installed by default
16:42mpsLinuxM2: you should make script executable by `chmod a+X charge-ctl.pl` and copy it in exec path (/usr/local/bin/ for example) and run it as other programs
16:43mpsaxboe: idk know tech details but I guess it would make some my things simpler
16:44LinuxM2mps all clear thanks :)
16:48LinuxM2mps i added it in autostart and login scripts. it's correct?
16:48axboecleaned it up and fixed the limit - option was there, but did nothing
16:48axboewill give it a spin here
16:48axboe(oh and killed excessive syslog logging)
16:50j`eyaxboe: shame, it doesnt use io_uring
16:50axboej`ey: haha, now I have to make it do that
16:50j`eyI need 10M battery charge updates a second
16:50axboeclearly
16:51mpsLinuxM2: I don't know how to start it with systemd, i.e. where to put it
16:53axboemps could get his readfile too then, as open+read/write+close is a linked op
16:53leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:53mpsaxboe: hah, now you are forcing me to make it public with git repo and guide ;p
16:55mpsreally, will try next week to create public git repo for charge control daemon with help and better options, now I have to finish some lagging tasks
16:57mpshm, or I could push it straight to alpine linux ;)
16:57tinstew has joined #asahi
16:59mps'axboe| mps could get his readfile too then, as open+read/write+close is a linked op', yes that is how do I do these usually
17:01Glanzmann has joined #asahi
17:02Glanzmannkettenis: With todays u-boot changes, do you support usb-c on the mini again?
17:05guillaume_g has quit []
17:07kettenisusb-c on the mini has always worked
17:07ketteniswhat I pushed today was just a rebase of asahi-next on upstream master
17:10Glanzmannkettenis: I see, I was thinking about usb-a, sorry.
17:13axboethere you go, for shits and giggles obviously
17:14axboeso wasteful to do 6 syscalls when you can do 2 :)
17:14svenlol :D
17:14j`eyaxboe: is sqe a sequence number or ordering thing?
17:14svenI guess we have to benchmark how many battery charge updates per second this can do now! :P
17:14axboesubmission queue entry
17:14axboeget one, filled it out
17:15axboesven: haha for sure
17:15Laddda has joined #asahi
17:15LinuxM2 has quit [Quit: Leaving]
17:15axboeit even supresses completion events for open/close unless they fail
17:16j`eyIOSQE_CQE_SKIP_SUCCESS
17:16axboeand uses direct descriptors to avoid fget/fput overhead
17:16mpsall this is ok but reason why I didn't worked seriously on this is that marcan told earlier that this will be implemented in kernel driver one day
17:16axboethis is serious business
17:16Ladddahello! I'm coming here because I had a few questions about Asahi Linux, I have an M1 Mac and I've seen the impressive GPU drivers; is it still dangerous to install Asahi? I've heard that there could be some dangerous issues for the whole machine, like with sound
17:16axboemps: seems like it should be
17:16j`eyLaddda: sound is disabled, it's safe
17:17LinuxM2 has joined #asahi
17:18LadddaOh alright okay! Also if I'm not mistaken, I've read somewhere that Rosetta kinda could run on Linux but I have no idea if this is true?
17:18marcanaxboe: lol :D
17:18j`eyLaddda: not without some hacks / I believe it's against the EULA
17:18marcanaxboe: there's a good reason to put it in the kernel: it'll work in s2idle
17:18svenLaddda: not without patches that would be against Apple's license
17:18marcanif that reason weren't there I probably wouldn't bother, but that's a damn good reason
17:19axboeeven better
17:19j`eyso qemu/box64 is a better choice for emu
17:19j`ey + FEXemu
17:19Ladddaaaaah, yeah okay understandable then, thanks a lot for the answers! :)
17:19marcanLaddda: Asahi has never been dangerous to install, we make sure of that
17:19marcanthat's why the speakers have never been enabled and won't be until it's safe
17:20Ladddagotcha, I'm gonna read some more about this impressive project
17:27bcrumb has joined #asahi
17:28bcrumbj`ey: do you actually get stuff running with box64? I usually get SEGFAULTs and that is it with the thing, when running x8&-64 binaries. What apps are u running with it?
17:28bcrumb has quit []
17:31j`eybcrumb: I'm not using it
17:33Laddda has quit [Remote host closed the connection]
17:39tinstew has quit [Ping timeout: 480 seconds]
17:41iaguis has joined #asahi
17:43iaguishi! I saw DCP is working on M2 with asahi-edge. Is brightness really not working on M2 then, or does this table need to be updated? https://github.com/AsahiLinux/docs/wiki/Feature-Support#m2-device-specific-support
17:45jacksonchen666 has quit [Remote host closed the connection]
17:46jacksonchen666 has joined #asahi
17:46bluetail6 has joined #asahi
17:49gladiac has joined #asahi
17:53bluetail has quit [Ping timeout: 480 seconds]
17:53bluetail6 is now known as bluetail
17:53Cyrinux has quit []
17:56Cyrinux has joined #asahi
17:58tinstew has joined #asahi
18:00jacksonchen666 has quit [Remote host closed the connection]
18:08ec0 has quit [Ping timeout: 480 seconds]
18:09jannauiaguis: updates were missing, thanks
18:10LinuxM2 has quit [Quit: Leaving]
18:11LinuxM2 has joined #asahi
18:12ec0 has joined #asahi
18:13jess has joined #asahi
18:16bcrumb has joined #asahi
18:16bcrumb has quit []
18:17bcrumb has joined #asahi
18:17bcrumbmarcan: if u want for battery driver i have good logs because of my controller on real-usage d(battery_charge)/dt and temp too
18:18bcrumbas a random side note
18:18bcrumbup until 31.5 C
18:18bcrumbso kind of the heat up process when the laptop starts cold and starts getting warmer
18:18bcrumb has quit []
18:19thatdevsherry has quit [Read error: No route to host]
18:19WindowPain_ has joined #asahi
18:21bcrumb has joined #asahi
18:21bcrumbaxboe: once again I would like to shill my battery controller here https://codeberg.org/bcrumb/charge-ctl-m1
18:21bcrumbalso, syslog-ng is probably not needed, journalctl should capture the syslogs
18:22WindowPain has quit [Ping timeout: 480 seconds]
18:23bcrumbthis is only the sailing mode I'm using right now, but I'll also add a simple default mode, although I personally recommend this since it works well, the battery temperature (i guess depending on your latitude) stays constant - mostly
18:23bcrumb(because external conditions and what you are doing - e.g. compiling or not)
18:23axboebcrumb: it was more for fun than anything else... I don't even use one yet, but probably I should
18:24bcrumbmost important is to inhibit charge at some point, all else is sugar
18:24bcrumbWhat I need to add to sailing is temperature based sailing
18:25bcrumbInhibit charge down to some T - dT and only then allow charging again, even if capacity sailing would charge
18:26bcrumbFor example, charging the battery after depleting it while using mac OS I wouldn't recommend as much, because laptop temp is high and you will either need to go to like 35 C battery or switch a lot
18:26bcrumbRather, it is kinda better to leave it to cool down a little, then only charge
18:26bcrumbBut when I add temp sailing that should be too automatically regulated
18:27bcrumb has quit [Quit: WeeChat 3.7.1]
18:27thatdevsherry has joined #asahi
18:29bcrumb has joined #asahi
18:29bcrumbhere's some example logs http://ix.io/4ia0
18:30bcrumb(date trimmed)
18:30bcrumbThe WARNING is normal, should be INFO actually
18:31bcrumb has quit []
18:31thatdevsherry has quit []
18:34as400axboe: now it needs some cool sounding name. Like Power Delivery over IOUring - PDoIOU ?
18:35as400PDIOU ?
18:37iaguisjannau: cool, thank *you*!
18:50WindowPain_ has quit [Remote host closed the connection]
18:50WindowPain has joined #asahi
18:52chengsun_ has joined #asahi
18:52Glanzmann has quit [Quit: n8]
18:55dax has quit [Quit: dax]
18:56chengsun has quit [Ping timeout: 480 seconds]
19:10iaguis has quit [Ping timeout: 480 seconds]
19:12aratuk has joined #asahi
19:15aratuk has quit [Quit: Leaving]
19:17aratuk has joined #asahi
19:19bcrumb has joined #asahi
19:26aratuk has quit [Remote host closed the connection]
19:26aratuk has joined #asahi
19:33WindowPain has quit [Quit: ZNC 1.8.2 - https://znc.in]
19:33WindowPain has joined #asahi
19:37LinuxM2 has quit [Quit: Leaving]
19:37bcrumb has quit [Quit: WeeChat 3.7.1]
19:48axboeas400: hah certainly, missed opportunity!
19:52iaguis has joined #asahi
19:57as400axboe: don't forget about patent !
19:59as400It is absolutely cool with the patent or without :)
20:06LinuxM2 has joined #asahi
20:10leitao has joined #asahi
20:13leitao has quit []
20:22giskard has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
20:22aratuk has quit [Remote host closed the connection]
20:24iaguis has quit [Quit: leaving]
20:36gladiac has quit [Quit: k thx bye]
20:46Tano70 has joined #asahi
20:47Tano70 has quit []
20:54sneaki played some q3a on my m2 air today at 95fps
20:54sneakmind pretty blown rn
21:00corionNice. :) I've been staring at 100% battery level for a solid ten minutes now. Battery seems to drain a lot slower.
21:04corionBattery 0: Discharging, 94%, discharging at zero rate - will never fully discharge.
21:04corionGUI battery indicator is wrong. lol :D
21:05cylm has quit [Ping timeout: 480 seconds]
21:09linkages has joined #asahi
21:11corionNow gnome says 99%, but acpi says 93%. Uhm.
21:11corionBit odd.
21:13corion/sys/class/power_supply/macsmc-battery/capacity says 99%, which seems to be what gnome gets it from.
21:13corionSo is that one right or acpi?
21:14corionjb@asahi:~/logs 1$ cat /sys/class/power_supply/macsmc-battery/capacity
21:14corionjb@asahi:~/logs -$ acpi
21:14corionBattery 0: Discharging, 93%, discharging at zero rate - will never fully discharge.
21:14Chai-T-Rex has quit [Quit: Chai-T-Rex]
21:15as400cat is always right
21:15j`eywonder where that acpi command gets it from
21:16as400j`ey - good question
21:16Dementor has quit [Ping timeout: 480 seconds]
21:16as400out of thin air ?
21:16vivithecaninewhat about stracing it
21:16j`eyas400: heh I assume its reading it from sysfs.. but maybe a different file, not sure
21:17ChaiTRex has joined #asahi
21:17as400j'ey - might be some kind of fallback
21:18corionopenat(AT_FDCWD, "macsmc-ac/current_now", O_RDONLY) = -1 ENOENT (No such file or directory)
21:18corionopenat(AT_FDCWD, "macsmc-ac/power_now", O_RDONLY) = -1 ENOENT (No such file or directory)
21:18corionopenat(AT_FDCWD, "macsmc-ac/charge_now", O_RDONLY) = -1 ENOENT (No such file or directory)
21:18corionopenat(AT_FDCWD, "macsmc-ac/energy_now", O_RDONLY) = -1 ENOENT (No such file or directory)
21:19corionopenat(AT_FDCWD, "macsmc-ac/voltage_now", O_RDONLY) = 4
21:19corionopenat(AT_FDCWD, "tps6598x-source-psy-4-003f/max_state", O_RDONLY) = -1 ENOENT (No such file or directory)
21:19coriongetdents64(3, 0xaaab83a742f0 /* 0 entries */, 32768) = 0
21:19corionclose(3) = 0
21:20corionnewfstatat(1, "", {st_mode=S_IFCHR|0620, st_rdev=makedev(0x88, 0x1), ...}, AT_EMPTY_PATH) = 0
21:20corionwrite(1, "Battery 0: Discharging, 93%, dis"..., 84Battery 0: Discharging, 93%, discharging at zero rate - will never fully discharge.
21:20corionexit_group(0) = ?
21:20corion+++ exited with 0 +++
21:20corionNot sure where it gets 93 from.
21:20j`eywould have been better in a pastebin
21:22corionhold on.
21:25Fah has joined #asahi
21:25j`eyI guess it reads a bunch of the other files and does some calculation
21:26tinstew has quit [Ping timeout: 480 seconds]
21:26corionI am still not sure what my real battery charge is.
21:30corionOh well. I have enough battery.
21:34linkages has quit [Ping timeout: 480 seconds]
21:36as400corion: sysfs is not mistaken
21:37corionas400: Sounds good to me, because then my battery life has improved a lot with asahi vs macos. :)
21:38corionThanks for all the input, people. Appreciated.
21:38mpsyes, most tools tries to calculate values using different /sys files
21:39linkages has joined #asahi
21:39mpsI had to change awesome wm applets because of these calcs
21:39linkages /join #linux
21:40linkages has quit []
21:40as400mps: /sys/class/power_supply/macsmc-battery/capacity is just giving straightforward number. Nothing to calculate :)
21:41mpsas400: yes, I know
21:41corionConfusing how acpi gets it wrong then.
21:41mpsand because that I changed my applet to us it
21:41corionMaybe it adds some smart stuff.
21:42as400corion: there is no acpi on this platform
21:42linkages has joined #asahi
21:42as400so using any acpi tools does not make sense
21:42mpscorion: these tools tries to guess by using current capacity, current flow and voltages and then use some heuristic algoritms
21:43corionas400: right, but it's curious how it gets the number wrong.
21:43corionmps: ah, i see. interesting. :)
21:43Dementor has joined #asahi
21:44corionlearning a lot here.
21:44corionBattery life is definitely acceptable++
21:46as400corion: I guess this is a question to a person that created a tool that you're using :)
21:47corionas400: indeed. not really asahi realted.
21:47corionrelated*
21:49jmshrv has joined #asahi
21:50mpscorion: if you know lua here is example of such tool/applet https://tpaste.us/X0Lv
21:51Fahanyone know how huge a difference there is between the hdmi port on the mini and the hdmi port on the macbooks?
21:54linkages has quit [Ping timeout: 480 seconds]
21:57linkages has joined #asahi
22:01joske has joined #asahi
22:01corionmps: thanks!
22:02LinuxM2 has quit [Quit: Leaving]
22:02joskechadmed: when I resumed just now, again R channel gone, and this in the logs: [11461.706966] tas2770 2-0034: Unable to sync registers 0x3-0x3. -6
22:02Fah has quit [Remote host closed the connection]
22:03joske has quit []
22:16jamespmorgan has joined #asahi
22:21WindowPain has quit [Quit: ZNC 1.8.2 - https://znc.in]
22:22linkages has quit [Ping timeout: 480 seconds]
22:22jamespmo_ has quit [Ping timeout: 480 seconds]
22:23WindowPain has joined #asahi
22:30mofux has joined #asahi
22:31mofuxis there a way to switch the native display resolution yet? I'm using an m1 air (with edge-kernel and edge-mesa)
22:32mofuxdisplay as in the built-in display of the m1 air
22:40nopeslideis iwd broken on enterprise PEAP wifi fo r anyone else? mine just says bad certificate but the same cert works on other machines
22:40zzywysm has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:41mofux has quit [Quit: mofux]
22:41mofux has joined #asahi
22:42j`eynopeslide: are you on the latest kernel?
22:43nopeslidej`ey: yep i just updated. the latest stable
22:46SSJ_GZ has quit [Ping timeout: 480 seconds]
22:46stelin41 has joined #asahi
22:47nopeslideoh is that in the stable, or i was gonna upgrade to edge anyways
22:47nopeslidebut it looks like its related to private keys but this only involves public cert
22:48j`eyyeah thats stable
22:50stelin41 has quit []
22:55mofux has quit [Quit: mofux]
22:57Sonimarcan: can we send you more art?
22:58mofux has joined #asahi
23:02mofux has quit [Remote host closed the connection]
23:03mofux has joined #asahi
23:25mofux has quit [Ping timeout: 480 seconds]
23:26jmalexan has joined #asahi
23:30zzywysm has joined #asahi
23:36bluetailwhat kind of art does he collect?
…