alyssa changed the topic of #panfrost to: Panfrost - FLOSS Mali Midgard & Bifrost - Logs https://freenode.irclog.whitequark.org/panfrost - <daniels> avoiding X is a huge feature
raster has quit [Quit: Gettin' stinky!]
MastaG has quit [Quit: Ping timeout (120 seconds)]
MastaG has joined #panfrost
stikonas has quit [Remote host closed the connection]
<alyssa> tomeu: for later, once cmdstream work starts for real
<alyssa> I'm wondering if the best way to handle arch differences is with quirks
<alyssa> Instead of just the coarse "quirk & BIFROST" or "quirk & MIDGARD"
<alyssa> having quirks at a slightly more granular level, e.g. a quirk for requiring a full FBD instead of just mali_shared_memory on v/t jobs (for midgard)
<alyssa> OTOH we really do need an is_bifrost flag, if nothing else to know which compiler to invoke. So YMMV.
<alyssa> (see top commit on alyssa/bit-plus)
vstehle has quit [Ping timeout: 260 seconds]
jernej has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
jernej has joined #panfrost
davidlt has joined #panfrost
buzzmarshall has quit [Read error: Connection reset by peer]
icecream95 has quit [Ping timeout: 250 seconds]
icecream95 has joined #panfrost
tomboy64 has quit [Ping timeout: 240 seconds]
vstehle has joined #panfrost
icecream95 has quit [Ping timeout: 240 seconds]
icecream95 has joined #panfrost
tomboy64 has joined #panfrost
<tomeu> alyssa: I think we'll get a clearer idea as we go and learn more
cwabbott has quit [Ping timeout: 272 seconds]
cwabbott has joined #panfrost
mixfix41 has joined #panfrost
tgall_foo has quit [Ping timeout: 264 seconds]
Yardanico has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Yardanico has joined #panfrost
Yardanico has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Yardanico has joined #panfrost
Yardanico has quit [Client Quit]
Yardanico has joined #panfrost
Yardanico has quit [Client Quit]
raster has joined #panfrost
icecream95 has quit [Ping timeout: 265 seconds]
raster has quit [Quit: Gettin' stinky!]
stikonas has joined #panfrost
jernej has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
jernej has joined #panfrost
jernej has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
jernej has joined #panfrost
_whitelogger has joined #panfrost
raster has joined #panfrost
<alyssa> tomeu: fair enough :)
raster has quit [Quit: Gettin' stinky!]
raster has joined #panfrost
TheKit has joined #panfrost
<tomeu> alyssa narmstrong robmur01 robher: today I spent some time getting register dumps from kbase and panfrost and comparing them: https://gitlab.freedesktop.org/tomeu/linux/-/commit/dcee6a84d5af74c5e3cded8c3afff9013d844875
<tomeu> though I found some interesting differences, I didn't really got to make it fully stable
<tomeu> it got much better with lots of printks, but I wasn't able to find out what exactly would need to happen slower to get things working
<tomeu> if you look at the traces, maybe you will get some ideas?
<tomeu> the problems seem to happen only when executing the first job right after coming up from runtime suspend
<robher> tomeu: I would try to eliminate/minimize doing any external (to mali) resets or power mgt.
<narmstrong> interesting, thx for the dump !
TheKit has quit [Ping timeout: 265 seconds]
tgall_foo has joined #panfrost
TheKit has joined #panfrost
TheKit has quit [Ping timeout: 240 seconds]
TheKit has joined #panfrost
buzzmarshall has joined #panfrost
<alyssa> tomeu: Interesting
<alyssa> nothing jumps out to me as obviously wrong but then again the bug could be arbitrarily subtle :(
<alyssa> and, uh, kbase/meson has a lot of inexplicable udelays. so there is that.
mixfix41 has quit [Ping timeout: 265 seconds]
mixfix41 has joined #panfrost
raster has quit [Quit: Gettin' stinky!]
Yardanico has joined #panfrost
raster has joined #panfrost
macc24 has joined #panfrost
<macc24> are compute shaders supported?
<alyssa> macc24: officially or unofficially?
tomboy64 has quit [Ping timeout: 240 seconds]
<macc24> alyssa: i don't care
<macc24> if it runs compute shadersw
<macc24> * as long as it runs compute shadersw
tomboy64 has joined #panfrost
<macc24> alyssa: well i am developing a raycasting renderer, and i want to know if i can make it run on compute shaders on asus c201p
<alyssa> macc24: uhm, YMMV I guess
<alyssa> Right now, there's very basic support for compute shaders
<alyssa> (through GLES 3.1)
<alyssa> [there is *not* OpenCL support]
<alyssa> SSBOs are supported for I/O, barriers mostly work
<macc24> can it calculate multiplication, addition, subtraction and maybe trigonometry?
<alyssa> Of course :)
<alyssa> Images and atomics are *not* supported yet
<macc24> then my raycaster can run on compute
<alyssa> so if you're code depends on those it won't work yet. afraid I don't have a good roadmap for when those will be done
<macc24> my code is mostly basic math operations
<alyssa> You'll need to set the environmental variables `PAN_MESA_DEBUG=deqp MESA_GLES_VERSION_OVERRIDE=3.1` to expose the hidden support
<macc24> on cpu in my thonkpad it runs at 160fps
<macc24> so it should run on compute shaders a lot faster
<alyssa> good luck :)
<macc24> heres code if you want to look at it https://github.com/Maccraft123/love2d-raycaster
<macc24> i know, it will take some programming to make it run on compute, but basic algorhitm is somewhat done
<alyssa> :)
<alyssa> Just make sure you use SSBOs for input/output, instead of images
<alyssa> (unless you want to dive into driver hacking to implement images :P)
<macc24> if it ran on images, it can mostly run on gpu
<alyssa> hm?
<macc24> well most of code can be easily made to multithread
<macc24> and only movement + some basic init would need to run on cpu if my understanding is correct
<macc24> oh, and is square root of variable supported?
davidlt has quit [Ping timeout: 264 seconds]
tomboy64 has quit [Remote host closed the connection]
tomboy64 has joined #panfrost
yann has quit [Ping timeout: 258 seconds]
<alyssa> yes :)
<macc24> then my code will have no problems running on compute shader on panfrost gpu
<alyssa> You will need to rewrite with OpenGL ES though :)
raster has quit [Quit: Gettin' stinky!]
<macc24> nah
<macc24> i will need to rewrite it to c anyway
icecream95 has joined #panfrost
macc24 has quit [Quit: WeeChat 2.7.1]
warpme_ has quit [Quit: Connection closed for inactivity]