Skip to contentSkip to conversation

New: Sluggish desktop with BARTS and power_profile = low

Bug 32931 [email protected] 1 participant 13 messages Jan 9, 2011 – Feb 19, 2011

lore
Share & tools
lore
#0 lore raw

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

Summary: Sluggish desktop with BARTS and power_profile = low
Product: DRI
Version: XOrg CVS
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: DRM/Radeon
AssignedTo: [email protected]
ReportedBy: [email protected]

Radeon 6870 with latest d-r-t, git mesa/ddx. The whole desktop experience with the low power_profile is rather sluggish. Setting it to default/high fixes it, but also chews up another ~50W of power - no thanks. Upgraded from rv790 which worked fine with the low power_profile.

Also tried "mid" just to see, but dmesg says forced high.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 32931] Sluggish desktop with BARTS and power_profile = low

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

--- Comment #1 from Alex Deucher <[email protected]> 2011-01-09 09:33:30 PST --- please attach your dmesg and xorg log. I suspect the forcing to high your are talking about is the display watermarks rather than the power state which is unrelated.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw

[Bug 32931] Sluggish desktop with BARTS and power_profile = low

In reply to [email protected]

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

--- Comment #2 from Aidan Marks <[email protected]> 2011-01-09 11:41:40 PST --- Created an attachment (id=41806)
--> (https://bugs.freedesktop.org/attachment.cgi?id=41806)
xorg log

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 32931] Sluggish desktop with BARTS and power_profile = low

In reply to [email protected]

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

--- Comment #3 from Aidan Marks <[email protected]> 2011-01-09 11:50:01 PST --- Created an attachment (id=41808)
--> (https://bugs.freedesktop.org/attachment.cgi?id=41808)
dmesg

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 32931] Sluggish desktop with BARTS and power_profile = low

In reply to [email protected]

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

--- Comment #4 from Aidan Marks <[email protected]> 2011-01-09 11:56:53 PST --- mid and high profiles seem fine.

vger 0000:02:00.0 # echo low > power_profile vger 0000:02:00.0 # cat power_profile low
vger 0000:02:00.0 # #sluggish desktop vger 0000:02:00.0 # echo mid > power_profile vger 0000:02:00.0 # cat power_profile mid
vger 0000:02:00.0 # #all good
vger 0000:02:00.0 # echo high > power_profile vger 0000:02:00.0 # cat power_profile high
vger 0000:02:00.0 # #all good
vger 0000:02:00.0 #

and they make a difference at the power socket for the whole system, so they are doing something:

low   ~128W
mid   ~168W
high  ~182W

vger 0000:02:00.0 # dmesg|tail

[   63.529986] uhci_hcd 0000:00:1d.1: reserve dev 2 ep81-INT, period 2, phase
1, 106 us
[   63.536962] uhci_hcd 0000:00:1d.2: reserve dev 2 ep81-INT, period 2, phase
1, 106 us
[  545.127205] [drm] force priority to high
[  603.485236] [drm] force priority to high
[  641.009436] [drm] force priority to high
[  681.913967] [drm] force priority to high
[  730.360570] [drm] force priority to high
[  925.937736] [drm] force priority to high
[  993.013847] [drm] force priority to high
[ 1027.752844] [drm] force priority to high

vger 0000:02:00.0 #

ok this may be unrelated but it's writing this message every profile change.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#5 lore raw

[Bug 32931] Sluggish desktop with BARTS and power_profile = low

In reply to [email protected]

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

Alex Deucher <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|                            |NOTABUG

--- Comment #5 from Alex Deucher <[email protected]> 2011-01-09 12:19:13 PST --- (In reply to comment #4)

Quoted 3 lines
[ 1027.752844] [drm] force priority to high

ok this may be unrelated but it's writing this message every profile change.

Those are unrelated to the power state. As to the bug in general, performance will be lower in lower power states since the clocks are lower.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#6 lore raw

[Bug 32931] Sluggish desktop with BARTS and power_profile = low

In reply to [email protected]

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

--- Comment #6 from Aidan Marks <[email protected]> 2011-01-09 13:08:10 PST --- ok so why does the low power profile work fine on rv790 but not on barts? on barts, low seems to be "too low", e.g. it takes about 3 seconds to expand and draw a dolphin window in kde. clicking on a tab in firefox seems to take about 3/4 of a second to appear. it takes 1-1.5 seconds to show the kde menu. sometimes I reclick on things because I think nothing happened. the desktop response is very jerky, reminds me of graphics from over 10 years ago.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#7 lore raw

[Bug 32931] Sluggish desktop with BARTS and power_profile = low

In reply to [email protected]

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

--- Comment #7 from Alex Deucher <[email protected]> 2011-01-09 13:11:03 PST --- (In reply to comment #6)

Quoted 6 lines

ok so why does the low power profile work fine on rv790 but not on barts? on barts, low seems to be "too low", e.g. it takes about 3 seconds to expand and draw a dolphin window in kde. clicking on a tab in firefox seems to take about 3/4 of a second to appear. it takes 1-1.5 seconds to show the kde menu. sometimes I reclick on things because I think nothing happened. the desktop response is very jerky, reminds me of graphics from over 10 years ago.

The power modes are specified by oems and vary from card to card. Your rv790 likely has higher clocks in it's low power mode. The number of active displays also plays a factor in the clocks that are selected; e.g., if you have 2 displays the clocks are generally higher than with one display.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#8 lore raw

[Bug 32931] Sluggish desktop with BARTS and power_profile = low

In reply to [email protected]

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

--- Comment #8 from Aidan Marks <[email protected]> 2011-01-09 14:50:34 PST --- Hi Alex, I have just a single head display. How can I override the values specified by the oem (powercolor in my case). Their values for low don't work for me. I suspect I need something between their low and mid. or can a power quirk be added for this card?

Also wondering what the values are. I turned on drm.debug=1 but couldn't see any clock/mem debug output, just voltage:

[  426.411143] [drm:evergreen_pm_misc], Setting: v: 950

Tried dynpm method but didn't see anything interesting either. Also noticed that dynpm draws slightly more power than mid at idle.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#9 lore raw

[Bug 32931] Sluggish desktop with BARTS and power_profile = low

In reply to [email protected]

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

--- Comment #9 from Alex Deucher <[email protected]> 2011-01-09 18:10:23 PST --- If you want to add something custom you'll have to hard code it in the driver yourself. Be careful though, the power states can be touchy and certain clock/voltage combinations don't work well together and the fan/cooling profile is tied in to the clocks. Your best bet is to stick with the oem values. If low is not performant enough for you, then stick with mid. dynpm dynamically switches between states based on GPU load while the profiles (low/mid/high/default) are just static states.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#10 lore raw

[Bug 32931] Sluggish desktop with BARTS and power_profile = low

In reply to [email protected]

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

--- Comment #10 from Aidan Marks <[email protected]> 2011-01-09 19:05:14 PST --- Hi Alex - I tried dynpm to see if it would be better suited than using static profiles but it doesn't seem to go any lower than mid in terms of total power consumption at idle. surely, when there the system is idle, low should be selected?

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#11 lore raw

[Bug 32931] Sluggish desktop with BARTS and power_profile = low

In reply to [email protected]

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

--- Comment #11 from Alex Deucher <[email protected]> 2011-01-09 20:01:07 PST --- (In reply to comment #10)

Quoted 4 lines

Hi Alex - I tried dynpm to see if it would be better suited than using static profiles but it doesn't seem to go any lower than mid in terms of total power consumption at idle. surely, when there the system is idle, low should be selected?

It goes to between mid and high as low doesn't work properly on some systems. low is only selected when the diplays are off or when selected via the low profile.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#12 lore raw

[Bug 32931] Sluggish desktop with BARTS and power_profile = low

In reply to [email protected]

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

--- Comment #12 from Aidan Marks <[email protected]> 2011-02-18 22:56:05 PST --- Just a follow up on this. After updating to the latest d-r-t/ddx/mesa (and kde 4.6.0) the low profile is now working much better (to the point it is usable again). One assumes then that the degradation was not a direct result of the oem settings.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.