-
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: vala-panel-appmenu (#962) Signed-off-by: madomado <[email protected]> * fix: rebuild prismlauncher stable against new QT using release bump (#964) Signed-off-by: madomado <[email protected]> * feat: add more repology embeds (#965) Signed-off-by: lleyton <[email protected]> Signed-off-by: madomado <[email protected]> * add: prime-run (#966) * new package: prime-run * add better metadata * oop * apply review suggestions Signed-off-by: madomado <[email protected]> * bump: prismlauncher-qt5 prismlauncher Signed-off-by: madomado <[email protected]> * fix: fix upload sources step in manual builds (#967) Signed-off-by: lleyton <[email protected]> Signed-off-by: madomado <[email protected]> * fix(osu-lazer): do not strip, since that breaks AppImage (#968) Signed-off-by: madomado <[email protected]> --------- Signed-off-by: madomado <[email protected]> Signed-off-by: lleyton <[email protected]> Co-authored-by: lleyton <[email protected]> Co-authored-by: Cappy Ishihara <[email protected]> Co-authored-by: Raboneko <[email protected]>
- Loading branch information
1 parent
3038555
commit 183b57e
Showing
9 changed files
with
62 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
project pkg { | ||
arches = ["x86_64"] | ||
rpm { | ||
spec = "prime-run.spec" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
export __NV_PRIME_RENDER_OFFLOAD=1 | ||
export __GLX_VENDOR_LIBRARY_NAME=nvidia | ||
export __VK_LAYER_NV_optimus=NVIDIA_only | ||
export VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json | ||
exec "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
Name: prime-run | ||
Version: 1.0.0 | ||
Release: 1%{?dist} | ||
Summary: A simple script to run an application with NVIDIA PRIME GPU offloading | ||
|
||
License: MIT | ||
URL: https://terra.fyralabs.com | ||
Source0: prime-run.sh | ||
|
||
# Bash script | ||
Requires: bash | ||
BuildArch: noarch | ||
|
||
%description | ||
A simple Bash script to force an application to run with PRIME GPU offloading. This is useful for | ||
laptops with NVIDIA Optimus technology, where the integrated GPU is switchable alongside the dedicated | ||
NVIDIA GPU. By default, the integrated GPU is used to save power, but this can be overridden for | ||
specific applications using the prime-run script. | ||
|
||
%prep | ||
|
||
|
||
%build | ||
|
||
|
||
%install | ||
install -Dm755 %{SOURCE0} %{buildroot}%{_bindir}/prime-run | ||
|
||
|
||
%files | ||
%{_bindir}/prime-run | ||
|
||
|
||
|
||
%changelog | ||
* Sun Mar 03 2024 Cappy Ishihara <[email protected]> | ||
- Initial release |