Skip to contentSkip to conversation

Card doesn't re-init when using powerplay and runpm

Bug 93424 [email protected] 1 participant 5 messages Dec 17, 2015 – Apr 10, 2016

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=93424

Bug ID: 93424
Summary: [amdgpu] [powerplay] [runpm] Card doesn't re-init when
using powerplay and runpm
Product: DRI
Version: DRI git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: DRM/AMDgpu
Assignee: [email protected]
Reporter: [email protected]

Created attachment 120567
--> https://bugs.freedesktop.org/attachment.cgi?id=120567&action=edit
Dmesg with reinit problems

I think the key messages are:

[   61.153149] SMC address is beyond the SMC RAM area.
[   61.153161] SMC address is beyond the SMC RAM area.
[   61.153511] SMC address is beyond the SMC RAM area.
[   61.153523] SMC address is beyond the SMC RAM area.
[   61.153524] SMC address is beyond the SMC RAM area.
[   61.153524] Failed to initialize ARB table index!
[   61.153526] SMC address is beyond the SMC RAM area.
[   61.153528] Failed to notify no display!
[   61.153536] Failed to enable voltage DPM during DPM Start Function!
[   61.153537] Failed to start DPM!
[   61.313104] [drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: ring 0
test failed (scratch(0xC040)=0xCAFEDEAD)
[   61.313108] [drm:amdgpu_resume [amdgpu]] *ERROR* resume 5 failed -22
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=93424

Mike Lothian <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #1 from Mike Lothian <[email protected]> --- The card now re-inits with

However when power_dpm_force_performance_level is at auto the speeds don't ramp up

When I was in bioshock everything was at it's lowest levels and I was getting about 3fps, when I echo'd high into power_dpm_force_performance_level I went back to 17fps, when I echo'd auto back into power_dpm_force_performance_level the fps stayed high

When I leave the game and relaunch (so the card is re-initialised with runpm) it goes back to 3fps

This is with the latest code in drm-next-4.6-wip - pcie dpm is still disabled

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=93424

--- Comment #2 from Mike Lothian <[email protected]> --- I've done another test

I ran DRI_PRIME=1 glxgears, just to keep the card running

I then launched BioShock and the sclk & mclk again stayed at their lowest settings, I echo'd high into power_dpm_force_performance_level which changed the sclk & mclk values. When I echo'd auto back into power_dpm_force_performance_level and the clocks stayed high. When I exited the game (with glxgears still running) the clocks went back to their lowest settings, which is what I'd expect

So it looks like then the card is re-initialized the auto performance level doesn't work correctly - or is being set to low

Hope this helps

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=93424

--- Comment #3 from Mike Lothian <[email protected]> ---
I've just noticed that I don't need to echo "high" then "auto" to get dpm working, simply echoing "auto" even though that's what it's set to is enough to get the FPS to jump back up to a playable rate

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=93424

Mike Lothian <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #4 from Mike Lothian <[email protected]> --- I'm not sure which commit it was - but this is now fixed for me

Cheers :D

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel