https://github.com/aniketfuryrocks/prime-run
a simple bash script to run apps with prime render offloading
https://github.com/aniketfuryrocks/prime-run
bash graphics linux nvidia offload optimus-laptops
Last synced: about 2 months ago
JSON representation
a simple bash script to run apps with prime render offloading
- Host: GitHub
- URL: https://github.com/aniketfuryrocks/prime-run
- Owner: aniketfuryrocks
- License: mit
- Created: 2021-10-21T10:01:52.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-21T10:19:32.000Z (over 4 years ago)
- Last Synced: 2025-10-10T09:05:37.588Z (9 months ago)
- Topics: bash, graphics, linux, nvidia, offload, optimus-laptops
- Language: Shell
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# prime-run
*a simple bash script to run apps with prime render offload*
```bash
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia "$@"
```
## Install
*make executable*
```
chmod +x prime-run
```
*add to path*
```
sudo mv prime-run /usr/bin/
```
## Usage
```bash
prime-run firefox
```