New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sync with sensors applet #30
Conversation
Wow, that's a big one. I have nvidia (with proprietary drivers), so I can test it later. |
@NiceandGently @flexiondotorg @stefano-k |
mbmon is just another monitoring tool like libsensors. It applied cleanly so I thought why not 😄 |
I actually wondered what it might monitor 😄 |
I may misunderstand this but the chips/HW supported are listed in the readme linked. |
About |
I only brought the code in sync with the original applet so that new fixes and feature can be easily applied. The questions are in such a detail that I do not know without spending significant effort to figure out (which I have no time for). re mbmon, it is self contained and does not break anything. Plus the original applet authors considered it useful so who are we to argue against it 😄. Do you care strongly? |
hmm, last xmbmon is from 2005 |
gtk3 build failed with nvidia!
|
Yes distros schip mbmon on linux. And do note that MATE runs on other os's like *bsd where lmsensors is not available. I will look at the build failure when I am back at home next week. |
Ok, bsd is a reason. |
Probably it's some old version of |
Poor BSD users... how did they even use this applet then? lm-sensors is a significant part. |
I can only use this version http://pkgs.fedoraproject.org/cgit/libXNVCtrl.git/log/ |
Damn, version 169 is ancient... Ubuntu 14.04 has 331 (it's in |
......and nvidia-settings is nonfree |
That's not a problem for Mint 😄 |
The nvidia plugin is for the non free driver anyway and will not work without it. While I sympathize with the old version in fedora the commit brings support for newer HW so it will need a newer version of I'll probably merge and push this in a day or two. |
It would be friendly to wait for merging it.
All this action is impossible to do in one or two days. PS: is this commit ever tested for gtk3 on bare metal from anyone other then me? |
Which nvidia-settings version is needed? |
You have till the next MATE release to get this lib updated in fedora, this is not meant to go into 1.10 which should only get bugfixes now. Good enough?
I build against 343.22 so and I think @monsta build against ~340 which is in jessie. |
good enough, so m-s-a needs branched. |
@NiceandGently This is going to cost you some more reviews 😆 https://dl.dropboxusercontent.com/u/6907158/libXNVCtrl-352.21-1.fc23.src.rpm |
tbh, I don't know but.. nvidia-settings does not mention anything on this subject so I think it is likely backwards compatible. |
RFE is filed out. |
I can say it builds fine in Mint 17.2 (based on Ubuntu 14.04) with |
Ok, found out the exact versions where these two defines appeared:
5-6 years ago... 😄 |
Turned out it's a limitation of the applet's own code. |
OK, i tested again and added the new patch. |
Taken from sensors-applet commit: c2596b4534f612ae890fac1719d4e6e6ef35ef91 and adapted for MATE by infirit@gmail.com
…orruption Make sure we don't write past the bounds of the output buffer - thanks to JeanFI for noticing this issue.
Changed() signal doesn't occur that often so instead poll each time to ensure we have the most up-to-date value
Based off sensors-applet commit c1777c9c58994d7eeec95893a5fdd1cbb7acb6eb from Alex Murray <murray.alex@gmail.com>
Adds support for NV_CTRL_THERMAL_SENSOR_READING as alternative to NV_CTRL_GPU_CORE_TEMPERATURE and NV_CTRL_THERMAL_COOLER_LEVEL for reading fan speeds on more modern NVIDIA GPUs.
Adapted for mate-sensors-applet by infirit@gmail.com
Passing NULL to strcmp could be unsafe or at the minimum result in undefined behaviour. g_strcmp0 handles NULL gracefully and returns 0.
commit 1 is good --> applet starts on my notebook Summary: |
Thanks for testing. I merged all the good commits and the 3rd. It looks like you are hitting one of the g_debug's that @monsta and I do not. I'll close this one now and try to figure out what is going on. |
@infirit |
Sync up with most of sensors-applet. There is some code that adds GSettings to sensors-applet but this was not trivial so left for another time.
Compiles and runs nicely here (intel gfx) but needs testing on ati/nvidia hence this PR.