2022-09-17
00:28thelounge7571340 has quit [Remote host closed the connection]
00:31thelounge7571340 has joined #asahi-dev
01:20Emantor has quit [Quit: ZNC - http://znc.in]
01:20Emantor has joined #asahi-dev
01:33thelounge7571340 has quit [Ping timeout: 480 seconds]
02:29thelounge7571340 has joined #asahi-dev
02:29SSJ_GZ has joined #asahi-dev
03:06SSJ_GZ has quit [Ping timeout: 480 seconds]
03:28thelounge7571340 has quit [Remote host closed the connection]
03:31thelounge7571340 has joined #asahi-dev
03:53chadmed_ is now known as chadmed
04:03kov has quit [Quit: Coyote finally caught me]
04:31thelounge7571340 has quit [Remote host closed the connection]
04:33thelounge7571340 has joined #asahi-dev
05:33thelounge7571340 has quit [Remote host closed the connection]
05:38thelounge7571340 has joined #asahi-dev
06:37thelounge7571340 has quit [Remote host closed the connection]
06:41thelounge7571340 has joined #asahi-dev
07:23SSJ_GZ has joined #asahi-dev
07:41thelounge7571340 has quit [Remote host closed the connection]
07:43thelounge7571340 has joined #asahi-dev
07:47gabuscus has quit [Ping timeout: 480 seconds]
07:54gabuscus has joined #asahi-dev
08:04jluthra has quit [Remote host closed the connection]
08:05jluthra has joined #asahi-dev
08:27gladiac has joined #asahi-dev
08:42thelounge7571340 has quit [Remote host closed the connection]
08:46thelounge7571340 has joined #asahi-dev
09:45thelounge7571340 has quit [Remote host closed the connection]
09:52thelounge7571340 has joined #asahi-dev
10:51thelounge7571340 has quit [Remote host closed the connection]
10:54thelounge7571340 has joined #asahi-dev
10:55isoriano has joined #asahi-dev
11:03isoriano has quit [Quit: Leaving]
11:04isoriano has joined #asahi-dev
11:10isoriano has quit [Quit: Leaving]
11:14DarkShadow44 has quit [Quit: ZNC - https://znc.in]
11:14DarkShadow44 has joined #asahi-dev
11:54thelounge7571340 has quit [Remote host closed the connection]
11:58thelounge7571340 has joined #asahi-dev
12:44selene751[m] has joined #asahi-dev
12:57thelounge7571340 has quit [Remote host closed the connection]
13:00thelounge7571340 has joined #asahi-dev
13:16aleasto- is now known as aleasto
13:41eloy_ has quit [Ping timeout: 480 seconds]
13:46eloy_ has joined #asahi-dev
13:59nico_32_ has quit [Ping timeout: 480 seconds]
14:00thelounge7571340 has quit [Remote host closed the connection]
14:03thelounge7571340 has joined #asahi-dev
14:09gladiac has quit [Quit: k thx bye]
14:13nico_32 has joined #asahi-dev
14:15chadmedpovik: jack works a treat on t6000, slight nitpick though the wind filter control is inverted so that 0 is the strongest and 100 is off
14:16chadmedadmac still ends up crashing after a while and knocking out both the jack and internal speakers
14:16chadmedand the internal speakers only output garbage digital noise instead of sound, so maybe a bad i2s clock or something idk
14:20chadmedwhich i was not using on the kernel... and not on any kernel-adjacent packages either...
14:23eloy_ has quit [Ping timeout: 480 seconds]
14:24povik16:20 < chadmed> ridiculous fix for all the other stuff was turning off llvm m1 optimisations...
14:25chadmedyeah idk i dont really have an explanation for it, but all the issues with module probing and initramfs etc went away when i took -mcpu=apple-m1 out of my make.conf and rebuilt the rootfs
14:25dottedmagsven: I've got M1 hooked to that 5K monitor and running macOS under m1n1: https://tea.dottedmag.net/~dottedmag/m1-driving-lg5k-under-m1n1.jpg
14:29eloy_ has joined #asahi-dev
14:30chadmedjust append -l [path to log file] to run_guest.py then put the log in a gist or something (assuming youre already running a tracer sven sent you or something)
14:31gabuscus has quit [Ping timeout: 480 seconds]
14:31jannaudottedmag: copy https://gist.github.com/jannau/c32cc54bb5b6d5541c45c49c8d0caefd to proxyclient/hv/trace_dp_crossbar.py and add '-m hv/trace_dp_crossbar.py'
14:36chadmedthe problems we couldnt work out the cause of the other day disappeared though (i.e. snd-soc-macaudio not probing properly etc)
14:40chadmedbecause i changed literally nothing else about the system other than turned off the optimisations and rebuilt every package
14:40chadmedso since nothing else changed other than whatever machine code llvm spits out, that has to be the cause
14:41chadmedsomething that loads very early in an initramfs but isnt kmod, udev or the kernel itself which i always force to build with gcc
14:45Race has quit [Ping timeout: 480 seconds]
14:46dottedmagjannau: sven: In this trace I booted laptop without monitor plugged in, then plugged and unplugged it twice.
14:57chadmed[m]povik: i use the default asahi config minus -ARCH and with no module compression
14:57chadmed[m]those are the only changes i make lol
15:02gabuscus has joined #asahi-dev
15:03thelounge7571340 has quit [Remote host closed the connection]
15:06thelounge7571340 has joined #asahi-dev
15:18gabuscus_ has joined #asahi-dev
15:23gabuscus has quit [Read error: Connection reset by peer]
15:28nico_32 has quit [Remote host closed the connection]
16:06thelounge7571340 has quit [Remote host closed the connection]
16:11thelounge7571340 has joined #asahi-dev
17:11thelounge7571340 has quit [Remote host closed the connection]
17:13thelounge7571340 has joined #asahi-dev
17:18mini0n has joined #asahi-dev
17:19mini0n has quit [Remote host closed the connection]
17:23arndmarcan: do you have pull requests for 6.1 lined up that you want in the soc tree? rmk asked about https://lore.kernel.org/linux-arm-kernel/E1oYNqp-006lXn-Hu@rmk-PC.armlinux.org.uk/, which I can pick up directly if you have no other code changes
17:25j`eyarnd: jannau submitted those here https://lore.kernel.org/linux-arm-kernel/87pmful5r4.wl-maz@kernel.org/T/#t
17:27arndj`ey: yes, I saw the submission, I'm just waiting for marcan to pick them up and send me a pull request to forward to torvalds
17:41jeffmiw has joined #asahi-dev
17:51marcanarnd: Ah, just saw your message here. I replied to rmk saying I'd do it, but you can pick that one up directly if you want. It's trivial and there are no other code changes.
17:52marcant6k DTs will have to go through me, but if nothing else I need to shove the IOMMU binding patch in front, otherwise we'll end up with non-validating DTs
17:52Eighth_DoctorIt'd be great to have those in for 6.1 😁
17:54marcanother than the first patch not having a review by rob I think everything else in there is okay?
17:55marcanbut yeah, I'm tired of waiting for the IOMMU series and the binding change is reviewed, so I'll pick that up.
17:57marcanEighth_Doctor: unfortunately until the IOMMU code changes go in, t6k won't actually work to any usable extent with 6.1...
17:58Eighth_DoctorI'm just ask for less patches to carry 😉
17:59Eighth_Doctors/ask/all/
18:00Eighth_DoctorThough Davide Cavalca is seeing something odd with our attempt to boot our remix image in #asahi:fedora.im
18:01Eighth_DoctorUSB boot doesn't seem to work 😦
18:01Eighth_DoctorWill do... I forgot you're in Japan...
18:03Eighth_DoctorThis is 5.19 with your patch tree on top
18:03Eighth_Doctor5.19.9
18:04marcanthose patches aren't quite reviewed yet, but I also don't want people using 4K kernels as an excuse not to fix software to run on 16K
18:04Eighth_DoctorThat's fair
18:04marcanplease just do 16K builds for now, 4K needs polish and it's likely other things are broken there
18:04Eighth_DoctorThat's why RHEL did 64k for years
18:06dcavalcaI did notice the apple-dart kmod seemed to be missing (meaning, I couldn't modprobe it)
18:06arndwell, not sure if you hit the same thing, but multiple people were affected by a change in the driver core that resulted in deferred probe issues and got reverted in -rc4
18:08marcanthe USB DARTs are supposed to be bypassable (so will work in 4K kernels, just with no security), but without the driver you only get one of the two DARTs bypassed as left behind by u-boot
18:09arndmarcan, rmk: applied the apple_rtkit_poll() patch directly from the list now, no need to resend
18:10marcanif you build the DART as a module, make sure you don't have anything that depends on it built in
18:11marcanon our kernels we build it in since it's in the dependency chain for backlight-gpio which is a dep for simpledrm in the DT, but that's a temporary hack
18:11marcanif you use the same DTs with that though, you want all that chain built in, which includes macsmc and macsmc-gpio...
18:12marcanit always ends up in the initramfs but yeah, I want people to get framebuffer without waiting for modules
18:12thelounge7571340 has quit [Remote host closed the connection]
18:13marcanif you have CONFIG_GPIO_MACSMC=y like we do, you should also build in DART, otherwise there's no point
18:13marcanif you don't, then you need to be aware that you'll get no simpledrm framebuffer without modules being available
18:13dcavalcaConan Kudo: https://gitlab.com/fedora-asahi/kernel-asahi/-/blob/fedora-asahi-5.19/redhat/configs/fedora/generic/arm/aarch64/CONFIG_APPLE_DART for context
18:14thelounge7571340 has joined #asahi-dev
18:14compassion has quit [Ping timeout: 480 seconds]
18:14* Eighth_Doctoris running through configs check for 16K pages
19:13thelounge7571340 has quit [Remote host closed the connection]
19:17thelounge7571340 has joined #asahi-dev
20:17thelounge7571340 has quit [Remote host closed the connection]
20:23thelounge7571340 has joined #asahi-dev
20:58blazra[m]Also, the difference between bit(0) and bit(14) is that bit(14) is just output enable - bit(0) is probably a global enable.
20:58blazra[m]The control register bit(2) that I previously thought enabled "single-shot" mode is more like a "single-pulse" mode where bit(10) selects if you want positive or negative pulse.
20:59blazra[m]Then, bit(0) in the status register gets set at the end of the OFF period and bit(1) at the end of the ON period.
20:59blazra[m]I have updated my gist: https://gist.github.com/blazra/87ea502b3563727b97408dd2ce457f4a
21:22thelounge7571340 has quit [Remote host closed the connection]
21:28thelounge7571340 has joined #asahi-dev
22:20SSJ_GZ has quit [Ping timeout: 480 seconds]
22:27thelounge7571340 has quit [Remote host closed the connection]
22:30thelounge7571340 has joined #asahi-dev
22:30jeffmiwHere is an update on hwmon support: MBA-M1 version available: 100 Temp sensors, 34 Current sensors, 28 Voltage sensors. Example of output from sensors cmd: https://tpaste.us/pn7g. Branch (based on asahi--5.19-5): https://github.com/jfbortolotti/linux/tree/hwmon_smc. Commit: https://github.com/jfbortolotti/linux/commit/f0c16a1402eab04b59283c2fb1b2ace3ca5c3500. Patch: https://github.com/jfbortolotti/linux/commit/
22:33jeffmiwone of the next steps is to decide how to manage the different models as they will likely have a different set of sensors(I do not have other machines to check)
22:41thelounge7571340 has quit [Remote host closed the connection]
22:44thelounge7571340 has joined #asahi-dev
22:55jeffmiw has quit [Quit: Konversation terminated!]
23:43thelounge7571340 has quit [Remote host closed the connection]
23:48thelounge7571340 has joined #asahi-dev