All development was done on the pi itself which is kind of cool!
Meson config arguments
meson --prefix /home/pi/local-install --libdir lib -Dplatforms=x11 -Dvulkan-drivers=broadcom -Ddri-drivers= -Dgallium-drivers=v3d,vc4,kmsro,swrast -Dgallium-nine=true -Dbuildtype=debug _build .
Command to run Xnine example
NINE_DEBUG=warn MESA_DEBUG=1 V3D_DEBUG=warn DRI_PRIME=1 ./triangle_SDL
I've never worked on MESA before and I probably don't have nearly enough context on everything that is going on to even be attempting this
NINE_DEBUGflag does not seem to do anything - Was a set of string options
DRI_PRIMEflag the application tries to use the VC4 driver instead of V3D - VC4 and kmsro resolved this
dri3 fails every time on
xcb_dri3_pixmap_from_buffer_checked- trace included trace.txt - was related to not setting up VC4 correctly
is skipping surface creation correct on empty frame buffer -> the driver seems to assume there will always be 4?
emit_storesbroken because we only have 1 frame buffer or is it unrelated - I need to do a lot of reading to get up to speed - pointers welcome