#
…

2024-02-16

00:01alyssathat sounds vaguely familiar but I don't remember why
00:02alyssachergert: does it happen with non-asahi mesa drivers?
00:02alyssa(intel, amd?)
00:04chergertalyssa: it works on intel Arc and iGPU it looks like here
00:05ciara has joined #asahi-gpu
00:05chergertthe older renderer which i worked on in GTK works fine, it's just our new one (which admitadly pushes things much harder to do more dmabuf stuff)
00:06chergertbut if you want an "easy" way to test, build GTK from source, and run epiphany with that. "show overview" (ctrl+shift+o) should expose it
00:07alyssaplease send an apitrace
00:07chergertwhat i do notice is that it's when using webkit here, which uses a gl texture to pass data to GTK
00:07chergertsure, ill record one
00:10chergertoh, i think i need to force GL instead of GLES
00:10chergertthankfully same error with GL too
00:11adewart has quit [Remote host closed the connection]
00:11chergert(it prefers GLES iirc to ensure support for DMA-BUF importing)
00:15alyssaapitrace trace -a egl
00:15alyssafor gles
00:18chergertalyssa: https://gitlab.freedesktop.org/asahi/mesa/-/issues/38 hope that's the right place to report!
00:22wrender has joined #asahi-gpu
00:37wrender has quit [Ping timeout: 480 seconds]
00:41alyssachergert: trace doesn't replay properly
00:41alyssaapitrace replay ~/Downloads/epiphany.trace
00:42alyssaoh, because it crashed I assume
00:42alyssacan you try getting the apitrace from the intel (iris) ?
00:42alyssacross-driver apitraces are a little bit spicy but should be ok here
01:07chergert has quit [Quit: chergert]
01:28chergert has joined #asahi-gpu
01:28chergertalyssa: sorry for the delay, will do so quick
01:32chergertuploaded to #38
01:41alyssachergert: no dice, the replay still doesn't repro
02:00KxCORP has quit [Quit: Bye!]
02:00KxCORP has joined #asahi-gpu
02:11al3xtjames has quit [Quit: al3xtjames]
02:12wrender has joined #asahi-gpu
02:12al3xtjames has joined #asahi-gpu
02:24opticron has quit [Read error: Connection reset by peer]
02:24opticron has joined #asahi-gpu
02:32chergertalyssa: is there a way to force apitrace to write synchronously?
02:33chergertmaybe it's getting dropped from buffering + crash
02:35chergertadded a gdb backtrace at least
03:03alyssaI have no clue how that common code would fail on asaahi but pass on iris
03:04alyssaunless it's transfer helper related maybe
03:04alyssachergert: right before the assert can yo printf the pt->last_level and the lastLevel?
03:05chergertsure, one sec
03:06alyssathe weird part to me is just that iris is fine
03:08chergerti get a bunch of 8 >= 8, then a single 11 >= 11, then the crashing, 0 >= 11
03:09* alyssasuspects shenanigans
03:09alyssavalgrind, maybe?
03:11chergertalready on it, just waiting heh
03:11alyssai gotchu
03:11chergertthe thing i love about doing GPU for toolkits is that even when its slow to valgrind, it's 100x faster than it was doing pixman in a trenchcoat for the past 20 years
03:21i509vcbgpu also means I can do frankly dumb things like write a wayland compositor that's almost entirely gpu driven because why not do stuff that makes no sense on the gpu on the gpu
03:23i509vcband then put in the killing blow by doing async rust as well for that...
03:23i509vcb(I don't know why I like doing these frankly insane projects)
03:30chergertthe nice thing about async/await in C is you can finally gdb across segmented stacks
03:37john-cabaj has quit [Remote host closed the connection]
03:37john-cabaj has joined #asahi-gpu
03:45chergertno luck from compiling mesa w/ asan at least, time to add the rest
03:48chergert has quit [Quit: chergert]
03:49chergert has joined #asahi-gpu
03:49i509vcbchergert: although since I wanted to avoid a hard dep on tokio (smol is actually quite helpful to have around) I have to resort to some hand written future implementations... https://codeberg.org/i509vcb/aerugo/src/branch/master/crates/aerugo/src/lib.rs#L551-L619
03:51chergertbetter than having to maintain an entire futures/fiber library like i did
03:51chergertbut i did learn something super cool in the process, you can use io_uring now + eventfd semaphores to do global work queues and only wake up a single worker
03:51chergertneat stuff you could never make work 10 years ago w/ epoll
03:52i509vcbepoll/kqueue is probably fine enough for me
03:52i509vcbI'll probably be able to meet the frame budget for 240Hz easily even with epoll
03:53chergerthonestly, unless you're over 1000 fds poll() is probably faster anyway
03:53i509vcbwayland compositors generally sleep the vast majority of the time anyways
03:54chergert has left #asahi-gpu [Good Bye]
03:54chergert has joined #asahi-gpu
03:57chergerti think the valuable thing about something like io_uring in the context of a compositor is that you could make your normal "for every client write this little message" thing do a single context switch
03:57i509vcbI don't have access to the underlying client buffers unfortunately
03:58i509vcblibwayland-server doesn't give you those and wayland-rs can't expose the buffers without some compat footgun
03:58i509vcbshort of writing a library to speak the wire protocol, but that's honestly more involved than I want to go
04:01chergerti probably need to do some surgery for the client side for GTK soon, because when I profile we waste so much time going through generic FFI marshalling too
04:01chergertalways work to do
04:02chergertas soon as i asan most my things, webkit stops working
04:03john-cabaj has quit [Ping timeout: 480 seconds]
04:48marvin24_ has joined #asahi-gpu
04:51marvin24 has quit [Ping timeout: 480 seconds]
05:13possiblemeatball has quit [Quit: Quit]
05:20wrender has quit [Ping timeout: 480 seconds]
05:33DarkShadow4444 has quit [Quit: ZNC - https://znc.in]
05:36DarkShadow44 has joined #asahi-gpu
06:23chergert has quit [Quit: chergert]
08:38kidplayer666 has joined #asahi-gpu
08:38opticron has quit [Read error: Connection reset by peer]
08:43opticron has joined #asahi-gpu
08:44anders__2 has joined #asahi-gpu
08:51anders_2 has quit [Ping timeout: 480 seconds]
09:43grange_c6887 has joined #asahi-gpu
10:15kujeger has quit [Remote host closed the connection]
10:49kujeger has joined #asahi-gpu
11:44wrender has joined #asahi-gpu
11:52wrender has quit [Ping timeout: 480 seconds]
12:50jcajka has joined #asahi-gpu
13:25minecrell has quit [Quit: Ping timeout (120 seconds)]
13:28dylanchapell has quit [Read error: Connection reset by peer]
13:34minecrell has joined #asahi-gpu
13:36DarkShadow4444 has joined #asahi-gpu
13:42DarkShadow44 has quit [Ping timeout: 480 seconds]
13:57possiblemeatball has joined #asahi-gpu
14:05c10l has quit [Read error: Connection reset by peer]
14:06c10l has joined #asahi-gpu
14:27adewart has joined #asahi-gpu
14:30dylanchapell has joined #asahi-gpu
14:50john-cabaj has joined #asahi-gpu
15:40chergert has joined #asahi-gpu
15:40chergert has quit []
15:43Guest2890 has quit [Quit: Bridge terminating on SIGTERM]
15:43rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
15:45rhysmdnz has joined #asahi-gpu
15:46Jamie has joined #asahi-gpu
15:46Jamie is now known as Guest3019
15:58anders_2 has joined #asahi-gpu
16:06anders__2 has quit [Ping timeout: 480 seconds]
16:27chergert has joined #asahi-gpu
16:31c10l has quit [Quit: Ping timeout (120 seconds)]
16:31c10l has joined #asahi-gpu
16:35chergert has quit [Quit: chergert]
16:57kidplayer666 has quit [Quit: Connection closed for inactivity]
17:03adewart has quit [Remote host closed the connection]
17:10john-cabaj has quit [Remote host closed the connection]
17:20john-cabaj has joined #asahi-gpu
17:20kidplayer666 has joined #asahi-gpu
17:23john-cabaj has quit [Remote host closed the connection]
17:34alyssa has quit [Quit: alyssa]
17:36john-cabaj has joined #asahi-gpu
18:33as400 has quit [Quit: ZNC - https://znc.in]
18:33as400 has joined #asahi-gpu
18:52wrender has joined #asahi-gpu
18:57jeisom has quit [Ping timeout: 480 seconds]
19:13wrender has quit [Ping timeout: 480 seconds]
19:18john-cabaj has quit [Quit: john-cabaj]
19:18john-cabaj has joined #asahi-gpu
19:21as400 has quit [Quit: ZNC - https://znc.in]
19:22wrender has joined #asahi-gpu
19:22as400 has joined #asahi-gpu
19:33wrender has quit [Ping timeout: 480 seconds]
19:40cy8aer has quit [Remote host closed the connection]
19:40jcajka has quit [Remote host closed the connection]
19:41wrender has joined #asahi-gpu
19:51cy8aer has joined #asahi-gpu
19:55balrog has quit [Quit: Bye]
19:58Lyude has quit [Quit: Bouncer restarting]
19:59Lyude has joined #asahi-gpu
19:59balrog has joined #asahi-gpu
20:20possiblemeatball has quit [Quit: Quit]
20:47HardWall has joined #asahi-gpu
20:49wrender has quit [Ping timeout: 480 seconds]
20:56possiblemeatball has joined #asahi-gpu
20:58wrender has joined #asahi-gpu
21:06wrender has quit [Ping timeout: 480 seconds]
21:15wrender has joined #asahi-gpu
21:25mkurz_ has quit [Ping timeout: 480 seconds]
21:32wrender has quit [Ping timeout: 480 seconds]
21:41wrender has joined #asahi-gpu
21:42flom84 has joined #asahi-gpu
21:54wrender has quit [Ping timeout: 480 seconds]
22:03wrender has joined #asahi-gpu
22:12jeisom has joined #asahi-gpu
22:33hightower2 has joined #asahi-gpu
22:46flom84 has quit [Ping timeout: 480 seconds]
23:11wrender has quit [Ping timeout: 480 seconds]
23:18fossdd has quit [Ping timeout: 480 seconds]
23:18fossdd has joined #asahi-gpu
23:20wrender has joined #asahi-gpu
23:26chergert has joined #asahi-gpu
23:36wrender has quit [Ping timeout: 480 seconds]
23:38wrender has joined #asahi-gpu
23:40Retr0id has quit [Read error: No route to host]
23:41Retr0id has joined #asahi-gpu
23:52lawrence has joined #asahi-gpu
…