PRIMUSRUN(1)
π NAME π
ok so primusrun β she runs an application on a discrete NVIDIA video card β¨ like that's literally her whole job and she ate
π¦ SYNOPSIS π¦
primusrun command
πΈ DESCRIPTION πΈ
ok bestie, here's the tea β Primus implements low-overhead local-only client-side OpenGL offloading via GLX forking. That's the whole vibe. No cap.
It's currently intended to be used alongside Bumblebee, and it gives you a drop-in replacement for optirun β i.e. "primusrun". So if you already know optirun, you already know her. Slay π
β¨ VARIABLES β¨
here's the list of environment variables that affect the primus library and might actually matter to you as an end user, bestie π«Ά
PRIMUS_SYNCβ the readback-display synchronization method, default is00: no sync1: synced, display previous frame2: synced, display latest frame
PRIMUS_VERBOSEβ verbosity level, default is10: only errors1: warnings2: profiling
PRIMUS_DISPLAYβ the secondary Xorg server display number, default is:8
π EXAMPLES π
ok these are the moments, the iconic little demos π
primusrun glxgears -info
Runs the graphics demo supplied by mesa-utils to confirm whether the discrete card is being used for GL rendering. literally the vibe check for your GPU, no cap π
PRIMUS_VERBOSE=2 primusrun glxgears
Runs the graphics demo supplied by mesa-utils with verbose output from primus. she's chatty and we love that for her π£οΈβ¨
vblank_mode=0 primusrun glxgears
Disable vblank synchronisation, typically used for benchmarking purposes. unhinged frame rate, no brakes, we're so back π₯
π ISSUES π
ok so this is the part where we have to be real with you bestie π
Since compositing hurts performance, invoking primus when a compositing WM is active is not recommended. like, please don't. I'm begging π
If you need to use primus with compositing and you see flickering or bad performance, synchronizing primus' display thread with the application's rendering thread may help. here's the move:
PRIMUS_SYNC=1 primusrun ...
This makes primus display the previously rendered frame. Alternatively, with PRIMUS_SYNC=2 primus will display the latest rendered frame, trading frame rate for reduced visual latency. pick your fighter, bestie βοΈ
π AUTHOR π
Primus was created by Alexander Monakov <amonakov@gmail.com>. iconic behaviour fr fr π«Ά
This manual page was written by Vincent Cheng <Vincentc1208@gmail.com>, for the Debian project (and may be used by others). thank you for your service, legend π
and that's the whole page babes β primusrun, from the General Commands Manual, February 2013, page PRIMUSRUN(1) π tysm for reading, go run something on your discrete card, mwah π
π¦ where this page comes from
- arch rolling: primus 20151110-9 Β· custom:ISC
- debian bookworm: primus 0~20150328-15 Β· ISC
- debian trixie: primus 0~20150328-19 Β· ISC
- ubuntu jammy: primus 0~20150328-13 Β· ISC
- ubuntu noble: primus 0~20150328-16 Β· ISC
- ubuntu questing: primus 0~20150328-19
- ubuntu resolute: primus 0~20150328-19build1 Β· ISC
- ubuntu stonking: primus 0~20150328-19build1 Β· ISC
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms