Bug 39063

Summary: RV630: Sapphire HD 2600 XT power management doesnt work.
Product: DRI Reporter: vladkuzm <vladkuzm>
Component: DRM/RadeonAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED MOVED QA Contact:
Severity: major    
Priority: medium    
Version: XOrg git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
dmesg
none
xorg log
none
vbios none

Description vladkuzm 2011-07-08 03:16:30 UTC
Created attachment 48885 [details]
dmesg

On opensource drivers power managment dont work at all on my Sapphire HD 2600 XT. I tried every state - nothing happens, even dynpm doesnt works. Tested on Ubuntu 11.04 amd64 and gentoo amd64-2.6.38. /sys/kernel/debug/dri/0/radeon_pm_info always same:

default engine clock: 800000 kHz
current engine clock: 796500 kHz
default memory clock: 700000 kHz
current memory clock: 693000 kHz
voltage: 1200 mV
PCIE lanes: 16

sensors:

radeon-pci-0200
Adapter: PCI adapter
temp1:       +82.0 C

On fglrx everything works fine.
Comment 1 vladkuzm 2011-07-08 03:34:09 UTC
Created attachment 48886 [details]
xorg log
Comment 2 Alex Deucher 2011-07-08 08:02:37 UTC
Please attach a copy of your vbios rom.

(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
Comment 3 vladkuzm 2011-07-08 11:07:01 UTC
Created attachment 48900 [details]
vbios
Comment 4 vladkuzm 2011-07-14 14:54:49 UTC
Any guess? May be vbios doesn`t have correct states information? Or may be its my fault and i don`t set some kernel options?
Comment 5 Alex Deucher 2011-07-14 15:02:53 UTC
The vbios has the same clocks for every power mode.
Comment 6 vladkuzm 2011-07-15 08:12:45 UTC
It`s sad :( I hope you have any plans to advanced power management system to avoid exceptions like this. May be someone can edit this page http://www.x.org/wiki/RadeonFeature about wrong bios information to help another people with same issue. Anyway, thanks for the help.
Comment 7 vladkuzm 2011-11-01 13:10:58 UTC
Hello, how about making some handler to exceptions of the rules? I know there many wrong state info in video cards vbios. As i know we will not see kosher power management for a long time, so this may be not so bad solution for users at the moment. What developers think about this?

Sorry for my English, i hope you understand what i mean.
Comment 8 Tomas Pospisek 2013-07-22 14:18:42 UTC
radeon has got some new power management infrastructure: http://www.botchco.com/agd5f/?p=57

Does that change anything wrt this bug?

Btw. here:
# uname -a
Linux hier 3.11.0-rc1 #2 SMP Sun Jul 21 12:29:18 CEST 2013 x86_64 GNU/Linux
(booted with radeon.dpm=1)
# lspci | grep Radeon
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Seymour [Radeon HD 6400M/7400M Series] (rev ff)

# cat rom 
cat: rom: Invalid argument
# echo 1 > rom
# cat rom 
cat: rom: input/output error # translated from german
Comment 9 Martin Peres 2019-11-19 08:20:05 UTC
-- 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/203.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.