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] GPU Graph is wierdly filled and not representing the real load #84

Closed sibwaze closed 3 months ago

sibwaze commented 4 months ago

Current Behavior

As far as I understand and remember it was on previous versions on KDE Plasma 5, GPU load graph should illustrate the ratio between the current load and 100% (fully filled), but it is always showing almost full load for some reason

edit: actually it's not load bug, but used VRAM. If i remove the 2nd line, then this green graph is not visible. Maybe the widget is not getting the actual availiable amount of VideoRAM

Expected Behavior

Fully filled on full load (used VRAM) Not filled on no load Half filled on half load, etc.

Steps To Reproduce

Just install the applet/widget and add your GPU

Screenshots

изображение

Logs

мая 11 20:31:20 sibwase plasmashell[2027]: file:///usr/share/plasma/shells/org.kde.plasma.desktop
/contents/configuration/AppletConfiguration.qml:142:5: QML Connections: Detected function "onSettingValueChanged" in Connections elem
ent. This is probably intended to be a signal handler but no signal of the target matches the name.
мая 11 20:31:33 sibwase plasmashell[2027]: file:///home/sibwase/.local/share/plasma/plasmoids/org
.kde.olib.thermalmonitor/contents/ui/config/ConfigSensors.qml:14:1: QML ConfigSensors: Created graphical object was not placed in the
 graphics scene.
мая 11 20:31:33 sibwase plasmashell[2027]: file:///usr/share/plasma/shells/org.kde.plasma.desktop
/contents/configuration/AppletConfiguration.qml:142:5: QML Connections: Detected function "onSettingValueChanged" in Connections elem
ent. This is probably intended to be a signal handler but no signal of the target matches the name.
мая 11 20:31:35 sibwase plasmashell[2027]: file:///home/sibwase/.local/share/plasma/plasmoids/org
.kde.netspeedWidget/contents/ui/config/ConfigGeneral.qml:22:1: QML ConfigGeneral: Created graphical object was not placed in the grap
hics scene.
мая 11 20:31:35 sibwase plasmashell[2027]: file:///home/sibwase/.local/share/plasma/plasmoids/org
.kde.netspeedWidget/contents/ui/config/ConfigGeneral.qml: Setting initial properties failed: ConfigGeneral does not have a property c
alled cfg_byteColorDefault
мая 11 20:31:35 sibwase plasmashell[2027]: file:///home/sibwase/.local/share/plasma/plasmoids/org
.kde.netspeedWidget/contents/ui/config/ConfigGeneral.qml: Setting initial properties failed: ConfigGeneral does not have a property c
alled cfg_customColorsDefault
мая 11 20:31:35 sibwase plasmashell[2027]: file:///home/sibwase/.local/share/plasma/plasmoids/org
.kde.netspeedWidget/contents/ui/config/ConfigGeneral.qml: Setting initial properties failed: ConfigGeneral does not have a property c
alled cfg_fontSizeDefault
мая 11 20:31:35 sibwase plasmashell[2027]: file:///home/sibwase/.local/share/plasma/plasmoids/org
.kde.netspeedWidget/contents/ui/config/ConfigGeneral.qml: Setting initial properties failed: ConfigGeneral does not have a property c
alled cfg_gigabyteColorDefault
мая 11 20:31:35 sibwase plasmashell[2027]: file:///home/sibwase/.local/share/plasma/plasmoids/org
.kde.netspeedWidget/contents/ui/config/ConfigGeneral.qml: Setting initial properties failed: ConfigGeneral does not have a property c
alled cfg_interfacesWhitelist
мая 11 20:31:35 sibwase plasmashell[2027]: file:///home/sibwase/.local/share/plasma/plasmoids/org
.kde.netspeedWidget/contents/ui/config/ConfigGeneral.qml: Setting initial properties failed: ConfigGeneral does not have a property c
alled cfg_interfacesWhitelistDefault

Versions

- Widget: 3.0.0-rc.1
- KDE Plasma: 6.0.4
- KDE Framework: 6.1

Additional context

No response

orblazer commented 4 months ago

Hello, That seem to be normal for me, if you have game or some other program it load many things in VRAM. And if is not i think is some driver issue due i use gpu/gpuX/totalVram and gpu/gpuX/usedVram and it seam both return values, if the fill was bugged, you will see 100% of the height to be filled and doesn't see the solid bar on top.

sibwaze commented 4 months ago

I have 4GB of total VRAM, while 2GB is availiable right now, but for some reason widget shows like i am almost full You can see on my screenshot that System Monitor shows correctly, whilst widget is not My specs are: AMD Ryzen 7 7840hs with Radeon 780M graphics, that has 4GB of VRAM (which is RAM actually, that has been allocated from BIOS) изображение

sibwaze commented 4 months ago

Here is the additional screenshot from amdgpu_top изображение

orblazer commented 4 months ago

изображение

Could you translate me the labels ? and it is system monitor app ?

sibwaze commented 4 months ago

Could you translate me the labels ? and it is system monitor app ?

Yes, the first screenshot is the 'system monitor' app and the second is the amdgpu_top which exact labels you want me to translate to english? i've shown on the last screenshot that amdgpu_top shows correctly the availiable amount of VRAM (total of 4GB) while widget shows (green line) that i don't have availiable VRAM even when i have 2GBytes

orblazer commented 4 months ago

Hum the first chart and maybe the second, to see what represent the VRam.

And i think the sensor "total vram" show only the "available" one on AMD, could you check in system monitor app, by following this step :

  1. create an new page
  2. select the sensor GPU X Total Video Memory
  3. see the result

Thanks.

sibwaze commented 4 months ago

Hum the first chart and maybe the second, to see what represent the VRam.

And i think the sensor "total vram" show only the "available" one on AMD, could you check in system monitor app, by following this step :

1. create an new page

2. select the sensor `GPU X Total Video Memory`

3. see the result

Thanks.

No, it shows 4 GiB which is correct изображение

orblazer commented 4 months ago

hum that weird, could you check if GPU X Usage is right value too ? if yes, i think is some issue with init function in my code and i will check if in few days due i finally have plasma 6 on my PC.

sibwaze commented 3 months ago

hum that weird, could you check if GPU X Usage is right value too ? if yes, i think is some issue with init function in my code and i will check if in few days due i finally have plasma 6 on my PC.

yeah, sure, here it is изображение and the gpu used vram изображение

sibwaze commented 3 months ago

Yeah now it works how it should, thanks!