Skip to content

Commit

Permalink
nvidia.conf: Enable switch for experimental better frame pacing (#130)
Browse files Browse the repository at this point in the history
* nvidia.conf: Enable switch for experimental better frame pacing

Signed-off-by: Peter Jung <[email protected]>

* nvidia.conf: GPU --> GSP

Signed-off-by: Peter Jung <[email protected]>

* nvidia.conf: Add info about prime configuration

Signed-off-by: Peter Jung <[email protected]>

* remove history

Signed-off-by: Peter Jung <[email protected]>

---------

Signed-off-by: Peter Jung <[email protected]>
  • Loading branch information
ptr1337 authored Feb 6, 2025
1 parent 859c9e2 commit e1603ec
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion usr/lib/modprobe.d/nvidia.conf
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,20 @@
# nvidia_drm.modeset=1 (default 0) - Enables modesetting support for the NVIDIA
# driver. Critical for Wayland support and proper PRIME Offload operation.
#
# NVreg_RegistryDwords=RMIntrLockingMode=1 (default 0)
# enables experimental switch for better frame-pacing
# this mainly improves it for high refresh rate monitors with VRR or VR headsets
# Explaination:
# At 240Hz each frame is expected every 4ms. But if a 1ms task—say, in the kernel
# or on the GSP — runs when a frame is about to be displayed, it can delay the rendering.
# Instead of a neat sequence at T+4ms, T+8ms, T+12ms, the frames might appear at T+4ms,
# T+9ms, T+12ms, etc. This shows how even small delays can shift frame timing,
# potentially impacting smooth display output.
# Info: This does not apply to PRIME configurations

options nvidia NVreg_UsePageAttributeTable=1 \
NVreg_InitializeSystemMemoryAllocations=0 \
NVreg_DynamicPowerManagement=0x02 \
NVreg_EnableGpuFirmware=0
NVreg_EnableGpuFirmware=0 \
NVreg_RegistryDwords=RMIntrLockingMode=1
options nvidia_drm modeset=1

0 comments on commit e1603ec

Please sign in to comment.