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

Conky memery shows wrong value #857

Closed
godcrying opened this issue Jun 28, 2019 · 9 comments
Closed

Conky memery shows wrong value #857

godcrying opened this issue Jun 28, 2019 · 9 comments
Labels
Stale Issue that requires attention because it hasn't been updated for over a year

Comments

@godcrying
Copy link

Issue
图片
In the htop, memery is just around 3Gib used, but conky shows wrong values.
$mem, $memperc and $membar is all wrong.

Information

I'm using Archlinux, conky release is 1.11.4
sorry for my weak English.

@lasers
Copy link
Contributor

lasers commented Jun 29, 2019

Duplicate #841? Is it always or occasionally show the wrong values?

@godcrying
Copy link
Author

Duplicate #841? Is it always or occasionally show the wrong values?

I have downgraded to v1.11.3, and the value is correct.
I have ever tried the v1.11.4 appimage release, it also has wrong values.

@jbenden
Copy link
Contributor

jbenden commented Jun 29, 2019

Please try #859.

Thanks,
-Joe

@lasers
Copy link
Contributor

lasers commented Jun 29, 2019

@godcrying Can you do a git bisect to find a bad commit? If you don't know how to, look at https://github.com/brndnmtthws/conky/issues/718#issuecomment-467254662 (not wanting to ref) or you can search git bisect.

My random guess is 9da1101 and because this is between HEAD (i.e. v1.11.4) and v1.11.3, there are only 68 commits and shouldn't take long to find the bad commit. You will need to compile conky repeatedly until you find it.

@jbenden
Copy link
Contributor

jbenden commented Jun 29, 2019

The PR posted adjusts how memory usage is computed. I do believe if you have a look at it, you'll find it displays the values you'd rather see.

On an aside, it doesn't account for the rounding pointed out above. The values with the PR are indeed ever slightly off, so the rounding may be a part of why.

@VortexAcherontic
Copy link

VortexAcherontic commented Sep 4, 2019

I also have some strange behavior with the latest conky version. Below you can find 2 screenshots of conky. One where everything is ok (older version) and one where something is broken.

Version: 1.11.4:
Screenshot_20190905_001235

Version: 1.11.5
Screenshot_20190905_001430

As you can see negative ram usage and the NVidia Dataproviders seems to be broken.

NVidia Driver is: 435.21
OS: openSUSE Tumbleweed
Kernel: 5.2.11

@lasers
Copy link
Contributor

lasers commented Sep 5, 2019

@VortexAcherontic The fix might be 0d44902 and it is in 1.11.6_pre.

@github-actions
Copy link

This issue is stale because it has been open 365 days with no activity. Remove stale label or comment, or this issue will be closed in 30 days.

@github-actions github-actions bot added the Stale Issue that requires attention because it hasn't been updated for over a year label Jun 13, 2023
@github-actions
Copy link

This issue was closed because it has been stalled for 30 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Stale Issue that requires attention because it hasn't been updated for over a year
Projects
None yet
Development

No branches or pull requests

4 participants