Page 9 of 9 FirstFirst ... 789
Results 81 to 85 of 85

Thread: How To Setup Radeon DPM On Ubuntu Linux

  1. #81
    Join Date
    Jan 2013
    Posts
    906

    Default

    Quote Originally Posted by Ibidem View Post
    Code:
    radeon.dpm=1
    may not work with a Debian stock kernel--or any kernel that uses radeon built as a module, unless there's some special magic in your init version.
    Code:
    ghost@linux:~$ cat /boot/config-3.11-6.dmz.1-liquorix-amd64 |grep -i drm_radeon
    CONFIG_DRM_RADEON=m
    # CONFIG_DRM_RADEON_UMS is not set
    ghost@linux:~$ dmesg|grep -i radeon|grep -i dpm
    [drm] radeon: dpm initialized
    ghost@linux:~$ cat /boot/grub/grub.cfg |grep radeon.dpm
    	linux	/boot/vmlinuz-3.11-6.dmz.1-liquorix-amd64 root=UUID=9ae35c45-c420-43e0-bf40-1dbe3f6882e6 ro quiet radeon.dpm=1
    This is standard Debian Testing.

  2. #82

    Default

    Quote Originally Posted by Ibidem View Post
    Code:
    radeon.dpm=1
    may not work with a Debian stock kernel--or any kernel that uses radeon built as a module, unless there's some special magic in your init version.

    Code:
    module.parameter=value
    is only for builtin modules, to the best of my knowledge.
    So you would need to do something like:
    Code:
    echo "options radeon dpm=1">>/etc/modprobe.d/radeon.conf
    If you want a lower clock, see if you can use the "battery" state.
    Radeon is almost always built as a module and dpm works with the Debian stock kernels and it should work in any circumstances if radeon.dpm=1 is passed to the kernel boot options.

    This is the relevant line in dmesg to see if dpm is actually activated:

    Code:
    [    7.075704] [drm] radeon: dpm initialized
    You can see it with the following command:
    Code:
    dmesg | grep " dpm "
    BTW there is the clock utility on the other thread here, you should try it.

  3. #83
    Join Date
    Jan 2013
    Posts
    906

    Default

    Quote Originally Posted by gradinaruvasile View Post
    .....
    Say,.. why do you have a habit of answering exactly the same post, at exactly the same time with almost identical answer D

  4. #84
    Join Date
    Jan 2014
    Posts
    5

    Wink effective power management with DPM?

    I have a question concerning this DPM thing:
    I think I managed to set everything up correctly on my 3.12.6 kernel (at least, so it seems).
    I have a RV710 in my laptop (mobile radeon 4570)
    DPM talks about 7 different profiles..
    but when I switch from battery - balanced - performance using this command:
    Code:
    echo (profile) > /sys/class/drm/card0/device/power_dpm_state
    and monitor the frequency information with this tool:
    Code:
    while(true) do sleep 5; cat /sys/kernel/debug/dri/64/radeon_pm_info; done
    I see no difference at all; I tried:
    - doing nothing in KDE
    - doing nothing in XFCE
    - running glxgears
    - decoding a h264 movie using mplayer and vdpau

    and for every profile, I came to the conclusion: the max performance is 680mhz core and 500mhz memory, and minimal is 220 mhz core and 250 mhz memory
    test was done on AC power

    dpm output:
    Code:
    [    2.667173] == power state 0 ==
    [    2.667175]  ui class: none
    [    2.667178]  internal class: boot 
    [    2.667180]  caps: video 
    [    2.667182]  uvd    vclk: 0 dclk: 0
    [    2.667185]          power level 0    sclk: 68000 mclk: 50000 vddc: 1200
    [    2.667186]          power level 1    sclk: 68000 mclk: 50000 vddc: 1200
    [    2.667188]          power level 2    sclk: 68000 mclk: 50000 vddc: 1200
    [    2.667189]  status: c r b 
    [    2.667191] == power state 1 ==
    [    2.667192]  ui class: performance
    [    2.667194]  internal class: none
    [    2.667195]  caps: single_disp video 
    [    2.667198]  uvd    vclk: 0 dclk: 0
    [    2.667199]          power level 0    sclk: 22000 mclk: 25000 vddc: 950
    [    2.667201]          power level 1    sclk: 30000 mclk: 50000 vddc: 950
    [    2.667202]          power level 2    sclk: 68000 mclk: 50000 vddc: 1200
    [    2.667203]  status: 
    [    2.667205] == power state 2 ==
    [    2.667206]  ui class: battery
    [    2.667207]  internal class: none
    [    2.667208]  caps: single_disp video 
    [    2.667210]  uvd    vclk: 0 dclk: 0
    [    2.667212]          power level 0    sclk: 22000 mclk: 25000 vddc: 950
    [    2.667214]          power level 1    sclk: 22000 mclk: 25000 vddc: 950
    [    2.667215]          power level 2    sclk: 30000 mclk: 25000 vddc: 950
    [    2.667216]  status: 
    [    2.667218] == power state 3 ==
    [    2.667219]  ui class: none
    [    2.667220]  internal class: uvd 
    [    2.667222]  caps: video 
    [    2.667224]  uvd    vclk: 54000 dclk: 40000
    [    2.667225]          power level 0    sclk: 60000 mclk: 50000 vddc: 1200
    [    2.667227]          power level 1    sclk: 60000 mclk: 50000 vddc: 1200
    [    2.667228]          power level 2    sclk: 60000 mclk: 50000 vddc: 1200
    [    2.667230]  status: 
    [    2.667231] == power state 4 ==
    [    2.667232]  ui class: performance
    [    2.667233]  internal class: none
    [    2.667235]  caps: video 
    [    2.667237]  uvd    vclk: 0 dclk: 0
    [    2.667238]          power level 0    sclk: 30000 mclk: 50000 vddc: 1200
    [    2.667240]          power level 1    sclk: 68000 mclk: 50000 vddc: 1200
    [    2.667241]          power level 2    sclk: 68000 mclk: 50000 vddc: 1200
    [    2.667242]  status: 
    [    2.667244] == power state 5 ==
    [    2.667245]  ui class: battery
    [    2.667246]  internal class: none
    [    2.667248]  caps: video 
    [    2.667249]  uvd    vclk: 0 dclk: 0
    [    2.667251]          power level 0    sclk: 30000 mclk: 40000 vddc: 950
    [    2.667253]          power level 1    sclk: 30000 mclk: 40000 vddc: 950
    [    2.667254]          power level 2    sclk: 30000 mclk: 40000 vddc: 950
    [    2.667255]  status: 
    [    2.667257] == power state 6 ==
    [    2.667258]  ui class: none
    [    2.667259]  internal class: uvd_hd 
    [    2.667261]  caps: video 
    [    2.667262]  uvd    vclk: 40000 dclk: 30000
    [    2.667264]          power level 0    sclk: 45000 mclk: 40000 vddc: 1200
    [    2.667266]          power level 1    sclk: 45000 mclk: 40000 vddc: 1200
    [    2.667267]          power level 2    sclk: 45000 mclk: 40000 vddc: 1200
    [    2.667268]  status: 
    [    2.667270] == power state 7 ==
    [    2.667271]  ui class: none
    [    2.667272]  internal class: uvd_sd 
    [    2.667273]  caps: video 
    [    2.667275]  uvd    vclk: 10000 dclk: 10000
    [    2.667277]          power level 0    sclk: 30000 mclk: 40000 vddc: 950
    [    2.667278]          power level 1    sclk: 30000 mclk: 40000 vddc: 950
    [    2.667280]          power level 2    sclk: 30000 mclk: 40000 vddc: 950
    [    2.667281]  status:
    any ideas why there's no difference?

  5. #85
    Join Date
    Jan 2014
    Posts
    5

    Wink effective power management with DPM?

    I have a question concerning this DPM thing:
    I think I managed to set everything up correctly on my 3.12.6 kernel (at least, so it seems).
    I have a RV710 in my laptop (mobile radeon 4570)
    DPM talks about 7 different profiles..
    but when I switch from battery - balanced - performance using this command:
    Code:
    echo (profile) > /sys/class/drm/card0/device/power_dpm_state
    and monitor the frequency information with this tool:
    Code:
    while(true) do sleep 5; cat /sys/kernel/debug/dri/64/radeon_pm_info; done
    I see no difference at all; I tried:
    - doing nothing in KDE
    - doing nothing in XFCE
    - running glxgears
    - decoding a h264 movie using mplayer and vdpau

    and for every profile, I came to the conclusion: the max performance is 680mhz core and 500mhz memory, and minimal is 220 mhz core and 250 mhz memory
    test was done on AC power

    dpm output:
    Code:
    [    2.667173] == power state 0 ==
    [    2.667175]  ui class: none
    [    2.667178]  internal class: boot 
    [    2.667180]  caps: video 
    [    2.667182]  uvd    vclk: 0 dclk: 0
    [    2.667185]          power level 0    sclk: 68000 mclk: 50000 vddc: 1200
    [    2.667186]          power level 1    sclk: 68000 mclk: 50000 vddc: 1200
    [    2.667188]          power level 2    sclk: 68000 mclk: 50000 vddc: 1200
    [    2.667189]  status: c r b 
    [    2.667191] == power state 1 ==
    [    2.667192]  ui class: performance
    [    2.667194]  internal class: none
    [    2.667195]  caps: single_disp video 
    [    2.667198]  uvd    vclk: 0 dclk: 0
    [    2.667199]          power level 0    sclk: 22000 mclk: 25000 vddc: 950
    [    2.667201]          power level 1    sclk: 30000 mclk: 50000 vddc: 950
    [    2.667202]          power level 2    sclk: 68000 mclk: 50000 vddc: 1200
    [    2.667203]  status: 
    [    2.667205] == power state 2 ==
    [    2.667206]  ui class: battery
    [    2.667207]  internal class: none
    [    2.667208]  caps: single_disp video 
    [    2.667210]  uvd    vclk: 0 dclk: 0
    [    2.667212]          power level 0    sclk: 22000 mclk: 25000 vddc: 950
    [    2.667214]          power level 1    sclk: 22000 mclk: 25000 vddc: 950
    [    2.667215]          power level 2    sclk: 30000 mclk: 25000 vddc: 950
    [    2.667216]  status: 
    [    2.667218] == power state 3 ==
    [    2.667219]  ui class: none
    [    2.667220]  internal class: uvd 
    [    2.667222]  caps: video 
    [    2.667224]  uvd    vclk: 54000 dclk: 40000
    [    2.667225]          power level 0    sclk: 60000 mclk: 50000 vddc: 1200
    [    2.667227]          power level 1    sclk: 60000 mclk: 50000 vddc: 1200
    [    2.667228]          power level 2    sclk: 60000 mclk: 50000 vddc: 1200
    [    2.667230]  status: 
    [    2.667231] == power state 4 ==
    [    2.667232]  ui class: performance
    [    2.667233]  internal class: none
    [    2.667235]  caps: video 
    [    2.667237]  uvd    vclk: 0 dclk: 0
    [    2.667238]          power level 0    sclk: 30000 mclk: 50000 vddc: 1200
    [    2.667240]          power level 1    sclk: 68000 mclk: 50000 vddc: 1200
    [    2.667241]          power level 2    sclk: 68000 mclk: 50000 vddc: 1200
    [    2.667242]  status: 
    [    2.667244] == power state 5 ==
    [    2.667245]  ui class: battery
    [    2.667246]  internal class: none
    [    2.667248]  caps: video 
    [    2.667249]  uvd    vclk: 0 dclk: 0
    [    2.667251]          power level 0    sclk: 30000 mclk: 40000 vddc: 950
    [    2.667253]          power level 1    sclk: 30000 mclk: 40000 vddc: 950
    [    2.667254]          power level 2    sclk: 30000 mclk: 40000 vddc: 950
    [    2.667255]  status: 
    [    2.667257] == power state 6 ==
    [    2.667258]  ui class: none
    [    2.667259]  internal class: uvd_hd 
    [    2.667261]  caps: video 
    [    2.667262]  uvd    vclk: 40000 dclk: 30000
    [    2.667264]          power level 0    sclk: 45000 mclk: 40000 vddc: 1200
    [    2.667266]          power level 1    sclk: 45000 mclk: 40000 vddc: 1200
    [    2.667267]          power level 2    sclk: 45000 mclk: 40000 vddc: 1200
    [    2.667268]  status: 
    [    2.667270] == power state 7 ==
    [    2.667271]  ui class: none
    [    2.667272]  internal class: uvd_sd 
    [    2.667273]  caps: video 
    [    2.667275]  uvd    vclk: 10000 dclk: 10000
    [    2.667277]          power level 0    sclk: 30000 mclk: 40000 vddc: 950
    [    2.667278]          power level 1    sclk: 30000 mclk: 40000 vddc: 950
    [    2.667280]          power level 2    sclk: 30000 mclk: 40000 vddc: 950
    [    2.667281]  status:
    any ideas why there's no difference?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •