FS#20368 - [kernel26] 2.6.35 - missing radeon power management

Attached to Project: Arch Linux
Opened by Pawel (pawels64) - Wednesday, 04 August 2010, 14:13 GMT
Last edited by Roman Kyrylych (Romashka) - Tuesday, 10 August 2010, 07:33 GMT
Task Type Feature Request
Category Packages: Testing
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Hello,

I'm running 2.6.35 kernel from testing and I have problem with radeon power management. Screen flickers and I am not able to choose power management profile. According to:

http://wiki.archlinux.org/index.php/ATI#Powersaving

I should do the following:

1. Try adding radeon.dynpm=1 to the kernel parameters (if using the stock kernel).

This is not working with 2.6.35.

2. Use the [radeon] repo:

Kernel from this repo allows me to tune "/sys/class/drm/card0/device/power_profile". However, I'd like to have such option in the official Arch Linux kernel. It's probably matter of enabling some option in kernel config.

Regards
This task depends upon

Closed by  Roman Kyrylych (Romashka)
Tuesday, 10 August 2010, 07:33 GMT
Reason for closing:  Not a bug
Additional comments about closing:  hardware problem
Comment by Pawel (pawels64) - Wednesday, 04 August 2010, 15:21 GMT
Could someone edit this report, please? It should be a "testing" Packages not the "core". I'm sorry for the mistake.
Comment by Uli (Army) - Wednesday, 04 August 2010, 16:11 GMT
I also have some flickering. My setting is

echo "dynpm" > /sys/class/drm/card0/device/power_method

in /etc/rc.local
Comment by Federico Chiacchiaretta (baghera) - Wednesday, 04 August 2010, 16:14 GMT
As stated here http://lists.freedesktop.org/archives/dri-devel/2010-May/000548.html
the module parameter dynpm is obsolete (I guess it was used only in 2.6.34).

BTW I tried changing /sys/class/drm/card0/device/power_method from "profile" to "dynpm" and it works, I didn't try to change /sys/class/drm/card0/device/power_profile from "default" to something else, but I think power management is enabled as well.
Comment by Pawel (pawels64) - Wednesday, 04 August 2010, 18:58 GMT
The problem is, I don't have power_method in /sys/class/drm/card0/device/ from some reason. :o Do you have some options in xorg.con or in menu.lst maybe?

It's dynclks=1 obsolete imho.
Comment by Federico Chiacchiaretta (baghera) - Wednesday, 04 August 2010, 20:14 GMT
I don't have any option in xorg.conf nor in menu.lst . Can you check your dmesg to see why pm doesn't initialize?

BTW dynpm is obsolete and has been removed, dynclks is for disabling clocking unused blocks, it was used on older hardware (see a few messages after the one I linked in my previous post). You can also check the output of "modinfo radeon".
Comment by Pawel (pawels64) - Wednesday, 04 August 2010, 21:05 GMT
I have checked dmesg and modinfo, but I found nothing related to radeon pm. It's strange. Could you paste here a single line from dmesg about pm, so I'll check I didn't miss something? In /sys/class/drm/card0/device/ I have a directory 'power' and there are:

async control runtime_active_kids runtime_enabled runtime_status runtime_usage wakeup

P.S. Maybe I need to have some newer xorg packages? I've got the one from the repo.
Comment by Federico Chiacchiaretta (baghera) - Thursday, 05 August 2010, 16:04 GMT
Sorry for the delay in aswering.
I also have xorg pkgs from [extra], so I guess no need for newer pkgs. Here's what I have in my dmesg

[drm] radeon: power management initialize
Comment by Pawel (pawels64) - Thursday, 05 August 2010, 19:15 GMT
No problem. :)

I don't have such line in dmesg. I even enabled this repo:

[radeon]
Server = http://gtklocker.tiven.org/radeon-repo/x86_64/

and installed kernel and drm-git from there, but there's still no power managament for me. :( At this point, I think it should be described like a bug rather then feature request.
Comment by Pawel (pawels64) - Thursday, 05 August 2010, 19:18 GMT
Oh, I said: "Kernel from this repo allows me to tune "/sys/class/drm/card0/device/power_profile".", but it was just guessing, because I thought it will let me to do so.
Comment by Pawel (pawels64) - Sunday, 08 August 2010, 16:20 GMT
I've got the same problem in Kubuntu 10.04 with 2.6.35 kernel from PPA. I think it can be upstream bug. Change the task type to "bug", please.
Comment by Pawel (pawels64) - Monday, 09 August 2010, 21:26 GMT
I request closure, because it's hardware related problem. Explanation is here:

http://www.phoronix.com/forums/showpost.php?p=141485&postcount=50

Thank you.

Loading...