#
✕ nick:jannau
#asahi-dev · 2022-04-01 17:56
jannauj`ey: search for fbreg or local-mac-address in kboot.c
#asahi-dev · 2022-03-30 12:52
jannauthere is also https://github.com/dougallj/applecpu/blob/main/timer-hacks/bench.py#L85
#asahi-dev · 2022-03-30 12:52
jannauYichaoYu[m]: there's /usr/share/kpep/a14.plist see https://oftc.irclog.whitequark.org/asahi/2021-08-17#30153135; how to get something useful out of it
#asahi-dev · 2022-03-30 11:14
jannau900 / 100 performance/efficiency core cycles is different than 100 / 900 performance/efficiency core cycles
#asahi-dev · 2022-03-30 11:13
jannauYichaoYu[m]: the problem with counting cycles over different cpu core types is that you don't know what 1000 cycles mean
#asahi-dev · 2022-03-30 11:12
jannaumarcan: https://github.com/AsahiLinux/alarm-PKGBUILDs/tree/rust-page-sizes works well enough to rebuild itself on 16k (native asahi) and 4k (vm with 4k kernel)
#asahi-dev · 2022-03-30 07:58
jannauYichaoYu[m]: you have specify the performance core's counter explicitly with 'apple_firestorm_pmu/cycles/'
#asahi-dev · 2022-03-29 19:22
jannauthanks
#asahi-dev · 2022-03-29 17:48
jannauthe last powered core on the cluster should run at 3.2GHz, not a practical solution yet
#asahi-dev · 2022-03-29 17:41
jannaunice, so that should give you 3.2GHz single core frequency
#asahi-dev · 2022-03-29 16:53
jannauis the label wrong? I wouldn't expect a voltage to express power consumption
#asahi-dev · 2022-03-29 15:54
jannaumakepkg for the linux-asahi PKGBUILD on the M1 Ultra: "43:30,97 user 3:16,57 system 1298% cpu (3:36,27 wasted time)."
#asahi-dev · 2022-03-28 17:33
jannaunice, iboot pre-allocates space for 10 l2 tables in pt-region-0 for disp*/dcp*. that's a little more convenient than replacing them with a new ram allocation
#asahi-dev · 2022-03-28 17:21
jannauI have no idea, cuurrent problem is that clobber the the pre-allocated syslog DVA with the framebuffer
#asahi-dev · 2022-03-28 17:16
jannauis still amazed that crashing dcp can break usb/nvme
#asahi-dev · 2022-03-28 16:00
jannauok, I guess I'll just keep the duplicated table. We don't have to care about a couple of bytes extra binary size
#asahi-dev · 2022-03-28 15:00
jannauon the other hand I'm not sure if I want to copy it m1 max one twice
#asahi-dev · 2022-03-28 14:58
jannaukettenis: any preference how to handle the memmap for the m1 ultra? it's literally the m1 max one with I/O duplicated at a fixed offset. I wrote it out for now but it is a little meh
#asahi-dev · 2022-03-28 14:57
jannaukettenis: \o/!
#asahi-dev · 2022-03-28 13:54
jannauah, I missed that
#asahi-dev · 2022-03-28 13:53
jannauI would guess that jpeg decode -> dcp plane was the use case for framebuffer compression in the jpeg hw
#asahi-dev · 2022-03-28 13:51
jannaumaz: the code is already in u-boot master, probably not worth the effort to yank it now. I'm more concerned concerned about running linux desktop on top of drm's unoptimized x8r8g8b8 to x2r10g10b10 conversion code
#asahi-dev · 2022-03-28 13:37
jannaunot really worth rewriting m1n1 fb code for though
#asahi-dev · 2022-03-28 13:12
jannaumarcan: is there a reason why we keep x2r10g10b10? we can now switch properly to x8r8g8b8 and avoid the drm colorspace conversion code
#asahi-dev · 2022-03-28 11:16
jannauwould be fine up to a height of 2816 but I guess the height is 2160
#asahi-dev · 2022-03-28 11:07
jannauwe can't prevent 30Hz though
#asahi-dev · 2022-03-28 11:07
jannauthis affects only devices with dp to hdmi as primary display interface, so only mini and studio which have both only hdmi 2.0
#asahi-dev · 2022-03-28 10:59
jannau5120x2160 display's with hdmi exists, beyond that probably just 8k TVs
#asahi-dev · 2022-03-28 10:43
jannauI guess a maximal resolution of 5120x2252 is fine for HDMI as first step
#asahi-dev · 2022-03-28 10:42
jannausupporting larger framebuffers in m1n1 is a little annoying as iboot only preallocates 2 l2 page tables. not sure if I'm motivated to handle that
#asahi-dev · 2022-03-28 07:40
jannauJamie[m]1: https://github.com/AsahiLinux/docs/wiki/SW:Hypervisor#preparing-the-macos-volume-by-disabling-security-features kmutil command is under https://github.com/AsahiLinux/m1n1#usage which now has a dead link
#asahi-dev · 2022-03-27 15:41
jannauthanks, fixed
#asahi-dev · 2022-03-27 15:31
jannauI don't know, mode changes crash dcp both in linux and dcp.py. dcp_iboot works though and with https://github.com/jannau/m1n1/tree/display_fb_alloc (incomplete) even as 4k
#asahi-dev · 2022-03-27 15:28
jannauat least in m1n1 disconnecting or turning the monitor off/on doesn't break the display anymore. both mac mini and mac studio, mac os 12.3 stub
#asahi-dev · 2022-03-27 15:24
jannaumarcan: can you chainload muliple times with display reinit? dcp RTkit fails boot the second time for me
#asahi-dev · 2022-03-27 13:56
jannaumapping RAM as new framebuffer works, only adt_set_reg missing to update "/vram"
#asahi-dev · 2022-03-27 09:49
jannaumarcan: I think so "MCC: Initialized T6000 MCCs (16 instances, 4 planes, 4 channels)"
#asahi-dev · 2022-03-27 09:46
jannaubandwidth does not depend on the core or physical memory location
#asahi-dev · 2022-03-27 09:46
jannauzorun: yes, it is about the multi die M1. marcan believes that memory is just interleaved. for continuous memory copies that appears to be true
#asahi-dev · 2022-03-26 16:35
jannauI hope we get spi hid also in for 5.19
#asahi-dev · 2022-03-26 16:32
jannauoctober would probably end up with 5.19, i.e. we have 9 weeks to upstream everything
#asahi-dev · 2022-03-26 16:21
jannauI think sven contacted robin off list
#asahi-dev · 2022-03-26 15:58
jannauwhat's the status of t6000-dart?
#asahi-dev · 2022-03-26 14:43
jannauthose are on top, the linux-next commit is v5.17-rc7-11953-g71941773e143
#asahi-dev · 2022-03-26 14:41
jannaualmost 12000 commits of from 5.17-rc7
#asahi-dev · 2022-03-26 14:39
jannauno, it's linux-next-20220310, 5.17-rc7 is just the last present tag
#asahi-dev · 2022-03-26 09:44
jannauhdmi on the mac studio can handle disconnect/reconnect, even with with a different display without dcp
#asahi-dev · 2022-03-26 08:38
jannaunice, I can now boot into the unmodified asahi desktop install. tethered m1n1+u-boot boot, i.e. I chainload m1n1 + mac studio dtb + u-boot, grub, kernel, initrd and rootfs on the nvme are provided by the installer
#asahi-dev · 2022-03-26 08:26
jannauu-boot on the M1 ultra works after fixing my errors in memmap
#asahi-dev · 2022-03-26 07:19
jannauspeed doesn't seem to be influenced by the die for sequential copies

plus ›