bumblebee-indicator

Plasma 5 Add-Ons bumblebee kde5 kdeplasma nvidia

Source (link to git-repo or to original if based on someone elses unmodified work): https://github.com/bxabi/bumblebee-indicator

2
Score 70.0%
Description:

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

v0.70 5 months ago

An error fixed, the card data didn't appear if the plasmoid was added to the desktop.
Using a more consistent version number.

Zell89

7 months ago

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

Report

C

bxabi

7 months ago

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.

Report

Ardesqa

2 years ago

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?

Report

C

bxabi

1 year ago

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.

Report

Ardesqa

1 year ago

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").

Report

C

bxabi

1 year ago

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?

Report

C

bxabi

1 year ago

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)

Report

Ardesqa

1 year ago

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?

Report

VaporEidolon

3 years ago

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.

Report

C

bxabi

3 years ago

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

Report

VaporEidolon

3 years ago

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!

Report

C

bxabi

3 years ago

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"

Report

VaporEidolon

3 years ago

Thank you for the update!

Report

VaporEidolon

3 years ago

That'd be awesome!

Report

VaporEidolon

3 years ago

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

Report

C

bxabi

3 years ago

this looks doable.

Report

v0.70 5 months ago

An error fixed, the card data didn't appear if the plasmoid was added to the desktop.
Using a more consistent version number.

0.6.1 1 year ago

find nvidia-smi also in lib64/nvidia-current

v 0.6 1 year ago

The command called to request the temperature is executed without optirun, because we know that the card is already on, and otherwise it was actually turning it off after execution.

v 0.5 1 year ago

Unnecessary text visible on the compact layout fixed.

If the nvidia-smi executable is not in the PATH, it is tried to be located in /usr/lib/nvidia-<version>/bin.

v 0.4 2 years ago

switch to active status on the system tray on errors.

3 years ago

v 0.35:
- if the plasmoid is in the system tray, it is hiding unti the card is started.
- new setting to allow requesting the card onfo only when the card is already on.

v 0.3
- added temperature and card info.

12345678910
16
product-maker tepca Nov 09 2016 9 excellent
product-maker dubious Nov 09 2016 9 excellent
product-maker fracaburda Oct 31 2016 9 excellent
product-maker VaporEidolon Apr 05 2016 9 excellent
product-maker qtnerd Jan 24 2016 3 bad
product-maker unikum111 Dec 27 2015 9 excellent
product-maker janet Dec 21 2015 9 excellent
product-maker Count: 4 Rating: 5.0
File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
GPLv3
version
0.70
updated Mar 19 2019
added Dec 16 2015
downloads 24h
8
page views 24h 6