emacs/var/elfeed/db/data/bd/bdae988bc3a7b05bdf63d648ba34c20cdfdfb9b6
2022-01-03 12:49:32 -06:00

1 line
3.1 KiB
Plaintext

<!-- SC_OFF --><div class="md"><p>Hello! I&#39;ve recently installed arch for the first time, and I&#39;m trying to solve a monitor flickering problem. My setup is as follows, Let me know if more info is needed!</p> <pre><code>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 </code></pre> <p>The issue appears to be solved by disabling g-sync in <code>nvidia-settings</code>. 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.</p> <p>After reading a lot of docs, I understand that <code>nvidia-settings</code> is not meant to persist, unless specified otherwise, however, all signs point to loading the settings restoring script (<code>nvidia-settings --load-config-only</code>) after login (at least, its my understanding), so that each user can have their own preferences.</p> <p>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.</p> <p>I have tried exporting the settings from <code>nvidia-settings</code> to a file i could add somewhere inside <code>/etc/X11/</code>, however, the exported file, does not appear to be the same format. I&#39;m referencing <a href="https://wiki.archlinux.org/title/NVIDIA#nvidia-settings">this section of the arch wiki</a></p> <p><code>/etc/X11/xorg.conf.d/20-nvidia.conf</code> is a file which uses Sections &amp; Options. I&#39;m not sure what this format is, but nvidia-settings exports a non indented file with lines such as:</p> <pre><code>[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 </code></pre> <p>The alternative, I thought, would be the <code>sudo nvidia-xconfig</code> command to generate the required config file. The generated file at <code>/etc/X11/xorg.conf</code> is the correct format (With Sections &amp; Options) However, It doesnt say anything about g-sync being disabled. I tried generating the file while my <code>nvidia-settings</code> 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.</p> <p>These are the methods I have tried. Maybe some of them are on the right track, maybe not, That&#39;s why I come to today. If anyone can offer any assistance, it would be greatly appreciated!</p> <p>Edit: God awful formatting</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/marcus13345"> /u/marcus13345 </a> <br/> <span><a href="https://www.reddit.com/r/archlinux/comments/ra1qv6/how_to_persist_nvidiasettings_at_the_system_not/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/archlinux/comments/ra1qv6/how_to_persist_nvidiasettings_at_the_system_not/">[comments]</a></span>