Adding a custom resolution adds it to the wrong output

Hi. I was trying to add a 1440x1080@75Hz resolution to my system (for CSGO) and I have tried about every guide and followed about every piece of advice on any forum I could find. The thing is: sudo xrandr --addmode (long string of stuff) returns the BadMatch BadMatch (invalid parameter attributes) error. Okay, but if I do xrandr -q this is the output:

Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm x 299mm
   1920x1080     60.00*+  59.94    50.00  
   1680x1050     59.95  
   1600x900      60.00  
   1440x900      59.89  
   1280x1024     75.02    60.02  
   1280x800      59.81  
   1280x720      60.00    59.94    50.00  
   1152x864      75.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    72.81    59.94  
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)
  1440x1080_75.00 (0x351) 165.250MHz -HSync +VSync
        h: width  1440 start 1544 end 1696 total 1952 skew    0 clock  84.66KHz
        v: height 1080 start 1083 end 1087 total 1130           clock  74.92Hz

Notice that my primary display is HDMI-0 and my desired mode is added to DP-5. How do I fix that?
I have a GTX 1660 SUPER with one HDMI and ONLY 3 DisplayPorts. My motherboard (ASRock B450 Pro4) has a DP and a HDMI, but I do not have integrated graphics.
Here’s a Pastebin of my whole terminal. To summarize it, I tried adding and removing that mode multiple times and at some point it hit me to just do xrandr -q and saw the mess that was there.

edit: my mobo has a VGA as well as a USB type C. Again, I don’t have an integrated GPU.

AFAIK you don’t need to use sudo anywhere:

xrandr --newmode "1440x1080_75.00"  165.25  1440 1544 1696 1952  1080 1083 1087 1130 -hsync +vsync 

Go through this:

https://wiki.archlinux.org/title/xrandr#Adding_undetected_resolutions

Thanks for the reply! Reading that article the 5th time I came to the conclusion that my problem has to do with EDID checks. If I manage to do anything I will be replying with the exact solution I found.

I managed to get hold of a EDID bin image using an EDID generator, but that’s about it. Added it to the grub config but xrandr --addmode still returns the same error, and xrandr --newmode adds it to the same DP-5 display and I still don’t know to what physical connector that corresponds.