nVidia 144hz not working

I’m having an issue with nvidia-settings not actually being set after following step in this page.
https://wiki.manjaro.org/index.php/Configure_NVIDIA_(non-free)_settings_and_load_them_on_Startup

My primary monitor is connected with display port and should be 1920x1080 at 144hz. It seems to pick up the resolution but never changes to 144hz and stays at 60hz.

I have a secondary monitor that has multiple other issues I’m guessing I’ll just tackle once the main monitor is working but it’s native 1920x1080 resolution at 60hz doesn’t get sensed and after applying the nvidia config and rebooting it just turned black and shows as disabled in nvidia-settings. I’m guessing I’ll have to edit the conf file to fix it? It doesn’t seem to have a “Monitor1” in the config to include it.

Here’s my system info the Graphics section shows it still at 60hz.

andy@manjaro ~]$ inxi --admin --verbosity=7 --filter --no-host --width -G
System:
  Kernel: 5.15.12-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
    root=UUID=3cfd0024-a497-4d9f-84c9-2c95c7d40f1a rw quiet apparmor=1
    security=apparmor resume=UUID=433fa599-d4cd-4689-8cd0-5262333f634f
    udev.log_priority=3
  Desktop: Xfce 4.16.0 tk: Gtk 3.24.29 info: xfce4-panel wm: xfwm 4.16.1
    vt: 7 dm: LightDM 1.30.0 Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: ASRock model: Z370 Killer SLI/ac
    serial: <superuser required> UEFI: American Megatrends v: P3.30
    date: 12/07/2018
Battery:
  Message: No system battery data found. Is one present?
Memory:
  RAM: total: 31.29 GiB used: 1.8 GiB (5.8%)
  RAM Report:
    permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: Intel Core i7-8700K bits: 64 type: MT MCP arch: Coffee Lake
    family: 6 model-id: 0x9E (158) stepping: 0xA (10) microcode: 0xEA
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 1.5 MiB desc: 6x256 KiB
    L3: 12 MiB desc: 1x12 MiB
  Speed (MHz): avg: 800 high: 801 min/max: 800/4700 scaling:
    driver: intel_pstate governor: powersave cores: 1: 800 2: 800 3: 800 4: 801
    5: 800 6: 800 7: 800 8: 800 9: 801 10: 800 11: 800 12: 800 bogomips: 88824
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat arch_perfmon
    art avx avx2 bmi1 bmi2 bts clflush clflushopt cmov constant_tsc cpuid
    cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts epb ept ept_ad erms est
    f16c flexpriority flush_l1d fma fpu fsgsbase fxsr ht hwp hwp_act_window
    hwp_epp hwp_notify ibpb ibrs ida intel_pt invpcid invpcid_single lahf_lm
    lm mca mce md_clear mmx monitor movbe mpx msr mtrr nonstop_tsc nopl nx pae
    pat pbe pcid pclmulqdq pdcm pdpe1gb pebs pge pln pni popcnt pse pse36 pti
    pts rdrand rdseed rdtscp rep_good sdbg sep smap smep smx ss ssbd sse sse2
    sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_adjust
    tsc_deadline_timer vme vmx vnmi vpid x2apic xgetbv1 xsave xsavec xsaveopt
    xsaves xtopology xtpr
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf
    mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: spec_store_bypass
    mitigation: Speculative Store Bypass disabled via prctl and seccomp
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional,
    IBRS_FW, STIBP: conditional, RSB filling
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort mitigation: TSX disabled
Graphics:
  Device-1: NVIDIA GP104 [GeForce GTX 1070] vendor: ASUSTeK driver: nvidia
    v: 495.44 alternate: nouveau,nvidia_drm bus-ID: 02:00.0 chip-ID: 10de:1b81
    class-ID: 0300
  Display: x11 server: X.Org 1.21.1.3 compositor: xfwm4 v: 4.16.1 driver:
    loaded: nvidia display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 93 s-size: 524x291mm (20.6x11.5")
    s-diag: 599mm (23.6")
  Monitor-1: DP-2 res: 1920x1080 dpi: 94 size: 521x293mm (20.5x11.5")
    diag: 598mm (23.5")
  OpenGL: renderer: NVIDIA GeForce GTX 1070/PCIe/SSE2 v: 4.6.0 NVIDIA 495.44
    direct render: Yes
Audio:
  Device-1: Intel 200 Series PCH HD Audio vendor: ASRock driver: snd_hda_intel
    v: kernel bus-ID: 00:1f.3 chip-ID: 8086:a2f0 class-ID: 0403
  Device-2: NVIDIA GP104 High Definition Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel bus-ID: 02:00.1 chip-ID: 10de:10f0
    class-ID: 0403
  Sound Server-1: ALSA v: k5.15.12-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.19 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.42 running: yes
Network:
  Device-1: Intel Ethernet I219-V vendor: ASRock driver: e1000e v: kernel
    port: N/A bus-ID: 00:1f.6 chip-ID: 8086:15b8 class-ID: 0200
  IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  Device-2: Intel Dual Band Wireless-AC 3168NGW [Stone Peak] driver: iwlwifi
    v: kernel bus-ID: 07:00.0 chip-ID: 8086:24fb class-ID: 0280
  IF: wlp7s0 state: down mac: <filter>
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel Wireless-AC 3168 Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 1-12:3 chip-ID: 8087:0aa7 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 1 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 6.82 TiB used: 15.16 GiB (0.2%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:8 vendor: Crucial model: CT2000P2SSD8
    size: 1.82 TiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: P2CR033 temp: 26.9 C scheme: GPT
  ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: Samsung model: SSD 970 EVO 500GB
    size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: 2B2QEXE7 temp: 30.9 C scheme: GPT
  ID-3: /dev/sda maj-min: 8:0 vendor: Seagate model: ST2000DM006-2DM164
    size: 1.82 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    type: HDD rpm: 7200 serial: <filter> rev: CC26 scheme: GPT
  ID-4: /dev/sdb maj-min: 8:16 vendor: Crucial model: CT2000MX500SSD1
    size: 1.82 TiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: 032 scheme: GPT
  ID-5: /dev/sdc maj-min: 8:32 vendor: Western Digital
    model: WD1003FZEX-00MK2A0 size: 931.51 GiB block-size: physical: 4096 B
    logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 7200 serial: <filter>
    rev: 1A01 scheme: MBR
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 75.25 GiB size: 73.52 GiB (97.70%) used: 15.16 GiB (20.6%)
    fs: ext4 dev: /dev/nvme1n1p6 maj-min: 259:6 label: N/A
    uuid: 3cfd0024-a497-4d9f-84c9-2c95c7d40f1a
  ID-2: /boot/efi raw-size: 1 GiB size: 1022.9 MiB (99.80%)
    used: 292 KiB (0.0%) fs: vfat dev: /dev/nvme1n1p4 maj-min: 259:4
    label: NO_LABEL uuid: BC7F-24E1
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 1.95 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/nvme1n1p7 maj-min: 259:7 label: N/A
    uuid: 433fa599-d4cd-4689-8cd0-5262333f634f
Unmounted:
  ID-1: /dev/nvme0n1p1 maj-min: 259:9 size: 16 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-2: /dev/nvme0n1p2 maj-min: 259:10 size: 1.82 TiB fs: ntfs
    label: Crucial 2TB uuid: 78FCCB41FCCAF900
  ID-3: /dev/nvme1n1p1 maj-min: 259:1 size: 100 MiB fs: vfat label: N/A
    uuid: 0877-6681
  ID-4: /dev/nvme1n1p2 maj-min: 259:2 size: 16 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-5: /dev/nvme1n1p3 maj-min: 259:3 size: 386.95 GiB fs: ntfs label: N/A
    uuid: 42227E81227E7A2D
  ID-6: /dev/nvme1n1p5 maj-min: 259:5 size: 508 MiB fs: ntfs label: N/A
    uuid: BE7274A972746853
  ID-7: /dev/sda1 maj-min: 8:1 size: 1.82 TiB fs: ext4 label: linux-data
    uuid: 08994d45-a4de-4aa0-b4c7-43e8482eca1e
  ID-8: /dev/sdb1 maj-min: 8:17 size: 16 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-9: /dev/sdb2 maj-min: 8:18 size: 1.82 TiB fs: ntfs label: MX500 2TB
    uuid: FE8471B284716DD1
  ID-10: /dev/sdc1 maj-min: 8:33 size: 931.51 GiB fs: ntfs label: WD Black
    uuid: 26561B46561B15E1
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 16 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-9:2 info: Cooler Master MK730 type: Keyboard,HID
    driver: hid-generic,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s
    power: 100mA chip-ID: 2516:008f class-ID: 0300
  Device-2: 1-12:3 info: Intel Wireless-AC 3168 Bluetooth type: Bluetooth
    driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA
    chip-ID: 8087:0aa7 class-ID: e001
  Device-3: 1-13:4 info: SINOWEALTH Wired Gaming Mouse type: Mouse,Keyboard
    driver: glorious,usbhid interfaces: 2 rev: 1.1 speed: 12 Mb/s power: 480mA
    chip-ID: 258a:0036 class-ID: 0301
  Hub-2: 2-0:1 info: Super-speed hub ports: 10 rev: 3.0 speed: 5 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: 29.0 C mobo: N/A gpu: nvidia temp: 31 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 34%
Info:
  Processes: 305 Uptime: 3m wakeups: 0 Init: systemd v: 250 tool: systemctl
  Compilers: gcc: N/A Packages: pacman: 1088 lib: 316 flatpak: 0 Shell: Bash
  v: 5.1.12 running-in: xfce4-terminal inxi: 3.3.11
[andy@manjaro ~]$ 

I get this error in terminal after trying save the config but the file seems to update.

andy@manjaro ~]$ sudo nvidia-settings 
[sudo] password for andy: 

(nvidia-settings:1852): GLib-GObject-CRITICAL **: 19:08:58.227: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
sh: line 1: pkg-config: command not found

Here’s the config file

andy@manjaro ~]$ cat /etc/X11/mhwd.d/nvidia.conf
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 495.44

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

Section "Files"
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      "Microstep MSI MAG241C"
    HorizSync       180.0 - 180.0
    VertRefresh     48.0 - 146.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "NVIDIA GeForce GTX 1070"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-5"
    Option         "metamodes" "DP-2: 1920x1080_144 +0+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

I left the config file in /home default

#
# /home/andy/.nvidia-settings-rc
#
# Configuration file for nvidia-settings - the NVIDIA X Server Settings utility
# Generated on Wed Jan  5 18:34:53 2022
#

# ConfigProperties:

RcFileLocale = C
DisplayStatusBar = Yes
SliderTextEntries = Yes
IncludeDisplayNameInConfigFile = No
ShowQuitDialog = Yes
UpdateRulesOnProfileNameChange = Yes
Timer = PowerMizer_Monitor_(GPU_0),Yes,1000
Timer = Thermal_Monitor_(GPU_0),Yes,1000
Timer = Memory_Used_(GPU_0),Yes,3000

# Attributes:

0/SyncToVBlank=1
0/LogAniso=0
0/FSAA=0
0/TextureClamping=1
0/FXAA=0
0/AllowFlipping=1
0/FSAAAppControlled=1
0/LogAnisoAppControlled=1
0/OpenGLImageSettings=1
0/FSAAAppEnhanced=0
0/ShowGraphicsVisualIndicator=0
0/XVideoSyncToDisplayID=DP-2
[DPY:DVI-D-0]/Dithering=0
[DPY:DVI-D-0]/DitheringMode=0
[DPY:DVI-D-0]/DitheringDepth=0
[DPY:DVI-D-0]/ColorSpace=0
[DPY:DVI-D-0]/ColorRange=0
[DPY:DVI-D-0]/SynchronousPaletteUpdates=0
[DPY:HDMI-0]/RedBrightness=0.000000
[DPY:HDMI-0]/GreenBrightness=0.000000
[DPY:HDMI-0]/BlueBrightness=0.000000
[DPY:HDMI-0]/RedContrast=0.000000
[DPY:HDMI-0]/GreenContrast=0.000000
[DPY:HDMI-0]/BlueContrast=0.000000
[DPY:HDMI-0]/RedGamma=1.000000
[DPY:HDMI-0]/GreenGamma=1.000000
[DPY:HDMI-0]/BlueGamma=1.000000
[DPY:HDMI-0]/Dithering=0
[DPY:HDMI-0]/DitheringMode=0
[DPY:HDMI-0]/DitheringDepth=0
[DPY:HDMI-0]/DigitalVibrance=0
[DPY:HDMI-0]/ColorSpace=0
[DPY:HDMI-0]/ColorRange=0
[DPY:HDMI-0]/SynchronousPaletteUpdates=0
[DPY:HDMI-1]/Dithering=0
[DPY:HDMI-1]/DitheringMode=0
[DPY:HDMI-1]/DitheringDepth=0
[DPY:HDMI-1]/ColorSpace=0
[DPY:HDMI-1]/ColorRange=0
[DPY:HDMI-1]/SynchronousPaletteUpdates=0
[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
[DPY:DP-0]/SynchronousPaletteUpdates=0
[DPY:DP-1]/Dithering=0
[DPY:DP-1]/DitheringMode=0
[DPY:DP-1]/DitheringDepth=0
[DPY:DP-1]/ColorSpace=0
[DPY:DP-1]/ColorRange=0
[DPY:DP-1]/SynchronousPaletteUpdates=0
[DPY:DP-2]/RedBrightness=0.000000
[DPY:DP-2]/GreenBrightness=0.000000
[DPY:DP-2]/BlueBrightness=0.000000
[DPY:DP-2]/RedContrast=0.000000
[DPY:DP-2]/GreenContrast=0.000000
[DPY:DP-2]/BlueContrast=0.000000
[DPY:DP-2]/RedGamma=1.000000
[DPY:DP-2]/GreenGamma=1.000000
[DPY:DP-2]/BlueGamma=1.000000
[DPY:DP-2]/Dithering=0
[DPY:DP-2]/DitheringMode=0
[DPY:DP-2]/DitheringDepth=0
[DPY:DP-2]/DigitalVibrance=0
[DPY:DP-2]/ColorSpace=0
[DPY:DP-2]/ColorRange=0
[DPY:DP-2]/SynchronousPaletteUpdates=0
[DPY:DP-3]/Dithering=0
[DPY:DP-3]/DitheringMode=0
[DPY:DP-3]/DitheringDepth=0
[DPY:DP-3]/ColorSpace=0
[DPY:DP-3]/ColorRange=0
[DPY:DP-3]/SynchronousPaletteUpdates=0

That could be why. Normally mixing more than one monitor at different refresh rates will only output them at the lowest refresh rate.

What’s the outpout of:

xrandr

Looks like its 144Hz to me. How do you know it’s not?

@Yochanan ah ok thanks! So I have that monitor unplugged now.

It seems like the inxi output changes after I save the config through nvidia-settings. I can see "hz: 60: on the Monitor-1 line running it after a fresh reboot.

Graphics:
  Device-1: NVIDIA GP104 [GeForce GTX 1070] vendor: ASUSTeK driver: nvidia
    v: 495.44 alternate: nouveau,nvidia_drm bus-ID: 02:00.0 chip-ID: 10de:1b81
    class-ID: 0300
  Display: x11 server: X.Org 1.21.1.3 compositor: xfwm4 v: 4.16.1 driver:
    loaded: nvidia display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x286mm (20.0x11.3")
    s-diag: 583mm (23")
  Monitor-1: DP-2 res: 1920x1080 hz: 60 dpi: 94 size: 521x293mm (20.5x11.5")
    diag: 598mm (23.5")
  OpenGL: renderer: NVIDIA GeForce GTX 1070/PCIe/SSE2 v: 4.6.0 NVIDIA 495.44
    direct render: Yes

I tried setting it to 144hz in nvidia-settings again with the 60hz monitor unplugged and the output doesn’t show hz like the first post.

So I guess it actually was on 144hz but it wasn’t sticking through a reboot? xrandr show 60hz as active after reboot as well. This is right after applying it in nvidia-settings it changes to 60hz after a reboot.

[andy@manjaro ~]$ xrandr
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
DVI-D-0 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 521mm x 293mm
   1920x1080     60.00 + 143.85*  119.98    99.93    59.94    50.00  
   1680x1050     59.95  
   1440x900      59.89  
   1440x576      50.00  
   1440x480      59.94  
   1280x1024     75.02    60.02  
   1280x960      60.00  
   1280x720      60.00    59.94    50.00  
   1152x864      75.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    72.81    59.94    59.93  
DP-3 disconnected (normal left inverted right x axis y axis)

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.