Can I somehow remove the ~4 seconds delay present in calls to optirun? I need my compiler-run iterations to run faster. Does bumblebeed play a role in this?
I'm sitting on Ubuntu 12.04 on an ASUS X53S with NVIDIA GEFORCE GT 630M.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
That delay is caused by the time that is necessary for starting the secondary X server. If you do not need to preserve power, I suggest you to change
/etc/bumblebee/bumblebee.conf. After doing so, restart the BUmblebee daemon with
sudo restart bumblebeed. Now, only the initial start takes some time, but further use of the card is instant.
Alternatively you can keep another program using
optirun so that the X server is not shutdown after each run of
optirun. I use it like:
(in a different shell):
When done, I can close the
optirun shell by typing