#
✕ nick:jannau
#asahi-dev · 2022-11-15 18:03
jannaumps: kde handles it fine
#asahi-dev · 2022-11-15 12:59
jannauresizing windows plasma/wayland is ok
#asahi-dev · 2022-11-15 12:57
jannaudcp framebuffers are allocated with write combine. I'm not sure 100% if I set the uncached bit in the dart PTEs
#asahi-dev · 2022-11-15 12:55
jannaukazuki: I don't think this issue is EAS related
#asahi-dev · 2022-11-15 12:54
jannaubut moving the same window not great but ok
#asahi-dev · 2022-11-15 12:53
jannauresizing a window is bad with 120Hz / x11
#asahi-dev · 2022-11-15 12:50
jannauplasma/x11 or wayland? what I said about swap applies only to wayland
#asahi-dev · 2022-11-15 12:31
jannaum1n1 change has only python changes and can wait
#asahi-dev · 2022-11-15 12:30
jannaubits/000-devicetree and bits/200-dcp are refreshed for backlight control
#asahi-dev · 2022-11-15 12:29
jannauI think it is an rendering issue because I don't see any issues in combination with lina's and alyssa's opengl driver
#asahi-dev · 2022-11-15 12:28
jannauhave you looked at the "show fps" desktop effect
#asahi-dev · 2022-11-15 12:27
jannauI'm not sure I see what you see. dcp is choppy on large repaints like moving a large window or maximizing windows but otherwise it is okay-ish
#asahi-dev · 2022-11-15 12:23
jannaudcp is slow on large repaints with an external 50 HZ display
#asahi-dev · 2022-11-15 12:22
jannauso you add additional problems since the swap waits randomly
#asahi-dev · 2022-11-15 12:21
jannaualso llvmpipe is slow
#asahi-dev · 2022-11-15 12:21
jannaumarcan: simpledrm uses a shadow fb and updates only damaged parts. that seems to be much faster
#asahi-dev · 2022-11-15 12:20
jannaumarcan: dcp limits the swaps in 120Hz to 60Hz anyway
#asahi-dev · 2022-11-15 12:06
jannauvkms maybe
#asahi-dev · 2022-11-15 12:06
jannauor some other virtual device
#asahi-dev · 2022-11-15 12:05
jannaumarcan: I think we have vgem built-in in the asahi config
#asahi-dev · 2022-11-15 11:43
jannaujoske: is it usb 3 flash drive?
#asahi-dev · 2022-11-15 11:42
jannauiirc it superspeed initialization was fast then but very unstable for me on t6001
#asahi-dev · 2022-11-15 11:39
jannausven: I thought the init changes you did the weekend a week ago was supposed to fix it
#asahi-dev · 2022-11-15 11:27
jannaumps: display backlight control is not merged
#asahi-dev · 2022-11-15 11:26
jannauthat is asahi-6.1-rc3-1.x-dcp-altmode
#asahi-dev · 2022-11-15 11:26
jannausven: 350ms from "xHCI Host Controller" to "usb 2-1: new SuperSpeed USB" with 949e272b9ebdaf44478c7d56b3a0d8721a85f8d4 on t6001
#asahi-dev · 2022-11-15 07:28
jannaumacos doesn't use those. I still have no idea what those set_block_dcp calls do but backlight control works without them
#asahi-dev · 2022-11-15 07:27
jannauno, I suspect iboot does that. the firmware appears to have afk methods for that (judging by strings in the fw)
#asahi-dev · 2022-11-15 07:21
jannauI'll update kernel and m1n1 PRs tonight accordingly
#asahi-dev · 2022-11-15 07:21
jannauLmaxProduct is the maximum for HDR. 1600 nits
#asahi-dev · 2022-11-15 07:20
jannauyes, user-accessible-max-nits is just on j314/j316 for the desktop vs. HDR max brightness
#asahi-dev · 2022-11-15 07:19
jannauyeah, it was something like dynamic filling would be required for the calibration data so I can be lazy and don't need to look at the template ADT
#asahi-dev · 2022-11-15 06:56
jannauI'd expect it be static per model so we could hardcode it in dts
#asahi-dev · 2022-11-15 06:52
jannauwith enabling it in m1n1 it is guaranteed to be in safe state. it's either disabled or locked
#asahi-dev · 2022-11-15 06:52
jannauin asahi it should be enough if the kernel depends >=m1n1-1.1.7
#asahi-dev · 2022-11-15 06:51
jannauyes
#asahi-dev · 2022-11-15 06:50
jannauI think it would be good to have the change in the tree to prevent issues in downstream projects
#asahi-dev · 2022-11-15 06:48
jannaum1n1 change to enable it https://github.com/AsahiLinux/m1n1/pull/264/commits/7a0c188ab01a531b3572191c2058724776d625ac
#asahi-dev · 2022-11-15 06:46
jannauand https://github.com/AsahiLinux/linux/pull/67/commits/72224bf395d66a92dad03f13158306b88182a2d8
#asahi-dev · 2022-11-15 06:46
jannauhttps://github.com/AsahiLinux/linux/pull/67/commits/1bb4947576c295fafe59cb9e65295b3a87f126b5
#asahi-dev · 2022-11-15 06:46
jannauyes
#asahi-dev · 2022-11-15 06:46
jannauit shouldn't be necessary but if people even run into that when actively trying dcp it could prevent some support effort
#asahi-dev · 2022-11-15 06:44
jannaumarcan: sounds good. disabling of disp0_dart could be still useful to prevent breaking display scanout for the broken old m1n1 + new devicetree case
#asahi-dev · 2022-11-13 23:15
jannaukernel is a little bit noisy on backlight updates but left it there for initial testing
#asahi-dev · 2022-11-13 23:14
jannaumarcan: https://github.com/AsahiLinux/linux/pull/65 has dcp backlight control. needs a devicetree and m1n1 update. a test on Macbook Air (2020) would be good to see if brightness is limited to 400 nits
#asahi-dev · 2022-11-13 16:05
jannauthanks for the review
#asahi-dev · 2022-11-13 16:03
jannauI don't remember, possible that I simple botched the commit and did not notice since I never tested with with that commit and multiple planes in linux
#asahi-dev · 2022-11-13 16:01
jannaubut yes, !fb->format->has_alpha || new_state->plane->type == DRM_PLANE_TYPE_PRIMARY would make sense as well
#asahi-dev · 2022-11-13 16:00
jannauah, the '||' should be '&&'
#asahi-dev · 2022-11-13 15:58
jannaucurrently it's only true for the primary plane

plus ›