Skip to contentSkip to conversation

New: [DPM] Forcing lowest power state when no display is attached is bad because of OpenCL

Bug 69395 [email protected] 1 participant 12 messages Sep 15, 2013 – Nov 19, 2019

lore
Share & tools
lore
#0 lore raw

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

Priority: medium
Bug ID: 69395
Assignee: [email protected]
Summary: [DPM] Forcing lowest power state when no display is
attached is bad because of OpenCL
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
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).

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

[Bug 69395] [DPM] Forcing lowest power state when no display is attached is bad because of OpenCL

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

--- Comment #1 from Alex Deucher <[email protected]> --- Please attach your dmesg output when the radeon card is doing bitmining.

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

[Bug 69395] [DPM] Forcing lowest power state when no display is attached is bad because of OpenCL

In reply to [email protected]

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

--- Comment #2 from darkbasic <[email protected]> --- Created attachment 85884
--> https://bugs.freedesktop.org/attachment.cgi?id=85884&action=edit
dmesg while bitmining

Here it is.

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

#3 lore raw

[Bug 69395] [DPM] Forcing lowest power state when no display is attached is bad because of OpenCL

In reply to [email protected]

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

--- Comment #3 from Alex Deucher <[email protected]> --- 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.

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

#4 lore raw

[Bug 69395] [DPM] Forcing lowest power state when no display is attached is bad because of OpenCL

In reply to [email protected]

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

--- Comment #4 from Alex Deucher <[email protected]> --- Created attachment 85885
--> https://bugs.freedesktop.org/attachment.cgi?id=85885&action=edit
possible fix

Does this patch help?

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

#5 lore raw

[Bug 69395] [DPM] Forcing lowest power state when no display is attached is bad because of OpenCL

In reply to [email protected]

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

--- Comment #5 from darkbasic <[email protected]> --- 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.

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

#6 lore raw

[Bug 69395] [DPM] Forcing lowest power state when no display is attached is bad because of OpenCL

In reply to [email protected]

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

--- Comment #6 from darkbasic <[email protected]> ---
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).

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

#7 lore raw

[Bug 69395] [DPM] Forcing lowest power state when no display is attached is bad because of OpenCL

In reply to [email protected]

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

Mike Lothian <[email protected]> changed:

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

--- Comment #7 from Mike Lothian <[email protected]> --- Has this been pushed upstream?

Will this also fix the muxless render provider scenario too?

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

#8 lore raw

[Bug 69395] [DPM] Forcing lowest power state when no display is attached is bad because of OpenCL

In reply to [email protected]

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

--- Comment #8 from Mike Lothian <[email protected]> --- Or maybe I should ask does this big affect more than just SI?

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

#9 lore raw

[Bug 69395] [DPM] Forcing lowest power state when no display is attached is bad because of OpenCL

In reply to [email protected]

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

--- Comment #9 from Alex Deucher <[email protected]> --- It's in my 3.13-next branch:
http://cgit.freedesktop.org/~agd5f/linux/log/?h=drm-next-3.13-wip

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

#10 lore raw

[Bug 69395] [DPM] Forcing lowest power state when no display is attached is bad because of OpenCL

In reply to [email protected]

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

--- Comment #10 from Vedran Miletić <[email protected]> --- Was this fixed?

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

#11 lore raw

[Bug 69395] [DPM] Forcing lowest power state when no display is attached is bad because of OpenCL

In reply to [email protected]

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

Martin Peres <[email protected]> changed:

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

         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #11 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/381.

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