#
✕ nick:karolherbst
#asahi-gpu · 2022-10-14 02:10
karolherbstthey all have compiled plists by now, don't they? (used macos when there weren't binary plists)
#asahi-gpu · 2022-10-13 16:05
karolherbstit's insance how much of the command stream stuff contains "invalidatre this and that" on hardware across the board
#asahi-gpu · 2022-10-13 16:02
karolherbstmaybe some random caches need to be invalidated or something or something something
#asahi-gpu · 2022-10-13 16:02
karolherbstthat does sound like some flushing issue
#asahi-gpu · 2022-10-13 16:02
karolherbstmhh yeah...
#asahi-gpu · 2022-10-13 15:18
karolherbstsome magic bit in the hw context init sequence *sigh*
#asahi-gpu · 2022-10-13 15:17
karolherbstwe'd never figured out what to do if nvidia wouldn't have told me what the solution is
#asahi-gpu · 2022-10-13 15:17
karolherbstand there is some magic privilged register you can poke to enable those loads
#asahi-gpu · 2022-10-13 15:17
karolherbstyeah.. I saw... those things are hard to figure out if no debugging tools are available :/ One super annoying thing we had to debug with nvidia was, that fragment shader helper invocation weren't doing any loads and loops in shaders were running infinitely...
#asahi-gpu · 2022-10-13 15:12
karolherbstmaybe the firmware isn't thread safe
#asahi-gpu · 2022-10-13 15:11
karolherbstyeah... I don't have strong arguments here, just a gut feeling
#asahi-gpu · 2022-10-13 15:03
karolherbstnormally you want all of that to be quite asynchronous to not starve either side
#asahi-gpu · 2022-10-13 15:02
karolherbstnot sure how that works on apple hardware, but e.g. on nvidia we submit and then have to do fencing and wait on those to be sure the GPU actually reached certain sync points in the command stream
#asahi-gpu · 2022-10-13 15:02
karolherbstwaiting until all command submissions are done
#asahi-gpu · 2022-10-13 15:01
karolherbstanyway, not sure that was Apple's reason for doing it, just reminded me of that reading your gist
#asahi-gpu · 2022-10-13 15:00
karolherbst40 isn't a lot
#asahi-gpu · 2022-10-13 15:00
karolherbstyeah...
#asahi-gpu · 2022-10-13 14:59
karolherbstthe VA not matching isn't a problem though, in userspace you just reserve the entire area the GPU can't use and off you go
#asahi-gpu · 2022-10-13 14:59
karolherbstahh, might be
#asahi-gpu · 2022-10-13 13:10
karolherbstalso for the GPU shutdown hack: can you test if doing only a WFI on both sides (GPU and ASC) also solves the issue? The kernel driver overwriting/changing state while it's still in use by other pieces still sounds like the most likely problem here to me.
#asahi-gpu · 2022-10-13 13:06
karolherbstlina: having the same VA on both sides is something which is also required once you are doing SVM like things. So totally not surprised Apple is doing it, because it helps a lot if you share deep data structures (think linked lists) between both sides a lot. I suspect their design makes this much easier, but there might also be a flag to not do this.
#asahi-gpu · 2022-10-03 08:51
karolherbstprobably..
#asahi-gpu · 2022-10-03 08:50
karolherbstnot sure
#asahi-gpu · 2022-10-03 08:49
karolherbstbut the others
#asahi-gpu · 2022-10-03 08:48
karolherbstwell.. obviously not solution 1
#asahi-gpu · 2022-10-03 08:48
karolherbstheh.. did you see this btw? https://www.macworld.com/article/675869/how-to-connect-two-or-more-external-displays-to-apple-silicon-m1-macs.html
#asahi-gpu · 2022-10-03 08:46
karolherbstahh
#asahi-gpu · 2022-10-03 08:44
karolherbstdid anybody actually tried any of that or are there only people talking about it :P
#asahi-gpu · 2022-10-03 08:36
karolherbstonly 1.5 more hours to wait :(
#asahi-gpu · 2022-10-03 08:33
karolherbstmight explain the battery runtime...
#asahi-gpu · 2022-10-03 08:32
karolherbst20 hours is actually quite impressive
#asahi-gpu · 2022-10-03 08:31
karolherbstehhh t14sg3
#asahi-gpu · 2022-10-03 08:31
karolherbstthough It hink I also have a T14s3 which is less annoying?
#asahi-gpu · 2022-10-03 08:31
karolherbstthose workstation laptops are usually the ones ending up getting RHEL installed on them, so that's why they tend to end up at my place
#asahi-gpu · 2022-10-03 08:30
karolherbstthe P50 is also of that workstation line
#asahi-gpu · 2022-10-03 08:30
karolherbstyeah.. that sounds like my experience with lenovo
#asahi-gpu · 2022-10-03 08:30
karolherbst:D
#asahi-gpu · 2022-10-03 08:29
karolherbstwho doesn't want a laptop which cleanrs your flat while installing your distro
#asahi-gpu · 2022-10-03 08:29
karolherbstfull burst when booting.. nice...
#asahi-gpu · 2022-10-03 08:29
karolherbstboth are loud annoying piece of....
#asahi-gpu · 2022-10-03 08:28
karolherbstI have a P1G2 and P1G5 at home
#asahi-gpu · 2022-10-03 08:28
karolherbstar: yeah... I think only the P1 are actually doing that
#asahi-gpu · 2022-10-03 08:28
karolherbstit waits like 5-10 seconds to see if the load goes away
#asahi-gpu · 2022-10-03 08:28
karolherbstº
#asahi-gpu · 2022-10-03 08:28
karolherbstI actually like my Dell laptop. It doesn't turn the fans on even if the CPU reaches 100£
#asahi-gpu · 2022-10-03 08:27
karolherbst"uhhh CPU reached 60º? let's push the fans to 100%"
#asahi-gpu · 2022-10-03 08:27
karolherbstbut mainly because lenovo thinks selling portable jets is a selling point
#asahi-gpu · 2022-10-03 08:26
karolherbstdoesn't like thinkpads
#asahi-gpu · 2022-10-03 08:26
karolherbstthough I do know apple harware making those noises as well, but that systems is _old_
#asahi-gpu · 2022-10-03 08:25
karolherbstI hve no idea if laptops OEMs or Intel or whoever is designing the systems, but when "electrical noise" is what I get when fans actually turn off, I am actually wondering who even designed those systems :(

plus ›