#asahi-dev · 2023-03-13 12:20
jannaumarcan: yes, 5.15.8-1.fc37#asahi-dev · 2023-03-13 11:40
jannauyes, I overlooked that, the x1 looked unusual as well#asahi-dev · 2023-03-13 11:37
jannauABI allows to return more 8 byte directly so x1 could be part of the return value. the rules for function arguments apply to return types as well#asahi-dev · 2023-03-13 11:05
jannauhave you tried lldb?#asahi-dev · 2023-03-13 10:31
jannaureproduced on fedora 37 on m2#asahi-dev · 2023-03-13 10:21
jannauyes, with startplasma-wayland from a tty, plasmashell crashes consistently, starts as expected without QV4_MM_AGGRESSIVE_GC=1 #asahi-dev · 2023-03-13 10:15
jannaumarcan: reproduced with QV4_MM_AGGRESSIVE_GC=1#asahi-dev · 2023-03-13 09:03
jannaukwin ctm night color fixes are merged and should be in the upcoming 5.27.3#asahi-dev · 2023-03-13 08:13
jannaustrange that I don't hit that on the mbp 13" m2#asahi-dev · 2023-03-13 08:10
jannauhave you tried booting with arm64.nobti / arm64.nopauth to rule out bti/pac issues if you're testing fedora? I suppose valgrind doesn't support that#asahi-dev · 2023-03-13 07:58
jannauI see have cursor artifacts pretty consistently on the panel but nowhere else with fractional scaling#asahi-dev · 2023-03-13 07:52
jannaucursor leaves square artifacts on the panel but nowhere else#asahi-dev · 2023-03-13 07:50
jannaumaybe related to the pick boxes I see on kde login on m2, but I've never seen a crash#asahi-dev · 2023-03-13 07:46
jannaumarcan: btw, I have see no issues with plasma/wayland on alarm with asahi-dev#asahi-dev · 2023-03-13 07:40
jannaualso we can't support a2rgb10 cursors, which kde uses. I was under the impression that the cursor fb is supposed to be argb32#asahi-dev · 2023-03-13 07:37
jannauno, that trick doesn't work at the right edg#asahi-dev · 2023-03-13 07:11
jannaua, my code is broken, I think that should work for the right edge as well#asahi-dev · 2023-03-13 07:10
jannaulol, I found a solution for the bottom edge. I can display the cursor offscreen as long as src and dst rect have a width of at least 32x32#asahi-dev · 2023-03-13 07:08
jannaudottedmag: default curser fb size is 64x64 independently of the cursor size#asahi-dev · 2023-03-13 06:57
jannaudottedmag: the issue is that dcp expects an overlay to have at least 32x32 pixels on screen, if not it starts scaling the overlay#asahi-dev · 2023-03-13 06:56
jannaumarcan: sigh, the surface limitations are biting us as well surf[2] doesn't overlay on surf[1] (with our current code), surf[1] on top of surf[0] does but uses overlays the background as well#asahi-dev · 2023-03-13 06:48
jannauI don't follow. inpractice we have the issue at the bottom and right screen edge so source x/y are always 0#asahi-dev · 2023-03-13 06:21
jannauugly but not hard to implement#asahi-dev · 2023-03-13 06:19
jannauwe can of course also deal with it by copying the visible part of the cursor to a shadow buffer if it is partially offscreen#asahi-dev · 2023-03-13 06:18
jannauthat depends on unmanaged iommu domains, I don't want to rush that#asahi-dev · 2023-03-13 06:16
jannaumarcan: we need a solution to deal with a partially off-screen cursor. I want to try if I can get away with adding 32 pixels to the stride and map it between a transparent page. that should give us 31 pixels transparency horizontally/vertically to work around dcp's limitation#asahi-dev · 2023-03-12 20:37
jannaunight light works now with two bug fixes in kwin: https://invent.kde.org/plasma/kwin/-/merge_requests/3797?#asahi-dev · 2023-03-12 20:19
jannaukettenis: I'll send a fix#asahi-dev · 2023-03-12 20:13
jannauwe need the same fix in u-boot#asahi-dev · 2023-03-12 20:12
jannauno, the fix I sent was for linux only, booted directly from m1n1#asahi-dev · 2023-03-12 20:10
jannauI thinkt the wrning is harmless, disable CONFIG_PCIE_APPLE in u-boot if you want to get rid of them#asahi-dev · 2023-03-12 20:10
jannauu-boot inits disabled pcie ports, we can't reset them so they are discovered in pci setup but the interrupt dt parsing code ignores disabled ports resulting in that warning#asahi-dev · 2023-03-12 20:05
jannauaxboe: yes. do you use u-boot with CONFIG_PCIE_APPLE=y?#asahi-dev · 2023-03-12 17:23
jannauworked around that and it sets now a all zero ctm#asahi-dev · 2023-03-12 17:20
jannauproblem seems to be that testing the gamma_lut doesn't fail#asahi-dev · 2023-03-12 15:57
jannauunfortunately the kwin change doesn't appear to work, it never sets the ctm#asahi-dev · 2023-03-12 11:33
jannaumarcan: we need to get rid of 6625def73ab9 ("arm64: dts: apple: HACK: Set base pstate to max") then#asahi-dev · 2023-03-12 11:21
jannaunice: https://invent.kde.org/plasma/kwin/-/commit/114032d2ac4d2eb9433bf75c0e6a82ecce7fa558 I guess I should hook up color_matrix now#asahi-dev · 2023-03-11 14:29
jannauethernet+xhci restored on the studio#asahi-dev · 2023-03-11 14:17
jannaumarcan: https://github.com/AsahiLinux/u-boot/pull/10#asahi-dev · 2023-03-11 14:11
jannauok, I'll prepare the u-boot config change#asahi-dev · 2023-03-11 14:10
jannauotherwise I have workaround patches for linux and u-boot#asahi-dev · 2023-03-11 14:09
jannaumarcan: confirmed, broken ethernet and usb pcie xhci on the studio. easiest workaround is disabling pcie in the u-boot defconfig#asahi-dev · 2023-03-11 14:01
jannaumarcan: did you already test on mini, imac or studio? I expect ethernet and usb xhci (on imac, studio)#asahi-dev · 2023-03-11 14:00
jannauI disn't realize that until now that we use u-boot with PCIe support#asahi-dev · 2023-03-11 13:58
jannauI blame that on u-boot's pcie code. I don't see those warnings when booted directly through m1n1#asahi-dev · 2023-03-11 13:52
jannauno need, I see it with asahi-6.2-6 as well#asahi-dev · 2023-03-11 13:50
jannaume too, I'll look into it#asahi-dev · 2023-03-11 13:48
jannauchadmed: do you have d57163d701f2 and aad9b063352e?#asahi-dev · 2023-03-11 13:46
jannauthat warning shouldn't be there