2023-07-16
00:01adryzz has quit [Quit: .]
00:08mikelee has quit [Ping timeout: 480 seconds]
00:18mikelee has joined #asahi-gpu
00:24cr1901_ has joined #asahi-gpu
00:26mikelee has quit [Ping timeout: 480 seconds]
00:30cr1901 has quit [Ping timeout: 480 seconds]
00:36mikelee has joined #asahi-gpu
00:43pg12_ has joined #asahi-gpu
00:45pg12 has quit [Ping timeout: 480 seconds]
00:45mikelee has quit [Ping timeout: 480 seconds]
00:46cylm has quit [Ping timeout: 480 seconds]
00:53mikelee has joined #asahi-gpu
00:55fenix144 has joined #asahi-gpu
00:55fenix144 has quit [Quit: Leaving...]
01:21mikelee has quit [Ping timeout: 480 seconds]
01:46mikelee has joined #asahi-gpu
01:55mikelee has quit [Ping timeout: 480 seconds]
01:59fenix144 has joined #asahi-gpu
02:03mikelee has joined #asahi-gpu
02:10fenix144 has quit [Remote host closed the connection]
02:24mikelee has quit [Ping timeout: 480 seconds]
02:28mikelee has joined #asahi-gpu
02:40cr1901_ is now known as cr1901
02:42maria has joined #asahi-gpu
02:48mikelee has quit [Ping timeout: 480 seconds]
02:58mikelee has joined #asahi-gpu
03:06mikelee has quit [Ping timeout: 480 seconds]
03:11mikelee has joined #asahi-gpu
03:20chadmed has quit [Remote host closed the connection]
03:22chadmed has joined #asahi-gpu
03:25mikelee has quit [Ping timeout: 480 seconds]
03:28mikelee has joined #asahi-gpu
03:42erso has quit [Ping timeout: 480 seconds]
03:45mikelee has quit [Ping timeout: 480 seconds]
03:45Method has quit [Read error: Connection reset by peer]
03:50erso has joined #asahi-gpu
03:53pyropeter3 has joined #asahi-gpu
03:55pyropeter2 has quit [Ping timeout: 480 seconds]
03:58erso has quit [Ping timeout: 480 seconds]
04:00mikelee has joined #asahi-gpu
04:03erso has joined #asahi-gpu
04:12erso has quit [Ping timeout: 480 seconds]
04:12mikelee has quit [Ping timeout: 480 seconds]
04:15mikelee has joined #asahi-gpu
04:19erso has joined #asahi-gpu
04:28erso has quit [Ping timeout: 480 seconds]
04:34mikelee has quit [Ping timeout: 480 seconds]
04:36erso has joined #asahi-gpu
04:43mikelee has joined #asahi-gpu
04:44erso has quit [Ping timeout: 480 seconds]
04:51mikelee has quit [Ping timeout: 480 seconds]
04:52erso has joined #asahi-gpu
05:00mikelee has joined #asahi-gpu
05:01erso has quit [Ping timeout: 480 seconds]
05:10erso has joined #asahi-gpu
05:12pg12_ has quit []
05:12pg12 has joined #asahi-gpu
05:18mikelee has quit [Ping timeout: 480 seconds]
05:19erso has quit [Ping timeout: 480 seconds]
05:29erso has joined #asahi-gpu
05:41erso has quit [Ping timeout: 480 seconds]
05:44mikelee has joined #asahi-gpu
05:50erso has joined #asahi-gpu
05:52mikelee has quit [Ping timeout: 480 seconds]
05:58erso has quit [Ping timeout: 480 seconds]
06:00mikelee has joined #asahi-gpu
06:06erso has joined #asahi-gpu
06:15erso has quit [Ping timeout: 480 seconds]
06:16mikelee has quit [Ping timeout: 480 seconds]
06:22erso has joined #asahi-gpu
06:30erso has quit [Ping timeout: 480 seconds]
06:37mikelee has joined #asahi-gpu
06:38crabbedhaloablut has joined #asahi-gpu
06:39erso has joined #asahi-gpu
06:47erso has quit [Ping timeout: 480 seconds]
06:55mikelee has quit [Ping timeout: 480 seconds]
06:55erso has joined #asahi-gpu
07:04erso has quit [Ping timeout: 480 seconds]
07:14erso has joined #asahi-gpu
07:19mikelee has joined #asahi-gpu
07:23erso has quit [Ping timeout: 480 seconds]
07:31erso has joined #asahi-gpu
07:40erso has quit [Ping timeout: 480 seconds]
07:42mikelee has quit [Remote host closed the connection]
07:42mikelee has joined #asahi-gpu
07:48erso has joined #asahi-gpu
07:56Method has joined #asahi-gpu
08:05erso has quit [Ping timeout: 480 seconds]
08:05mkurz has quit [Read error: Connection reset by peer]
08:06mikelee has quit [Remote host closed the connection]
08:14erso has joined #asahi-gpu
08:23erso has quit [Ping timeout: 480 seconds]
08:25mikelee has joined #asahi-gpu
08:27mikelee has quit [Remote host closed the connection]
08:31erso has joined #asahi-gpu
08:40erso has quit [Ping timeout: 480 seconds]
08:45mikelee has joined #asahi-gpu
08:47erso has joined #asahi-gpu
08:55erso has quit [Ping timeout: 480 seconds]
08:56mikelee has quit [Ping timeout: 480 seconds]
09:03erso has joined #asahi-gpu
09:07pg12 has quit [Quit: pg12]
09:11nsklaus has joined #asahi-gpu
09:11erso has quit [Ping timeout: 480 seconds]
09:16pg12_ has joined #asahi-gpu
09:18pg12_ has quit []
09:18erso has joined #asahi-gpu
09:19pg12 has joined #asahi-gpu
09:27erso has quit [Ping timeout: 480 seconds]
09:33pg12 has quit [Quit: pg12]
09:35erso has joined #asahi-gpu
09:35darkapex has quit [Ping timeout: 480 seconds]
09:39pg12 has joined #asahi-gpu
10:00j`ey has joined #asahi-gpu
10:01j`eylina: in eb7a0ead749d269fc03596f4a6e2d789eab1fd4e 'locking due to fragment queue full' (and others) were changed from dev_dbg to dev_info, was that intentional?
10:02ourdumbfuture has joined #asahi-gpu
10:05mikelee has joined #asahi-gpu
10:30mikelee has quit [Remote host closed the connection]
10:35linaI deliberately made that a bit noisy to see what the behavior is if someone runs into the issue again...
10:35j`eyah ok, on #asahi-alt ry_darcy says the FF hangs are gone, but he's seeing those messages a lot
10:36linaThose messages are harmless, it's just the lockups were related to that so I wanted to see...
10:45mikelee has joined #asahi-gpu
11:01ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
11:03mikelee has quit [Remote host closed the connection]
11:07rosefromthedeadlina: do you know a way to read the current gpu time?
11:09rosefromthedeadi've got the job finish timestamp wired up but gl also needs a way to read the time without submitting a job
11:22cylm has joined #asahi-gpu
11:25mikelee has joined #asahi-gpu
11:26mikelee has quit [Remote host closed the connection]
11:26mikelee has joined #asahi-gpu
11:30mikelee has quit [Remote host closed the connection]
11:35erso has quit [Ping timeout: 480 seconds]
11:43erso has joined #asahi-gpu
11:45Z750 has quit [Quit: Ping timeout (120 seconds)]
11:45Z750 has joined #asahi-gpu
11:47mikelee has joined #asahi-gpu
11:49mikelee has quit [Remote host closed the connection]
11:58ourdumbfuture has joined #asahi-gpu
12:00mikelee has joined #asahi-gpu
12:02mikelee has quit [Remote host closed the connection]
12:02linarosefromthedead: It's the same as the CPU time, I've been meaning to add an ioctl to grab that
12:03rosefromthedeadoh wow
12:03rosefromthedeadi guess that makes life easier
12:03linaThere 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
12:04rosefromthedeadwhat's the advantage of that? is it faster to get CLOCK_MONOTONIC?
12:06linaYes, that goes through vdso and I think that directly reads the counter from userspace outright
12:07linaWhich... I guess we could just do anyway? Though I need to check whether Linux guarantees that access is always enabled
12:07linaThe problem is that won't work from an emulated x86 environment, we need an ioctl or gettimeofday for that
12:07rosefromthedeadright
12:08rosefromthedeadwait you've lost me
12:08rosefromthedeaddo vdso calls not break out of x86 and call the native vdso?
12:09rosefromthedeadahhh yeah
12:09rosefromthedeadi see
12:11rosefromthedeaderr, maybe i don't, i thought gl drivers were also native in fex and box
12:11j`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)
12:11linaThey *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.
12:13mikelee has joined #asahi-gpu
12:13linaj`ey: Problem is we can't use any internal APIs here, we need to go through the official entrypoints...
12:14j`eyI was just confirming the 'I think that directly reads the counter from userspace outright'
12:17ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
12:20mikelee has quit [Remote host closed the connection]
12:20ourdumbfuture has joined #asahi-gpu
12:21mikelee_ has joined #asahi-gpu
12:30linarosefromthedead, 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
12:40mikelee_ has quit [Remote host closed the connection]
12:49hightower2 has joined #asahi-gpu
12:50mikelee has joined #asahi-gpu
12:59mikelee has quit [Remote host closed the connection]
13:00mikelee has joined #asahi-gpu
13:05mikelee has quit [Remote host closed the connection]
13:05mikelee has joined #asahi-gpu
13:15mikelee has quit [Remote host closed the connection]
13:15mikelee has joined #asahi-gpu
13:19mikelee has quit [Remote host closed the connection]
13:20mikelee has joined #asahi-gpu
13:21ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
13:28mikelee has quit [Remote host closed the connection]
13:28mikelee has joined #asahi-gpu
13:32ourdumbfuture has joined #asahi-gpu
13:40ourdumbfuture has quit [Ping timeout: 480 seconds]
13:42ayke has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
13:43ourdumbfuture has joined #asahi-gpu
13:47ayke has joined #asahi-gpu
15:00fenix144 has joined #asahi-gpu
15:04ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
15:08fenix144 has quit [Remote host closed the connection]
15:45mikelee has quit [Remote host closed the connection]
15:45mikelee has joined #asahi-gpu
15:46mrhh has joined #asahi-gpu
15:47mikelee_ has joined #asahi-gpu
15:47mikelee has quit [Read error: Connection reset by peer]
15:47mikelee has joined #asahi-gpu
15:52mikelee has quit [Remote host closed the connection]
15:55mikelee_ has quit [Ping timeout: 480 seconds]
16:05mrhh has quit [Ping timeout: 480 seconds]
16:07possiblemeatball has joined #asahi-gpu
16:08mrhh has joined #asahi-gpu
16:10erso has quit [Quit: leaving]
16:17possiblemeatball has quit [Quit: Quit]
16:40abd has joined #asahi-gpu
16:42mikelee has joined #asahi-gpu
16:50darkapex has joined #asahi-gpu
16:58abd has quit [Ping timeout: 480 seconds]
16:58ourdumbfuture has joined #asahi-gpu
16:58mrhh has quit [Ping timeout: 480 seconds]
16:58mikelee has quit [Remote host closed the connection]
17:16ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
17:20ourdumbfuture has joined #asahi-gpu
17:28hightower2 has quit [Ping timeout: 480 seconds]
17:28abd has joined #asahi-gpu
17:44Guest6081 has quit [Quit: Bridge terminating on SIGTERM]
17:44rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
17:48rhysmdnz has joined #asahi-gpu
17:48Jamie has joined #asahi-gpu
17:48Jamie is now known as Guest6167
17:51abd has quit [Ping timeout: 480 seconds]
18:07hightower2 has joined #asahi-gpu
18:10WindowPa- has joined #asahi-gpu
18:13WindowPain has quit [Ping timeout: 480 seconds]
18:45phire has quit [Remote host closed the connection]
18:47phire has joined #asahi-gpu
19:57abd has joined #asahi-gpu
20:37LinuxM1 has joined #asahi-gpu
21:11LinuxM1 has quit [Quit: Leaving]
21:26ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
21:27ourdumbfuture has joined #asahi-gpu
21:43abd has quit [Ping timeout: 480 seconds]
21:50abd has joined #asahi-gpu
22:03ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
22:05ourdumbfuture has joined #asahi-gpu
22:18abd has quit [Ping timeout: 480 seconds]
22:44nsklaus has quit [Ping timeout: 480 seconds]
23:09crabbedhaloablut has quit []
23:12c10l5 has quit []
23:21c10l5 has joined #asahi-gpu
23:25fenix144 has joined #asahi-gpu
23:31fenix144 has quit [Remote host closed the connection]