Poor performance when one display is rotated/inverted

Not trying to necrobump here but, I also don’t want to pollute the forum with new messages regarding this issue. Found another thread that was marked as solved but, issue persists here

I’m in the same situation here: 2 AOC 27 monitors, QHD 144Hz, and the one that is on portrait mode crashes even if a command that has a high level of verbose like for example hollywood is shown on such display.

I had no such problem if both monitors are in normal mode. This is the xrandr script I’m using to configure the monitors:
cat monitors.sh

#!/bin/sh
xrandr --output HDMI-0 --off --output DVI-I-2-1 --primary --mode 2560x1440 --pos 1440x1120 --rate 144 --rotate normal --output DVI-I-3-2 --mode 2560x1440 --pos 0x0 --rate 144 --rotate left --output eDP-1-2 --mode 1920x1080 --pos 4000x1480 --rate 144 --rotate normal --output DP-1-2 --off --output DP-1-3 --off

My setup here:

OS: Arch Linux x86_64
Host: ASUS TUF Dash F15 FX517ZR
Kernel: 6.1.8-arch1-1 
CPU: 12th Gen Intel i7-12650H (16) @ 4.600GHz
GPU: NVIDIA GeForce RTX 3070 Mobile / Max-Q

While this laptop supports optimus, I’m running it on “full nvidia mode” while plugged in a power source.

I’m also not using the open-nvidia modules because it does not support NVENC for this GPU.