orblazer / plasma-applet-resources-monitor

Plasmoid for monitoring CPU, memory, network traffic, GPUs and disks IO.
https://www.pling.com/p/2143899/
GNU General Public License v3.0
57 stars 6 forks source link

[BUG] No GPU info #61

Closed SylEleuth closed 1 year ago

SylEleuth commented 1 year ago

Current Behavior

There is no information for GPU, it shows only ... (three dots).

Expected Behavior

It should show GPU information.

Steps To Reproduce

System monitor GPU settings:

[Face-93945904362368][Appearance]
chartFace=org.kde.ksysguard.piechart

[Face-93945904362368][SensorColors]
gpu/all/totalVram=244,254,25
gpu/all/usedVram=254,25,128

[Face-93945904362368][Sensors]
highPrioritySensorIds=["gpu/all/usedVram","gpu/all/totalVram"]
totalSensors=["gpu/all/usage"]

[page]
Title=GPU
icon=ksysguardd
loadType=
margin=2

[page][row-0]
Title=
heightMode=balanced
isTitle=false
name=row-0

[page][row-0][column-0]
name=column-0
noMargins=
showBackground=true

[page][row-0][column-0][section-0]
face=Face-93945904362368
isSeparator=false
name=section-0

It works there.

Screenshots

Screenshot_20230830_135738

Logs

kf.i18n: KLocalizedString: Using an empty domain, fix the code. msgid: "Plasma Windowed" msgid_plural: "" msgctxt: ""
kf.i18n: KLocalizedString: Using an empty domain, fix the code. msgid: "Makes the plasmoid stay alive in the Notification Area, even when the window is closed." msgid_plural: "" msgctxt: ""
kf.i18n: KLocalizedString: Using an empty domain, fix the code. msgid: "Force loading the given shell plugin" msgid_plural: "" msgctxt: ""
kf.i18n: KLocalizedString: Using an empty domain, fix the code. msgid: "The applet to open." msgid_plural: "" msgctxt: ""
kf.i18n: KLocalizedString: Using an empty domain, fix the code. msgid: "Arguments to pass to the plasmoid." msgid_plural: "" msgctxt: ""
kf.plasma.quick: Applet preload policy set to 1
kf.plasma.core: requesting config for "Resources Monitor (fork)" without a containment!
Using KRun from QML is deprecated (since 5.88). Use Qt.openUrlExternally, or the KIO::OpenUrlJob/KIO::ApplicationLauncherJob classes from C++ instead.
qml: 0

New window doesn't show anything except 3 x 3 dots places vertically.

Versions

- Widget: 2.10.2
- KDE Plasma: 2.27.7
- KDE Framework: 5.109.0
- Qt Version: 5.15.10
- GPU: RADEON RX570

Additional context

It worked without much problems (except https://github.com/orblazer/plasma-applet-resources-monitor/issues/45). I noticed lack of it some time ago, maybe a month ago, but didn't have time to report it so I turned it off. Unfortunately I don't remember when it stopped working.

orblazer commented 1 year ago

Hello, Thanks for reporting.

You have try to select some graphic card in settings and see if that fix it ?

SylEleuth commented 1 year ago

You have try to select some graphic card in settings and see if that fix it ?

What settings You have on mind?

orblazer commented 1 year ago

You have try to select some graphic card in settings and see if that fix it ?

What settings You have on mind?

We have an settings at Widget settings > Data > General > Graphic card (at the bottom).

But if you have only one GPU could you select in in org.kde.plasma-systemmonitor and share the page with sensor ?

Currently we don't support for all GPUs but this could be an feature in 3.0.

SylEleuth commented 1 year ago

I missed that option. Turned on and now it works. My bad, it's not a bug.