Announcement

Collapse
No announcement yet.

For fglrx using people having idle overheating problems and eco friendly people...

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • For fglrx using people having idle overheating problems and eco friendly people...

    While reading radeonhd dev mailing list I stumbled upon a link to a modified version of radeontool that enables setting power saving registers on new radeon adapters. I've tested it with my Radeon 1950Pro, and sure enough, the card is much cooler when idle (about the same as in Windows).

    This version changes a couple of settings in the CLKIND power saving registers of which I believe that the "Auto disable unused pipes' clk" (DYN_SCLK_PWMEN_PIPE in ATI documentation) bit is the most important . When running "./radeontool power low" my glx performance falls from about 12000 FPS to 7000FPS. I've changed the modified radeontool to only enable the 'Auto disable unused pipes clk" power saving bit, and the performance of glxgears came back to 12k FPS level, while retaining a cool device.

    So I've put the radeontool binary in my /usr/local/sbin, did a chown root:root radeontool, and chmod +s radeontool, and made gnome to issue "radeontool power low" command when staring up to workaround the bug in the current fglrx driver.

    Radeon tool commands:
    radeontool power status - show the current status of the power saving registers
    radeontool power low - enable power saving


    I still don't know how to read the temperature sensor data from the card and if anybody knows the relevant registers or other way to access this info, please tell. I used Windows freshly booted after linux and my own fingers to see the temperature differences.

    Temperature without using radeontool: 50 C
    Temperature after using radeontool: 40-41 C

    Link to the radeon hd mailing list:
    http://lists.opensuse.org/radeonhd

    Link to the discussion:
    http://lists.opensuse.org/radeonhd/2.../msg00069.html

    Direct link to the original modified radeon tool:
    http://www.g2inf.one.pl/~anszom/MBP-ATI/

    My modified version that only turns on disabling of the unused pipes is here EDIT updated version:
    http://nskunca.pbf.hr/~vedran/ati/ra...-qq-vr2.tar.gz

    Older version:
    http://nskunca.pbf.hr/~vedran/ati/radontool.tar.gz

    Relevant documentation from ATI:
    http://www.x.org/docs/AMD/RRG-216M56-03oOEM.pdf
    Last edited by vrodic; 02-21-2008, 08:32 PM.

  • tball
    replied
    Nevermind. :-)

    Leave a comment:


  • piete
    replied
    Hi! Any progress on this? I just got myself a used HP NC8430 notebook with Mobility X1600 (my first laptop with a "proper" GPU) and it is heating a bit outside windows or linux's fglrx (=text console mode, installations, live environments etc.)

    I tried both radeontool (with modifications, I even added some of my own with the help of ATI's pdf document) and rovclock, but I haven't reached CCC/fglrx power state 1 temperatures. I don't know much about programming (just enough to modify somebody other's code) but I was thinking that if you could dump all the registers in two (or more) different power states and compare the changes, wouldn't you be able to "reverse engineer" the same for these tools? I think there is more than just changing some registers, with Glisse's atomtools I could set the core/mem clocks to the power state 1 equivalent frequencies, but the cooling was not sufficient so there must be more to it.

    Leave a comment:


  • vrodic
    replied
    Originally posted by larry View Post
    I'm not sure yet, but I will find out. I put Windows on this laptop again but I'm having trouble getting a temperature reading at all. What's the most reliable way to get a GPU temperature reading under Windows?

    .
    ATI control center or whatever's the name of the application. There is temperature monitoring somewhere, at least for my X1950Pro.

    Leave a comment:


  • vrodic
    replied
    Originally posted by benwick View Post

    Anybody have a good way to measure power consumption (aside from just running X, unplugging the computer and seeing how long it lasts before auto-shutdown?)
    There is a handy device, I think it is called kill-a-watt in US, and there are different versions for European and other markets..

    Leave a comment:


  • benwick
    replied
    Originally posted by larry View Post
    Is there any FPS difference after using radeontool power low?
    I'll be damned. It actually did do something... I lost 500fps. To wit:

    fozzie ~ # glxgears
    16998 frames in 5.0 seconds = 3399.512 FPS
    17024 frames in 5.0 seconds = 3404.605 FPS
    17029 frames in 5.0 seconds = 3405.675 FPS
    17019 frames in 5.0 seconds = 3403.646 FPS
    16997 frames in 5.0 seconds = 3399.334 FPS
    17020 frames in 5.0 seconds = 3403.837 FPS
    17023 frames in 5.0 seconds = 3404.507 FPS
    ^C
    fozzie ~ # radeontool power low
    fozzie ~ # glxgears
    13017 frames in 5.0 seconds = 2603.305 FPS
    14592 frames in 5.0 seconds = 2918.337 FPS
    14595 frames in 5.0 seconds = 2918.807 FPS
    14593 frames in 5.0 seconds = 2918.411 FPS
    14596 frames in 5.0 seconds = 2919.118 FPS
    14594 frames in 5.0 seconds = 2918.684 FPS

    Anybody have a good way to measure power consumption (aside from just running X, unplugging the computer and seeing how long it lasts before auto-shutdown?)

    Leave a comment:


  • larry
    replied
    Originally posted by benwick View Post
    Ok, now I can get 3300 fps on glxgears for whatever good that does...
    Is there any FPS difference after using radeontool power low?

    Leave a comment:


  • benwick
    replied
    I'll be damned, I forgot all about amdcccle (I'd set the "refresh" option to fix the flicker, and it didn't do it, but I figured it eventually would.) Ok, now I can get 3300 fps on glxgears for whatever good that does...

    ...Since I really only care about video I'm still screwed. Thanks for the tip though! I feel like we're on the verge of a breakthrough.

    (Off the record I also felt that way in January... December... November...)

    Leave a comment:


  • larry
    replied
    Originally posted by vrodic
    What's the rough idle temperature difference between Windows and Linux, if radeontool power low is not run?
    I'm not sure yet, but I will find out. I put Windows on this laptop again but I'm having trouble getting a temperature reading at all. What's the most reliable way to get a GPU temperature reading under Windows?

    Originally posted by vrodic
    0xE008 and 0xE00C doesn't work because that memory is not mapped in the radeontool source code.
    Ah... figured I was missing something.

    Originally posted by chefkoch View Post
    You don't by any chance have sync to vblank enabled?
    That's probably the case -- the easy way to check is to look in the AMD control center under 3D -> More settings and make sure the "vertical refresh" slider is set to "performance". I was experiencing the same behaviour until I changed this.

    Leave a comment:


  • chefkoch
    replied
    Originally posted by benwick View Post
    I wasn't kidding about that 60 FPS thing. Actually it is so consistently close to 60fps that I think it may have been throttled somehow. Why is my luck so sucky? I just double checked that libGL was the right file and it was... I'm pretty short on ideas now. I'm going to try removing openGL altogether and then reinstalling the ati drivers. But maybe it is just an x1400 thing....... oy.
    You don't by any chance have sync to vblank enabled?

    Leave a comment:

Working...
X