Skip to content
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

Cpu freq and thermal showin NaN instead of values (please solve it !) #526

Closed
RafaelQuirino opened this issue May 22, 2019 · 7 comments
Closed

Comments

@RafaelQuirino
Copy link

Since last update i'm getting NaNs instead of values. I know there is alread an issue, but i really rely on this extension, since my laptop have 12 cores and gets hot very quickly. Please, solve it !

@chrisspen
Copy link
Collaborator

I've patched this in master. If you install from github, does that fix the problem?

@JMGama
Copy link

JMGama commented May 24, 2019

@chrisspen have the same problem, installed from github and still not working 😞

@ryant18
Copy link

ryant18 commented May 29, 2019

I didn't install from github, but I locally made the changes in c1af510 and it fixed the issue on ubuntu 18.04

@pabloab
Copy link

pabloab commented May 30, 2019

As said by @ryant18, just edit ~/.local/share/gnome-shell/extensions/system-monitor@paradoxxx.zero.gmail.com/extension.js removing those ByteArray.toString() functions, restart with Alt+F2,r et voilà.

@zwn
Copy link

zwn commented Feb 13, 2020

The same problem with cpu frequency and this fixed it for me:

        file.load_contents_async(null, function cb (source, result) {
            let as_r = source.load_contents_finish(result);
-            total_frequency += parseInt(ByteArray.toString(as_r[1]));
+            total_frequency += parseInt(as_r[1]);

            if (++i >= num_cpus) {

@bikubi
Copy link

bikubi commented Mar 19, 2020

Maybe this helps somebody: for me, the number wouldn't show up at all (not "NaN"), I had to change/touch Refresh Time to make it appear.

bluet added a commit to bluet/gnome-shell-system-monitor-applet that referenced this issue Apr 6, 2021
… on Ubuntu 18.04

add backward support for Gnome 3.28 , fix NaN temperature and disk IO on Ubuntu 18.04 . 

related issues: paradoxxxzero#520 paradoxxxzero#526 paradoxxxzero#594 paradoxxxzero#597 paradoxxxzero#601  thankjura/ds4battery#4  
I don't have dedicated GPU to test paradoxxxzero#592 but it should be possible to fix in the same way.

inspired by @shemgp and @EBoisseauSierra
@recolic
Copy link

recolic commented Dec 19, 2021

Maybe this helps somebody: for me, the number wouldn't show up at all (not "NaN"), I had to change/touch Refresh Time to make it appear.

I have exactly the same issue with you. I would like to add my steps to reproduce this issue:

  1. install this extension on gnome 41.2
  2. In extension preference, set Freq to Display, and set Display Style to digit
  3. Now it shows MHz and it never update. I have been waiting for 10 minutes.
    image
  4. Change Refresh Time from its default (1500) to 500.
  5. The problem got fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants