#
…

2022-01-06

00:23aleasto has quit [Quit: Konversation terminated!]
00:23as400[m]jannau: thanks a lot !
00:23aleasto has joined #asahi
00:24aleasto has quit [Remote host closed the connection]
00:28aleasto has joined #asahi
01:12aleasto has quit [Quit: Konversation terminated!]
01:26yuyichao has joined #asahi
02:00DragoonAethis has quit [Quit: hej-hej!]
02:00DragoonAethis has joined #asahi
03:26kov has quit [Quit: Coyote finally caught me]
03:26kov has joined #asahi
03:41PhilippvK has joined #asahi
03:43darkapex2 has joined #asahi
03:44phiologe has quit [Ping timeout: 480 seconds]
03:49darkapex1 has quit [Ping timeout: 480 seconds]
04:08marvin24 has joined #asahi
04:10chadmed has joined #asahi
04:12marvin24_ has quit [Ping timeout: 480 seconds]
06:39the_lanetly_052 has joined #asahi
06:52jeffmiw has quit [Ping timeout: 480 seconds]
07:22eroux has joined #asahi
08:16MajorBiscuit has joined #asahi
08:17Major_Biscuit has joined #asahi
08:25MajorBiscuit has quit [Ping timeout: 480 seconds]
08:37svenlooks useful, thanks!
09:09mpsarm64 defconfig enables a lot of drivers and options so I prefer to have config tweaked and tailored for particular SoCs
09:29landscape15[m]mps: yeah it would be better to have an asahi_defconfig for the linux-asahi branch. So you don’t need to manually disable all the other platforms.
09:34landscape15[m]j`ey: I should try it. Is brcm working oob?
09:35j`eybrcm is enabled
09:39mpsj`ey: when I built first kernels for m1 I used jannaus config but tweaked it to my 'feeling'
09:52jannaubasing it on the arm64 defconfig is to avoid thinking/discussing for every driver whether it should be enabled
09:52jannauthere are a ton of drivers enabled which will never be used
09:53j`eyit's just to have a good starting point or reference
09:53j`eyif you want to do custom, noone is stopping you :P
09:55mpsj`ey: ofc, I didn't wrote that this jannaus asahi_defconfig is not good
09:55mpsjust told what I do
09:56mpsit is very good to have it as base for anyone
09:58mpsand jannaus config helped me a lot to make first kernels and I still look at it when have some doubts about one I tweak
10:14ewryyyyyyyyyyyyyyyyyyyyyyyyyyd has joined #asahi
10:23Dcow__ has joined #asahi
10:23Dcow___ has joined #asahi
10:28Dcow_ has quit [Ping timeout: 480 seconds]
10:28Dcow has quit [Ping timeout: 480 seconds]
10:35as400[m]mps: having such a config like jannau provided is a great thing for all newcomers. You just point people to it and can forget about answering the same questions for a billionth time.
10:35as400[m]And if somebody is skilled enough to modify it. So be it.
10:36svenAlso makes us stop wasting time on bugs that are really just wrong config options
10:36mpsas400[m]: right
10:37jannaudefconfig refreshed with crypto options required by iwd
10:39mpsjannau: these ones are nice to have
10:40mps(right now I'm merging iwd upgrade to 1.21 for alpine)
10:41as400[m]jannau: just to understand things. Source in asahi-defconfig branch is taken from asahilinux repo ?
10:43ChaosPrincess has quit [Quit: WeeChat 3.4]
10:44jannausource is based on wifi/take5 but the intenttion is to carry apple_defconfig in the asahi branch and update it when necessary
10:44ChaosPrincess has joined #asahi
10:47as400[m]jannau: ok, sure. Great approach.
10:48marcanseems to work for me with iwd and NetworkManager (you need to say wpa-psk mode in NM, not sae; sae seems to only work/be required for the wpa-supplicant backend while iwd autodetects and just wants to be told psk for both WPA2/3)
10:56jannaumarcan: works here with iwd, thanks
11:07aleasto has joined #asahi
11:16cth451_desktop has quit [Remote host closed the connection]
11:17cth451_desktop has joined #asahi
11:21cth451_desktop has quit [Remote host closed the connection]
11:22cth451_desktop has joined #asahi
11:32Major_Biscuit has quit [Ping timeout: 480 seconds]
11:35aleasto has quit [Quit: Konversation terminated!]
11:36aleasto has joined #asahi
11:52os0 has joined #asahi
11:53MajorBiscuit has joined #asahi
11:53os has quit [Remote host closed the connection]
11:54chadmed has quit [Remote host closed the connection]
11:56jannaumarcan: do you have an opinion about carrying an apple_defconfig in linux-asahi like https://github.com/jannau/linux/commit/b2cc57009936757516f040989a299c64650e0e03
11:57jannauwe had quite a few "issues" caused by missing/wrong configs
12:02mpssorry for OT question again, but how do you solve issue with tingling (feels like vibration) when touching cases of macbooks
12:03ChaosPrincessunplug the charger
12:04mpsChaosPrincess: yes, but often I need it plugged when work
12:05mpsactually I sometimes use chromebook charger on mbp and this 'vibrations' doesn't appears
12:13roxfan has quit [Ping timeout: 480 seconds]
12:16Bai-Chiang[m] has joined #asahi
12:22marvin24_ has joined #asahi
12:24phiologe has joined #asahi
12:26marvin24 has quit [Ping timeout: 480 seconds]
12:26PhilippvK has quit [Ping timeout: 480 seconds]
12:28roxfan has joined #asahi
12:39Glanzmannmps: I had this tingling earlier with lenovo thinkpads but not once with macbook air. I sometimes use the charger that shipped with macbook air and sometimes I use a lenovo 65 usb-c charger.
12:43mpsGlanzmann: with my old macbook from 2009 year it is barely noticeable, with my son m1 mbpro 2020 it more noticeable than on this old one but not much more, but on my m1 it is annoying really
12:44mpsI think this happens because chargers doesn't have ground pin
12:46mpssame happens (but not so strongly) when I plug macbook charger to one of my chromebooks
13:00marcanjannau: good idea
13:03Glanzmannmps: I see. Maybe buy a charget with a ground pin.
13:04GlanzmannFor example the lenovo 65 watt has one.
13:06GlanzmannAt least some of them.
13:07mpsGlanzmann: not so important at least for now, I can use chromebook charger, will look later if I can find 'proper' solution
13:07mpsbtw, did anyone noticed that sometime /dev/dri/card disappears on your machines
13:09mpsthat happened few times to me but didn't find any trace why, could be that xorg remove it when stops
13:15marcanmps: get a grounded plug end for the charger
13:15marcanthey do exist
13:17mpsmarcan: didn't know, will search for it. thanks
13:19marcanmps: assuming europe/schuko plugs, not sure what the easiest store is for you, but this is what you want: https://www.apple.com/de/shop/product/MK122D/A/power-adapter-netzteil-verl%C3%A4ngerungskabel
13:20marcanthe round metal button is the ground pin on the adapter side
13:21mpsmarcan: I looked at that round button and wondered could it be ground pin, thanks for confirmation
13:21mpsand thank you for url, I think this cable is what I need
13:36mpshehe, just tested this with few wires and it now can't feel tingles trying really carefully :)
13:46yuyichao has quit [Ping timeout: 480 seconds]
13:54miniannoyingly, the smaller apple adapter (the one without a lead) *used* to be earthed
13:55minithen for some reason maybe ~8-10 years ago or so? they stopped earthing it
13:56m42uko has quit [Quit: Leaving.]
14:06m42uko has joined #asahi
14:08Glanzmannmps: You fixed it. :-)
14:10mpsGlanzmann: we are hackers ;)
14:16m42uko has quit [Quit: Leaving.]
14:19Glanzmannkettenis: What was the problem with smp on OpenBSD and how did you fix it?
14:19Glanzmannsven: What is linear sq on NVMe?
14:26svenlinear submission “queue” instead of the normal nvme submission queue
14:28Glanzmannsven: So I thought nvme has one admin queue and multiple i/o queues and in every i/o queue you can submit upto 2^16 I/Os inflight.
14:28GlanzmannDoes linear submissions means that you only have one i/o queue or does it mean that the i/o s are processed in the order they're submitted?
14:29svenmore or less
14:29svenon the apple chip there’s always just one IO queue even if you don’t enable linear sq
14:29svenit also only has a single shared interrupt so even if you could have more queues they’d only make sense as poll queues
14:31svenand linear means there’s no head/tail pointer but just an index into the array. It’s technically no longer a queue
14:31sventhe completion queue still exists and works as usual though
14:32GlanzmannI see, thank you for the explanation.
14:33Glanzmannsven: How many concurrent I/Os can the apple I/O queue do?
14:34Glanzmannapple nvme i/o queue?
14:34sven64 at most, but those slots are shared between the admin and io queue
14:36kettenisGlanzmann: something to do with the FPU registers
14:37ChaosPrincessthat sounds like they missed the point of nvme
14:37GlanzmannChaosPrincess: It is still pretty fast.
14:38Glanzmannkettenis: I see. Congrats. :-)
14:38svenyeah, just don’t issue flush commands :p
14:38Glanzmannsven: eatmydata. :-)
14:38ChaosPrincesshow bad are flushes
14:39ChaosPrincesssay, something like redis that flushes ~every second
14:39GlanzmannChaosPrincess: I think every second will be fine. The issue is if you flush every single I/O.
14:39svenrandom writes plus flush brings the performance down to ~100 kb/s or so
14:39svenalso happens in the T2 Macs already
14:40svenwe’ll figure something out
14:41svenI’ll need to write a dumb nvme driver for m1n1 to run some experiments
14:42Glanzmannsven: IIRC marcan wanted to write an m1n1 driver in order to upgrade m1n1 without kmutiling a new boot object.
14:42sven🤷🏻‍♂️
14:47eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:48dottedmagmini: Do you have a picture of earthed small adapter? I'm trying to understand how it might look like, if Europlug is not earthed.
14:48minidottedmag: I'm UK based, so any picture I might have would be of a UK 13A plug
14:49dottedmagmini: Ah, UK plugs are easy.
14:49minibut they still removed the earth connection. I imagine a minor cost saving, but it comes iwth the annoying tingle of using the mac while charging :(
14:50miniweirdly, they kept using a metal earth pin into the mains socket though
14:50minithey just don't connect it to anything
15:19landscape15[m]Glanzmann: and also a driver to update the macOS stub partition would be nice
15:21sventhat's gonna be a bit more scary. it will require APFS write support and a pretty well understood SEP API
15:22svenmight not even be possible if the normal update procedure also updates the "custom boot object". if that's the case we'll alway have to go through 1TR for that
15:26landscape15[m]sven: yeah so every single change on the machine software requires authorization from 1TR. I like this for security reasons, but then how can you upgrade the m1n1 boot object?
15:26sventhat's separate from the question you just asked
15:27j`eygoing through 1TR very occasionally doesnt sound that bad
15:27landscape15[m]sven: yes, but the problem is the same. You can’t upgrade without entering 1TR.
15:27svenno, it's not.
15:28sventhere are two things: a) updating m1n1 (the custom boot object pr fuos or however it's called) b) updating the firmware on the stub partition
15:28svenboth are definitely possible with a round-trip through 1TR
15:28svena) would also also possible without that roundtrip if we added chainloading support to m1n1 itself (or if this auxKC can be used together with fuos)
15:29landscape15[m]sven: you mean something like /Volumes/Linux/upgrade.sh?
15:29svenb) is more tricky because it's not clear if it's possible to update the firmware *while keeping the custom boot object*
15:29j`eysven: chainloading from nvme or?
15:29svenj`ey: yeah, that would be possible
15:30svenor do that cute hack where we stuff a new version into this auxKC thing and let iBoot load it for us but i believe marcan said that doesn't work if you have a custom boot object anyway
15:39vnogueira has quit [Remote host closed the connection]
15:50vnogueira has joined #asahi
15:55vnogueira has quit []
15:56vnogueira has joined #asahi
16:00m42uko has joined #asahi
16:11ewryyyyyyyyyyyyyyyyyyyyyyyyyyd has quit [Ping timeout: 480 seconds]
16:19___nick___ has joined #asahi
16:19___nick___ has quit []
16:21___nick___ has joined #asahi
16:23the_lanetly_052__ has joined #asahi
16:29the_lanetly_052 has quit [Ping timeout: 480 seconds]
16:30vnogueira has quit [Remote host closed the connection]
16:33vnogueira has joined #asahi
16:40darkapex3 has joined #asahi
16:45darkapex2 has quit [Ping timeout: 480 seconds]
16:54yuyichao has joined #asahi
18:14the_lanetly_052__ has quit [Ping timeout: 480 seconds]
18:26ewryyyyyyyyyyyyyyyyyyyyyyyyyyd has joined #asahi
18:31Misthios has quit [Quit: Ping timeout (120 seconds)]
18:38Misthios has joined #asahi
18:47MajorBiscuit has quit [Ping timeout: 480 seconds]
19:20Dcow___ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:21Dcow has joined #asahi
19:27malvo has quit [Ping timeout: 480 seconds]
19:28malvo has joined #asahi
19:29yuyichao_ has joined #asahi
19:33yuyichao has quit [Ping timeout: 480 seconds]
19:52Misthios has quit [Quit: Misthios]
19:53Misthios has joined #asahi
20:11bpye has quit [Quit: Ping timeout (120 seconds)]
20:11bpye has joined #asahi
21:04yuyichao has joined #asahi
21:07___nick___ has quit [Ping timeout: 480 seconds]
21:09yuyichao_ has quit [Ping timeout: 480 seconds]
21:55m42uko has quit [Quit: Leaving.]
21:56roote has joined #asahi
21:59m42uko has joined #asahi
22:25roote has quit [Quit: Page closed]
22:44ewryyyyyyyyyyyyyyyyyyyyyyyyyyd has quit [Remote host closed the connection]
23:59yuyichao has quit [Ping timeout: 480 seconds]
…