#asahi-dev · 2023-02-17 07:52
marcana smarter approach would be to have some serious scheme hooking into the swapbuffers stuff to measure FPS and infer what the app is trying to achieve, and raise uclamp if deadlines are not being met until they are#asahi-dev · 2023-02-17 07:51
marcanand then we see how much that hurts power consumption and think about other approaches :p#asahi-dev · 2023-02-17 07:51
marcanwell, for starters you could use 1024:1024. that'd basically turn it into "race to idle" mode, which isn't a bad idea anyway for desktop workloads.#asahi-dev · 2023-02-17 07:46
marcanI'd be all for trying that out#asahi-dev · 2023-02-17 07:46
marcanmaybe mesa should start uclamping things behind apps' back?#asahi-dev · 2023-02-17 07:44
marcananyway, we'll see when the recent driver changes are stable and we get the EAS stuff in etc#asahi-dev · 2023-02-17 07:44
marcanthe problem is going to be corner cases, not light workloads#asahi-dev · 2023-02-15 00:18
marcanack, will do :)#asahi-dev · 2023-02-15 00:16
marcanaxboe: thanks :) do you want to be CCed on all patches I send out, or just the ones I anticipate might end up in an argument given the people involved?#asahi-dev · 2023-02-14 16:43
marcan(you probably did nothing wrong, this whole process is just beyond cursed)#asahi-dev · 2023-02-14 16:42
marcanChaosPrincess: congrats you broke my Thunderbird#asahi-dev · 2023-02-14 16:21
marcanawesome, all done as GitLab CI already!#asahi-dev · 2023-02-14 16:20
marcanack, thanks :)#asahi-dev · 2023-02-14 15:49
marcanin particular whatever logic it uses to diff results to find new warnings/errors and such#asahi-dev · 2023-02-14 15:48
marcanrobher: is your DT checker bot script public somewhere? I'm thinking of setting up something similar as a GitLab CI#asahi-dev · 2023-02-14 13:38
marcansven, jannau_: thoughts?#asahi-dev · 2023-02-14 13:38
marcanhttps://gitlab.freedesktop.org/asahi/linux/-/commit/b86d4b879cd9d5d85955618f3c2002905cb031f4 (parent commit has the overrides)#asahi-dev · 2023-02-14 13:38
marcanfor now, let's start by trying out clang-format. I added an override file with some minor things.#asahi-dev · 2023-02-14 13:09
marcanDRM plans to do something similar#asahi-dev · 2023-02-14 13:09
marcanso that could be upstreamable#asahi-dev · 2023-02-14 13:09
marcanjannau_: yes, but we can have something like drivers/soc/apple/.gitlab-ci.yml and throw our stuff then, and only our repo (which is configured to point there) would use it#asahi-dev · 2023-02-14 13:08
marcanI'm debating whether I want to split off asahi-soc into its own CI thing, since we probably want significantly different configs for that vs. the full downstream tree#asahi-dev · 2023-02-14 13:08
marcanso it can live under our own directory#asahi-dev · 2023-02-14 13:07
marcanthe actual gitlab repo config is what sets the CI config path#asahi-dev · 2023-02-14 13:07
marcanit can even be upstreamed#asahi-dev · 2023-02-14 13:07
marcanwe can have the CI in a bits branch or something like that, like everything else#asahi-dev · 2023-02-14 13:05
marcanI can make the gitlab repo auto-push to github to keep it alive#asahi-dev · 2023-02-14 13:04
marcanwill probably wait a bit and play around with CI and come up with a finished plan before pulling the trigger#asahi-dev · 2023-02-14 13:04
marcanprobably#asahi-dev · 2023-02-14 12:59
marcanyeah bits are all cloned of course#asahi-dev · 2023-02-14 12:58
marcanshould be gone now#asahi-dev · 2023-02-14 12:58
marcan(I have a plan for CI but it's not whatever that was)#asahi-dev · 2023-02-14 12:58
marcanohh no, it was using an out-of-tree CI config, TIL gitlab can do that#asahi-dev · 2023-02-14 12:54
marcanlet me kill all that#asahi-dev · 2023-02-14 12:54
marcanha, must've come from the (no longer default) msm branch I forked from.#asahi-dev · 2023-02-14 12:48
marcanso probably just sven needs to check#asahi-dev · 2023-02-14 12:48
marcanyeah, it should be, just checked#asahi-dev · 2023-02-14 12:44
marcan... not surprised, given how many projects we care about are on there#asahi-dev · 2023-02-14 12:44
marcanyeah :) (sorry)#asahi-dev · 2023-02-14 12:41
marcansven, jannau_, povik: can you tell me which branches from github are still relevant? I could transfer them all, but I think we have a lot of junk in there anyway so we might as well do some spring cleaning#asahi-dev · 2023-02-14 12:41
marcanhttps://gitlab.freedesktop.org/asahi/linux :)#asahi-dev · 2023-02-14 12:27
marcanshould be easier to bikeshed this once I have the code in front of me#asahi-dev · 2023-02-14 12:25
marcanjn: yes, my idea was that there's a 1 sec cumulative interval grace, and the daemon should itself have a timeout where after it stops getting samples it does one final update at the very least#asahi-dev · 2023-02-14 12:24
marcanheh#asahi-dev · 2023-02-14 12:24
marcanlol, don't they do softmute properly?#asahi-dev · 2023-02-14 12:23
marcanand then like every system sound has the first fraction of a second cut off#asahi-dev · 2023-02-14 12:22
marcanquite a few platforms suffer from that (slow power-up amps and such)#asahi-dev · 2023-02-14 12:22
marcanbut 1 second is reasonable for safety#asahi-dev · 2023-02-14 12:22
marcanso << 1 second#asahi-dev · 2023-02-14 12:21
marcanfor unmute you really don't want to spend ages on it, it kind of sucks when new sounds get cut off at the beginning (very persistent problem on some platforms)