Add optimus cli support

This commit is contained in:
Ward Nakchbandi (From Fusion-voyager-3) 2023-09-30 10:42:36 +03:00
parent fdb1652893
commit 4a2c061f46
5 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,10 @@
pika-baseos (2.5.1-100pika1) pikauwu; urgency=medium
* Add optimus commands
-- Ward Nakchbandi <hotrod.master@hotmail.com> Thu, 12 Jan 2023 16:48:00 +030
pika-baseos (2.5.0-100pika1) pikauwu; urgency=medium pika-baseos (2.5.0-100pika1) pikauwu; urgency=medium
* pikauwu release * pikauwu release

View File

@ -77,6 +77,7 @@ Depends: ${misc:Depends},
## Power saving and laptops ## Power saving and laptops
laptop-detect, laptop-detect,
supergfxctl, supergfxctl,
switcheroo-control,
acpi, acpi,
acpi-call-dkms, acpi-call-dkms,
## Printing ## Printing

1
pika-baseos/usr/bin/optirun Symbolic link
View File

@ -0,0 +1 @@
/usr/bin/prime-run

3
pika-baseos/usr/bin/prime-run Executable file
View File

@ -0,0 +1,3 @@
#! /bin/bash
__GLX_VENDOR_LIBRARY_NAME=nvidia __NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only LIBVA_DRIVER_NAME=nvidia "$@"

View File

@ -0,0 +1 @@
/usr/bin/prime-run