Add optimus manager and full GPU power off config

This commit is contained in:
2020-08-07 22:07:32 -05:00
parent 43705a276a
commit 705f307a03
16 changed files with 112 additions and 20 deletions

View File

@ -0,0 +1 @@
sudo sh -c 'echo "\\_SB.PCI0.GPP0.PG00._OFF" > /proc/acpi/call'

View File

@ -0,0 +1 @@
sudo sh -c 'echo "\\_SB.PCI0.GPP0.PG00._ON" > /proc/acpi/call'

View File

@ -0,0 +1,12 @@
[optimus]
switching=none
pci_power_control=no
pci_remove=no
pci_reset=no
auto_logout=yes
startup_mode=amd
[nvidia]
modeset=yes
PAT=yes
options=overclocking

View File

@ -0,0 +1,9 @@
# You can use this file to add Xorg options which are not covered in the configuration file.
#
# Everything you put here will go to the "Device" section corresponding
# to the AMD GPU in the Xorg configuration.
# Lines starting with # are ignored.
#
# Example :
#
# Option "Backlight" "amdgpu_bl1"

View File

@ -0,0 +1,9 @@
# You can use this file to add Xorg options which are not covered in the configuration file.
#
# Everything you put here will go to the "Device" section corresponding
# to the Intel GPU in the Xorg configuration.
# Lines starting with # are ignored.
#
# Example :
#
# Option "Backlight" "intel_backlight"

View File

@ -0,0 +1,9 @@
# You can use this file to add Xorg options which are not covered in the configuration file.
#
# Everything you put here will go to the "Device" section corresponding
# to the Nvidia GPU in the Xorg configuration.
# Lines starting with # are ignored.
#
# Example :
#
# Option "ConnectToAcpid" "0"

View File

@ -0,0 +1,4 @@
#!/bin/sh
# Everything you write here will be executed by the display manager when setting up the login screen in AMD mode.
#sudo sh -c 'echo "\\_SB.PCI0.GPP0.PG00._OFF" > /proc/acpi/call'

View File

@ -0,0 +1,3 @@
#!/bin/sh
# Everything you write here will be executed by the display manager when setting up the login screen in Intel mode.

View File

@ -0,0 +1,5 @@
#!/bin/sh
# Everything you write here will be executed by the display manager when setting up the login screen in Nvidia mode.
# (but before optimus-manager sets up PRIME with xrandr commands).
#sudo sh -c 'echo "\\_SB.PCI0.GPP0.PG00._ON" > /proc/acpi/call'