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.