You are not logged in.

#1 2026-05-05 17:11:51

Jodi42
Member
From: India
Registered: 2025-06-09
Posts: 74

nvidia-settings not implementing Xorg configuration

I have config file for nvidia-settings.

cat 10-nvidia.conf
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 580.142

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "BOE Technology Group Co., Ltd"
    HorizSync       257.0 - 257.0
    VertRefresh     60.0 - 165.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "NVIDIA GeForce RTX 3070 Ti Laptop GPU"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DP-0"
    Option         "metamodes" "nvidia-auto-select +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

https://paste.c-net.org/DistanceSullivan
https://paste.c-net.org/FlappingThrust

I need to run commands on every boot

❯  nvidia-settings --assign CurrentMetaMode="DP-0: 2560x1440_165 +0+0 {AllowGSYNCCompatible=On}"
Gtk-Message: 22:34:07.956: Failed to load module "colorreload-gtk-module"
Gtk-Message: 22:34:07.956: Failed to load module "window-decorations-gtk-module"

  Attribute 'CurrentMetaMode' (arch:0.0) assigned value
  'DP-0:2560x1440_165+0+0{AllowGSYNCCompatible=On}'.

❯  xrandr --output DP-0 --mode 2560x1440 --rate 165
❯ nvidia-settings --assign CurrentMetaMode="nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"
Gtk-Message: 22:35:43.175: Failed to load module "colorreload-gtk-module"
Gtk-Message: 22:35:43.175: Failed to load module "window-decorations-gtk-module"

  Attribute 'CurrentMetaMode' (arch:0.0) assigned value
  'nvidia-auto-select+0+0{ForceFullCompositionPipeline=On}'.

then I get
https://paste.c-net.org/FairestGreenlee

Offline

#2 2026-05-05 17:17:34

Roken
Member
From: South Wales, UK
Registered: 2012-01-16
Posts: 1,350

Re: nvidia-settings not implementing Xorg configuration

Yeah, me too. I just set a script to restore everything. Do the same, life's too short.

Oh, except I don;t get Displayport not available whilst it's using Displayport. Not sure I know what's going on there.

Last edited by Roken (2026-05-05 17:19:37)


Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus B550-F Gaming MB, 128Gb Corsair DDR4, Fractal Design Define 7 XL, 5 HD (2 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

/ is the root of all problems.

Offline

#3 2026-05-05 19:50:21

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,122

Re: nvidia-settings not implementing Xorg configuration

Please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General

You're not supposed to have a static server config and most certainly not the horrible cruft generated by nvidia-settings or nvidia-xconfig, but since this is 10-nvidia.conf, chances are it's overruled by another static server config in xorg.conf… better also

ls -lhR /{etc,usr/share}/X11/xorg.conf*

Offline

#4 2026-05-05 23:48:47

Jodi42
Member
From: India
Registered: 2025-06-09
Posts: 74

Re: nvidia-settings not implementing Xorg configuration

seth wrote:

Please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General

You're not supposed to have a static server config and most certainly not the horrible cruft generated by nvidia-settings or nvidia-xconfig, but since this is 10-nvidia.conf, chances are it's overruled by another static server config in xorg.conf… better also

ls -lhR /{etc,usr/share}/X11/xorg.conf*
ls -lhR /{etc,usr/share}/X11/xorg.conf*

Permissions Size User Date Modified Name
.rw-r--r--  1.8k root  5 May 22:38  /etc/X11/xorg.conf.backup
.rw-r--r--  1.9k root 23 Apr 22:59  /etc/X11/xorg.conf.bak
.rw-r--r--  1.9k root 28 Apr 21:28  /etc/X11/xorg.conf.bak2
.rw-r--r--  1.2k root 25 Jan 22:25  /etc/X11/xorg.conf.bak21feb
.rw-r--r--     0 root  5 May 22:36  /etc/X11/xorg.conf.nvidia-xconfig-original

/etc/X11/xorg.conf.d:
Permissions Size User Date Modified Name
.rw-r--r--  1.9k root  5 May 21:55  10-nvidia.conf
.rw-r--r--   443 root 25 Jan 22:11  30-touchpad.conf

/etc/X11/xorg.conf.d.disabled:
Permissions Size User Date Modified Name
.rw-r--r--   253 root 20 Jan 17:43  30-touchpad.conf.old

/usr/share/X11/xorg.conf.d:
Permissions Size User Date Modified Name
.rw-r--r--   126 root 15 Aug  2025  10-amdgpu.conf
.rw-r--r--   227 root 27 Apr 22:41  10-nvidia-drm-outputclass.conf
.rw-r--r--  1.7k root 14 Apr 20:20  10-quirks.conf
.rw-r--r--  1.4k root 15 Oct  2024  40-libinput.conf

❯ cat /usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf
Section "OutputClass"
    Identifier "nvidia"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
    Option "AllowEmptyInitialConfiguration"
    ModulePath "/usr/lib/nvidia/xorg"
    ModulePath "/usr/lib/xorg/modules"
EndSection
❯ cat /usr/share/X11/xorg.conf.d/10-amdgpu.conf
Section "OutputClass"
	Identifier "AMDgpu"
	MatchDriver "amdgpu"
	Driver "amdgpu"
	Option "HotplugDriver" "amdgpu"
EndSection
❯ cat /usr/share/X11/xorg.conf.d/10-quirks.conf
# Collection of quirks and blacklist/whitelists for specific devices.


# Accelerometer device, posts data through ABS_X/ABS_Y, making X unusable
# http://bugs.freedesktop.org/show_bug.cgi?id=22442
Section "InputClass"
        Identifier "ThinkPad HDAPS accelerometer blacklist"
        MatchProduct "ThinkPad HDAPS accelerometer data"
        Option "Ignore" "on"
EndSection

# https://bugzilla.redhat.com/show_bug.cgi?id=523914
# Mouse does not move in PV Xen guest
# Explicitly tell evdev to not ignore the absolute axes.
Section "InputClass"
        Identifier "Xen Virtual Pointer axis blacklist"
        MatchProduct "Xen Virtual Pointer"
        Option "IgnoreAbsoluteAxes" "off"
        Option "IgnoreRelativeAxes" "off"
EndSection

# https://bugs.freedesktop.org/show_bug.cgi?id=55867
# Bug 55867 - Doesn't know how to tag XI_TRACKBALL
Section "InputClass"
        Identifier "Tag trackballs as XI_TRACKBALL"
        MatchProduct "trackball"
        MatchDriver "evdev"
        Option "TypeName" "TRACKBALL"
EndSection

# https://bugs.freedesktop.org/show_bug.cgi?id=62831
# Bug 62831 - Mionix Naos 5000 mouse detected incorrectly
Section "InputClass"
        Identifier "Tag Mionix Naos 5000 mouse XI_MOUSE"
        MatchProduct "La-VIEW Technology Naos 5000 Mouse"
        MatchDriver "evdev"
        Option "TypeName" "MOUSE"
EndSection

# https://bugzilla.redhat.com/show_bug.cgi?id=2152414
# Xorg server does not correctly select the DCP for the display without
# a quirk on Apple Silicon
Section "OutputClass"
        Identifier "appledrm"
        MatchDriver "apple"
        Driver "modesetting"
        Option "PrimaryGPU" "true"
EndSection
❯ cat /usr/share/X11/xorg.conf.d/40-libinput.conf
# Match on all types of devices but joysticks
#

https://paste.c-net.org/HuntedBowing

cat /var/log/Xorg.0.log | ts | pastebin

Last edited by Jodi42 (2026-05-05 23:53:54)

Offline

#5 2026-05-05 23:49:49

Jodi42
Member
From: India
Registered: 2025-06-09
Posts: 74

Re: nvidia-settings not implementing Xorg configuration

Roken wrote:

Yeah, me too. I just set a script to restore everything. Do the same, life's too short.

Oh, except I don;t get Displayport not available whilst it's using Displayport. Not sure I know what's going on there.

Can you share me the script as well. smile

Offline

#6 Yesterday 07:41:09

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,122

Re: nvidia-settings not implementing Xorg configuration

There's only the 10-nvidia.conf but the metamodes section doesn't say what you want it to say
Try to make 10-nvidia.conf only

Section "Screen"
    Identifier     "Screen0"
    Option         "metamodes" "nvidia-auto-select +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On, AllowGSYNCCompatible=On}"
EndSection

You *might* also have to assign the device, but

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "BOE Technology Group Co., Ltd"
    HorizSync       257.0 - 257.0
    VertRefresh     60.0 - 165.0
    Option         "DPMS"
EndSection

is cruft reflecting an X11 server ~20 years ago. Eg. the input drivers no longer exist.

Offline

#7 Yesterday 15:47:03

Roken
Member
From: South Wales, UK
Registered: 2012-01-16
Posts: 1,350

Re: nvidia-settings not implementing Xorg configuration

Jodi42 wrote:
Roken wrote:

Yeah, me too. I just set a script to restore everything. Do the same, life's too short.

Oh, except I don;t get Displayport not available whilst it's using Displayport. Not sure I know what's going on there.

Can you share me the script as well. smile

It's just a two liner in case because vsync settings wouldn't stay saved. Run

nvidia-settings --help

and see what you need to set, then throw a very quick script together to do that.


Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus B550-F Gaming MB, 128Gb Corsair DDR4, Fractal Design Define 7 XL, 5 HD (2 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

/ is the root of all problems.

Offline

#8 Yesterday 18:18:54

Jodi42
Member
From: India
Registered: 2025-06-09
Posts: 74

Re: nvidia-settings not implementing Xorg configuration

seth wrote:

There's only the 10-nvidia.conf but the metamodes section doesn't say what you want it to say
Try to make 10-nvidia.conf only

Section "Screen"
    Identifier     "Screen0"
    Option         "metamodes" "nvidia-auto-select +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On, AllowGSYNCCompatible=On}"
EndSection

https://paste.c-net.org/CriteriaReiner
https://paste.c-net.org/MadhouseRecourse
https://paste.c-net.org/UpsetsSteps

I used the first snippet you provided. No mention of device in config.
Still no change at all.

Last edited by Jodi42 (Yesterday 18:19:57)

Offline

#9 Yesterday 18:29:05

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,122

Re: nvidia-settings not implementing Xorg configuration

Select the mode explicitly

Section "Screen"
    Identifier     "Screen0"
    Option         "metamodes" "2560x1440_165 +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On, AllowGSYNCCompatible=On}"
EndSection

If the above snippet doesn't work, use nvidia-settings to setup the system as you want it, then have it generate an xorg config and post that.

x-ref, https://bbs.archlinux.org/viewtopic.php?id=313330

Offline

#10 Yesterday 22:00:47

Jodi42
Member
From: India
Registered: 2025-06-09
Posts: 74

Re: nvidia-settings not implementing Xorg configuration

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 580.142

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "BOE Technology Group Co., Ltd"
    HorizSync       257.0 - 257.0
    VertRefresh     60.0 - 165.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "NVIDIA GeForce RTX 3070 Ti Laptop GPU"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DP-0"
    Option         "metamodes" "2560x1440_165 +0+0 {AllowGSYNCCompatible=On}"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

As enabling gsync removed full compostion pipeline, so this time I am not enabling it.

After running

nvidia-settings --assign CurrentMetaMode="DP-0: 2560x1440_165 +0+0 {AllowGSYNCCompatible=On}"

I have generated this,
https://paste.c-net.org/BelliedSamples

Last edited by Jodi42 (Yesterday 22:04:09)

Offline

#11 Today 08:38:24

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,122

Re: nvidia-settings not implementing Xorg configuration

Well, use "DP-0: 2560x1440_165 +0+0 {AllowGSYNCCompatible=On}" as metamodes option?

Offline

Board footer

Powered by FluxBB