https://bugs.freedesktop.org/show_bug.cgi?id=69395
Priority: medium Bug ID: 69395 Assignee: dri-devel@lists.freedesktop.org Summary: [DPM] Forcing lowest power state when no display is attached is bad because of OpenCL Severity: normal Classification: Unclassified OS: All Reporter: darkbasic@linuxsystems.it Hardware: Other Status: NEW Version: XOrg CVS Component: DRM/Radeon Product: DRI
Actually I can't use my HD 7950 with KDE becuase of
https://bugs.freedesktop.org/show_bug.cgi?id=69341 https://bugs.freedesktop.org/show_bug.cgi?id=64297
so I attached my display the Intel HD 4000.
I still do bitcoin mining (OpenCL) on the 7950 and I notice it doesn't switch to higher power states anymore (everything works flawlessly if I attach the display to the 7950). Forcing the card to the lowest power state if no display is attached is a bad behavious because of GPGPU computing.
I'm using Linux 3.12-pre (drm-next).
https://bugs.freedesktop.org/show_bug.cgi?id=69395
--- Comment #1 from Alex Deucher agd5f@yahoo.com --- Please attach your dmesg output when the radeon card is doing bitmining.
https://bugs.freedesktop.org/show_bug.cgi?id=69395
--- Comment #2 from darkbasic darkbasic@linuxsystems.it --- Created attachment 85884 --> https://bugs.freedesktop.org/attachment.cgi?id=85884&action=edit dmesg while bitmining
Here it is.
https://bugs.freedesktop.org/show_bug.cgi?id=69395
--- Comment #3 from Alex Deucher agd5f@yahoo.com --- What does the dpm debugfs output show when you are bitmining? e.g., cat /sys/kernel/debug/dri/64/radeon_pm_info
Also does manually forcing the performance level to high help? E.g., echo high > /sys/class/drm/card0/device/power_dpm_force_performance_level
Note, you may need to adjust the paths above depending on your system.
https://bugs.freedesktop.org/show_bug.cgi?id=69395
--- Comment #4 from Alex Deucher agd5f@yahoo.com --- Created attachment 85885 --> https://bugs.freedesktop.org/attachment.cgi?id=85885&action=edit possible fix
Does this patch help?
https://bugs.freedesktop.org/show_bug.cgi?id=69395
--- Comment #5 from darkbasic darkbasic@linuxsystems.it --- When mining I get lowest power level (power level 0). Of course if I echo "high" into power_dpm_force_performance_level I get power level 2 (the highest). I will try attached patch tomorrow, thanks.
https://bugs.freedesktop.org/show_bug.cgi?id=69395
--- Comment #6 from darkbasic darkbasic@linuxsystems.it --- The fix worked, thanks. I hope you can help me with my KDE issue too: it's a pity having to use the Intel HD 4000 which doesn't even support my monitor's resolution (2560x1600).
https://bugs.freedesktop.org/show_bug.cgi?id=69395
Mike Lothian mike@fireburn.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mike@fireburn.co.uk
--- Comment #7 from Mike Lothian mike@fireburn.co.uk --- Has this been pushed upstream?
Will this also fix the muxless render provider scenario too?
https://bugs.freedesktop.org/show_bug.cgi?id=69395
--- Comment #8 from Mike Lothian mike@fireburn.co.uk --- Or maybe I should ask does this big affect more than just SI?
https://bugs.freedesktop.org/show_bug.cgi?id=69395
--- Comment #9 from Alex Deucher agd5f@yahoo.com --- It's in my 3.13-next branch: http://cgit.freedesktop.org/~agd5f/linux/log/?h=drm-next-3.13-wip
https://bugs.freedesktop.org/show_bug.cgi?id=69395
--- Comment #10 from Vedran Miletić vedran@miletic.net --- Was this fixed?
https://bugs.freedesktop.org/show_bug.cgi?id=69395
Martin Peres martin.peres@free.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |MOVED Status|NEW |RESOLVED
--- Comment #11 from Martin Peres martin.peres@free.fr --- -- 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/381.
dri-devel@lists.freedesktop.org