I just remember that I have a similar issue pending.
I have two pairs of nearly identical boards, but with different processors.
I think it is STM32F407VET6 and STM32F407VGT6 and STM32F103VE and STM32F103VG.
The VE versions work with GxTFT, but the VG don't (yet).
But I put them aside and don't have it at hand right now.
I do have some STM32F767, but not used yet.
This just to say there may be subtle differences, maybe with alternate functions.