Connecting to 7.8 inch custom resolution display

Hello, I’m trying to connect to a custom resolution display that is 1872x1404 at 15hz. How do I configure a custom resolution to be displayed? With xrandr I try the commands --newmode … and --addmode … but when I go to output it through hdmi, it results in a xrandr: Configure crtc 0 failed error.