Add optimus manager and full GPU power off config
This commit is contained in:
1
etc/optimus-manager/nvidia-disable.sh
Executable file
1
etc/optimus-manager/nvidia-disable.sh
Executable file
@ -0,0 +1 @@
|
||||
sudo sh -c 'echo "\\_SB.PCI0.GPP0.PG00._OFF" > /proc/acpi/call'
|
1
etc/optimus-manager/nvidia-enable.sh
Executable file
1
etc/optimus-manager/nvidia-enable.sh
Executable file
@ -0,0 +1 @@
|
||||
sudo sh -c 'echo "\\_SB.PCI0.GPP0.PG00._ON" > /proc/acpi/call'
|
12
etc/optimus-manager/optimus-manager.conf
Normal file
12
etc/optimus-manager/optimus-manager.conf
Normal 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
|
9
etc/optimus-manager/xorg-amd.conf
Normal file
9
etc/optimus-manager/xorg-amd.conf
Normal 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"
|
9
etc/optimus-manager/xorg-intel.conf
Normal file
9
etc/optimus-manager/xorg-intel.conf
Normal 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"
|
9
etc/optimus-manager/xorg-nvidia.conf
Normal file
9
etc/optimus-manager/xorg-nvidia.conf
Normal 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"
|
4
etc/optimus-manager/xsetup-amd.sh
Executable file
4
etc/optimus-manager/xsetup-amd.sh
Executable 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'
|
3
etc/optimus-manager/xsetup-intel.sh
Executable file
3
etc/optimus-manager/xsetup-intel.sh
Executable 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.
|
5
etc/optimus-manager/xsetup-nvidia.sh
Executable file
5
etc/optimus-manager/xsetup-nvidia.sh
Executable 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'
|
Reference in New Issue
Block a user