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:49rvalue has quit [Ping timeout: 480 seconds]
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: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:06leifyou can easily convert an ext4 partition --> btrfs https://github.com/AsahiLinux/asahi-installer/issues/71#issuecomment-1088853130
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:49m5zs7k has quit [Ping timeout: 480 seconds]
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
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: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: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: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:26leitao has joined #asahi
09:27leitao has quit []
09:27SSJ_GZ has joined #asahi
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: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: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:50maximbaz has quit [Quit: bye]
13:52maximbaz has joined #asahi
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: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: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: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:49bcrumb has quit [Quit: WeeChat 3.7.1]
15:49thatdevsherry has joined #asahi
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: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: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: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: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:24LinuxM2mps how to activate this script? What should I do to have it automatically active even after restarting?
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: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: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:53leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
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: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:05guillaume_g has quit []
17:14svenI guess we have to benchmark how many battery charge updates per second this can do now! :P
17:15Laddda has joined #asahi
17:15LinuxM2 has quit [Quit: Leaving]
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: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: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: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: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: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: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: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:23axboebcrumb: it was more for fun than anything else... I don't even use one yet, but probably I should
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:27bcrumb has quit [Quit: WeeChat 3.7.1]
18:27thatdevsherry has joined #asahi
18:29bcrumb has joined #asahi
18:31bcrumb has quit []
18:31thatdevsherry has quit []
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:52iaguis has joined #asahi
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 []
21:00corionNice. :) I've been staring at 100% battery level for a solid ten minutes now. Battery seems to drain a lot slower.
21:05cylm has quit [Ping timeout: 480 seconds]
21:09linkages has joined #asahi
21:13corion/sys/class/power_supply/macsmc-battery/capacity says 99%, which seems to be what gnome gets it from.
21:14Chai-T-Rex has quit [Quit: Chai-T-Rex]
21:16Dementor has quit [Ping timeout: 480 seconds]
21:16vivithecaninewhat about stracing it
21:17ChaiTRex has joined #asahi
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, "tps6598x-source-psy-4-003f/max_state", O_RDONLY) = -1 ENOENT (No such file or directory)
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:25Fah has joined #asahi
21:26tinstew has quit [Ping timeout: 480 seconds]
21:34linkages has quit [Ping timeout: 480 seconds]
21:37corionas400: Sounds good to me, because then my battery life has improved a lot with asahi vs macos. :)
21:39linkages has joined #asahi
21:40linkages has quit []
21:40as400mps: /sys/class/power_supply/macsmc-battery/capacity is just giving straightforward number. Nothing to calculate :)
21:42linkages has joined #asahi
21:42mpscorion: these tools tries to guess by using current capacity, current flow and voltages and then use some heuristic algoritms
21:43Dementor has joined #asahi
21:49jmshrv has joined #asahi
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: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: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:45j`eyI was thinking it might have been the same issue as fixed by https://github.com/AsahiLinux/PKGBUILDs/commit/b6230fcdb9eda2f5658bd3f81afc0eb1324982f7
22:46SSJ_GZ has quit [Ping timeout: 480 seconds]
22:46stelin41 has joined #asahi
22:50stelin41 has quit []
22:55mofux has quit [Quit: mofux]
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