Open tairosonloa opened 5 years ago
same problem with intel
Also, I saw a day ago an user (Nano-Ocelot) wrote a comment on the kde store. I copy and paste:
I have a weird bug where I have to 'refresh sources' after logon to display cpu core group temperatures (highest temp core shown). Otherwise it remains blank. However gpu temp (single temp source) works correctly on initial widget load.
To see the original comment: https://store.kde.org/p/998915/#ratings-panel
Same problem here with Manjaro. Seems something updated and broke the initial temp readings of the widget with CPU. I am on Intel btw. EDIT: Seems this is the same issue as #16
There is same problem I am using Manjaro on Dell Vostro 5568.
I'm also seeing this issue, Intel CPU and AntergOS. Seems like the problem was caused by some update in archlinux, but really don't know.
Issue still persists on Arch Linux-LTS Kernel v4.19.14-1, Intel i7 5820k CPU
Same issue here, same kernel and OS as @lvxejay, CPU is Intel i7-7770K.
Same issue, Manjaro KDE, cup fan shows OFF
also.
Can confirm this on Arch Linux as well since updating to the latest major KDE release 5.14. Using the latest git of plasma-applet-thermal-monitor btw.
Same problem, but I found a solution (of sorts). I installed Plasma 5 'Simple System Monitor' which sits on the desktop and I have Thermal Monitor in the panel. Reboot - now Thermal Monitor has the CPU temperature loaded! How this works I do not know, but maybe there's a clue for someone smarter than me to get Thermal Monitor showing CPU temperature at startup, by itself. Arch Linux, LTS kernel 4.19.15-1, Intel i7-7500U
@severnaside you mean this plasmoid?
@roachsinai Yes
I think this issue #52 is useful, cause I comment https://github.com/kotelnik/plasma-applet-thermal-monitor/blob/783536952c38bf26aefadb36d2dadd50c8ddc2c0/package/contents/ui/main.qml#L312 thisl line. No need refresh by yourself. But it's not a so good method.
Cause I don't konw how to debug a plasmoid and have not learn javascript(just know a very little), someone maybe could debug the QML type error
.
Maybe solve the problem as I found var systemmonitorAvailableSources
should be an array, change the code according to var QML Basic Type... Made a pull request #54 , check it and update if you have a better solution.
pull #54 fixed problem with manual reload not, i tested the patch today. After restart the computer came again OFF
@alium What's your Linux Distro? I only test it on Manjaro
. For me there are 3 way to let cpu OFF
disappear.
systemmonitorAvailableSources.push(source)
at plasma-applet-thermal-monitor/package/contents/ui/main.qml
line 312property var systemmonitorAvailableSources
to property var systemmonitorAvailableSources: []
at plasma-applet-thermal-monitor/package/contents/ui/main.qml
line 58So, I think maybe you could try others.
And make sure after you pull #54 , you also update code at /usr/share/plasma/plasmoids/org.kde.thermalMonitor
(maybe some difference according to Distro). Or just update manually.
So sorry that only you reply Not Work
, haven't get a Work
reply(but 2 thumb up at my previous reply).
@roachsinai i try your instructions, but ended with error: file:///usr/share/plasma/plasmoids/org.kde.thermalMonitor/contents/ui/main.qml:312:1: Expected token `}'
seems as problem with comment "systemmonitorAvailableSources.push(source)"
use Archlinux with OpenRC (also Artix Linux)
First,those 3 method is mutually exclusive.
And for now I think the different between your sittuation an my is I installed systemed version Manjaro. So, I can't reproduce it. And I think the error is wierd.
Do you get the error message on booting?
What I did is try to solve #52 which let got the idea that systemmonitorAvailableSources
maybe not support push method. But maybe this is something different in problem, though change systemmonitorAvailableSources
to an array is work for me.
@roachsinai oh, ok! now i understand :-) i try all 3 methods
- comment systemmonitorAvailableSources.push(source) at plasma-applet-thermal-monitor/package/contents/ui/main.qml line 312
- change property var systemmonitorAvailableSources to property var systemmonitorAvailableSources: [] at plasma-applet-thermal-monitor/package/contents/ui/main.qml line 58
- pull #54
THANKS!!!
@roachsinai
So sorry that only you reply Not Work, haven't get a Work reply(but 2 thumb up at my previous reply).
Yes, pull #54 worked for me. Arch Linux, LTS kernel 4.19.15-1, Intel i7-7500U
@alium @severnaside glad to hear that.
Applying pull https://github.com/kotelnik/plasma-applet-thermal-monitor/pull/54 to ~/.local/share/plasma/plasmoids/org.kde.thermalMonitor/contents/ui/main.qml (no thermalMonitor in /usr/share/ ) worked for me, too. (using manjaro)
Hi everyone, I got same effect with another plasmoid named kargos
. And the effect is more better for me that as I use Bumblebee
. Will show GPU temperature if I use nvidia and no GPU info completely if I'm not using GPU.
Not using Nvidia:
Using Nvidia:
And kargos
makes your simple script works like a plasmoid, so I write a bash script.
What's more, kargos
is compatible with Bitbar
which provide lots of useful scripts. Check it at k-argos-plugins and another two k-argos plugin.
I use kargos with hdsentinel to monitor my HDs health and temperature. Works like charm.
Pull #54 works also for me btw.
DEB-package for bionic (with #54 PR): https://launchpad.net/~varlesh-l/+archive/ubuntu/bionic/+files/plasma-applet-thermal-monitor_1.2.9git20190121_amd64.deb
@varlesh That package still displays OFF for CPU temps for me in Kubuntu 19.04. I suppose, it means https://github.com/kotelnik/plasma-applet-thermal-monitor/pull/54 doesn't work.
@Lastique Worked, but after reboot plasma.
Added CPU temp sensor > killall plasmashell
> ALT+F2 > plasmashell
@varlesh Indeed, after a system reboot CPU temps tend to show up, although after a delay. I wasn't sure this behavior was reliable, I've only rebooted a couple of times since I installed the package. Thanks!
sudo nano ~/.local/share/plasma/plasmoids/org.kde.thermalMonitor/contents/ui/main.qml
change:
property var systemmonitorAvailableSources
to:
property var systemmonitorAvailableSources: []
Works under openSUSE Tumbleweed.
sudo nano ~/.local/share/plasma/plasmoids/org.kde.thermalMonitor/contents/ui/main.qml
change:
property var systemmonitorAvailableSources
to:property var systemmonitorAvailableSources: []
Works under openSUSE Tumbleweed.
Can confirm this works under Gentoo also, and I dare say any other Distro for that matter.
sudo nano ~/.local/share/plasma/plasmoids/org.kde.thermalMonitor/contents/ui/main.qml
change:
property var systemmonitorAvailableSources
to:property var systemmonitorAvailableSources: []
Works under openSUSE Tumbleweed.
I just did this on Manjaro, now the widget works without having to reload it! :+1:
Is this plasma applet unmaintained? Could submit a PR if this fixed it
Under Sabayon Linux works for kernel version 4 but not for 5, where needs manual reload.
I am glad I found this thread. It's a very annoying issue. Thanks for the solution.
It works for me under KDE Neon Bionic. Thanks for this tip.
Hi, do you refer to this poor workaround as tip? It is not intended as tip, it just reveals some kernel version 4 vs version 5 difference as reason of the problem. I'd rather drop the applet than stick with an old kernel. Probably, the simplest workaround would be to do some refresh at the applet starting, as it manually does and works.
Can anyone submit a pull request?
Hum...
In fact, I've already made that pr 7 months ago.
There is an alternative choice: k-argos-plugins.
And maybe the pr title is no good, I will rename it.
Update:
Renamed it as Solution #53: CPU temperature goes to off state #54 .
@roachsinai k-argos is not an alternative. It seems it's doing a lot more than just temperature. I don't need a Chinese calendar.
@Rush what you need is just sysinfo.3s.sh, each script for a different task(like a plasmoid) with the help of kargos in that repo. Maybe you should first take a peek at kargos. If it is not what you want , just forget it.
Thermal monitor works for various sensors I have, I use it for CPU and video temperature and for CPU fan speed. It simply needs some update to be able to start the CPU temperature and CPU fan automatically, and possibly some more sensors, but the video temperature works from the start... I don't see the point of discussing alternatives here.
@msdobrescu Yeah you're right man, so I made #54 when I found solution to solve this problem 7 months ago. And people always first go to issues to find whether there is a solution but not check at pull requests right? What's more, maybe another grammer chage, etc, of next kde version will break it again, and it's hard for a newbie of qml like me to find the error and solve it.
So I just share another way can do same thing or more, sysinfo.3s.sh now support Cpu temp, Gpu temp, Cpu speed, Cpu usage, memory usage. As the maintainer big @kotelnik not in active, for me more choice will be better.
Indeed, somebody should look at the pull requests when they come, assess and accept it or reject it. Maybe the maintainer does not work on it anymore? Or has no time? In this case, a fork might be the solution.
Don't know, @kotelnik only made an issue last year. Waiting for the return of @kotelnik and keep going.
@roachsinai I tried out the kargos widget. I can't get it to work. I downloaded the kargos widget and downloaded the sysinfo.3s.sh from the plugin github page and set it up. But it only the widget only says starting... and nothing more
@afettouhi maybe you forgot to add run permission, if so use chmod +x sysinfo.3s.sh
.
@afettouhi maybe you forgot to add run permission, if so use
chmod +x sysinfo.3s.sh
.
Just tried that and still just starting... as output.
I use this applet to show my CPU, GPU, SSD and HDD temperature. However, I have a problem with the CPU temperature.
When I start the computer, all the temperatures show its values except CPU, which shows an "off" message. Also, when I'm using my computer, sometimes I realize CPU temperature is "off" again. This can be manually fixed by right clicking on the applet and left click on "Reload temperature sources".
My CPU is a AMD Ryzen 5 1500x and I'm using the lmsensors/nct6795-isa-0a20/CPUTIN
I think this can be "patched" if a new feature to auto reload temperature sources on these situations is added.