-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Intel / nvidia hybrid card, configured with nvidia as primary, free f…
…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
1 parent
61e75d6
commit 4298ac1
Showing
1 changed file
with
55 additions
and
0 deletions.
There are no files selected for viewing
55 changes: 55 additions & 0 deletions
55
config/X11/xorg.conf.d/nvidia_tearfree_and_no_stutter.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
|