#asahi-dev · 2023-04-19 19:16
jannausome avd work is here https://github.com/ArcaneNibble/m1n1/commits/avd#asahi-dev · 2023-04-19 19:14
jannauyes, R and Jamie#asahi-dev · 2023-04-19 19:10
jannauthe decode firmware was so horrible that the persons looked into it decided it would be easier to interact with the hw directly#asahi-dev · 2023-04-19 19:09
jannauthe coprocessor then interacts with the real codec hw#asahi-dev · 2023-04-19 19:08
jannaueach block has custom co-processsor which apple's driver talk to over mailbox + shared memory#asahi-dev · 2023-04-19 19:06
jannauthere are one or more video decode unit (h264, h265, vp9), encode (h264, h265, ...?) and prores decoder/encoder#asahi-dev · 2023-04-19 19:05
jannauocrete: people started looking into it but there wasn't any progress in the last few months that I'm aware of#asahi-dev · 2023-04-19 05:45
jannauor all the charge control daemons written for asahi linux. are we at 3? I lost the count#asahi-dev · 2023-04-19 05:43
jannauwe don't have any information on the connected display unless dcp is connected to it#asahi-dev · 2023-04-19 05:42
jannaunot sure if polling would help us with dp-altmode but I don't think we can use it since our connectors are functionally tied to dcp#asahi-dev · 2023-04-19 05:39
jannaua quick grep suggest though that it is universally initialized#asahi-dev · 2023-04-19 05:38
jannauthe drm suspend splat is silly. the suspend/resume helpers disable/enable hpd polling unconditionally. our connectors are setup in a way which excludes polling so we do not init it#asahi-dev · 2023-04-18 16:57
jannaulooks roughly like 50% more#asahi-dev · 2023-04-18 16:56
jannaucomparing to 3.2W screen off / 1.9W s2idle from this morning on t6000 and chadmed said 3W something for t6001 with screen off#asahi-dev · 2023-04-18 16:51
jannauI still can't reproduce the power numbers on t6001/j314. kde lock screen with display turned off: ~5W (CPU takes ~3.3W). s2idle: 2.9W (2.2W CPU)#asahi-dev · 2023-04-18 12:32
jannauno, wakeup is again broken#asahi-dev · 2023-04-18 12:26
jannauprobably less than 2#asahi-dev · 2023-04-18 12:25
jannauwas the last test already with lina's sync UAPI? results are not fully resolution independent. 800x600 is faster than 4k. nowhere near 17 times faster of course but maybe 2 times #asahi-dev · 2023-04-18 12:14
jannauchadmed: 3840x2160 glmark2 score with cpuidle alone is roughly the same#asahi-dev · 2023-04-18 12:11
jannauvoltage-states{5,13}-sram? max value on j474s is 3_504_000_000#asahi-dev · 2023-04-18 12:07
jannauis the max pstate visible in ioreg? that's probably the fastest way to get results from j41{4,6}{s,c}#asahi-dev · 2023-04-18 12:03
jannaususpend (or wakeup) seems to break with no_console_suspend and macsmc_power.log_power=1. wakeup works without no_console_suspend#asahi-dev · 2023-04-18 08:27
jannauI do not use s2idle so the lat time I tested was before the mailbox rewrite. strange though that it works in the HV#asahi-dev · 2023-04-18 08:25
jannauwakeup still broken with APPLE_CPUIDLE disabled#asahi-dev · 2023-04-18 08:14
jannaupower button works before suspend#asahi-dev · 2023-04-18 08:11
jannauwakeup is even broken without APPLE_PMGR_MISC#asahi-dev · 2023-04-18 08:03
jannaumarcan: I'm seeing following smc splat on boot with APPLE_SMC and various MACSMC options built-in: https://gist.github.com/jannau/953f3c37056dab2ce935543e42f32ed7#asahi-dev · 2023-04-18 07:07
jannauswitching from sddm to a vt with power logging reduces the sys power use from ~10.5W to ~8.5W#asahi-dev · 2023-04-18 06:57
jannaubut I'm seeing now 6.3W power use with screen off#asahi-dev · 2023-04-18 06:56
jannaulooking at the idle stats it looks like linux keeps one performance core not idle#asahi-dev · 2023-04-18 06:55
jannauany volunteers for teaching powertop to handle clusters correctly?#asahi-dev · 2023-04-18 06:04
jannauunfortunately no hints why wakeup is broken on the serial#asahi-dev · 2023-04-18 06:03
jannauserial works if I let m1n1 boot and connect the usb-c afterwards#asahi-dev · 2023-04-18 05:54
jannauand the studio is again in the state where the aqantia pcie link doesn't come up#asahi-dev · 2023-04-18 05:49
jannauand why is my hw uart broken? usb-pd reset works, looks like the device is not sending any data#asahi-dev · 2023-04-18 05:27
jannauwakeup of course works in this config#asahi-dev · 2023-04-18 05:25
jannau4.2W in s2idle with HV and no_console_suspend#asahi-dev · 2023-04-18 05:03
jannaudoesn't wake up from suspend#asahi-dev · 2023-04-18 04:54
jannau11h idle time from 85% charge state#asahi-dev · 2023-04-18 04:50
jannauI'm seeing 4.8W here on t6001, screen off, nothing connected, logged in via ssh#asahi-dev · 2023-04-17 08:12
jannauit's a waste of time to try to make the on device boot process work while the bringup is not complete#asahi-dev · 2023-04-17 08:11
jannaubut it doesn't make sense to try to make a old distro image work with t602x piece by piece#asahi-dev · 2023-04-17 08:10
jannauit doesn't make a big difference whether one starts with a supported device or a t602x device with https://github.com/AsahiLinux/docs/wiki/Tethered-Boot-Setup-%28For-Developers%29#booting-a-kernel-under-the-hypervisor#asahi-dev · 2023-04-16 21:06
jannauonce you booted you can start replacing the missing bits#asahi-dev · 2023-04-16 21:05
jannaudo to the missing devicetree m1n1 will be in proxy mode and you can boot a kernel via usb: https://github.com/AsahiLinux/docs/wiki/Tethered-Boot-Setup-%28For-Developers%29#asahi-dev · 2023-04-16 21:04
jannauthat will you get you only marginally farther. you will have also to update u-boot and the kernel#asahi-dev · 2023-04-16 16:48
jannauerr, oslog is probably not the problem. there are two EPIC errors. I ignored them since at least one happens with 13.2 as well#asahi-dev · 2023-04-16 16:37
jannaurtkit(dcp): pre-allocated buffer (ep 0x8, dva 0xff8000f0025f, phys 0xbe5bd825f)#asahi-dev · 2023-04-16 16:36
jannauthat's a dva so we have to lookup what's mapped there#asahi-dev · 2023-04-16 16:24
jannauno, j274