A10-7800: Boot problems (CPU stuck) and dpm not working correctly
https://bugs.freedesktop.org/show_bug.cgi?id=85107
Michel Dänzer <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|Driver/Radeon |DRM/Radeon
Assignee|[email protected] |[email protected]
| |.org
Product|xorg |DRI
QA Contact|[email protected] |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
https://bugs.freedesktop.org/show_bug.cgi?id=85107
--- Comment #6 from Marcel Witte <[email protected]> ---
As written in the first comment the clocks never change. Running vblank_mode=0 glxgears does not change the clocks, also
echo high > /sys/class/drm/card0/device/power_dpm_force_performance_level
makes no difference to the values.
The initial value of /sys/class/drm/card0/device/power_dpm_force_performance_level is "auto".
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
https://bugs.freedesktop.org/show_bug.cgi?id=85107
--- Comment #7 from Alex Deucher <[email protected]> ---
does setting radeon.bapm=0 change anything with respect to the GPU clocks?
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
https://bugs.freedesktop.org/show_bug.cgi?id=85107
--- Comment #8 from Marcel Witte <[email protected]> --- no it does only "fix" the CPU stuck errors
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
https://bugs.freedesktop.org/show_bug.cgi?id=85107
--- Comment #9 from Marcel Witte <[email protected]> ---
Today I tried to use radeon.dpm=0 to get the full performance, but I noticed that with radeon.dpm=0 I get the CPU stuck errors again, even with radeon.bapm=0. So the only way to boot without these errors is "radeon.bapm=0" or "radeon.bapm=0 radeon.dpm=1".
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
https://bugs.freedesktop.org/show_bug.cgi?id=85107
--- Comment #10 from Marcel Witte <[email protected]> --- Using linux-next, the output of /sys/kernel/debug/dri/0/radeon_pm_info has changed a bit, but none of the problems are solved.
running glxgears or idle:
uvd disabled
vce disabled
power level 0 sclk: 35122 vddc: 4900
running qvdpautest:
uvd enabled
vce disabled
power level 0 sclk: 35122 vddc: 4900
So it seems the driver is detecting the vdpau usage but it is not switching the power level.
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
https://bugs.freedesktop.org/show_bug.cgi?id=85107
--- Comment #11 from Marcel Witte <[email protected]> ---
To check if it is a hardware problem or a problematic bios setting I installed openSUSE 13.1 in parallel, there I was able to test with fglrx. And it is working well, the power management is working and the clock is getting up to the max when running glxgears (tested with aticonfig --odgc).
So this has to be a driver bug... Can you give me any hint how I can debug this problem? I'm a software engineer myself (but mostly Java) and can test patches or "play" with the code if you say me where... ;)
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
https://bugs.freedesktop.org/show_bug.cgi?id=85107
--- Comment #12 from Alex Deucher <[email protected]> --- Created attachment 108260
--> https://bugs.freedesktop.org/attachment.cgi?id=108260&action=edit
disable some dpm features
You might try this patch. If it helps try to narrow down which specific features are causing the problem. You might also check your bios configuration and see if any of those settings make a difference. All of the relevant power management code for your asic is in kv_dpm.c and kv_smc.c.
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
https://bugs.freedesktop.org/show_bug.cgi?id=85107
--- Comment #13 from Marcel Witte <[email protected]> --- Thanks for the patch. I still need radeon.bapm=0 to boot properly, but with setting
pi->enable_nb_dpm = false;
the clock is getting higher and so I have the full performance. Finally I can watch HD videos with VDPAU now :)
I run this tests using kernel 3.18-rc1. I do not have looked at the code further, that is the consequence of this setting? Could there be any matching BIOS setting? How can I further debug why my system is needing this change?
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
https://bugs.freedesktop.org/show_bug.cgi?id=85107
--- Comment #14 from Alex Deucher <[email protected]> --- Created attachment 108473
--> https://bugs.freedesktop.org/attachment.cgi?id=108473&action=edit
dpm fix
(In reply to Marcel Witte from comment #13)
Quoted 8 lines
Thanks for the patch. I still need radeon.bapm=0 to boot properly, but with setting
pi->enable_nb_dpm= false;the clock is getting higher and so I have the full performance. Finally I can watch HD videos with VDPAU now :)
Great. The attached patch should allow your system to work out of the box.
Quoted 4 lines
I run this tests using kernel 3.18-rc1. I do not have looked at the code further, that is the consequence of this setting? Could there be any matching BIOS setting? How can I further debug why my system is needing this change?
nb dpm is northbridge dpm. You might check and see if there are any bios options related to the northbridge that workaround the issue.
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
https://bugs.freedesktop.org/show_bug.cgi?id=85107
Martin Peres <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |MOVED--- Comment #15 from Martin Peres <[email protected]> --- -- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/545.
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