Bug 99955 - [r600g] GPU load always displayed at 100% with GALLIUM_HUD=GPU-load
Summary: [r600g] GPU load always displayed at 100% with GALLIUM_HUD=GPU-load
Status: REOPENED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r600 (show other bugs)
Version: git
Hardware: All Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-25 00:38 UTC by MWATTT
Modified: 2017-03-31 15:01 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MWATTT 2017-02-25 00:38:05 UTC
Hello,

The GPU-load graph from GALLIUM_HUD will always be at 100%, no matter what application is launched (even glxgears with vblank_mode=3). I tested that on my Radeon HD 5770.

This regression is caused by commit b8f3b00742eab6ee1868407b876f69195a51f3b6 : gallium/radeon: include SDMA in the GPU load query.

It doesn't seems to affect radeonsi, as the GPU-load results on a TOPAZ XT chip are more reasonable (~5% with the same test).
Comment 1 Hleb Valoshka 2017-03-05 17:46:52 UTC
This bug affects radeonsi as well (HW - 7750, kernel - Linux 4.10.0-rc8, amdgpu kernel driver).

When this commit (b8f3b007) is reverted, then hud shows a correct value.
Comment 4 Jan Ziak 2017-03-31 07:42:38 UTC
I am still experiencing this issue on a R9-390 GPU with Mesa git-469da09.
Comment 5 Alex Deucher 2017-03-31 14:36:42 UTC
(In reply to Jan Ziak from comment #4)
> I am still experiencing this issue on a R9-390 GPU with Mesa git-469da09.

What kernel are you using?
Comment 6 Jan Ziak 2017-03-31 15:01:54 UTC
(In reply to Alex Deucher from comment #5)
> (In reply to Jan Ziak from comment #4)
> > I am still experiencing this issue on a R9-390 GPU with Mesa git-469da09.
> 
> What kernel are you using?

- radeontop is working OK.

$ uname -r
4.11.0-rc4+

$ glversion
4.5 (Core Profile) Mesa 17.1.0-devel (git-02112c3)
Gallium 0.4 on AMD HAWAII (DRM 3.10.0 / 4.11.0-rc4+, LLVM 4.0.0)

$ cat ~/bin/shared/glversion 
#!/bin/bash
set -e
unset LIBGL_DEBUG
INFO="$(glxinfo)"
echo "$INFO" | grep "OpenGL core profile version" | sed "s/^.*: *//"
echo "$INFO" | grep "renderer string" | sed "s/^.*: *//"


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct.