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
stikonas_ has quit [Remote host closed the connection]
stikonas has joined #panfrost
stikonas has quit [Remote host closed the connection]
vstehle has quit [Ping timeout: 256 seconds]
<icecream95> HdkR: Anything using glsl crashes with ubsan
<icecream95> ../src/compiler/glsl/ast_to_hir.cpp:2251:4: runtime error: member access within address 0x0111bef4 which does not point to an object of type 'ast_node'
<HdkR> ooo, fun
yann has quit [Ping timeout: 240 seconds]
yann has joined #panfrost
<alyssa> Okay, got connectivity sorted out, so I think I can do proper development now
jernej has quit [Ping timeout: 252 seconds]
nerdboy has quit [Ping timeout: 265 seconds]
jernej has joined #panfrost
davidlt has joined #panfrost
nerdboy has joined #panfrost
vstehle has joined #panfrost
buzzmarshall has quit [Remote host closed the connection]
<tomeu> Lyude: it could be great if you could see why we have such stability issues on the n2
<tomeu> basically, the first job after the GPU is powered on often fails with 3 different possible errors, at random
<tomeu> the kbase used in boards with s922x has some hacks to account for a different reset sequence, but after applying the same to panfrost, we still have that unstability
<tomeu> otherwise, I guess there's lots of compiler and disassembler work that would be great to do at this stage and that don't depend on hw
chewitt has joined #panfrost
<narmstrong> I’ll try to find some time to reproduce this on the vim3 (g51) and vim3l (g32) to be sure it’s not specific to the n2
<narmstrong> tomeu: what do you use to send jobs to panfrost ? Do you have an initial mesa fork with working jobs ?
<tomeu> narmstrong: yes, but alyssa added tests to igt that reproduce it
<tomeu> let me find the MR
<tomeu> that will be probably more comfortable
alyssa has quit [Ping timeout: 265 seconds]
<narmstrong> Nice thx
warpme_ has joined #panfrost
<tomeu> yw, curious to see what you find :)
<tomeu> Lyude: oh, and I guess it would be great as well if you could help with reviews of alyssa's compiler work
raster has joined #panfrost
icecream95 has quit [Ping timeout: 265 seconds]
stikonas has joined #panfrost
tomboy64 has quit [Remote host closed the connection]
tomboy64 has joined #panfrost
cwabbott_ has joined #panfrost
cwabbott has quit [Ping timeout: 265 seconds]
cwabbott_ is now known as cwabbott
nerdboy has quit [Ping timeout: 256 seconds]
swiftgeek has joined #panfrost
<swiftgeek> would panfrost work with weston8.0 / linux 5.5 / mesa 20.0 ?
stikonas has quit [Remote host closed the connection]
<daniels> swiftgeek: yep it does!
stikonas has joined #panfrost
<swiftgeek> i have slightly different experience on rk3288 / c201pa / veyron speedy / eDP 1366x768 panel
<swiftgeek> with error : weston: ../weston-8.0.0/libweston/renderer-gl/egl-glue.c:533: gl_renderer_setup_egl_extensions: Assertion `gr->set_damage_region' failed.
<daniels> swiftgeek: yeah, I think that's a Mesa bug - if you're able to recompile Mesa, try https://static.fooishbar.org/0001-EGL-Add-eglSetDamageRegionKHR-to-GLVND-dispatch-list.patch
<swiftgeek> not sure if running kmscube proves something mesa wise but that works
mixfix411 has joined #panfrost
<daniels> yeah, it just doesn't use that extension
<daniels> if you can rebuild Mesa then that patch _should_ fix it, else you can just hack Weston to not test for EGL_KHR_partial_update
<swiftgeek> works with that patch
<daniels> \o/
<swiftgeek> would that go into 20.0.3 ?
<daniels> hopefully!
<swiftgeek> thx
<daniels> np
alyssa has joined #panfrost
robmur01_ has quit [Ping timeout: 258 seconds]
robmur01_ has joined #panfrost
raster has quit [Quit: Gettin' stinky!]
robmur01_ has quit [Ping timeout: 265 seconds]
<narmstrong> tomeu: alyssa: are these the errors you see on the N2 ? https://termbin.com/s22z
<narmstrong> all the build/tests/panfrost_write jobs should work, right ?
buzzmarshall has joined #panfrost
robmur01_ has joined #panfrost
<alyssa> narmstrong: Yes and yes respectively
<alyssa> On other bifrost, panfrost_write passes 100% of the time
<alyssa> on meson, it sometimes passes and sometimes raises those faults
nerdboy has joined #panfrost
yann has quit [Ping timeout: 265 seconds]
mias has joined #panfrost
yann has joined #panfrost
<robher> alyssa: which chip/bifrost is it working on?
<alyssa> robher: RK3326 (I think?)
<alyssa> Mali G31 at any rate
<mmind00> alyssa: correct ... rk3326, whch is essentially a slightly cut down Rockchip px30
<alyssa> Wee
<alyssa> Meanwhile, I'm writing... tests..
<alyssa> ....voluntarily
<alyssa> *gasp*
Miouyouyou has joined #panfrost
leper` has left #panfrost [#panfrost]
robmur01_ has quit [Ping timeout: 250 seconds]
robert_ancell has joined #panfrost
davidlt has quit [Ping timeout: 240 seconds]
Miouyouyou has quit [Quit: Leaving]
mias has quit [Ping timeout: 256 seconds]
icecream95 has joined #panfrost
robert_ancell has quit [Quit: Leaving]
robert_ancell has joined #panfrost
robmur01_ has joined #panfrost
gtucker has quit [*.net *.split]
rtp has quit [*.net *.split]
HdkR has quit [*.net *.split]
robmur01_ has quit [Ping timeout: 265 seconds]
<alyssa> totally not my fault. um.
<robher> alyssa: humm...
<alyssa> robher: Admitedly I was. uhm. Unintentionally soak testing?
<alyssa> and by that I mean accidentally hammering it with thousands of jobs raising faults per second, accidentally, um
<robher> Oh, well don't do that. :)
<alyssa> thanks
robmur01_ has joined #panfrost
<robher> opening and closing the fd?
<alyssa> (Note that doesn't require elevated permissions beyond what opengl needs, and the GPU doesn't come back up after without a reboot. So still a local DoS risk.)
<robher> My guess would be something related to bdefca2d8dc0 ("drm/panfrost: Add the panfrost_gem_mapping concept")
<alyssa> Perhaps
<alyssa> Not sure what kernel I'm on exactly (tom?)
<alyssa> uh tab complete, tomeu ^^
<robher> 5.6-rc5 which should have everything.
<alyssa> 5.6.0-rc5ccu-00026-g2cef95349b7e-dirty
<robher> plus 26 commits and dirty, so...
<alyssa> oh I didn't even notice that was in the log
rtp has joined #panfrost
HdkR has joined #panfrost
robmur01_ has quit [Ping timeout: 256 seconds]
<robher> That way we can blame users for their kernel modifications and tell them it's their fault. :)
<alyssa> Makes sense
MistahDarcy has joined #panfrost
<robher> alyssa: can you disassemble panfrost.ko? And add some WARNs for any of the pointers we deref in panfrost_mmu_unmap()
MistahDarcy has quit [Quit: Leaving]
stikonas has quit [Remote host closed the connection]
buzzmarshall has quit [Remote host closed the connection]