bumblebee-indicator

Plasma 5 Add-Ons bumblebee nvidia

Source (required if based on other people's work): https://github.com/bxabi/bumblebee-indicator

2
Score 59%
Description:

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

0.6.1 2 months ago

find nvidia-smi also in lib64/nvidia-current

Ardesqa

10 months 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

10 months 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

10 months 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

Ardesqa

10 months 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

10 months 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

C

bxabi

8 months 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

VaporEidolon

2 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

2 years ago

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

Report

VaporEidolon

2 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

2 years ago

this looks doable.

Report

VaporEidolon

2 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

2 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

2 years ago

That'd be awesome!

Report

VaporEidolon

2 years ago

Thank you for the update!

Report

0.6.1 2 months ago

find nvidia-smi also in lib64/nvidia-current

v 0.6 3 months 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 8 months 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 1 year ago

switch to active status on the system tray on errors.

2 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.

File (click to download) Version Description Packagetype Architecture Downloads Date Filesize DL OCS-Install
Pling
Details
license
GPLv3
version
0.6.1
updated Apr 27 2018
added Dec 16 2015
downloads today
0
page views today 1