I managed to set both displays to 1920x1080 @ 165 Hz now using sudo nvidia-settings by starting with the lowest resolution 640x480 @ 60 Hz and slowly starting to increase the resolution while hitting “Apply” each time. I saved the config file to /etc/X11/xorg.conf
If I set the resolution directly to 1920x1080 @ 60 Hz it would crash and reset my settings.
They both work now but I’m not sure it will hold. There’s something very strange going on here.
Reason why i asked for it. Whatever you change in Nvidia X Settings should be added there. Please remove the xorg.conf and append the different lines in nvidia.conf
If unsure, share it with your changes.
Well I can’t seem to get rid of the nvidia-auto-select. Resetting the config doesn’t work and also renaming the /etc/xorg.conf file doesn’t work. Where does nvidia-settings take it’s default values from when loading the GUI?
I am guessing all those meta options are from my previous tries to get the displays working.
Delete that please …
A general default is provided when installing the driver and is the /etc/X11/mhwd.d/nvidia.conf
That one is done so it will work in a default mode for all Nvidia GPUs.
When you tweak the conf file is suppose to know that changing it only makes sense if you want a fixed layout, aka no nvidia-auto-select. In order to have that fixed layout, the position and resolution is Absolute.
If you want Advanced config, you should only touch the Force Composition or Force Full Composition (never both of those) and the rest keep them. Once you start changing values it will add a lot of entries for the same port in Section "Screen" as it did for you in this config
Just search for DP-0 and you will get 8 of them. Same with the other 2 ports.
The one i cleaned up here should work:
Once you do those changes, run from terminal: sudo mhwd-gpu --setmod nvidia --setxorg /etc/X11/mhwd.d/nvidia.conf
For anyone experiencing the same issue: A workaround is to start with the lowest resolution possible in nvidia-settings and slowly move your way up to the highest possible and hit apply each time.
I tried downgrading the nvidia-drivers to 520.56.06-4 (linux60-nvidia 520.56.06-4) but I ran into problems starting the X server due to probably other nvidia packages not being compatible with this version. Will continue with this at some point.