I'm not sure, if anyone wants to play feed the beast, under linux on a notebook with NVidia Optimus (or Bumblebee on linux), but optirun does not work with the FTB launcher currently.
problem:
executing "optirun java -jar FTB_launcher.jar" fails when it tres to launch minecraft.jar
It's probably caused by the FTB launcher starting minecraft in a separate process and exiting right after, witch in turn termintes it's parent process "optirun".
workaround:
instead of using optirun to start the launcher, modifying the net.ftb.mclauncher.MinecraftLauncher.java: in the launchMinecraft function adding the "/usr/bin/optirun" string to the start as the `arguments' variable first element.
(72th line adding `arguments.add("/usr/bin/optirun")' before `arguments.add(path)', if JD-GUI is correct)
possible solution:
Not starting minecraft in a separate process, or waing on the process until it finishes execution.
Or just adding a command line parameter to control whether or not optirun used inside,
problem:
executing "optirun java -jar FTB_launcher.jar" fails when it tres to launch minecraft.jar
It's probably caused by the FTB launcher starting minecraft in a separate process and exiting right after, witch in turn termintes it's parent process "optirun".
workaround:
instead of using optirun to start the launcher, modifying the net.ftb.mclauncher.MinecraftLauncher.java: in the launchMinecraft function adding the "/usr/bin/optirun" string to the start as the `arguments' variable first element.
(72th line adding `arguments.add("/usr/bin/optirun")' before `arguments.add(path)', if JD-GUI is correct)
possible solution:
Not starting minecraft in a separate process, or waing on the process until it finishes execution.
Or just adding a command line parameter to control whether or not optirun used inside,