[slimbook-titan] add optimus-manager config

This commit is contained in:
Bernhard Landauer 2022-08-31 09:37:29 +02:00
parent e35bf8c8c5
commit b0661e1a9a
3 changed files with 33 additions and 2 deletions

View file

@ -267,6 +267,7 @@ KERNEL-nvidia
nvidia-prime
xf86-video-amdgpu
optimus-manager-plasma
KERNEL-acpi_call
## Desktop Utils
perl-file-mimeinfo

View file

@ -0,0 +1,30 @@
[amd]
DRI=3
driver=amdgpu
tearfree=
[intel]
DRI=3
accel=
driver=modesetting
modeset=yes
tearfree=
[nvidia]
DPI=96
PAT=yes
allow_external_gpus=no
dynamic_power_management=no
ignore_abi=no
modeset=yes
options=overclocking
[optimus]
auto_logout=yes
pci_power_control=no
pci_remove=no
pci_reset=no
startup_auto_battery_mode=integrated
startup_auto_extpower_mode=nvidia
startup_mode=hybrid
switching=acpi_call

View file

@ -89,10 +89,10 @@ SessionLogFile=.local/share/sddm/wayland-session.log
[X11]
# Path to a script to execute when starting the display server
DisplayCommand=/usr/share/sddm/scripts/Xsetup
# DisplayCommand=/usr/share/sddm/scripts/Xsetup
# Path to a script to execute when stopping the display server
DisplayStopCommand=/usr/share/sddm/scripts/Xstop
# DisplayStopCommand=/usr/share/sddm/scripts/Xstop
# Enable Qt's automatic high-DPI scaling
EnableHiDPI=false