可能重复:
How to run build using graphics drivers by using optirun (Bumblebee) from IDE (Netbeans, Eclipse)?
我正在和Bumblebee一起运行Ubuntu 11.10用于nvidia optimus显卡。到目前为止一切正常,所以当我输入optirun glxspheres
时,显卡会很好。
当我构建一个使用旧显卡的Libgdx Desktop项目时,我遇到的问题是Eclipse。我使用optirun ./eclipse
运行eclipse但由于某些原因,当我构建项目时,它仍然使用旧的图形卡运行。
任何想法,为什么会发生这种情况或我如何能够解决它?