dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [Bug 40024] New: Power management does not work on ATI Mobility Radeon 9700
@ 2011-08-11 19:01 bugzilla-daemon
  2011-08-11 19:06 ` [Bug 40024] " bugzilla-daemon
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: bugzilla-daemon @ 2011-08-11 19:01 UTC (permalink / raw)
  To: dri-devel

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

           Summary: Power management does not work on ATI Mobility Radeon
                    9700
           Product: Mesa
           Version: 7.10
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/r300
        AssignedTo: dri-devel@lists.freedesktop.org
        ReportedBy: robegrassi@gmail.com


Created an attachment (id=50139)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=50139)
output of dmesg

Hi,

I have an old Asus laptop with a Mobility Radeon 9700 card:

$ lspci -nn | grep VGA
01:00.0 VGA compatible controller [0300]: ATI Technologies Inc RV350 [Mobility
Radeon 9600 M10] [1002:4e50]

I am using Xubuntu 11.04 with KMS and Gallium driver.

I would like to set the card to a lower power state because the fan goes often
high and the laptop gets hot. The problem is that these three files are
missing:

cat: /sys/class/drm/card0/device/power_method: No such file or directory
cat: /sys/class/drm/card0/device/power_profile: No such file or directory
cat: /sys/kernel/debug/dri/0/radeon_pm_info: No such file or directory

Does it mean that my card does not support power management?

Thank you very much for your help,

Roberto

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 40024] Power management does not work on ATI Mobility Radeon 9700
  2011-08-11 19:01 [Bug 40024] New: Power management does not work on ATI Mobility Radeon 9700 bugzilla-daemon
@ 2011-08-11 19:06 ` bugzilla-daemon
  2011-08-11 19:30 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2011-08-11 19:06 UTC (permalink / raw)
  To: dri-devel

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

Alex Deucher <agd5f@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Product|Mesa                        |DRI
            Version|7.10                        |unspecified
          Component|Drivers/Gallium/r300        |DRM/Radeon

--- Comment #1 from Alex Deucher <agd5f@yahoo.com> 2011-08-11 12:06:35 PDT ---
There doesn't appear to be any power states in your vbios.  You can enable
clock gating by adding radeon.dynclks=1 to the kernel command line in grub. 
Please attach a copy of your vbios as well.  To get a copy of your vbios:
(as root)
(use lspci to get the bus id)
cd /sys/bus/pci/devices/<pci bus id>
echo 1 > rom
cat rom > /tmp/vbios.rom
echo 0 > rom

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 40024] Power management does not work on ATI Mobility Radeon 9700
  2011-08-11 19:01 [Bug 40024] New: Power management does not work on ATI Mobility Radeon 9700 bugzilla-daemon
  2011-08-11 19:06 ` [Bug 40024] " bugzilla-daemon
@ 2011-08-11 19:30 ` bugzilla-daemon
  2011-08-11 19:36 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2011-08-11 19:30 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #2 from Roberto Grassi <robegrassi@gmail.com> 2011-08-11 12:30:54 PDT ---
Created an attachment (id=50141)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=50141)
copy of my vbios

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 40024] Power management does not work on ATI Mobility Radeon 9700
  2011-08-11 19:01 [Bug 40024] New: Power management does not work on ATI Mobility Radeon 9700 bugzilla-daemon
  2011-08-11 19:06 ` [Bug 40024] " bugzilla-daemon
  2011-08-11 19:30 ` bugzilla-daemon
@ 2011-08-11 19:36 ` bugzilla-daemon
  2011-08-11 19:49 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2011-08-11 19:36 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #3 from Roberto Grassi <robegrassi@gmail.com> 2011-08-11 12:36:07 PDT ---
Thanks Alex,

I have attached my vbios. So, with dynclks=1, will I still be able to reduce
the heat?

Roberto

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 40024] Power management does not work on ATI Mobility Radeon 9700
  2011-08-11 19:01 [Bug 40024] New: Power management does not work on ATI Mobility Radeon 9700 bugzilla-daemon
                   ` (2 preceding siblings ...)
  2011-08-11 19:36 ` bugzilla-daemon
@ 2011-08-11 19:49 ` bugzilla-daemon
  2011-11-02  4:00 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2011-08-11 19:49 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #4 from Alex Deucher <agd5f@yahoo.com> 2011-08-11 12:49:40 PDT ---
(In reply to comment #3)
> I have attached my vbios. So, with dynclks=1, will I still be able to reduce
> the heat?

It should help unless the vbios as already enabled clock gating.

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 40024] Power management does not work on ATI Mobility Radeon 9700
  2011-08-11 19:01 [Bug 40024] New: Power management does not work on ATI Mobility Radeon 9700 bugzilla-daemon
                   ` (3 preceding siblings ...)
  2011-08-11 19:49 ` bugzilla-daemon
@ 2011-11-02  4:00 ` bugzilla-daemon
  2011-11-02 11:31 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2011-11-02  4:00 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #5 from Andrew Randrianasulu <randrik@mail.ru> 2011-11-02 04:00:35 UTC ---
Probably bad advice, but what if user  executes rovclock [1] on top of KMS ?

 [1] - http://www.thinkwiki.org/wiki/Rovclock - has some info about min. clocks
.... Also, not looked into modern KMS code yet, but people on #nouveau reported
their cards need proper memtimings, are we (radeon) setting them (on combios
and atombios cards ....)

There was another thread on Phoronix, with dynpm discussion, basically down to
"it will work if we start to re-clock memory early, before vblank period, so at
most few lines will be corrupted" but i can't find patches on dri-devel :(

http://phoronix.com/forums/showthread.php?57084-Gallium3D-Pipe-Video-To-Be-Merged-To-Mesa-Master&p=218105#post218105

ahlaht 

Date 07/12/2011
-----------------

"2. The engine clock and voltage can be changed freely without syncing to
vblank and so it should work fine with multiple monitors too. (This is very
cool.) There is no flickering provided CRTCs are kept ON while doing the
reclocking. (But there is probably some good reason why the code turns them OFF
by default.)

 3. The memory reclocking is much harder to do without flickering. Even if
synced perfectly to vblank the time runs out in the end and visible display
corruption occurs. The solution is to start the reclocking just few lines
BEFORE vblank. This way if there is any flickering it's limited to the last few
lines only.

 4. When idle and working properly dynpm doesn't use any more power than the
"low" profile, but it still responds immediately to any gpu load.

 I'm currently testing if these hacks are stable. I had some crashes when
writing them, but I think the problems should be fixed now..."

-----

I'm sure i saw patches ... but where?! kernel bugzilla?

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 40024] Power management does not work on ATI Mobility Radeon 9700
  2011-08-11 19:01 [Bug 40024] New: Power management does not work on ATI Mobility Radeon 9700 bugzilla-daemon
                   ` (4 preceding siblings ...)
  2011-11-02  4:00 ` bugzilla-daemon
@ 2011-11-02 11:31 ` bugzilla-daemon
  2011-11-02 12:15 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2011-11-02 11:31 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #6 from Andrew Randrianasulu <randrik@mail.ru> 2011-11-02 04:31:12 PDT ---
for memtimings on radeon 7500 (changed via rovclock, while running proprietary
driver) see forum post  here and down :

http://forums.gentoo.org/viewtopic-p-3687568.html#3687568

-----------copy--------------

#rovclock -i
Radeon overclock 0.6e by Hasw (hasw@hasw.net)

Found ATI card on 01:00, device id: 0x4c57
I/O base address: 0x3000
Video BIOS shadow found @ 0xc0000
Reference clock from BIOS: 27.0 MHz
Memory size: 32768 kB
Memory channels: 2, CD,CH only: 0
tRcdRD:   9
tRcdWR:   4
tRP:      8
tRAS:     18
tRRD:     3
tR2W-CL:  3
tWR:      4
tW2R:     2
tW2Rsb:   1
tR2R:     2
tRFC:     20
tWL(0.5): 2
tCAS:     3
tCMD:     0
tSTR:     1
XTAL: 27.0 MHz, RefDiv: 6

Core: 258.75 MHz, Mem: 364.50 MHz

------------copy-end-------------

And after over-clocking, note, some timings were lowered

------------copy2--------

UberPinguin ubrpngn # rovclock -i
Radeon overclock 0.6e by Hasw (hasw@hasw.net)

Found ATI card on 01:00, device id: 0x4c57
I/O base address: 0x3000
Video BIOS shadow found @ 0xc0000
Reference clock from BIOS: 27.0 MHz
Memory size: 32768 kB
Memory channels: 2, CD,CH only: 0
tRcdRD:   5
tRcdWR:   2
tRP:      4
tRAS:     14
tRRD:     3
tR2W-CL:  2
tWR:      3
tW2R:     0
tW2Rsb:   1
tR2R:     1
tRFC:     14
tWL(0.5): 2
tCAS:     3
tCMD:     0
tSTR:     1
XTAL: 27.0 MHz, RefDiv: 6

Core: 290.25 MHz, Mem: 380.25 MHz
----------copy2 ends----


reported speed boost: 

from ~647fps to ~1018 in glxgears

guess 260 ->290 engine and 364 -> 380 mem  can't explain such big boost alone?

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 40024] Power management does not work on ATI Mobility Radeon 9700
  2011-08-11 19:01 [Bug 40024] New: Power management does not work on ATI Mobility Radeon 9700 bugzilla-daemon
                   ` (5 preceding siblings ...)
  2011-11-02 11:31 ` bugzilla-daemon
@ 2011-11-02 12:15 ` bugzilla-daemon
  2012-02-12 11:28 ` bugzilla-daemon
  2016-02-26  6:12 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2011-11-02 12:15 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #7 from Andrew Randrianasulu <randrik@mail.ru> 2011-11-02 05:15:55 PDT ---
from #nouveau channel:

http://people.freedesktop.org/~cbrill/dri-log/index.php?channel=nouveau&show_html=true&highlight_names=&date=2011-08-19


--------
15:53 #nouveau: < MaximLevitsky> mupuf: one thing though, that memtimings don't
seem to affect much, is that normal?
15:54 #nouveau: < MaximLevitsky> they are used, that for sure:
15:54 #nouveau: < MaximLevitsky> 4.864469] [drm] nouveau 0000:01:00.0: Using
memory type: GGDR2
15:57 #nouveau: < mupuf> MaximLevitsky: the lowest perflvl should be faster
15:57 #nouveau: < mupuf> up to 4 times faster 

--------

Yes, nvidia is not amd/ati. But memory always important, it seems

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 40024] Power management does not work on ATI Mobility Radeon 9700
  2011-08-11 19:01 [Bug 40024] New: Power management does not work on ATI Mobility Radeon 9700 bugzilla-daemon
                   ` (6 preceding siblings ...)
  2011-11-02 12:15 ` bugzilla-daemon
@ 2012-02-12 11:28 ` bugzilla-daemon
  2016-02-26  6:12 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2012-02-12 11:28 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #8 from Da Fox <da_fox@mad.scientist.com> 2012-02-12 03:28:43 PST ---
Adding myself as a 'me too'

(In reply to comment #5)
> Probably bad advice, but what if user  executes rovclock [1] on top of KMS ?
> 
This seems to work, but I don't know if there is any (possibility for) harm. Your wording seems to suggest there is? 

Also, I am not sure if just down-clocking the core and memory is the same as the driver-provided power saving features?

And finally, I don't really know what settings are 'safe' and/or used by the driver? Some quick tries showed that is really easy to lock-up the computer with
this :O
The lowest setting that I've tried that worked for me is 150/150 core/mem (but I did not really try anymore after it locked up)

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 40024] Power management does not work on ATI Mobility Radeon 9700
  2011-08-11 19:01 [Bug 40024] New: Power management does not work on ATI Mobility Radeon 9700 bugzilla-daemon
                   ` (7 preceding siblings ...)
  2012-02-12 11:28 ` bugzilla-daemon
@ 2016-02-26  6:12 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2016-02-26  6:12 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1218 bytes --]

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

Christopher M. Penalver <christopher.m.penalver@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED
                 CC|                            |christopher.m.penalver@gmai
                   |                            |l.com

--- Comment #9 from Christopher M. Penalver <christopher.m.penalver@gmail.com> ---
Roberto Grassi, Xubuntu 11.04 reached EOL on October 28, 2012. For more on
this, please see https://wiki.ubuntu.com/Releases.

If this is reproducible with a supported release, it will help immensely if you
filed a new report with Ubuntu by ensuring you have the package xdiagnose
installed, and that you click the Yes button for attaching additional debugging
information running the following from a terminal:
ubuntu-bug xorg

Also, please feel free to subscribe me to it.

For more on why this is helpful, please see
https://wiki.ubuntu.com/ReportingBugs.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2932 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-02-26  6:12 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-11 19:01 [Bug 40024] New: Power management does not work on ATI Mobility Radeon 9700 bugzilla-daemon
2011-08-11 19:06 ` [Bug 40024] " bugzilla-daemon
2011-08-11 19:30 ` bugzilla-daemon
2011-08-11 19:36 ` bugzilla-daemon
2011-08-11 19:49 ` bugzilla-daemon
2011-11-02  4:00 ` bugzilla-daemon
2011-11-02 11:31 ` bugzilla-daemon
2011-11-02 12:15 ` bugzilla-daemon
2012-02-12 11:28 ` bugzilla-daemon
2016-02-26  6:12 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).