Conf/Yawgix-Nvidia
Nvidia Configs for Yawgix
Direct Rendering Manager (DRM)
[edit]Ensure you have DRM setup and one of the below:
- Add kernel parameter to /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT=
nvidia-drm.modeset=1
Nvidia User Settings
[edit]/home/yawg/.nvidia-settings-rc
# # /home/yawg/.nvidia-settings-rc # # Configuration file for nvidia-settings - the NVIDIA Settings utility # Generated on Thu May 26 09:23:37 2022 # # ConfigProperties: RcFileLocale = C DisplayStatusBar = Yes SliderTextEntries = Yes IncludeDisplayNameInConfigFile = Yes UpdateRulesOnProfileNameChange = Yes Timer = PowerMizer_Monitor_(GPU_1),Yes,1000 Timer = Thermal_Monitor_(GPU_1),Yes,1000 Timer = Memory_Used_(GPU_1),Yes,3000 Timer = PowerMizer_Monitor_(GPU_0),Yes,1000 Timer = Thermal_Monitor_(GPU_0),Yes,1000 Timer = Memory_Used_(GPU_0),Yes,3000 # Attributes: yawgix:0.0/SyncToVBlank=1 yawgix:0.0/LogAniso=0 yawgix:0.0/FSAA=0 yawgix:0.0/TextureClamping=1 yawgix:0.0/FXAA=0 yawgix:0.0/AllowFlipping=1 yawgix:0.0/FSAAAppControlled=1 yawgix:0.0/LogAnisoAppControlled=1 yawgix:0.0/OpenGLImageSettings=1 yawgix:0.0/FSAAAppEnhanced=0 yawgix:0.0/ShowGraphicsVisualIndicator=0 yawgix:0[DPY:HDMI-0]/Dithering=0 yawgix:0[DPY:HDMI-0]/DitheringMode=0 yawgix:0[DPY:HDMI-0]/DitheringDepth=0 yawgix:0[DPY:HDMI-0]/ColorSpace=0 yawgix:0[DPY:HDMI-0]/ColorRange=0 yawgix:0[DPY:HDMI-0]/SynchronousPaletteUpdates=0 yawgix:0[DPY:DP-0]/RedBrightness=0.000000 yawgix:0[DPY:DP-0]/GreenBrightness=0.000000 yawgix:0[DPY:DP-0]/BlueBrightness=0.000000 yawgix:0[DPY:DP-0]/RedContrast=0.000000 yawgix:0[DPY:DP-0]/GreenContrast=0.000000 yawgix:0[DPY:DP-0]/BlueContrast=0.000000 yawgix:0[DPY:DP-0]/RedGamma=1.000000 yawgix:0[DPY:DP-0]/GreenGamma=1.000000 yawgix:0[DPY:DP-0]/BlueGamma=1.000000 yawgix:0[DPY:DP-0]/Dithering=0 yawgix:0[DPY:DP-0]/DitheringMode=0 yawgix:0[DPY:DP-0]/DitheringDepth=0 yawgix:0[DPY:DP-0]/DigitalVibrance=0 yawgix:0[DPY:DP-0]/ColorSpace=0 yawgix:0[DPY:DP-0]/ColorRange=0 yawgix:0[DPY:DP-0]/SynchronousPaletteUpdates=0 yawgix:0[DPY:DP-1]/Dithering=0 yawgix:0[DPY:DP-1]/DitheringMode=0 yawgix:0[DPY:DP-1]/DitheringDepth=0 yawgix:0[DPY:DP-1]/ColorSpace=0 yawgix:0[DPY:DP-1]/ColorRange=0 yawgix:0[DPY:DP-1]/SynchronousPaletteUpdates=0 yawgix:0[DPY:DP-2]/Dithering=0 yawgix:0[DPY:DP-2]/DitheringMode=0 yawgix:0[DPY:DP-2]/DitheringDepth=0 yawgix:0[DPY:DP-2]/ColorSpace=0 yawgix:0[DPY:DP-2]/ColorRange=0 yawgix:0[DPY:DP-2]/SynchronousPaletteUpdates=0 yawgix:0[DPY:DP-3]/Dithering=0 yawgix:0[DPY:DP-3]/DitheringMode=0 yawgix:0[DPY:DP-3]/DitheringDepth=0 yawgix:0[DPY:DP-3]/ColorSpace=0 yawgix:0[DPY:DP-3]/ColorRange=0 yawgix:0[DPY:DP-3]/SynchronousPaletteUpdates=0 yawgix:0[DPY:DP-4]/Dithering=0 yawgix:0[DPY:DP-4]/DitheringMode=0 yawgix:0[DPY:DP-4]/DitheringDepth=0 yawgix:0[DPY:DP-4]/ColorSpace=0 yawgix:0[DPY:DP-4]/ColorRange=0 yawgix:0[DPY:DP-4]/SynchronousPaletteUpdates=0 yawgix:0[DPY:DP-5]/Dithering=0 yawgix:0[DPY:DP-5]/DitheringMode=0 yawgix:0[DPY:DP-5]/DitheringDepth=0 yawgix:0[DPY:DP-5]/ColorSpace=0 yawgix:0[DPY:DP-5]/ColorRange=0 yawgix:0[DPY:DP-5]/SynchronousPaletteUpdates=0 yawgix:0[DPY:DP-1-0]/Dithering=0 yawgix:0[DPY:DP-1-0]/DitheringMode=0 yawgix:0[DPY:DP-1-0]/DitheringDepth=0 yawgix:0[DPY:DP-1-0]/ColorSpace=0 yawgix:0[DPY:DP-1-0]/ColorRange=0 yawgix:0[DPY:DP-1-0]/SynchronousPaletteUpdates=0 yawgix:0[DPY:DP-1-1]/RedBrightness=0.000000 yawgix:0[DPY:DP-1-1]/GreenBrightness=0.000000 yawgix:0[DPY:DP-1-1]/BlueBrightness=0.000000 yawgix:0[DPY:DP-1-1]/RedContrast=0.000000 yawgix:0[DPY:DP-1-1]/GreenContrast=0.000000 yawgix:0[DPY:DP-1-1]/BlueContrast=0.000000 yawgix:0[DPY:DP-1-1]/RedGamma=1.000000 yawgix:0[DPY:DP-1-1]/GreenGamma=1.000000 yawgix:0[DPY:DP-1-1]/BlueGamma=1.000000 yawgix:0[DPY:DP-1-1]/Dithering=0 yawgix:0[DPY:DP-1-1]/DitheringMode=0 yawgix:0[DPY:DP-1-1]/DitheringDepth=0 yawgix:0[DPY:DP-1-1]/DigitalVibrance=0 yawgix:0[DPY:DP-1-1]/ColorSpace=0 yawgix:0[DPY:DP-1-1]/ColorRange=0 yawgix:0[DPY:DP-1-1]/SynchronousPaletteUpdates=0 yawgix:0[DPY:DP-1-2]/Dithering=0 yawgix:0[DPY:DP-1-2]/DitheringMode=0 yawgix:0[DPY:DP-1-2]/DitheringDepth=0 yawgix:0[DPY:DP-1-2]/ColorSpace=0 yawgix:0[DPY:DP-1-2]/ColorRange=0 yawgix:0[DPY:DP-1-2]/SynchronousPaletteUpdates=0 yawgix:0[DPY:DP-1-3]/RedBrightness=0.000000 yawgix:0[DPY:DP-1-3]/GreenBrightness=0.000000 yawgix:0[DPY:DP-1-3]/BlueBrightness=0.000000 yawgix:0[DPY:DP-1-3]/RedContrast=0.000000 yawgix:0[DPY:DP-1-3]/GreenContrast=0.000000 yawgix:0[DPY:DP-1-3]/BlueContrast=0.000000 yawgix:0[DPY:DP-1-3]/RedGamma=1.000000 yawgix:0[DPY:DP-1-3]/GreenGamma=1.000000 yawgix:0[DPY:DP-1-3]/BlueGamma=1.000000 yawgix:0[DPY:DP-1-3]/Dithering=0 yawgix:0[DPY:DP-1-3]/DitheringMode=0 yawgix:0[DPY:DP-1-3]/DitheringDepth=0 yawgix:0[DPY:DP-1-3]/DigitalVibrance=0 yawgix:0[DPY:DP-1-3]/ColorSpace=0 yawgix:0[DPY:DP-1-3]/ColorRange=0 yawgix:0[DPY:DP-1-3]/SynchronousPaletteUpdates=0 yawgix:0[DPY:DP-1-4]/Dithering=0 yawgix:0[DPY:DP-1-4]/DitheringMode=0 yawgix:0[DPY:DP-1-4]/DitheringDepth=0 yawgix:0[DPY:DP-1-4]/ColorSpace=0 yawgix:0[DPY:DP-1-4]/ColorRange=0 yawgix:0[DPY:DP-1-4]/SynchronousPaletteUpdates=0 yawgix:0[DPY:DP-1-5]/RedBrightness=0.000000 yawgix:0[DPY:DP-1-5]/GreenBrightness=0.000000 yawgix:0[DPY:DP-1-5]/BlueBrightness=0.000000 yawgix:0[DPY:DP-1-5]/RedContrast=0.000000 yawgix:0[DPY:DP-1-5]/GreenContrast=0.000000 yawgix:0[DPY:DP-1-5]/BlueContrast=0.000000 yawgix:0[DPY:DP-1-5]/RedGamma=1.000000 yawgix:0[DPY:DP-1-5]/GreenGamma=1.000000 yawgix:0[DPY:DP-1-5]/BlueGamma=1.000000 yawgix:0[DPY:DP-1-5]/Dithering=0 yawgix:0[DPY:DP-1-5]/DitheringMode=0 yawgix:0[DPY:DP-1-5]/DitheringDepth=0 yawgix:0[DPY:DP-1-5]/DigitalVibrance=0 yawgix:0[DPY:DP-1-5]/ColorSpace=0 yawgix:0[DPY:DP-1-5]/ColorRange=0 yawgix:0[DPY:DP-1-5]/SynchronousPaletteUpdates=0 yawgix:0[DPY:DP-1-6]/Dithering=0 yawgix:0[DPY:DP-1-6]/DitheringMode=0 yawgix:0[DPY:DP-1-6]/DitheringDepth=0 yawgix:0[DPY:DP-1-6]/ColorSpace=0 yawgix:0[DPY:DP-1-6]/ColorRange=0 yawgix:0[DPY:DP-1-6]/SynchronousPaletteUpdates=0 yawgix:0[DPY:DP-1-7]/Dithering=0 yawgix:0[DPY:DP-1-7]/DitheringMode=0 yawgix:0[DPY:DP-1-7]/DitheringDepth=0 yawgix:0[DPY:DP-1-7]/ColorSpace=0 yawgix:0[DPY:DP-1-7]/ColorRange=0 yawgix:0[DPY:DP-1-7]/SynchronousPaletteUpdates=0
Xorg.conf
[edit]# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 515.43.04
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 NXG253R"
HorizSync 255.0 - 255.0
VertRefresh 1.0 - 255.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "NVIDIA GeForce RTX 3070"
BusID "PCI:45:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-1"
Option "metamodes" "1920x1080_360 +1920+1080 {AllowGSYNCCompatible=On}"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Potentially necessary but not currently incorporated:
Section "Monitor"
Identifier "Monitor#"
VendorName "Ancor"
ModelName "Ancor Communications Inc VE247"
# on DP-1-5
EndSection
Section "Monitor"
Identifier "Monitor#"
VendorName "Ancor"
ModelName "Ancor Communications Inc ASUS VH236H"
# on DP-1-1
EndSection
Section "Monitor"
Identifier "Monitor#"
VendorName "Acer"
ModelName "Acer GN246HL"
# on DP-1-3, refresh rates below probably not obtainable in current config
HorizSync 30.0 - 160.0
VertRefresh 56.0 - 144.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "Quadro M2000"
BusID "PCI:35:0:0"
# GPU UUID GPU-e5f83f53-b578-af25-7d6f-8c385ec8b8ff
# PCI Device ID 0x1430
# PCI Vendor ID 0x10de
EndSection
.config/systemsettingsrc
[edit][MainWindow] DP-0 DP-1-1 DP-1-3 DP-1-5 XPosition 1920x1080=2037 DP-0 DP-1-1 DP-1-3 DP-1-5 YPosition 1920x1080=1223 DP-1-1 DP-0 DP-1-3 DP-1-5 XPosition 1920x1080=4290 DP-1-1 DP-0 DP-1-3 DP-1-5 YPosition 1920x1080=204 MenuBar=Disabled State=AAAA/wAAAAD9AAAAAAAAA/wAAAK8AAAABAAAAAQAAAAIAAAACPwAAAABAAAAAgAAAAEAAAAWAG0AYQBpAG4AVABvAG8AbABCAGEAcgAAAAAA/////wAAAAAAAAAA ToolBarsMovable=Disabled
Nvidia PRIME
[edit]As we're compositing a screen with some complexity, we need to have some refs to PRIME. To find current info on the PRIME render, install nvidia-prime and run:
prime-run glxinfo | grep "OpenGL renderer" prime-run vulkaninfo
If the proper renderer isn't being used, it may just be the current state (ie. no game running) but we can make some changes if needed.
xrandr --listproviders
This will list out the providers we have and we can use that info to change providers with
xrandr --setprovideroffloadsink 1 0
Environment Settings
[edit]Couple settings to keep in mind for launching games and other graphical things. We are using Nvidia PRIME to create Screen0 and ontop of that we have many displays and we want to ensure our primary monitor with it's fancy 360hz refresh is the one in use.
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia
The above env variables should fix most things and are options in Lutris. Another env option that maybe needed for Windowed Fullscreen apps that have issues with Alt-Tabbing:
SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0