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]