eul icon indicating copy to clipboard operation
eul copied to clipboard

[bug] GPU stats are not reporting correctly

Open TinQ0 opened this issue 4 years ago • 26 comments

No other information than the cpu % is being shown, even under high load

Screenshot 2021-01-24 at 18 19 20

TinQ0 avatar Jan 24 '21 17:01 TinQ0

thanks for reporting! taking a look tonight

gao-sun avatar Jan 25 '21 02:01 gao-sun

Same here with Vega 48

Screen Shot 2021-01-25 at 09 45 39

Edit: after a reboot the stats appear but are wrong

Screen Shot 2021-01-25 at 10 38 18

giuliomagnifico avatar Jan 25 '21 09:01 giuliomagnifico

https://user-images.githubusercontent.com/14722250/105702358-a7a6ad80-5f46-11eb-956c-8b22be4d33de.mov

@TinQ0 that N/A on Intel card should be a bug actually will be fixed soon. but surprisingly it works on my MacBook with AMD Pro 560X (please see the video). I need to do some deep dive on this. stay tuned.

@giuliomagnifico I think the report of your card is good because it's showing the real-time core clock (please see the video as well). let me know if core clock is always 0.

gao-sun avatar Jan 25 '21 11:01 gao-sun

I've not disabled any system protections maybe that't the culprit, but on my 16' macbook with the 4gb radeon pro 5500m it still shows nothing else than % utilisation

I'll be waiting on the results of the deep dive, I'm interested image

TinQ0 avatar Jan 25 '21 12:01 TinQ0

@TinQ0 v1.5.7 should resolve the N/A issue when your mac has multiple GPUs. as for the zeros, will let you know once I figure out

gao-sun avatar Jan 25 '21 12:01 gao-sun

@giuliomagnifico I think the report of your card is good because it's showing the real-time core clock (please see the video as well). let me know if core clock is always 0.

No it changes sometimes but is read wrong, should be 1200 MHz GPU and 786 MHz RAM, see video:

https://user-images.githubusercontent.com/1975176/105705796-f5082800-5f10-11eb-9577-9e18400f1596.mov

giuliomagnifico avatar Jan 25 '21 12:01 giuliomagnifico

@giuliomagnifico yeah it's real-time clock instead of the peak clock. try to increase the GPU load I think you'll see the card is reaching its max capacity

gao-sun avatar Jan 25 '21 12:01 gao-sun

small update: i've now this showing but no idea what I did different

image

TinQ0 avatar Jan 26 '21 18:01 TinQ0

@giuliomagnifico FYI, 1 GHz which is unit displayed on the Eul equals to 1000 MHz which is more common measurement of GPU clock speed. But good point, we might want to change it to MHz to avoid confusion.

jevonmao avatar Jan 27 '21 08:01 jevonmao

@TinQ0 There is 2 rows because your MacBooks has 2 GPU - integrated and discrete. When the GPU load is light or some software cannot access the discrete graphics card, it will show N/A because it's not in use. The computer automatically switch between the power saving intel UHD and the powerful AMD Radeon. If the load is at 0%, it means computer are not using the GPU at all.

jevonmao avatar Jan 28 '21 07:01 jevonmao

@jevonmao thanks for explanation. also @TinQ0 would you mind to double check eul version to see if it's v1.5.7 and above?

gao-sun avatar Jan 29 '21 05:01 gao-sun

yep, this is 1.5.8 and still showing only usage

image

TinQ0 avatar Jan 29 '21 08:01 TinQ0

Same here with iMac + Vega 48. The clock is not correctly displayed.

giuliomagnifico avatar Jan 29 '21 09:01 giuliomagnifico

I have different model of GPU, but the display seem correct on my iMac and MacBook Pro.

jevonmao avatar Jan 30 '21 02:01 jevonmao

sorry guys i'm packed these days. will take a look this week. stay tuned

gao-sun avatar Feb 01 '21 15:02 gao-sun

M1 MacMini GPU not detected

Screenshot 2021-02-11 at 00 22 41

filmcafeSteve avatar Feb 11 '21 00:02 filmcafeSteve

would you mind to download the latest version (v1.5.13) and have a try, then paste the related logs here? (please follow the instruction for debug mode, and pay attention to the logs starts with 📊 statistics)

gao-sun avatar Feb 12 '21 18:02 gao-sun

Hey. I switched to the latest release but I don't see the instructions to enter debug mode, nor can I find them on the GitHub. Could you link them for me?

Sadly still nothing to see in the gpu stats.

TinQ0 avatar Feb 12 '21 19:02 TinQ0

@TinQ0 the instruction are described in new issue template: https://github.com/gao-sun/eul/issues/new/choose

i didn't update GPU functionality, just added more console output for easier debugging :-)

gao-sun avatar Feb 13 '21 04:02 gao-sun

This is the first set of logs: Do you want more or is this enough 📊 statistics ["recoveryCount": 0, "freeDataBufferWaitTime": 0, "clientGLWaitTime": 0, "textureReadOutBytes": 0, "inUseVidMemoryBytes": 0, "textureVolunteerUnloadBytes": 0, "finish2DWaitTime": 0, "surfaceReadLockIdleWaitTime": 0, "oolTextureCreationCount": 2, "swapBytesPerSample": 0, "contextVideoCount": 0, "gartFreeBytes": 7110643712, "clientSharedAllocatedBytes": 712704, "stdTextureCreationBytes": 0, "freeSurfaceSwapBufferWaitTime": 0, "iosurfaceTextureCreationBytes": 0, "oolTextureCreationBytes": 40960, "vramEvictionWaitTime": 0, "iosurfaceTextureCreationCount": 0, "gartMapInBytesPerSample": 0, "dataBufferCount": 0, "orphanedNonReusableSysMemoryCount": 0, "contextGLCount": 1, "swapCompleteGLWaitTime": 0, "freeToAllocGPUAddressWaitTime": 0, "surfaceSetShapeIdleWaitTime": 0, "surfaceBufferTextureCreationCount": 0, "agpTextureCreationCount": 3, "orphanedNonReusableSysMemoryBytes": 0, "orphanedNonReusableVidMemoryCount": 0, "bufferFlipCount": 0, "orphanedReusableVidMemoryCount": 0, "surfaceCopyOutWaitTime": 0, "Device Unit 1 Utilization %": 0, "surfaceBufferPageInBytes": 0, "swapComplete2DWaitTime": 0, "surfaceCopyInWaitTime": 0, "surfaceTextureCreationCount": 0, "textureCount": 1503, "agprefTextureCreationBytes": 0, "surfaceWriteLockIdleWaitTime": 0, "freeSurfaceBackingWaitTime": 0, "finishGLWaitTime": 0, "gartSizeBytes": 7516192768, "Device Unit 2 Utilization %": 0, "inUseSysMemoryBytes": -78557184, "surfaceCount": 34, "Device Utilization %": 0, "ioSurfaceReadOutBytes": 3612672, "agprefTextureCreationCount": 0, "hardwareWaitTime": 2377026, "finishVideoWaitTime": 0, "orphanedReusableSysMemoryCount": 87, "texturePageOutBytes": 0, "agpTextureCreationBytes": 4198400, "contextCLCount": 0, "gartCacheBytes": 268435456, "stdTexturePageInBytes": 0, "stdTextureCreationCount": 0, "context2DCount": 1, "orphanedReusableVidMemoryHitRate": 0, "volatileSurfaceCount": 0, "ioSurfacePageOutBytes": 0, "oolTexturePageInBytes": 6529024, "finishCLWaitTime": 0, "bufferSwapCount": 0, "gartMapOutBytesPerSample": 0, "Device Utilization % at cur p-state": 3, "orphanedReusableSysMemoryBytes": 484106240, "hardwareSubmitWaitTime": 0, "dataBytesPerSample": 0, "orphanedReusableSysMemoryHitRate": 26, "Device Unit 0 Utilization %": 2, "swapCompleteVideoWaitTime": 0, "surfaceBufferPageOutBytes": 0, "Device Unit 3 Utilization %": 0, "finishAll2DWaitTime": 0, "surfaceBufferReadOutBytes": 0, "orphanedNonReusableVidMemoryBytes": 0, "gartUsedBytes": 405549056, "orphanedReusableVidMemoryBytes": 0, "ioSurfacePageInBytes": 0] shell with ["route get 0.0.0.0 | grep interface | awk '{print $2}'"] shell with ["netstat -bI en0"]

for more stats recorded over a longer time : https://psty.io/p?q=c1a5e

TinQ0 avatar Feb 13 '21 10:02 TinQ0

-debug didn't give me 'statistics', only this:

⚙️ loaded data from user defaults preference { "language" : "en", "fontDesign" : "default", "showNetworkTopActivities" : false, "cpuMenuDisplay" : "usagePercentage", "showIcon" : true, "upgradeMethod" : "showInStatusBar", "showRAMTopActivities" : false, "smcRefreshRate" : 3, "networkRefreshRate" : 3, "textDisplay" : "compact", "checkStatusItemVisibility" : true, "showCPUTopActivities" : true, "temperatureUnit" : "celius" } SMC init error unknown(kIOReturn: -536870206, SMCResult: 0) ⚙️ loaded data from user defaults EulComponent { "availableComponents" : [ "GPU" ], "activeComponents" : [ "CPU", "Disk", "Memory", "Network" ], "showComponents" : true } ⚙️ loaded data from user defaults EulMenuComponent { "activeComponents" : [ "CPU", "GPU", "Memory", "Disk", "Network" ], "availableComponents" : [ "Bluetooth" ], "showComponents" : true } shell with ["system_profiler SPDisplaysDataType -xml"] shell with ["route get 0.0.0.0 | grep interface | awk '{print $2}'"] shell with ["netstat -bI en1"] ⚙️ loaded data from user defaults componentConfig { "converted" : true, "configs" : [ { "component" : "GPU", "showGraph" : true, "showIcon" : true }, { "component" : "Network", "showGraph" : false, "showIcon" : true }, { "component" : "Memory", "showGraph" : false, "showIcon" : true }, { "component" : "CPU", "showGraph" : true, "showIcon" : true }, { "component" : "Disk", "showGraph" : false, "showIcon" : true } ] } ⚙️ loaded data from user defaults GpuTextComponent { "availableComponents" : [

], "activeComponents" : [ "usagePercentage", "temperature" ], "showComponents" : true } shell with ["route get 0.0.0.0 | grep interface | awk '{print $2}'"] shell with ["netstat -bI en1"]

filmcafeSteve avatar Feb 13 '21 22:02 filmcafeSteve

@filmcafeSteve I think you're not running in debug mode, but just normal cli. You should open a cmd at that folder and then ./eul --debug

TinQ0 avatar Feb 13 '21 22:02 TinQ0

@TinQ0 thanks, will take a look

gao-sun avatar Feb 22 '21 15:02 gao-sun

Having the same problem with 5500M 8GB. Eul only shows the usage percentage. Any updates on this problem?

eul v.1.5.21

image

anaclumos avatar Jun 12 '21 08:06 anaclumos

looks like this only happens in AMD GPUs. i need help 😭

gao-sun avatar Jun 14 '21 08:06 gao-sun

Are there any updates on this? Eul's great but this is the only issue that has me still using Stats 😭

Rizzy42 avatar Aug 26 '22 07:08 Rizzy42