How can I fix it? The problem is only with t-rex, with any pool, any bat, other miners work without problems
To make it easier for us to check, please enter a full command line option here.
What is the model of your GPU's?
I believe the solution to your problem is here:
* CUDA 9.1/9.2 versions of the miner will no longer work with RTX (Compute Capability 7.5+) cards
This is done because RTX cards either hash slower or don't work correctly (depending on the algo) on these versions, producing "result for ... does not validate on CPU" errors. Use the version built with CUDA 10.0 instead.