Files
tldr/pages.zh/linux/prime-run.md

12 lines
297 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# prime-run
> 使用备用的Nvidia显卡运行程序。
> 更多信息:<https://wiki.archlinux.org/title/PRIME#PRIME_render_offload>。
- 使用专用的Nvidia GPU运行程序
`prime-run {{command}}`
- 验证是否正在使用Nvidia显卡
`prime-run glxinfo | grep "OpenGL renderer"`