#
…

2022-02-14

00:12chengsun has joined #asahi
00:19chengsun_ has quit [Ping timeout: 480 seconds]
00:50gooseduckoftc has quit [Ping timeout: 480 seconds]
01:05sheepgoose has joined #asahi
01:22sheepgoose has quit [Ping timeout: 480 seconds]
01:25popo_ has joined #asahi
01:32popo__ has quit [Ping timeout: 480 seconds]
02:47kit_ty_kateGlanzmann: thanks, I started with the uboot install video you sent me.
02:48kit_ty_kateIt works great. I think the part when you talk about how 1tr doesn’t work for you the first time can be removed
02:48kit_ty_kateat least i didn’t have any issues
02:48kit_ty_kateit breaks the pace of the video a bit
02:50kit_ty_katefor the m1-d-i video I have to find a free usb stick. I’m not sure i have any free on hand atm :/
02:54kit_ty_kateGlanzmann: do you not have a script to install whatever distributions from 1tr or something like that?
02:56qeeg has quit [Read error: Connection reset by peer]
02:57qeeg has joined #asahi
03:05Glanzmannkit_ty_kate: Yes, I do.
03:06Glanzmannkit_ty_kate: I see. For me the part where I don't end up in 1tr, happens everytime. Om air and mini. Not a single time that it did not happen to me.
03:07Glanzmannkit_ty_kate: Can you send me the output of 'diskutil list'?
03:28qeeg has quit [Read error: Connection reset by peer]
03:36PhilippvK has quit [Ping timeout: 480 seconds]
03:37kov has quit [Quit: Coyote finally caught me]
03:37phiologe has joined #asahi
03:37kov has joined #asahi
04:27user982492 has joined #asahi
04:51mrbatmanface[m] is now known as fezhead[m]
04:55marvin24_ has joined #asahi
04:59marvin24 has quit [Ping timeout: 480 seconds]
05:31jleightcap has joined #asahi
05:44eroux has joined #asahi
05:47jleightcap has quit [Remote host closed the connection]
05:48jleightcap has joined #asahi
05:48jleightcap has quit [Remote host closed the connection]
05:48jleightcap has joined #asahi
05:49jleightcap has quit [Remote host closed the connection]
05:55sheepgoose has joined #asahi
06:01chadmed has quit [Remote host closed the connection]
06:14refi64 has quit [Quit: The Lounge - https://thelounge.chat]
06:17refi64 has joined #asahi
06:29user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:34chadmed has joined #asahi
06:39Glanzmannkov / tpw_rules: I think the '-s 1' is causing the issue: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1005729
07:05mrkajetanp has quit [Ping timeout: 480 seconds]
07:10the_lanetly_052__ has joined #asahi
07:14jleightcap has joined #asahi
07:31sheepgoose has quit [Read error: Connection reset by peer]
07:34sheepgoose has joined #asahi
07:37the_lanetly_052__ has quit [Ping timeout: 480 seconds]
08:05sheepgoose has quit [Quit: Konversation terminated!]
08:21the_lanetly_052__ has joined #asahi
09:23bisko has joined #asahi
09:31eroux has quit [Quit: Textual IRC Client: www.textualapp.com]
09:36myon98 has quit [Quit: Bouncer maintainance...]
09:37mrkajetanp has joined #asahi
09:44myon98 has joined #asahi
09:44off^ has joined #asahi
09:55eroux has joined #asahi
10:22MajorBiscuit has joined #asahi
11:13jochum_ has joined #asahi
11:16jochum has quit [Ping timeout: 480 seconds]
12:10kit_ty_kateGlanzmann: done in DM
12:47leo60228- has quit [Ping timeout: 480 seconds]
13:43leo60228 has joined #asahi
14:09balrog has quit [Quit: Bye]
14:12Glanzmannmarcan wrote something about cpufreq + alpha. What does alpha mean? Alpha user release?
14:14Shiza/w 12
14:15jnGlanzmann: in which context?
14:16j`ey"Tomorrow, CPUfreq to (maybe) wrap up the PM week+𝛼."
14:16j`eywhich I read to mean week+a little bit more since it wasnt actually a week
14:16GlanzmannI see, got it. Yep. :-)
14:16jnj`ey: makes sense
14:17balrog has joined #asahi
14:17GlanzmannAnyway, I look forward to the cpufreq driver.
14:24refi64 has quit [Quit: The Lounge - https://thelounge.chat]
14:26kit_ty_kateGlanzmann: i think it would be great if there was a script that directly combined alxsh, your uboot install script and your debian installer perl script
14:26refi64 has joined #asahi
14:26kit_ty_kateall three worked pretty well but it would be even easier to simply have the three combined in one
14:27j`eyyou have to run them separately
14:27j`eyalxsh requires a reboot
14:28kit_ty_kateyes ofc, but you can basically modify step2.sh in the first script and directly adding the two others sequantially
14:29Glanzmannkit_ty_kate: I agree. But I think marcan will do that at some point, I also thought about modifying the installer to install debian, but I assume marcan will do that soon. At the moment I want to stay as close as possible to what marcan has in his mind.
14:38yuyichao has quit [Ping timeout: 480 seconds]
14:55yuyichao has joined #asahi
14:59kit_ty_kateunless he said otherwise i think having other experiments done in parallel, even if redundant, is always good. It allows to iron out the kinks if any is discovered and discover new ways of doing things sometimes
14:59kit_ty_katebut in any case I think I’ll give a shot to doing that myself, it seems rather fun to do ^^
15:40axboe has joined #asahi
15:51off^ has quit [Remote host closed the connection]
16:03axboe has quit [Quit: reboot]
16:04Glanzmannkit_ty_kate: Do that. Modifying the installer is rather easy now that marcan did all the havy lifting, if you like python.
16:05Glanzmannkit_ty_kate: I though about modifying the installer, but a) I hate python, b) I assume marcan will do it anyway at some point, and than adding Debian is super easy.
16:07axboe has joined #asahi
16:54user982492 has joined #asahi
17:00the_lanetly_052___ has joined #asahi
17:06the_lanetly_052__ has quit [Ping timeout: 480 seconds]
17:15nafod has quit [Quit: Ping timeout (120 seconds)]
17:15refi64 has quit [Quit: Ping timeout (120 seconds)]
17:15nafod has joined #asahi
17:15refi64 has joined #asahi
17:27refi64 has quit [Quit: Ping timeout (120 seconds)]
17:27refi64 has joined #asahi
17:28balrog has quit [Remote host closed the connection]
17:28balrog has joined #asahi
17:34axboefwiw, getting about 5-5.5h of battery life out of normal use in X with the cpufreq patches
17:34axboesw based X still taking it's toll on battery, but the laptop is noticeably cooler now (which isn't really surprising, as I was running the P cores at full tilt before...)
17:37mpshmm, 5.5h is not much, but probably depends on the load
17:38MajorBiscuit has quit [Ping timeout: 480 seconds]
17:40axboemps: it's not, but I do have cinnamon using 50% cpu all the time
17:40maz5.5h is about what I get on my X1 with all the corp crap running...
17:40axboemps: might be interesting to just check if it's not running X, but I need x ;)
17:40axboemaz: yeah it's about on par with my x1 already, and it's better than the x1 when actual work (eg compiles) are done
17:41axboeand it's cooler than the x1, and silent
17:41axboeso already a win, I'd say
17:41mazstop it. I've been trying not to add an extra piece of HW to the already huge zoo...
17:43mpsaxboe: I didn't tested keeping it long on battery, but with xorg (and awesome wm) few days ago it drained about 10% for one hour (and that is without cpufreq patch)
17:46j`eymaz: if/when mac minis with 10cores+ come out.. and 64G of ram, you'll have to :P
17:47axboemps: is that running fixed at 2ghz?
17:47axboemps: maybe cinnamon sucks for other reasons and that's part of the issue
17:48mpsalso, my son somethimes runs it with macos and compiling a lot of dart/flutter code and it drain about 50-60% for about his 'work shift' which is about 12 hours
17:48axboemaz: you know you want to...
17:48axboemps: that's awesome, pretty sure I can get to a full work day on this thing too once it's all sorted
17:49mpsaxboe: yes, I run at at default (i.e. full) speed
17:49axboemps: default m1n1, or patched to 3.2?
17:49mpsaxboe: default one
17:49axboemps: ok, so that's not full speed then, it's 2ghz iirc
17:49the_lanetly_052___ has quit [Ping timeout: 480 seconds]
17:49mpsaxboe: yes
17:51axboelet's try awesome...
17:51axboe has quit [Quit: leaving]
17:51mpsaxboe: but if cinnmon have 50% load then it is something strange with it
17:52mpsas400[m]: `uptime` => 18:52:06 up 4:50, 0 users, load average: 0.02, 0.05, 0.08
17:53thinkofher has quit [Remote host closed the connection]
17:53mpscurrently, an I have firefox with 20-30 tabs, matrix client, few mosh sessions, telegram running
17:53mpss/an/and/
17:54mpsas400[m]: sorry, I mean axboe
17:55thinkofher has joined #asahi
17:56axboe has joined #asahi
17:56thinkofher has quit [Remote host closed the connection]
17:56axboeawesome does seem to idle at almost nothing
17:59mpsaxboe: I'm 'nitpicking' when using software. I want less possible features and options, just enough to work and to be useful
18:00mpsfor example I don't run udev, pulseaudio or pipewire, udisk automouner and even dbus don't run always
18:00axboemps: that's actually why I just stuck with cinnamon, don't really need much
18:00axboeand it's idling fine on x86, but it's doing a lot of jit stuff on arm which is odd
18:00axboemps: you run way less than me ;)
18:00j`ey.. jit?
18:01mpswell, I have 5-6 old arm32 chromebook which is quite fine and responsive workstation
18:01mazj`ey: if that happens, I may have to relegate the D05 to be a pure test box. until then...
18:03svenat that point they may as well just call it mac pro
18:03mpsalso my old mt8173 (mediatek elm) chromebook runs fine on battery for about 8 hours or sometimes even 12
18:03svenand that one’s definitely going to hurt my wallet
18:04axboej`ey: yep, llvmpipe
18:04j`eyaxboe: oh right
18:04user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:06axboe has quit [Quit: Lost terminal]
18:08jannauaxboe: my best guess is that blinking cursors or similar are rendered at 30 or 60 Hz with full frame buffer updates with simpledrm
18:08axboe has joined #asahi
18:09jannaushould improve when we get the proper drm driver in shape
18:11axboeoh certainly, guess I just either need to stick with cinnamon or replace it with something less intensive
18:16nabaiste^ has joined #asahi
18:20jannaukde/plasam/wayland is also mostly idle as long as there no screen updates
18:20axboeI might just need to turn off some effects or something
18:20Glanzmannaxboe: One the air with x, fvwm2, firefox, xterm I can last 6-8 hours.
18:20axboeGlanzmann: sweet
18:21tpw_rulesxfce and xorg does not use much cpu even with a lot of terminal activity
18:21axboefwiw, 4h -> 5.5h here for me with cpufreq
18:21axboebut sounds like my main issue is cinnamon and that it should be a lot better with something else
18:22axboeI do quite a bit of compiles, so need cpufreq so it won't take forever
18:23axboelet's try xfce4... brb
18:23axboe has quit [Quit: leaving]
18:30joske has joined #asahi
18:32joskeaxboe: xfce idles at 0% even with compositing enabled. Marco with compositing idles at 50% too
18:32joskeWith compositing disabled also idles at 0%
18:32joskeCinnamon can not run without compositor
18:34joskeHave not tried other desktops
18:35nabaiste^ has quit [Ping timeout: 480 seconds]
18:43Glanzmannbtw. I use 'lightdm' as login manager on Debian and enable auto-login: https://pbot.rmdir.de/EkloZoaylqWI0EXnxzR4gQ
18:50axboe has joined #asahi
18:50axboexfce4 definitely more idle, but still seem to get a pretty low battery life
18:51j`eyhow much bigger is the m1 max/pro battery than the m1?
18:56axboenot sure what it is, looking at frequency it's ~6% at 600MHz, ~93% Idle
18:56axboeso unless the idle loop is doing something stupid, it's not the cpus eating the power
18:56kettenisdisplay is probably the biggest consumer
18:57axboemost likely
18:57axboenot super bright though
18:57Glanzmannaxboe: I sometimes notice that my macbook air is considerable hotter than under macos.
18:58Glanzmannmine is super bright.
18:58axboeGlanzmann: I've never run osx on this one except to do the setup, so not sure what it's like there
18:58axboebut cpufreq made it definitely cooler on the lap
19:01user982492 has joined #asahi
19:05kovfwiw gnome idles at 0% pretty much
19:06kovgnome-shell 41.3 on debian testing
19:08tomtastic_ has joined #asahi
19:08axboej`ey: says 54.7Wh
19:11tomtastic has quit [Ping timeout: 480 seconds]
19:12nabaiste^ has joined #asahi
19:13axboehuh, cpu_capacity missing from 5..7
19:43Gaspare has joined #asahi
19:50axboe has quit [Quit: leaving]
20:20___nick___ has joined #asahi
20:20___nick___ has quit []
20:21___nick___ has joined #asahi
20:47boardwalk has quit [Quit: Ping timeout (120 seconds)]
20:48boardwalk has joined #asahi
20:59eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:07axboe has joined #asahi
21:07axboewas digging a bit, and seems like cpufreq isn't correctly set on cpus 5-7
21:07axboeso they are most likely still running at full tilt, which would help explain why battery isn't as good as it should be
21:08___nick___ has quit [Ping timeout: 480 seconds]
21:08axboethe fact that cpu_capacity is also missing for those 3 cpus makes me suspicious that something is wrong in the definition or bringup of them
21:11Gaspare has quit [Read error: Connection reset by peer]
21:27jannauaxboe: looks ok here on system without disabled cpu cores
21:27axboejannau: I dropped that m1n1 hack to set all P cores to 15 in cpufreq
21:27axboep0..p2 seem to scale fine, p3..p5 do not
21:28axboethe ratio between them are pretty close to max-freq/boot-freq
21:29axboenever worked on embedded like stuff, so just stabbing in the dark here and finding clues :)
21:31nabaiste^ has quit [Ping timeout: 480 seconds]
21:31kettenisnote that the cpufreq code is an old diff that is effectively abandoned because the maintainer of the relevant subsystem wan to see a different approach
21:31axboekettenis: yeah I know
21:32axboekettenis: not spending time on that, just trying to verify if there's something wrong with how I set it up
21:33axboeor if m1n1 is setting up things wrong for the t600x
21:33jannauaxboe: I suspect the disabled cores on your break the association with clusters
21:33kettenisI wouldn't be surprised if the mapping of CPU IDs onto PMGR registers is messed up for the modelsthat have some of the cores disabled
21:33axboejannau: could be, yes
21:34axboesince I have 6 p cores
21:34axboeare the clusters [ 0 1 2 ] [ 3 4 5], or [ 0 1 2 3 ] [ 4 5 6 7 ]
21:35axboeonly [4 5] in the last one
21:35jannauaxboe: m1n1 has no code to fix up the cpufreq related nodes for disabled cores
21:35axboethat might explain it, if so
21:35kettenisthe cluster ID is encoded in the MPIDR register
21:36kettenisMPIDR_EL1
21:38axboeI might've just messed up the definitions
21:38axboe has quit [Quit: leaving]
21:39jannau`dtc -I fs -O dts -o - /proc/device-tree` will output the device-tree as seen by linux
21:40nabaiste^ has joined #asahi
21:43jannauI suspect you will end up with 3 cpu@1010x and 3 cpu@1020x nodes, i.e. 3 cores per cluster
21:45jannauyou probably have remove the disabled cores from the cpu map. the numbers in live cpu map reference the phandle property in the cpu nodes
22:17axboe has joined #asahi
22:18axboeok I think the layout is right, it must be something with the freq driver then
22:18kovhttps://bugs.webkit.org/show_bug.cgi?id=236564 landed, gnome is pretty much ready for 16k page size ;D
22:18tpw_ruleskov: do you know what the release cycle is like?
22:19kovthat's tricky to answer, but I'll probably poke the maintainers of webkitgtk to backport that to the stable branch
22:19tpw_rulesthat would be nice
22:20tpw_rulesnow we need to figure out how to get the libuwind folks' attention
22:21axboejannau: yep, 3 per cluster is what I see
22:24axboe has quit [Quit: Lost terminal]
23:12axboe has joined #asahi
23:24user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:28axboe has quit [Quit: Lost terminal]
23:57VinDuv has quit [Remote host closed the connection]
23:57VinDuv has joined #asahi
…