mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-30 19:41:40 +00:00
18 lines
416 B
Plaintext
18 lines
416 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# prime-run
|
|
|
|
> Run a program using an alternative Nvidia graphics card.
|
|
> More information: <https://wiki.archlinux.org/title/PRIME#PRIME_render_offload>.
|
|
|
|
- Run a program using a dedicated Nvidia GPU:
|
|
|
|
`prime-run {{command}}`
|
|
|
|
- Validate whether the Nvidia card is being used:
|
|
|
|
`prime-run glxinfo | grep "OpenGL renderer"`
|