if you add the prime-run to the command line on that specific programm like you did with okular it launches automatically on nvidia…
but if you know how to set it up like that, so go ahead…
run some app with prime-run and see if it appears in nvidia-smi… the firefox is consuming like 1mib which is nothing…
Looks like there’s some confusion between application command exec string and krunner behaviour.
For ex. google chrome has exec string prime-run /usr/bin/google-chrome-stable %U but in process list it shows /opt/google/chrome/chrome as the command the chrome process was run with.
When I run gimp through app menu or krunner shortcut - it’s not shown in nvidia-smi list, though it’s pretty heavy process.
thats where the prime-run should be placed…
and is chrome detected in nvidia-smi?
and did you run gimp with prime-run? if no, run it and then open again nvidia-smi
launched prime-run gimp, then nvidia-smi: gimp is not there.
And the item /usr/lib/firefox/firefox 1MiB is also strange given the firefox is now runnig HD video.
my knowledge regarding this prime-run/nvidia is limited, but i just checked and only apps that support hardware accelaration can run with prime-run … i would suggest to create a new topic where you describe that the prime-run is not working correctly… also check on forum posts regarding prime-run…
you could try installing optimus as mentioned above, and switch completely to nvidia, and if you dont end up again with a black screen on laptop, keep only using nvidia…
I remember I had black screens along with optimus configuration, that makes me hesitate in choosing between optimus and prime.
I just wanted to get most of hybrid configuration: it would somehow carelessly to throw all the apps (small and complex) exclusively to NVIDIA having Intel in idle state.
Ok, agree, that deserves for another topic.
Thank you for a great help.
I don’t know if final solution can be combined from multiple posts within this topic, I see 2 stages here: 1) removing bbswitch, 2) managing GPU switching tool.