ChanServ changed the topic of #etnaviv to: #etnaviv - the home of the reverse-engineered Vivante GPU driver - Logs https://oftc.irclog.whitequark.org/etnaviv
Leopold_ has quit []
JohnnyonFlame has quit [Ping timeout: 480 seconds]
pjakobsson has joined #etnaviv
frieder has joined #etnaviv
lynxeye has joined #etnaviv
<pH5> According to compute_version(), we are missing GLSLVersion >= 130, MaxColorAttachments >= 4, ARB_depth_buffer_float, ARB_texture_float, ARB_texture_rg, EXT_draw_buffers2, EXT_framebuffer_sRGB, EXT_transform_feedback, and NV_conditional_render for OpenGL ES 3.0, at least on GC3000.
<mntirc> pH5: thx!
pcercuei has joined #etnaviv
<lynxeye> mntirc: To debug the broken kicad rendering with TS sharing: could you attach gdb to xwayland and see if you hit glamor_egl_fd_from_pixmap?
<lynxeye> From reading the code it seems broken and might be the culprit, but I want to avoid chasing ghosts.
<mntirc> ok, i'll try!
<mntirc> lynxeye: as far as i can see it is not hit
<lynxeye> mntirc: Okay thanks. That rules out one theory, I'll keep looking.
<mntirc> lynxeye: i'm testing a bit with xgc. Copy Plane test makes things go really bad after it has run, for example
<mntirc> Copy Area too, as soon as there is a bit unset in "planemask"
<mntirc> lynxeye: the Copy Area test runs in 0.06 if the planemask is fully set (i.e. there is no mask). as soon as there is a mask bit, everything gets super slow and something is messed up in the gpu pipeline
<mntirc> same for Filled Rectangles test. so the problem has to do with masks.
<lynxeye> With the TS sharing we are apparently back at the "something doesn't take compression into account stage". Basically the sequence is something like 1. glClear makes TS valid 2. Something is rendered 3. glFlush 4. something samples from the rendered resource.
<lynxeye> Without TS sharing we'll decompress the resource at step 3, with TS sharing we skip the decompression and expect step 4 to take the compression into account and take appropriate action.
<mntirc> i see
<mntirc> it's not the planemask in the applications (eeschema from kicad, for example) case. i made glamor_pm_is_solid return true always; this "fixes" the xgc test but not the corruption in apps. so it's something else.
<lynxeye> This is probably the same things that caused https://gitlab.freedesktop.org/xorg/xserver/-/issues/941. https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7603 just hid it due to decompression happening reliably at glFlush now. With TS sharing we try to avoid the overhead caused by decompression, but it seems that somewhere before step 4 the info is lost that the resource is still compressed.
<mntirc> as a sanity check i will remove my +glFlush() from glamor_render.c
<mntirc> (doesn't fix things... but it might also not be needed anymore)
mvlad has joined #etnaviv
JohnnyonFlame has joined #etnaviv
Leopold_ has joined #etnaviv
pjakobsson has quit [Ping timeout: 480 seconds]
pjakobsson has joined #etnaviv
frieder has quit [Remote host closed the connection]
JohnnyonFlame has quit [Ping timeout: 480 seconds]
JohnnyonFlame has joined #etnaviv
Leopold_ has quit []
Leopold_ has joined #etnaviv
lynxeye has quit [Quit: Leaving.]
Leopold_ has quit []
Leopold_ has joined #etnaviv
mvlad has quit [Remote host closed the connection]
JohnnyonF has joined #etnaviv
Leopold_ has quit [Remote host closed the connection]
Leopold_ has joined #etnaviv
JohnnyonFlame has quit [Ping timeout: 480 seconds]
pcercuei has quit [Quit: dodo]