Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lemmy04:snowglobe
viewer-release
optirun_wrapper.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File optirun_wrapper.diff of Package viewer-release
diff -r 18c50a0ad6c0 indra/newview/linux_tools/wrapper.sh --- a/indra/newview/linux_tools/wrapper.sh Fri Dec 05 15:46:08 2014 -0500 +++ b/indra/newview/linux_tools/wrapper.sh Tue Dec 16 20:41:49 2014 +0100 @@ -57,6 +57,14 @@ #export LL_WRAPPER='gdb --args' #export LL_WRAPPER='valgrind --smc-check=all --error-limit=no --log-file=secondlife.vg --leak-check=full --suppressions=/usr/lib/valgrind/glibc-2.5.supp --suppressions=secondlife-i686.supp' +## +## detect bumblebee architecture: +## - bbswitch module is loaded +## - optirun exist and is executable +## if so, set LL_WRAPPER to optirun (and hope for the best) +OPTIRUN=$(type -p optirun) +[ -s /sys/module/bbswitch/version -a -n ${OPTIRUN} -a -x ${OPTIRUN} ] && LL_WRAPPER=${OPTIRUN} + ## - Avoids an often-buggy X feature that doesn't really benefit us anyway. export SDL_VIDEO_X11_DGAMOUSE=0
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