Source i (link to git-repo or to original if based on someone elses unmodified work):

https://github.com/bxabi/bumblebee-indicator

Original
2
Become a Fan
7.1

Description:
It indicates the on or off status and temperature of the Nvidia card on the Optimus systems, when bumblebee is used.
Last changelog:

v 0.80

Updated to Plasma 6.

(Plasma 5 is kept in a separate branch and at version 0.70)


Ratings & Comments

17 Comments

dross

10 10 the best

Zell89

Could you consider to add buttons to switch on or off nvidia card? Like the gnome prime-indicator

bxabi

That sounds a good idea. But as I know root permission is needed to turn the card on or off, so not sure how I could add this.

Ardesqa

It shows "[ERROR]Error running "nvidia-smi": No such file or directory" and degree sign, not the discrete card temperature instead. What I do wrong?

bxabi

Hi. It seems that there is something wrong with your bumblebee installation. A monitoring and management command line utility, nvidia-smi, is included with the NVIDIA Linux graphics driver.

Ardesqa

When I installed Bumblebee it also installs a "nvidia-304" package. And yes, in "/usr/lib/nvidia-304/bin" file "nvidia-smi" is included, and its running through terminal app using "optirun ./nvidia-smi". Where does your plasmoid searching this file? Can I make a shortcut in this directory?

Ardesqa

Also you have errors in your command that checked the GPU temperature. The command should look like this: "optirun ./nvidia-smi --query --display=TEMPERATURE | grep Gpu", because "grep Current" gets nothing. And, maybe, it should detect driver version and going in its folder through "cd /usr/lib/nvidia-XXX", where "XXX" means driver version (e.g. "nvidia-304").

bxabi

Yes it seems that the command I call is too specialized. I will update it in the next days. If you have the time, you can also contribute the change (with pull request I think)

bxabi

Hi, finally I think I made the fix for this. I added code to look for the nvidia-smi in the /usr/lib/nvidia-, so now it should also works if the nvidia driver is installed this way. There is also a layout fix included. If the grep "GPU Current Temp" is empty for you, can you send your output to compare?

VaporEidolon

It is quite disappointing to click on this plasmoid and find it empty! Some nice info could be put there, such as GPU usage, temperature, total usage time this session etc.

bxabi

thanks the observation. These are good ideas, I am planning to add some of them in a new update.

VaporEidolon

Another small thing: bumblebee indicator should hide itself when the nvidia card is OFF, and show when the nvidia card is ON. ;)

bxabi

this looks doable.

VaporEidolon

Thank you for the new version. However, I find it is a terrible design decision that when you click on the applet, the GPU is turned on. On amy systems, bumblebee has a bug in which the GPU is not turned back off. This means that on my system, if I click on the applet, to turn off the GPU I have to go through the removal of nvidia modules, and restarting bumblebee. It's a nice option, but since there is this annoying bug, if should be optional IMHO. Thanks again!

bxabi

I had no idea about this driver bug. It's surely a pain to remove and reinstall. I did not found yet a wait to get the info without turning the card on, ideas welcome. I can add a setting, something like "Only show data if the card is already on", or "the widget is allowed to turn on the card to query the information page"

VaporEidolon

That'd be awesome!

VaporEidolon

Thank you for the update!

Pling
0 Affiliates
Details
license GPLv3
version 0.80
updated
added
downloads 24h 3
mediaviews 24h 0
pageviews 24h 8

Other Plasma 6 Applets:

Awesome Widgets
arcanis
last update date: 10 months ago

Score 7.9

Qalculate
dschopf
last update date: 8 months ago

Score 7.7

Shutdown or Switch
davide-sd
last update date: 1 year ago

Score 6.6

Workrave Applet
wojnilowicz
last update date: 4 months ago

Score 6.3

Plasmataker
solant
last update date: 7 months ago

Score 7.3

Day/Night Switcher
heqro
last update date: 3 months ago

Score 6.4