Guest User

Untitled

a guest
Aug 24th, 2022
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.60 KB | None | 0 0
  1. [optimus]
  2.  
  3. # This parameter defines the method used to power switch the Nvidia card. See the documentation
  4. # for a complete description of what each value does. Possible values :
  5. #
  6. # - nouveau : load the nouveau module on the Nvidia card.
  7. # - bbswitch : power off the card using the bbswitch module (requires the bbswitch dependency).
  8. # - acpi_call : try various ACPI method calls to power the card on and off (requires the acpi_call dependency)
  9. # - custom: use custom scripts at /etc/optimus-manager/nvidia-enable.sh and /etc/optimus-manager/nvidia-disable.sh
  10. # - none : do not use an external module for power management. For some laptop models it's preferable to
  11. # use this option in combination with pci_power_control (see below).
  12. switching=none
  13.  
  14. # Enable PCI power management in "integrated" mode.
  15. # This option is incompatible with acpi_call and bbswitch, so it will be ignored in those cases.
  16. pci_power_control=no
  17.  
  18. # Remove the Nvidia card from the PCI bus.
  19. # May prevent crashes caused by power switching.
  20. # Ignored if switching=nouveau or switching=bbswitch.
  21. pci_remove=no
  22.  
  23. # Reset the Nvidia card at the PCI level before reloading the nvidia module.
  24. # Ensures the card is in a fresh state before reloading the nvidia module.
  25. # May fix some switching issues. Possible values :
  26. #
  27. # - no : does not perform any reset
  28. # - function_level : perform a light "function-level" reset
  29. # - hot_reset : perform a "hot reset" of the PCI bridge. ATTENTION : this method messes with the hardware
  30. # directly, please read the online documentation of optimus-manager before using it.
  31. # Also, it will perform a PCI remove even if pci_remove=no.
  32. #
  33. pci_reset=no
  34.  
  35. # Automatically log out the current desktop session when switching GPUs.
  36. # This feature is currently supported for the following DE/WM :
  37. # GNOME, KDE Plasma, LXDE, Deepin, Xfce, i3, Openbox, AwesomeWM, bspwm and dwm
  38. # If this option is disabled or you use a different desktop environment,
  39. # GPU switching only becomes effective at the next graphical session login.
  40. auto_logout=yes
  41.  
  42. # GPU mode to use at computer startup.
  43. # Possible values: nvidia, integrated, hybrid, auto, intel (deprecated, equivalent to integrated)
  44. # "auto" is a special mode that auto-detects if the computer is running on battery
  45. # and selects a proper GPU mode. See the other options below.
  46. startup_mode=nvidia
  47. # GPU mode to select when startup_mode=auto and the computer is running on battery.
  48. # Possible values: nvidia, integrated, hybrid, intel (deprecated, equivalent to integrated)
  49. startup_auto_battery_mode=integrated
  50. # GPU mode to select when startup_mode=auto and the computer is running on external power.
  51. # Possible values: nvidia, integrated, hybrid, intel (deprecated, equivalent to integrated)
  52. startup_auto_extpower_mode=nvidia
  53.  
  54.  
  55. [intel]
  56.  
  57. # Driver to use for the Intel GPU. Possible values : modesetting, intel
  58. # To use the intel driver, you need to install the package "xf86-video-intel".
  59. driver=modesetting
  60.  
  61. # Acceleration method (corresponds to AccelMethod in the Xorg configuration).
  62. # Only applies to the intel driver.
  63. # Possible values : sna, xna, uxa
  64. # Leave blank for the default (no option specified)
  65. accel=
  66.  
  67. # Enable TearFree option in the Xorg configuration.
  68. # Only applies to the intel driver.
  69. # Possible values : yes, no
  70. # Leave blank for the default (no option specified)
  71. tearfree=
  72.  
  73. # DRI version. Possible values : 2, 3
  74. DRI=3
  75.  
  76. # Whether or not to enable modesetting for the nouveau driver.
  77. # Does not affect modesetting for the Intel GPU driver !
  78. # This option only matters if you use nouveau as the switching backend.
  79. modeset=yes
  80.  
  81.  
  82. [amd]
  83.  
  84. # Driver to use for the AMD GPU. Possible values : modesetting, amdgpu
  85. # To use the amdgpu driver, you need to install the package "xf86-video-amdgpu".
  86. driver=modesetting
  87.  
  88. # Enable TearFree option in the Xorg configuration.
  89. # Only applies to the amdgpu driver.
  90. # Possible values : yes, no
  91. # Leave blank for the default (no option specified)
  92. tearfree=
  93.  
  94. # DRI version. Possible values : 2, 3
  95. DRI=3
  96.  
  97.  
  98. [nvidia]
  99.  
  100. # Whether or not to enable modesetting. Required for PRIME Synchronization (which prevents tearing).
  101. modeset=yes
  102.  
  103. # Whether or not to enable the NVreg_UsePageAttributeTable option in the Nvidia driver.
  104. # Recommended, can cause poor CPU performance otherwise.
  105. PAT=yes
  106.  
  107. # DPI value. This will be set using the Xsetup script passed to your login manager.
  108. # It will run the command
  109. # xrandr --dpi <DPI>
  110. # Leave blank for the default (the above command will not be run).
  111. DPI=96
  112.  
  113. # If you're running an updated version of xorg-server (let's say to get PRIME Render offload enabled),
  114. # the nvidia driver may not load because of an ABI version mismatch. Setting this flag to "yes"
  115. # will allow the loading of the nvidia driver.
  116. ignore_abi=no
  117.  
  118. # Set to yes if you want to use optimus-manager with external Nvidia GPUs (experimental)
  119. allow_external_gpus=no
  120.  
  121. # Comma-separated list of Nvidia-specific options to apply.
  122. # Available options :
  123. # - overclocking : enable CoolBits in the Xorg configuration, which unlocks clocking options
  124. # in the Nvidia control panel. Note: does not work in hybrid mode.
  125. # - triple_buffer : enable triple buffering.
  126. options=overclocking
  127.  
  128.  
  129. # Enable Runtime D3 (RTD3) Power Management in the Nvidia driver. While in hybrid mode,
  130. # this feature allows the Nvidia card to go into a low-power mode if it's not in use.
  131. #
  132. # IMPORTANT NOTES:
  133. # - The feature is still experimental
  134. # - It's only supported on laptops with a Turing GPU or above, and an Intel Coffee Lake CPU
  135. # or above (not sure about the state of support for AMD CPUs).
  136. # - if your Nvidia card also has an audio chip (for HDMI) or a USB port wired to it, they may not
  137. # function properly while in low-power mode
  138. #
  139. # For more details, see
  140. # https://download.nvidia.com/XFree86/Linux-x86_64/460.39/README/dynamicpowermanagement.html
  141. #
  142. # Available options:
  143. # - no (the default): RTD3 power management is disabled.
  144. # - coarse: the card only goes to low-power if no application is using it.
  145. # - fine: the card is also allowed to go to low-power if applications are using it but have not
  146. # actively submitted GPU work in some amount of time.
  147. dynamic_power_management=fine
  148.  
  149. # The Nvidia driver handles power to the video memory separately from the rest of GPU.
  150. # When dynamic_power_management=fine, this options controls the threshold of memory utilization
  151. # (in Megabytes) under which the memory is put in a low-power state.
  152. # Values over 200MB are ignored. Leave blank for the default (200MB).
  153. # Setting this value to 0 keeps the memory powered at all times.
  154. dynamic_power_management_memory_threshold=
  155.  
Advertisement
Add Comment
Please, Sign In to add comment