Hello! I've recently installed arch for the first time, and I'm trying to solve a monitor flickering problem. My setup is as follows, Let me know if more info is needed!
CPU: AMD Ryzen 5 2600 GPU: nvidia rtx 2070 super Monitor: HP Omen x 25 (1080@240hz, Displayport) Driver: nvidia (proprietary, from pacman), nvidia-utils DM: LightDM WM/DE: XFCE
The issue appears to be solved by disabling g-sync in nvidia-settings
. As i dont particularly mind giving up on g-sync, I figured that most logical solution would be to disable it entirely. However, as a newb, i noticed it doesnt persist on restart, this is where my problem begins.
After reading a lot of docs, I understand that nvidia-settings
is not meant to persist, unless specified otherwise, however, all signs point to loading the settings restoring script (nvidia-settings --load-config-only
) after login (at least, its my understanding), so that each user can have their own preferences.
The problem though, is that, my monitor is practically unusable without disabling g-sync, so it should be done before anything is drawn (including lightdm). Or, as soon as possible.
I have tried exporting the settings from nvidia-settings
to a file i could add somewhere inside /etc/X11/
, however, the exported file, does not appear to be the same format. I'm referencing this section of the arch wiki
/etc/X11/xorg.conf.d/20-nvidia.conf
is a file which uses Sections & Options. I'm not sure what this format is, but nvidia-settings exports a non indented file with lines such as:
[DPY:DP-0]/Dithering=0 [DPY:DP-0]/DitheringMode=0 [DPY:DP-0]/DitheringDepth=0 [DPY:DP-0]/ColorSpace=0 [DPY:DP-0]/ColorRange=0
The alternative, I thought, would be the sudo nvidia-xconfig
command to generate the required config file. The generated file at /etc/X11/xorg.conf
is the correct format (With Sections & Options) However, It doesnt say anything about g-sync being disabled. I tried generating the file while my nvidia-settings
were set correctly manually, but again, no dice. With no clear documentation on the arch wiki or command manual (or otherwise) i could find. Im not sure how to add a key to disable g-sync in this file, or if there is a process to making sure this file gets properly loaded.
These are the methods I have tried. Maybe some of them are on the right track, maybe not, That's why I come to today. If anyone can offer any assistance, it would be greatly appreciated!
Edit: God awful formatting