ChanServ changed the topic of #asahi-gpu to: Asahi Linux GPU development (no user support, NO binary reversing) | Keep things on topic | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-gpu
adryzz has quit [Quit: .]
mikelee has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi-gpu
cr1901_ has joined #asahi-gpu
mikelee has quit [Ping timeout: 480 seconds]
cr1901 has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi-gpu
pg12_ has joined #asahi-gpu
pg12 has quit [Ping timeout: 480 seconds]
mikelee has quit [Ping timeout: 480 seconds]
cylm has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi-gpu
fenix144 has joined #asahi-gpu
fenix144 has quit [Quit: Leaving...]
mikelee has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi-gpu
mikelee has quit [Ping timeout: 480 seconds]
fenix144 has joined #asahi-gpu
mikelee has joined #asahi-gpu
fenix144 has quit [Remote host closed the connection]
mikelee has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi-gpu
cr1901_ is now known as cr1901
maria has joined #asahi-gpu
mikelee has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi-gpu
mikelee has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi-gpu
chadmed has quit [Remote host closed the connection]
chadmed has joined #asahi-gpu
mikelee has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi-gpu
erso has quit [Ping timeout: 480 seconds]
mikelee has quit [Ping timeout: 480 seconds]
Method has quit [Read error: Connection reset by peer]
erso has joined #asahi-gpu
pyropeter3 has joined #asahi-gpu
pyropeter2 has quit [Ping timeout: 480 seconds]
erso has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi-gpu
erso has joined #asahi-gpu
erso has quit [Ping timeout: 480 seconds]
mikelee has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi-gpu
erso has joined #asahi-gpu
erso has quit [Ping timeout: 480 seconds]
mikelee has quit [Ping timeout: 480 seconds]
erso has joined #asahi-gpu
mikelee has joined #asahi-gpu
erso has quit [Ping timeout: 480 seconds]
mikelee has quit [Ping timeout: 480 seconds]
erso has joined #asahi-gpu
mikelee has joined #asahi-gpu
erso has quit [Ping timeout: 480 seconds]
erso has joined #asahi-gpu
pg12_ has quit []
pg12 has joined #asahi-gpu
mikelee has quit [Ping timeout: 480 seconds]
erso has quit [Ping timeout: 480 seconds]
erso has joined #asahi-gpu
erso has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi-gpu
erso has joined #asahi-gpu
mikelee has quit [Ping timeout: 480 seconds]
erso has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi-gpu
erso has joined #asahi-gpu
erso has quit [Ping timeout: 480 seconds]
mikelee has quit [Ping timeout: 480 seconds]
erso has joined #asahi-gpu
erso has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi-gpu
crabbedhaloablut has joined #asahi-gpu
erso has joined #asahi-gpu
erso has quit [Ping timeout: 480 seconds]
mikelee has quit [Ping timeout: 480 seconds]
erso has joined #asahi-gpu
erso has quit [Ping timeout: 480 seconds]
erso has joined #asahi-gpu
mikelee has joined #asahi-gpu
erso has quit [Ping timeout: 480 seconds]
erso has joined #asahi-gpu
erso has quit [Ping timeout: 480 seconds]
mikelee has quit [Remote host closed the connection]
mikelee has joined #asahi-gpu
erso has joined #asahi-gpu
Method has joined #asahi-gpu
erso has quit [Ping timeout: 480 seconds]
mkurz has quit [Read error: Connection reset by peer]
mikelee has quit [Remote host closed the connection]
erso has joined #asahi-gpu
erso has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi-gpu
mikelee has quit [Remote host closed the connection]
erso has joined #asahi-gpu
erso has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi-gpu
erso has joined #asahi-gpu
erso has quit [Ping timeout: 480 seconds]
mikelee has quit [Ping timeout: 480 seconds]
erso has joined #asahi-gpu
pg12 has quit [Quit: pg12]
nsklaus has joined #asahi-gpu
erso has quit [Ping timeout: 480 seconds]
pg12_ has joined #asahi-gpu
pg12_ has quit []
erso has joined #asahi-gpu
pg12 has joined #asahi-gpu
erso has quit [Ping timeout: 480 seconds]
pg12 has quit [Quit: pg12]
erso has joined #asahi-gpu
darkapex has quit [Ping timeout: 480 seconds]
pg12 has joined #asahi-gpu
j`ey has joined #asahi-gpu
<j`ey> lina: in eb7a0ead749d269fc03596f4a6e2d789eab1fd4e 'locking due to fragment queue full' (and others) were changed from dev_dbg to dev_info, was that intentional?
<j`ey> *Blocking, not locking
ourdumbfuture has joined #asahi-gpu
mikelee has joined #asahi-gpu
mikelee has quit [Remote host closed the connection]
<lina> j`ey: That was for debugging, if the lockups are gone I'll revert them ^^
<lina> I deliberately made that a bit noisy to see what the behavior is if someone runs into the issue again...
<j`ey> ah ok, on #asahi-alt ry_darcy says the FF hangs are gone, but he's seeing those messages a lot
<lina> Yeah, that would be expected then!
<lina> Those messages are harmless, it's just the lockups were related to that so I wanted to see...
mikelee has joined #asahi-gpu
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mikelee has quit [Remote host closed the connection]
<rosefromthedead> lina: do you know a way to read the current gpu time?
<rosefromthedead> i've got the job finish timestamp wired up but gl also needs a way to read the time without submitting a job
cylm has joined #asahi-gpu
mikelee has joined #asahi-gpu
mikelee has quit [Remote host closed the connection]
mikelee has joined #asahi-gpu
mikelee has quit [Remote host closed the connection]
erso has quit [Ping timeout: 480 seconds]
erso has joined #asahi-gpu
Z750 has quit [Quit: Ping timeout (120 seconds)]
Z750 has joined #asahi-gpu
mikelee has joined #asahi-gpu
mikelee has quit [Remote host closed the connection]
ourdumbfuture has joined #asahi-gpu
mikelee has joined #asahi-gpu
mikelee has quit [Remote host closed the connection]
<lina> rosefromthedead: It's the same as the CPU time, I've been meaning to add an ioctl to grab that
<lina> (the raw ARM timer)
<rosefromthedead> oh wow
<rosefromthedead> i guess that makes life easier
<lina> There might also be some conversion factor we can provide instead to let userspace know how to convert from CLOCK_MONOTONIC or similar, but I need to investigate the kernel time tracking code to see how that works
<rosefromthedead> what's the advantage of that? is it faster to get CLOCK_MONOTONIC?
<lina> Yes, that goes through vdso and I think that directly reads the counter from userspace outright
<lina> Which... I guess we could just do anyway? Though I need to check whether Linux guarantees that access is always enabled
<lina> The problem is that won't work from an emulated x86 environment, we need an ioctl or gettimeofday for that
<rosefromthedead> right
<lina> Since vDSO should be plumbed in properly for emulation
<rosefromthedead> wait you've lost me
<rosefromthedead> do vdso calls not break out of x86 and call the native vdso?
<lina> They should, so that should work
<lina> What won't work is directly reading the ARM64 register from Mesa
<rosefromthedead> ahhh yeah
<rosefromthedead> i see
<rosefromthedead> err, maybe i don't, i thought gl drivers were also native in fex and box
<j`ey> __arch_get_hw_counter in arch/arm64/include/asm/vdso/gettimeofday.h is what the vdso uses (I added the CNTVCTSS support a while back)
<lina> They *can* be thunked for 64bit in FEX. 32bit is always emulated right now. I haven't set up thunks so all my tests to date have been emulated.
<rosefromthedead> okie
mikelee has joined #asahi-gpu
<lina> j`ey: Problem is we can't use any internal APIs here, we need to go through the official entrypoints...
<j`ey> I was just confirming the 'I think that directly reads the counter from userspace outright'
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mikelee has quit [Remote host closed the connection]
ourdumbfuture has joined #asahi-gpu
mikelee_ has joined #asahi-gpu
<lina> rosefromthedead, j`ey: Looks like the timekeeping stuff is pretty deep kernel internals and I don't think it's worth fighting to figure out how to precisely expose the mapping to userspace... so I think a syscall that gets the GPU time and the current CLOCK_* time (not synchronized, so with a small error offset) is probably the least painful way to go for now
<lina> Not syscall, ioctl
mikelee_ has quit [Remote host closed the connection]
hightower2 has joined #asahi-gpu
mikelee has joined #asahi-gpu
mikelee has quit [Remote host closed the connection]
mikelee has joined #asahi-gpu
mikelee has quit [Remote host closed the connection]
mikelee has joined #asahi-gpu
mikelee has quit [Remote host closed the connection]
mikelee has joined #asahi-gpu
mikelee has quit [Remote host closed the connection]
mikelee has joined #asahi-gpu
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mikelee has quit [Remote host closed the connection]
mikelee has joined #asahi-gpu
ourdumbfuture has joined #asahi-gpu
ourdumbfuture has quit [Ping timeout: 480 seconds]
ayke has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
ourdumbfuture has joined #asahi-gpu
ayke has joined #asahi-gpu
fenix144 has joined #asahi-gpu
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
fenix144 has quit [Remote host closed the connection]
mikelee has quit [Remote host closed the connection]
mikelee has joined #asahi-gpu
mrhh has joined #asahi-gpu
mikelee_ has joined #asahi-gpu
mikelee has quit [Read error: Connection reset by peer]
mikelee has joined #asahi-gpu
mikelee has quit [Remote host closed the connection]
mikelee_ has quit [Ping timeout: 480 seconds]
mrhh has quit [Ping timeout: 480 seconds]
possiblemeatball has joined #asahi-gpu
mrhh has joined #asahi-gpu
erso has quit [Quit: leaving]
possiblemeatball has quit [Quit: Quit]
abd has joined #asahi-gpu
mikelee has joined #asahi-gpu
darkapex has joined #asahi-gpu
abd has quit [Ping timeout: 480 seconds]
ourdumbfuture has joined #asahi-gpu
mrhh has quit [Ping timeout: 480 seconds]
mikelee has quit [Remote host closed the connection]
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi-gpu
hightower2 has quit [Ping timeout: 480 seconds]
abd has joined #asahi-gpu
Guest6081 has quit [Quit: Bridge terminating on SIGTERM]
rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
rhysmdnz has joined #asahi-gpu
Jamie has joined #asahi-gpu
Jamie is now known as Guest6167
abd has quit [Ping timeout: 480 seconds]
hightower2 has joined #asahi-gpu
WindowPa- has joined #asahi-gpu
WindowPain has quit [Ping timeout: 480 seconds]
phire has quit [Remote host closed the connection]
phire has joined #asahi-gpu
abd has joined #asahi-gpu
LinuxM1 has joined #asahi-gpu
LinuxM1 has quit [Quit: Leaving]
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi-gpu
abd has quit [Ping timeout: 480 seconds]
abd has joined #asahi-gpu
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi-gpu
abd has quit [Ping timeout: 480 seconds]
nsklaus has quit [Ping timeout: 480 seconds]
crabbedhaloablut has quit []
c10l5 has quit []
c10l5 has joined #asahi-gpu
fenix144 has joined #asahi-gpu
fenix144 has quit [Remote host closed the connection]