Is it possible to use unity web player with Bumblebee?

Asked by Zalbor on 2014-12-08

I'm on a laptop that uses Nvidia Optimus. I normally run my web browser on the Intel chip, but ideally I'd like to use the Nvidia chip for Unity Web Player.

Is it at all possible to do this? Normally, running an application on the Nvidia chip, using Bumblebee, is done by adding "primusrun" before the command name.

I imagine that running my web browser that way when I intend to use UWP would do it, but I wonder if it's possible to make the plugin run this way without the rest of the web browser. Since pipelight uses (a version of) wine behind the scenes, could that instance of wine run under primusrun?

Question information

Language:
English Edit question
Status:
Solved
For:
Pipelight Edit question
Assignee:
No assignee Edit question
Solved by:
Michael Müller
Solved:
2014-12-08
Last query:
2014-12-08
Last reply:
2014-12-08
Best Michael Müller (mqchael) said : #1

Hi,

as you already said, starting your browser using primusrun would solve this problem. If you only want to run the plugin itself with primusrun, you can use a similar approach than the one I described in https://answers.launchpad.net/pipelight/+question/258085

It might be possible that this approach might cause some problems when the plugin is embedded into the browser, but you will need to try this out.

Michael

Zalbor (zalbor) said : #3

Thanks! I'll give it a try at some point. It may not work but that answer shows the way to try, so that should be enough.