Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Ports
primus
primusrun
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File primusrun of Package primus
#!/bin/bash # Readback-display synchronization method # 0: no sync, 1: D lags behind one frame, 2: fully synced # export PRIMUS_SYNC=${PRIMUS_SYNC:-0} # Verbosity level # 0: only errors, 1: warnings (default), 2: profiling # export PRIMUS_VERBOSE=${PRIMUS_VERBOSE:-1} # Secondary display # export PRIMUS_DISPLAY=${PRIMUS_DISPLAY:-:8} # "Accelerating" libGL # $LIB will be interpreted by the dynamic linker export PRIMUS_libGLa=${PRIMUS_libGLa:-'/usr/$LIB/nvidia/libGL.so.1'} # "Displaying" libGL export PRIMUS_libGLd=${PRIMUS_libGLd:-'/usr/$LIB/libGL.so.1'} # Directory containing primus libGL PRIMUS_libGL=/usr/lib64/primus:/usr/lib/primus:/usr/lib64/nvidia:/usr/lib/nvidia${PRIMUS_libGL:-$(dirname `readlink -ne $0`)/'$LIB'} # On some distributions, e.g. on Gentoo, libnvidia-tls.so is not available # in default search paths. Add its path manually after the primus library # PRIMUS_libGL=/usr/$LIB/primus:/usr/lib64/nvidia:/usr/lib/nvidia${PRIMUS_libGL}:/usr/\$LIB/opengl/nvidia/lib # Mesa drivers need a few symbols to be visible # export PRIMUS_LOAD_GLOBAL=${PRIMUS_LOAD_GLOBAL:-'libglapi.so.0'} # Need functions from primus libGL to take precedence export LD_LIBRARY_PATH=${PRIMUS_libGL}${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} # And go! exec "$@"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor