Skip to contentSkip to conversation

power consumption on pitcairn card stays high after 2. monitor disconnected

Bug 93471 [email protected] 1 participant 9 messages Dec 21, 2015 – Jan 5, 2016

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 93471
Summary: [radeonsi] power consumption on pitcairn card stays
high after 2. monitor disconnected
Product: DRI
Version: XOrg git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: DRM/Radeon
Assignee: [email protected]
Reporter: [email protected]

Created attachment 120641
--> https://bugs.freedesktop.org/attachment.cgi?id=120641&action=edit
drm part of dmesg

When starting the PC with a single monitor, the power consumption is about 60W (was 50-55W with a HD4650 before).

cat /sys/kernel/debug/dri/64/radeon_pm_info
uvd vclk: 0 dclk: 0
power level 0 sclk: 30000 mclk: 15000 vddc: 900 vddci: 850 pcie gen: 2

When adding a second monitor the power consumption stays at this level until its get activated.
Once activated (xrandr --output HDMI-0 --auto), the consumption ramps up to 79W.

cat /sys/kernel/debug/dri/64/radeon_pm_info
uvd vclk: 0 dclk: 0
power level 0 sclk: 30000 mclk: 120000 vddc: 900 vddci: 1000 pcie gen: 2

Disabling the second monitor again (xrandr --output HDMI-0 --off), does not reduce the consumption again. Not even unplugging helps.
While I read that its simply not possible to get the low power with two active monitors, could it be possible to manually or
automatically switch to the previous clock if all but one monitor have been disabled?
Moreover could the signal simply be cloned without consuming +29W if resolution and refresh rate are equal?
The second monitor is a projector permanently connected, but switched off 90% of the time.

Xorg: From Debian 8.1 stable
Kernel: 4.3.3
Card (bought as R7 370): VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Curacao PRO [Radeon R9 270] (rev 81)

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=93471

--- Comment #2 from Malte <[email protected]> --- Created attachment 120649
--> https://bugs.freedesktop.org/attachment.cgi?id=120649&action=edit
Xorg.log startup with second monitor attached

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
In reply to [email protected]

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

--- Comment #3 from Michel Dänzer <[email protected]> --- Any chance you could try the current xf86-video-ati release 7.6.1?
http://cgit.freedesktop.org/xorg/driver/xf86-video-ati/commit/?id=ddaba449e8d6fe9fc0d97085e4045843fd8d7af9
might 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

#4 lore raw
In reply to [email protected]

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

--- Comment #4 from Malte <[email protected]> ---
The first try of compiling with the script failed due 32/64bit multiarch. I will continue after xmas.

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
In reply to [email protected]

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

--- Comment #5 from Malte <[email protected]> --- Created attachment 120766
--> https://bugs.freedesktop.org/attachment.cgi?id=120766&action=edit
Xorg.log startup and xrandr commands executed

I managed to compile and run xorg somehow (got xdm to run, but no default login or preferred window manager).
Executing xrandr --output HDMI-1 --off a first time properly reduces power, however the main screen goes blank for a short moment and new console windows appear in xdm (as if another session would have been restored) Executing xrandr --output HDMI-1 --auto increases power again. No changes in xdm
Executing xrandr --output HDMI-1 --off a second time, does nothing. No xdm changes, no power changes. Exiting and restarting xorg, I can repeat this procedure with the same result.

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
In reply to [email protected]

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

--- Comment #6 from Malte <[email protected]> ---
As the mentioned fix is in the ATI driver, it would be good if I actually could build and use it. Expected it to be in the radeon/radeonsi driver and concluded the missing xf86-video-ati wont be a problem.

== Processing: "driver/xf86-video-ati"
== configuration options:
make: *** Keine Targets angegeben und keine »make«-Steuerdatei gefunden. Schluss.
build.sh: "make " failed on driver/xf86-video-ati

***** Failed components *****

    driver/xf86-video-v4l
    driver/xf86-video-ati

Everything else could be build.

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
In reply to [email protected]

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

--- Comment #7 from Malte <[email protected]> ---
I used the source from Debian, added the source of the mentioned patch and build a new .deb packet. Now
xrandr --output HDMI-0 --off
reduces power as expected, thanks for pointing to the patch :) But the question remains if it is possible to get the lower power consumption even with two screens (showing the same picture).

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
In reply to [email protected]

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

Michel Dänzer <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
          Component|DRM/Radeon                  |Driver/Radeon
            Version|XOrg git                    |git
         Resolution|---                         |FIXED
           Assignee|[email protected] |[email protected]
                   |.org                        |
            Product|DRI                         |xorg
         QA Contact|                            |[email protected]

--- Comment #8 from Michel Dänzer <[email protected]> --- (In reply to Malte from comment #7)

Quoted 4 lines

I used the source from Debian, added the source of the mentioned patch and build a new .deb packet. Now
xrandr --output HDMI-0 --off
reduces power as expected, thanks for pointing to the patch :)

No worries, thanks for testing. Resolving this report as fixed.

Quoted 2 lines

But the question remains if it is possible to get the lower power consumption even with two screens (showing the same picture).

If both screens are using HDMI connections and the exact same timings, using the same CRTC for both may work.

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