MPU6050 DMP6 not working with TTGO T-Display

I am trying to use an MPU6050 with my T-Display and the i2cdev library and it is not connecting. The MPU6050 works with MPU6050_raw but for DMP6 it doesn't connect. I have the interrupt pin connected to pin 2. I am wondering if the interrupts are different on the T-Display or all of ESP32. How do I fix it?