So I decided to return back to manajro after a long time and I am facing issues with my graphics settings.
I have 2 screens plugged in GTX 1060.The second screen uses DP to VGA adapter since its a bit old.
The problems are those 2:
First I save the nvidia configuration from nvidia-settings but after rebooting the settings are gone.I have tried all the ways mentioned in the AUR wiki but nothing worked.
The second problem is the resolution of the 2nd display.The display supports up to 1920x1080 but nvidia drivers are detecting 1280x1024 as max resolution.I tried to change it through the config but it didn’t worked.The problem seems to be with the adapter and linux compatibility.When I tried changing settings I setted both ViewPortIn and Viewportout resoloutions to 1920x1080.But after applying settings the ViewPortOut resolution is still stuck at 1280x1024.So what am I doing wrong?
The first will allow to use modes that are not provided by the EDID of your monitor.
The second will log all modes the xserver is considering and/or using inside the /var/log/Xorg.0.log file.
More flags that you can check are in the documentation that is installed together with your driver under /usr/share/doc/nvidia
Also if I am not mistaken /etc/X11/mhwd.d/nvidia.conf is symlinked in /etc/X11/xorg.conf.d dont know the exact symlink name but it should start with 90. I cannot check now because I am not @linux atm because of work.
In the config file that is loaded…
By the looks of it it will be the /etc/X11/mhwd.d/nvidia.conf file that is being used…
Any changes in that file will be overwritten by an update of your driver though IINM (If Im Not Mistaken).
Like @TriMoon says when you set it at the default location it can be overwritten when there is an update
Better is to set the personal options in another file like: /etc/X11/xorg.conf.d/20-nvidia.conf
for instance, but in /etc/X11/mhwd.d/nvidia.conf is also an option.