Skip to content

Commit

Permalink
Intel / nvidia hybrid card, configured with nvidia as primary, free f…
Browse files Browse the repository at this point in the history
…rom Tearing (TearFree) and stutter, greatly improved for Godot Engine in X11

Intel / nvidia hybrid card, configured with nvidia as primary, free from Tearing (TearFree) and stutter, greatly improved for Godot Engine in X11
  • Loading branch information
felipefacundes authored Mar 21, 2024
1 parent 61e75d6 commit 4298ac1
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions config/X11/xorg.conf.d/nvidia_tearfree_and_no_stutter.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
Section "Files"
ModulePath "/usr/lib/nvidia"
ModulePath "/usr/lib/nvidia/xorg"
EndSection

Section "ServerLayout"
Identifier "layout"
Screen 0 "nvidia"
Inactive "integrated"
EndSection

Section "Device"
Identifier "nvidia"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 1050 Ti"
BusID "PCI:1:0:0"
Option "TearFree" "True"
Option "Coolbits" "28"
Option "NoLogo" "True"
Option "TripleBuffer" "True"
Option "ConnectedMonitor" "DFP"
Option "RegistryDwords" "EnableBrightnessControl=1"
Option "RegistryDwords" "PowerMizerEnable=0x1; PerfLevelSrc=0x2222; PowerMizerDefault=0x3; PowerMizerDefaultAC=0x3"
EndSection

Section "Screen"
Identifier "nvidia"
Device "nvidia"
Option "AllowEmptyInitialConfiguration"
Option "ForceFullCompositionPipeline" "on"
Option "AllowIndirectGLXProtocol" "off"
Option "TripleBuffer" "on"
# Option "metamodes" "1920x1080_60 +0+0"
# Option "RefreshRate" "60"
Option "SwapbuffersWait" "on"
Option "SLI" "Off"
Option "MultiGPU" "Off"
EndSection

Section "Device"
Identifier "integrated"
Driver "modesetting"
BusID "PCI:0:2:0"
Option "AccelMethod" "glamor"
Option "PrimaryGPU" "yes"
Option "TearFree" "true"
EndSection

Section "Screen"
Identifier "integrated"
Device "integrated"
EndSection


0 comments on commit 4298ac1

Please sign in to comment.