#
#asahi-gpu · 2024-02-16 03:53
chergerthonestly, unless you're over 1000 fds poll() is probably faster anyway
#asahi-gpu · 2024-02-16 03:52
i509vcbI'll probably be able to meet the frame budget for 240Hz easily even with epoll
#asahi-gpu · 2024-02-16 03:52
i509vcbepoll/kqueue is probably fine enough for me
#asahi-gpu · 2024-02-16 03:51
chergertneat stuff you could never make work 10 years ago w/ epoll
#asahi-gpu · 2024-02-16 03:51
chergertbut 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
#asahi-gpu · 2024-02-16 03:51
chergertbetter than having to maintain an entire futures/fiber library like i did
#asahi-gpu · 2024-02-16 03:49
i509vcbchergert: 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
#asahi-gpu · 2024-02-16 03:45
chergertno luck from compiling mesa w/ asan at least, time to add the rest
#asahi-gpu · 2024-02-16 03:30
chergertthe nice thing about async/await in C is you can finally gdb across segmented stacks
#asahi-gpu · 2024-02-16 03:23
i509vcb(I don't know why I like doing these frankly insane projects)
#asahi-gpu · 2024-02-16 03:23
i509vcband then put in the killing blow by doing async rust as well for that...
#asahi-gpu · 2024-02-16 03:21
i509vcbgpu 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
#asahi-gpu · 2024-02-16 03:18
alyssa:D
#asahi-gpu · 2024-02-16 03:11
chergertthe 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
#asahi-gpu · 2024-02-16 03:11
alyssai gotchu
#asahi-gpu · 2024-02-16 03:11
chergertalready on it, just waiting heh
#asahi-gpu · 2024-02-16 03:09
alyssavalgrind, maybe?
#asahi-gpu · 2024-02-16 03:09
alyssasuspects shenanigans
#asahi-gpu · 2024-02-16 03:09
alyssaHm.
#asahi-gpu · 2024-02-16 03:08
chergerti get a bunch of 8 >= 8, then a single 11 >= 11, then the crashing, 0 >= 11
#asahi-gpu · 2024-02-16 03:06
alyssathe weird part to me is just that iris is fine
#asahi-gpu · 2024-02-16 03:05
alyssathx
#asahi-gpu · 2024-02-16 03:05
chergertsure, one sec
#asahi-gpu · 2024-02-16 03:04
alyssachergert: right before the assert can yo printf the pt->last_level and the lastLevel?
#asahi-gpu · 2024-02-16 03:04
alyssaunless it's transfer helper related maybe
#asahi-gpu · 2024-02-16 03:03
alyssaI have no clue how that common code would fail on asaahi but pass on iris
#asahi-gpu · 2024-02-16 02:35
chergertadded a gdb backtrace at least
#asahi-gpu · 2024-02-16 02:33
chergertmaybe it's getting dropped from buffering + crash
#asahi-gpu · 2024-02-16 02:32
chergertalyssa: is there a way to force apitrace to write synchronously?
#asahi-gpu · 2024-02-16 01:41
alyssachergert: no dice, the replay still doesn't repro
#asahi-gpu · 2024-02-16 01:40
alyssathx
#asahi-gpu · 2024-02-16 01:32
chergertuploaded to #38
#asahi-gpu · 2024-02-16 01:28
chergertalyssa: sorry for the delay, will do so quick
#asahi-gpu · 2024-02-16 00:42
alyssacross-driver apitraces are a little bit spicy but should be ok here
#asahi-gpu · 2024-02-16 00:42
alyssacan you try getting the apitrace from the intel (iris) ?
#asahi-gpu · 2024-02-16 00:42
alyssaoh, because it crashed I assume
#asahi-gpu · 2024-02-16 00:41
alyssaapitrace replay ~/Downloads/epiphany.trace
#asahi-gpu · 2024-02-16 00:41
alyssachergert: trace doesn't replay properly
#asahi-gpu · 2024-02-16 00:40
alyssathx
#asahi-gpu · 2024-02-16 00:18
chergertalyssa: https://gitlab.freedesktop.org/asahi/mesa/-/issues/38 hope that's the right place to report!
#asahi-gpu · 2024-02-16 00:15
alyssafor gles
#asahi-gpu · 2024-02-16 00:15
alyssaapitrace trace -a egl
#asahi-gpu · 2024-02-16 00:11
chergert(it prefers GLES iirc to ensure support for DMA-BUF importing)
#asahi-gpu · 2024-02-16 00:10
chergertthankfully same error with GL too
#asahi-gpu · 2024-02-16 00:10
chergertoh, i think i need to force GL instead of GLES
#asahi-gpu · 2024-02-16 00:07
alyssathanks
#asahi-gpu · 2024-02-16 00:07
chergertsure, ill record one
#asahi-gpu · 2024-02-16 00:07
chergertwhat i do notice is that it's when using webkit here, which uses a gl texture to pass data to GTK
#asahi-gpu · 2024-02-16 00:07
alyssaplease send an apitrace
#asahi-gpu · 2024-02-16 00:06
chergertbut 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

plus ›