xorg.conf Settings Being Overridden By nvidia-auto-select

Junk Moody moodyjunk731 at gmail.com
Wed Jan 31 15:06:09 UTC 2018

I'm having trouble with nvidia-auto-select apparently overriding my
settings in xorg.conf.

I used nvidia-settings to set my resolution to 1920x1080 and saved the file
successfully to /etc/X11/xorg.conf.  I confirmed that the desired
resolution is in that file, but upon reboot it isn't getting used.  I
/var/log/Xorg.0.log which claims it is using my xorg.conf:
    [13.773] (==) Using config file: "/etc/X11/xorg.conf"
and even claims to be using my resolution specified in that config file
    [14.000] (**) NVIDIA(0): Option "MetaModes" "1920x1080 +0+0
    [14.602] (II) NVIDIA(0): Validated MetaModes:
    [14.602] (II) NVIDIA(0):
    [14.602] (II) NVIDIA(0): Virtual screen size determined to be 1850 x
    [14.624] (II) NVIDIA(0): Setting mode
Yet, further down in the log I see
    [16.472] (II) NVIDIA(0): Setting mode "HDMI-0: nvidia-auto-select
@3770x2120 +0+0 {ViewPortIn=3770x2120, ViewPortOut=3770x2120+35+19}"
which I assume is overriding my xorg.conf setting.

I checked all the following locations and only found /etc/X11/xorg.conf
which is the one I created via nvidia-settings:
           /etc/X11/xorg.conf                              # found

How do I determine where the override is coming from?

I'm running Ubuntu 16.04.3, nVidia 384.111, kernel  4.4.  Xorg.0.log is

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.x.org/archives/xorg/attachments/20180131/e7149442/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Xorg.0.log
Type: application/octet-stream
Size: 34279 bytes
Desc: not available
URL: <https://lists.x.org/archives/xorg/attachments/20180131/e7149442/attachment-0001.obj>

More information about the xorg mailing list