From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 67970] New: Kernel bugs related to the powersaving features of mobility radeon x1400 Date: Sat, 10 Aug 2013 03:34:02 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0461754778==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 2D8D1E5BFA for ; Fri, 9 Aug 2013 20:34:02 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0461754778== Content-Type: multipart/alternative; boundary="1376105642.06b550D0.24897"; charset="us-ascii" --1376105642.06b550D0.24897 Date: Sat, 10 Aug 2013 03:34:02 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=67970 Priority: medium Bug ID: 67970 Assignee: dri-devel@lists.freedesktop.org Summary: Kernel bugs related to the powersaving features of mobility radeon x1400 Severity: blocker Classification: Unclassified OS: Linux (All) Reporter: shayanmansuri@yahoo.com Hardware: All Status: NEW Version: XOrg CVS Component: DRM/Radeon Product: DRI I have a Mobility Radeon X1400 (RV500 Family) on my dell inspiron 6400 (or it's called inspiron 1501 or 1505 elsewhere). I use Open-source drivers and they work for me and I have no problem with anything except the powermanagement at kernel level. When I want to activate powersaving feature I use these commands: 1. when I use this command: echo dynpm > /sys/class/drm/card0/device/power_method nothing happens. I mean GPU frequency remain high. I even do not use a GUI. I'm in the shell. 2. when I use these commands echo profile > /sys/class/drm/card0/device/power_method echo low > /sys/class/drm/card0/device/power_profile I receive these error: kernel:[ 192.253008] NMI: PCI system error (SERR) for reason b1 on CPU 0. kernel:[ 192.253016] Dazed and confused, but trying to continue I have noticed that the kernel do not changes the GPU and Vram frequencies correctly in the profile mode. This is what I get when I set it to mid: # echo mid > /sys/class/drm/card0/device/power_profile # cat /sys/kernel/debug/dri/0/radeon_pm_info default engine clock: 432000 kHz current engine clock: 209250 kHz default memory clock: 396000 kHz current memory clock: 135000 kHz PCIE lanes: 1 This is what I get when I set it to low: # echo low > /sys/class/drm/card0/device/power_profile # cat /sys/kernel/debug/dri/0/radeon_pm_info default engine clock: 432000 kHz current engine clock: 324000 kHz default memory clock: 396000 kHz current memory clock: 135000 kHz PCIE lanes: 1 This is what I get when I set it to high: # echo high > /sys/class/drm/card0/device/power_profile # cat /sys/kernel/debug/dri/0/radeon_pm_info default engine clock: 432000 kHz current engine clock: 432000 kHz default memory clock: 396000 kHz current memory clock: 396000 kHz PCIE lanes: 0 If you look at the above values, it is obvious that the current clock of mid and low profiles should be replaced with each other. I've tested this in different distribution of GNU/Linux with different kernel versions: Including Ubuntu, LMDE, Archlinux and Chakra. with these kernel versions: 2.6.38, 2.6.39, 3.0.0 RC5, 3.0.0-1-amd64 in LMDE, and lately with 3.4.55 LTS in ubuntu 12.04.2. -- You are receiving this mail because: You are the assignee for the bug. --1376105642.06b550D0.24897 Date: Sat, 10 Aug 2013 03:34:02 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Priority medium
Bug ID 67970
Assignee dri-devel@lists.freedesktop.org
Summary Kernel bugs related to the powersaving features of mobility radeon x1400
Severity blocker
Classification Unclassified
OS Linux (All)
Reporter shayanmansuri@yahoo.com
Hardware All
Status NEW
Version XOrg CVS
Component DRM/Radeon
Product DRI

I have a Mobility Radeon X1400 (RV500 Family) on my dell inspiron 6400 (or it's
called inspiron 1501 or 1505 elsewhere). I use Open-source drivers and they
work for me and I have no problem with anything except the powermanagement at
kernel level.

When I want to activate powersaving feature I use these commands:

1. when I use this command:
echo dynpm > /sys/class/drm/card0/device/power_method

nothing happens. I mean GPU frequency remain high. I even do not use a GUI. I'm
in the shell.

2. when I use these commands
echo profile > /sys/class/drm/card0/device/power_method
echo low > /sys/class/drm/card0/device/power_profile

I receive these error: 
 kernel:[  192.253008] NMI: PCI system error (SERR) for reason b1 on CPU 0.
 kernel:[  192.253016] Dazed and confused, but trying to continue

I have noticed that the kernel do not changes the GPU and Vram frequencies
correctly in the profile mode. 

This is what I get when I set it to mid:
# echo mid > /sys/class/drm/card0/device/power_profile
# cat /sys/kernel/debug/dri/0/radeon_pm_info

default engine clock: 432000 kHz
current engine clock: 209250 kHz
default memory clock: 396000 kHz
current memory clock: 135000 kHz
PCIE lanes: 1

This is what I get when I set it to low:
# echo low > /sys/class/drm/card0/device/power_profile
# cat /sys/kernel/debug/dri/0/radeon_pm_info
default engine clock: 432000 kHz
current engine clock: 324000 kHz
default memory clock: 396000 kHz
current memory clock: 135000 kHz
PCIE lanes: 1

This is what I get when I set it to high:
# echo high > /sys/class/drm/card0/device/power_profile
# cat /sys/kernel/debug/dri/0/radeon_pm_info
default engine clock: 432000 kHz
current engine clock: 432000 kHz
default memory clock: 396000 kHz
current memory clock: 396000 kHz
PCIE lanes: 0

If you look at the above values, it is obvious that the current clock of mid
and low profiles should be replaced with each other.

I've tested this in different distribution of GNU/Linux with different kernel
versions: Including Ubuntu, LMDE, Archlinux and Chakra. with these kernel
versions: 2.6.38, 2.6.39, 3.0.0 RC5, 3.0.0-1-amd64 in LMDE, and lately with
3.4.55 LTS in ubuntu 12.04.2.


You are receiving this mail because:
  • You are the assignee for the bug.
--1376105642.06b550D0.24897-- --===============0461754778== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0461754778==--