Debian Codegraph @

primusrun.1

raw
1 .TH PRIMUSRUN "1" "February 2013" "primusrun"
2 .SH NAME
3 primusrun \- run an application on a discrete NVIDIA video card
4 .SH SYNOPSIS
5 \fBprimusrun\fR \fIcommand \fR
6 .SH DESCRIPTION
7 Primus implements low-overhead local-only client-side OpenGL offloading via
8 GLX forking.
9 .sp
10 It is currently intended to be used alongside Bumblebee and provides a
11 drop-in replacement for optirun (i.e. "primusrun").
12 .SH VARIABLES
13 The following is a list of environment variables affecting primus library that
14 may be relevant for end users:
15 .IP "\s-1PRIMUS_SYNC\s0" 4
16 Readback-display synchronization method (default: 0)
17 .br
18 0: no sync, 1: synced, display previous frame, 2: synced, display latest frame
19 .IP "\s-1PRIMUS_VERBOSE\s0" 4
20 Verbosity level (default: 1)
21 .br
22 0: only errors, 1: warnings, 2: profiling
23 .IP "\s-1PRIMUS_DISPLAY\s0" 4
24 The secondary Xorg server display number (default: :8)
25 .SH EXAMPLES
26 .TP
27 \fBprimusrun glxgears \-info\fR
28 Runs the graphics demo supplied by mesa-utils to confirm whether the
29 discrete card is being used for GL rendering.
30 .TP
31 \fBPRIMUS_VERBOSE=2 primusrun glxgears\fR
32 Runs the graphics demo supplied by mesa-utils with verbose output from primus.
33 .TP
34 \fBvblank_mode=0 primusrun glxgears\fR
35 Disable vblank synchronisation, typically used for benchmarking purposes.
36 .SH ISSUES
37 Since compositing hurts performance, invoking primus when a compositing WM
38 is active is not recommended. If you need to use primus with compositing and
39 see flickering or bad performance, synchronizing primus' display thread with
40 the application's rendering thread may help.
41 .sp
42 \fBPRIMUS_SYNC=1 primusrun ...\fR
43 .sp
44 This makes primus display the previously rendered frame. Alternatively, with
45 PRIMUS_SYNC=2 primus will display the latest rendered frame, trading frame
46 rate for reduced visual latency.
47 .SH AUTHOR
48 Primus was created by Alexander Monakov <[email protected]>.
49 .PP
50 This manual page was written by Vincent Cheng <[email protected]>,
51 for the Debian project (and may be used by others).