#asahi-gpu · 2022-04-02 14:10
Sobek[m](I could see a few solutions / explanations as someone with no clue about the system 1. Normal Apple driver detects switch out and re-set up, 2. Some callbacks are involved and not implemented by your driver 3. Some special set up (like a buffer for context switched out data) is required and missing in your driver, but reminder that I am curious and clue less)#asahi-gpu · 2022-04-02 14:10
Sobek[m]So normal processes end up detecting that they’ve been context switched and re-set up their pipeline ? Is it possible to observe the way the apple driver handles it ?#asahi-gpu · 2022-04-02 14:04
alyssaI don't know why, and it means that the driver randomly stops working#asahi-gpu · 2022-04-02 14:04
alyssaThis mechanism is broken with Metal -- it never restores (or maybe never saves state when preempted)#asahi-gpu · 2022-04-02 14:04
alyssaPreempting our rendering and restoring it later#asahi-gpu · 2022-04-02 14:04
alyssaSometimes -- depending on the GPU time elapsed and the GPU workload elsewhere on the system -- the system (macOS kernel or AGX firmware) decides to context switch the GPU.#asahi-gpu · 2022-04-02 14:03
Sobek[m]What’s that issue exactly ? Well best luck (and I wouldn’t be able to stream my daily dev, so I won’t be offended at all if you keep your dev to yourself).#asahi-gpu · 2022-04-02 13:59
alyssaI just want this bug fixed because it's been killing my motivation to work on this driver#asahi-gpu · 2022-04-02 13:58
alyssaNot streaming, too much pressure#asahi-gpu · 2022-04-02 13:58
alyssaI think I want to tackle the context switching issues today#asahi-gpu · 2022-03-30 10:09
marcanha, cool#asahi-gpu · 2022-03-30 10:09
jannauwith asahi linux package 3 of the tps6598x devices fail to probe, fixed by povik's i2c patch#asahi-gpu · 2022-03-30 10:08
jannauerr paste error#asahi-gpu · 2022-03-30 10:08
jannausys 4m35.893s#asahi-gpu · 2022-03-30 10:08
jannauuser 90m55.164s#asahi-gpu · 2022-03-30 10:08
jannauwith asahi linux package 3 of the real 15m9.845spovik's i2c #asahi-gpu · 2022-03-30 10:08
marcanwill probably do something on friday then#asahi-gpu · 2022-03-30 10:07
marcanawesome :)#asahi-gpu · 2022-03-30 10:06
jannaumarcan: \o/ my t6002 m1n1 linux branches are up to date, mark pushed the u-boot change already to asahi#asahi-gpu · 2022-03-30 10:02
marcansounds good :)#asahi-gpu · 2022-03-30 10:02
marcanyup#asahi-gpu · 2022-03-30 10:02
phirewhich works for me#asahi-gpu · 2022-03-30 10:02
phireyou typically stream late-afternoon or evenings my time#asahi-gpu · 2022-03-30 10:01
marcangot it#asahi-gpu · 2022-03-30 10:01
phireyeah, about midday NZ time#asahi-gpu · 2022-03-30 10:00
marcan12am GMT as in midnight, right? 00-14?#asahi-gpu · 2022-03-30 10:00
phireI'm useally awake from 12am GMT to 2pm ish#asahi-gpu · 2022-03-30 09:58
marcanwhat times are you usually around?#asahi-gpu · 2022-03-30 09:57
marcankk#asahi-gpu · 2022-03-30 09:57
phirejust ping me with a bit of warning before you stream#asahi-gpu · 2022-03-30 09:57
marcanjust arrived :)#asahi-gpu · 2022-03-30 09:57
marcanjust need to refactor DTs a bit and fix some issues#asahi-gpu · 2022-03-30 09:57
marcanfirst need to poke around the Mac Studio, but that won't take long since jannau already figured out it all mostly just works#asahi-gpu · 2022-03-30 09:57
phireif so, I can try and show up to offer pointers#asahi-gpu · 2022-03-30 09:56
marcanlikely, but not sure when yet#asahi-gpu · 2022-03-30 09:56
phireare you planning to do this on stream?#asahi-gpu · 2022-03-30 09:56
marcanshould be enough to get me started, thanks :)#asahi-gpu · 2022-03-30 09:56
marcangot it#asahi-gpu · 2022-03-30 09:55
phireI was just running dougal's hw testbed without the wrapper scripts#asahi-gpu · 2022-03-30 09:55
marcanI always found the idea that Construct spits out what is basically a tree model and then you need to rewrap it annoying (see adt.py...)#asahi-gpu · 2022-03-30 09:55
marcanalways wanted that, TBH#asahi-gpu · 2022-03-30 09:55
marcanyeah, just saw that, cute#asahi-gpu · 2022-03-30 09:55
phirehttps://github.com/dougallj/applegpu#asahi-gpu · 2022-03-30 09:53
phirelet me just fine it#asahi-gpu · 2022-03-30 09:52
phireI also went down a rabbithole of trying to improve on contstruct, make it have classes#asahi-gpu · 2022-03-30 09:52
phireI've pushed my latest work to that branch. A bunch of stuff trying to construct the initdata from scratch#asahi-gpu · 2022-03-30 09:52
marcangot a link? (sorry, I've been way too out of the loop re gpu, until now at least)#asahi-gpu · 2022-03-30 09:51
phiredidn't get as far as making much custom, I was using dougall's tool#asahi-gpu · 2022-03-30 09:50
marcando you have any testing tools on the macos side? e.g. to submit compute jobs#asahi-gpu · 2022-03-30 09:47
marcangot it