3

Problem:
I have a window of Firefox or of Chrome opened via the launcher in the menu and now I want to run another instance of the program that take advantages of my dedicated Nvidia card, via

optirun firefox

or

primusrum firefox

What I expect:
Like in any other program, the already opened one stays there and continue using the integrated graphinc card, while another window opens and take advantages of the dedicated card.

What I obtain:
The new window somehow uses something of the old one and does not take advantage of the Optimus technology.

IMPORTANT NOTE 1: If I run

optirun firefox

or

optirun google-chrome

when the program is not previously running, the expected behaviour matches what happens, i.e. the browser uses the dedicated GPU.

IMPORTANT NOTE 2: It is NOT a problem of profiles. Running Firefox with another profile (as suggested here) does not change the wrong behaviour.

So, any hint on how to solve this problem?
Is there any parameter that one should pass to the program to make it ignore the other instance and obtain the expected behaviour?

Many thanks in advance.

Less relevant informations on system configuration
Ubuntu version: Kubuntu 13.10
Firefox Version: 26.0
Chrome Version: 31.0.1650.63

dadexix86
  • 6,776

1 Answers1

3

Try

firefox -P different_profile --no-remote

where different_profile differs from the running FF profile, so

optirun firefox -P different_profile --no-remote

For chromium switching simply the profiles should be enough:

optirun chromium-browser --user-data-dir=/path/to/another/profile/dir
falconer
  • 15,334