Nvidia driver Ubuntu 22.04 RTX 3080 LHR multiple screens

So I set up a PC and I have two horizontal and one vertical screen. I installed ubuntu 22.04 and installed “software & update”

$ uname -a
Linux reza-opti 5.15.0-57-generic #63-Ubuntu SMP Thu Nov 24 13:43:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

$ nvidia-smi 
Tue Jan 10 21:59:41 2023       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.60.11    Driver Version: 525.60.11    CUDA Version: 12.0     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ...  Off  | 00000000:01:00.0  On |                  N/A |
|  0%   41C    P8    29W / 370W |    502MiB / 10240MiB |      1%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      2041      G   /usr/bin/gnome-shell              281MiB |
|    0   N/A  N/A      2962      G   gnome-control-center                3MiB |
|    0   N/A  N/A      3096      G   /usr/bin/Xwayland                  41MiB |
|    0   N/A  N/A      6433      G   ...554880220748460226,131072       75MiB |
+-----------------------------------------------------------------------------+

Using the Nouveau I’m able to get the right resolutions on each monitor but using the 525 two of the screens going through with DisplayPort cables are lower than max resolution, and one with HDMI is the correct max resolution, and this happens regardless of which monitor being connected through HDMI.

I’m thinking this is an issue with the driver since with using Nouveau I’m able to get the correct resolutions, so it’s not the cables.

I also tried to force higher resolutions through nvidia-settings but it wouldn’t let me change the output from the GPU, it was just scaling the lower resolution to a bigger screen which looked awful.

What can I do?