diff --git a/oem/slimbook-titan/Packages-Desktop b/oem/slimbook-titan/Packages-Desktop index 870670d1..838729e6 100644 --- a/oem/slimbook-titan/Packages-Desktop +++ b/oem/slimbook-titan/Packages-Desktop @@ -267,6 +267,7 @@ KERNEL-nvidia nvidia-prime xf86-video-amdgpu optimus-manager-plasma +KERNEL-acpi_call ## Desktop Utils perl-file-mimeinfo diff --git a/oem/slimbook-titan/desktop-overlay/etc/optimus-manager/optimus-manager.conf b/oem/slimbook-titan/desktop-overlay/etc/optimus-manager/optimus-manager.conf new file mode 100644 index 00000000..51f659af --- /dev/null +++ b/oem/slimbook-titan/desktop-overlay/etc/optimus-manager/optimus-manager.conf @@ -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 diff --git a/oem/slimbook-titan/desktop-overlay/etc/sddm.conf b/oem/slimbook-titan/desktop-overlay/etc/sddm.conf index 7049bf90..1d53478e 100644 --- a/oem/slimbook-titan/desktop-overlay/etc/sddm.conf +++ b/oem/slimbook-titan/desktop-overlay/etc/sddm.conf @@ -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