XBMC advancedsettings.xml (CPU and GPU temp) - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52) +---- Thread: XBMC advancedsettings.xml (CPU and GPU temp) (/showthread.php?tid=101125) Pages:
1
2
|
XBMC advancedsettings.xml (CPU and GPU temp) - xenos1303 - 2011-05-09 Hello everyone. I want to see GPU and CPU temperature into my XBMC. I was read http://wiki.xbmc.org/index.php?title=Advancedsettings.xml#.3Cgputempcommand.3E howto about advancedsettings.xml. and make this file. Please see my example:\ Quote:<advancedsettings> Files named like cpu-temp.sh and gpu-temp.sh are scripts witch display only value of temp sensor. When XBMC start I can see into xbmc.log: Quote:21:18:26 T:140449228470336 M:1798955008 NOTICE: Loaded advancedsettings.xml from special://profile/advancedsettings.xml But CPU and GPU value of temperature don't displayed. Consult me please for help to solve my issue. - thethirdnut - 2011-05-10 Just put the command right in there; test the bits first of course in a separate terminal. Here's my advancedsettings.xml in its entirety. Code: <advancedsettings> Your exact code will no doubt be slightly different. - xenos1303 - 2011-05-10 Thanks it's great work. - lithiumc - 2011-05-10 I use the following to get CPU temp to work on xbmc Code: echo "$(sensors -u | grep "temp1_input"| awk '{print $2 }' |awk '{printf("%d C \n",$1 + 0.5);}')" - Vantskruv - 2011-05-14 Mine looks like this: Code: echo "$(sensors | grep "CPU Temperature" | grep -o "+[0-9]*.[0-9]*" | sed -n "/+[0-9]*.[0-9]/{;p;q;}") C" RE: XBMC advancedsettings.xml (CPU and GPU temp) - kfy2000 - 2012-11-02 I calculate average CPU temp for a Core 2 Duo Code: echo "$(sensors -u|awk 'NR==4 || NR==9 {sum += $2} END {print sum/2}') C" RE: XBMC advancedsettings.xml (CPU and GPU temp) - un1versal - 2012-11-02 For ION gen 1 in Ubuntu Code: <advancedsettings> uNi RE: XBMC advancedsettings.xml (CPU and GPU temp) - FernetMenta - 2012-11-02 In case you want to avoid occasional stutter get rid of this gputemp script. calling nvidia-settings during playback can harm. Why are you interested in this useless information? RE: XBMC advancedsettings.xml (CPU and GPU temp) - un1versal - 2012-11-02 Perhaps GPU temperature can be called via Code: nvidia-smi -q -d TEMPERATURE | grep Gpu | cut -c35-36 instead of nvidia-settings though idk if that is bad too like FernetMenta said. I cant speak for anyone else but I prefer to display such useless information, in fact I think xbmc should display other information like hdd temps and perhaps fan speeds, specially when you only have xbmc running in a system like Linux and no other things like a window manager or even for openlelec type installs. uNi RE: XBMC advancedsettings.xml (CPU and GPU temp) - FernetMenta - 2012-11-02 I am not sure but I think nvidia-smi calls the same API functions when querying temperature. If you encounter any stuttering, please remove this call first and try again. In my former box I had a passively cooled GT220. In order to fit it in the case I had to cut away a piece of the cooler. In the beginning I monitored the temp via a remote shell. It got hot, iirc close to < 10°C of maximum spec which is I think 105°C. This bothered me a while. Then I stopped monitoring and I felt much happier. Why bother? The primary reason for the temp sensor in the chip is self protection, not presenting the value to the user. RE: XBMC advancedsettings.xml (CPU and GPU temp) - un1versal - 2012-11-02 Ah I see, peace of mind via obscurity I never noticed any stuttering that went away without these values, nvidia-smi has 0 delay while nvidia-settings offers a minor delay in temp display though I never managed to use nvidia-smi to call temsp via as.xml Edit stuttering using nvidia-settings to control fan speed I would bow to your knowledge either way though since your the expert here in more ways xbmc than one hehe Edit: the nvidia-smi method works in xbmc as below: If its better than nvidia-settings for possible stutter idk. Code: <gputempcommand>echo "$(nvidia-smi -q -d TEMPERATURE | grep Gpu | cut -c35-36) C"</gputempcommand> I read some difference in between nvidia-settings and nvidia-smi is one uses X the other doesn't https://sites.google.com/site/akohlmey/random-hacks/nvidia-gpu-coolness what API it uses * un1versal shrugs uNi RE: XBMC advancedsettings.xml (CPU and GPU temp) - spookybathtub - 2013-08-13 Where are these temps supposed to be displayed in the GUI? RE: XBMC advancedsettings.xml (CPU and GPU temp) - teeedubb - 2013-08-13 System info. RE: XBMC advancedsettings.xml (CPU and GPU temp) - spookybathtub - 2013-08-13 I put the following in my advancedsettings file and relaunched XBMC, but I'm not seeing any temps in system info. I verified that these two commands work in a terminal, producing output like "71 C". Code: <cputempcommand>echo "$(sensors -u | tail -n64 | grep temp1_input | awk '{print $2 }' |awk '{printf("%d\n",$1 + 0.5);}') C"</cputempcommand> A few posts ago, FernetMenta said Quote:In case you want to avoid occasional stutter get rid of this gputemp script. calling nvidia-settings during playback can harm.That seems to imply that the temps are supposed to show up during playback — is that true? RE: XBMC advancedsettings.xml (CPU and GPU temp) - teeedubb - 2013-08-13 I've never seen it during playback. I think he means the temp may be updated while playing video. |