Announcement

Collapse
No announcement yet.

automatic fan speed by temperature with radeon

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

  • automatic fan speed by temperature with radeon

    I have read, that it's not possible to change fan speed with OSS Radeon driver (well, ok). However is it possible to adjust fan speed by current temperature? This works with fglrx (but has other issues) and with Catalyst in Windows, the card is nicely quiet. With OSS driver fan revolves with the full speed. The model is Gigabyte Radeon 7790, distro Debian unstable, the kernel vanilla 3.12.1 with default config. Power profile is DPM, 3D acceleration via CPU (llvmpipe). Does DRI driver controls power management? DRM module isn't enough?

    temperature:
    Code:
    radeon-pci-0100
    Adapter: PCI adapter
    temp1:        +37.0?C  (crit =  +0.0?C, hyst =  +0.0?C)
    I think power level is still at maximum:
    Code:
    root@witch:/sys/kernel/debug/dri/0# cat radeon_pm_info
    power level avg    sclk: 107500 mclk: 15000
    Code:
    root@witch:/sys/class/drm/card0/device# cat power_dpm_state 
    balanced
    root@witch:/sys/class/drm/card0/device# cat power_method 
    dpm
    root@witch:/sys/class/drm/card0/device# cat power_profile 
    default
    In dmesg driver claims to found internal thermal controller with fan control:
    Code:
    [    5.966861] [drm] radeon kernel modesetting enabled.
    [    5.966887] checking generic (e0000000 7f0000) vs hw (e0000000 10000000)
    [    5.966888] fb: conflicting fb hw usage radeondrmfb vs VESA VGA - removing generic driver
    [    5.966906] Console: switching to colour dummy device 80x25
    [    5.967141] [drm] initializing kernel modesetting (BONAIRE 0x1002:0x665C 0x1458:0x226A).
    [    5.967171] [drm] register mmio base: 0xF7E00000
    [    5.967172] [drm] register mmio size: 262144
    [    5.967470] [drm] doorbell mmio base: 0xF0000000
    [    5.967470] [drm] doorbell mmio size: 4194304
    [    5.967504] radeon 0000:01:00.0: Invalid ROM contents
    [    5.967537] ATOM BIOS: GV
    [    5.967588] radeon 0000:01:00.0: VRAM: 2048M 0x0000000000000000 - 0x000000007FFFFFFF (2048M used)
    [    5.967589] radeon 0000:01:00.0: GTT: 1024M 0x0000000080000000 - 0x00000000BFFFFFFF
    [    5.967590] [drm] Detected VRAM RAM=2048M, BAR=256M
    [    5.967591] [drm] RAM width 128bits DDR
    [    5.967623] [TTM] Zone  kernel: Available graphics memory: 4064098 kiB
    [    5.967624] [TTM] Zone   dma32: Available graphics memory: 2097152 kiB
    [    5.967625] [TTM] Initializing pool allocator
    [    5.967628] [TTM] Initializing DMA pool allocator
    [    5.967639] [drm] radeon: 2048M of VRAM memory ready
    [    5.967640] [drm] radeon: 1024M of GTT memory ready.
    [    6.046480] input: ROCCAT ROCCAT Kone[+] as /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.5/3-1.5:1.0/input/input20
    [    6.046703] koneplus 0003:1E7D:2D51.0001: input,hiddev0,hidraw3: USB HID v1.00 Mouse [ROCCAT ROCCAT Kone[+]] on usb-0000:00:1a.0-1.5/input0
    [    6.047163] input: ROCCAT ROCCAT Kone[+] as /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.5/3-1.5:1.1/input/input21
    [    6.047318] koneplus 0003:1E7D:2D51.0002: input,hidraw4: USB HID v1.11 Keyboard [ROCCAT ROCCAT Kone[+]] on usb-0000:00:1a.0-1.5/input1
    [    6.137402] input: Microsoft X-Box 360 pad as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/input/input22
    [    6.137480] usbcore: registered new interface driver xpad
    [    6.213238] [drm] GART: num cpu pages 262144, num gpu pages 262144
    [    6.213921] [drm] probing gen 2 caps for device 8086:151 = 261ad02/6
    [    6.213925] [drm] PCIE gen 2 link speeds already enabled
    [    6.219364] [drm] Loading BONAIRE Microcode
    [    6.308970] [drm] PCIE GART of 1024M enabled (table at 0x0000000000277000).
    [    6.309086] radeon 0000:01:00.0: WB enabled
    [    6.309097] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000080000c00 and cpu addr 0xffff8800366aec00
    [    6.309099] radeon 0000:01:00.0: fence driver on ring 1 use gpu addr 0x0000000080000c04 and cpu addr 0xffff8800366aec04
    [    6.309100] radeon 0000:01:00.0: fence driver on ring 2 use gpu addr 0x0000000080000c08 and cpu addr 0xffff8800366aec08
    [    6.309102] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000080000c0c and cpu addr 0xffff8800366aec0c
    [    6.309103] radeon 0000:01:00.0: fence driver on ring 4 use gpu addr 0x0000000080000c10 and cpu addr 0xffff8800366aec10
    [    6.309502] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x0000000000076c98 and cpu addr 0xffffc90004fb6c98
    [    6.309504] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
    [    6.309504] [drm] Driver supports precise vblank timestamp query.
    [    6.309522] radeon 0000:01:00.0: irq 47 for MSI/MSI-X
    [    6.309534] radeon 0000:01:00.0: radeon: using MSI.
    [    6.309557] [drm] radeon: irq initialized.
    [    6.312051] [drm] ring test on 0 succeeded in 3 usecs
    [    6.312120] [drm] ring test on 1 succeeded in 3 usecs
    [    6.312134] [drm] ring test on 2 succeeded in 3 usecs
    [    6.312295] [drm] ring test on 3 succeeded in 2 usecs
    [    6.312304] [drm] ring test on 4 succeeded in 2 usecs
    [    6.367893] [drm] ring test on 5 succeeded in 2 usecs
    [    6.387746] [drm] UVD initialized successfully.
    [    6.389063] [drm] Enabling audio 0 support
    [    6.389064] [drm] Enabling audio 1 support
    [    6.389065] [drm] Enabling audio 2 support
    [    6.389066] [drm] Enabling audio 3 support
    [    6.389067] [drm] Enabling audio 4 support
    [    6.389068] [drm] Enabling audio 5 support
    [    6.389069] [drm] Enabling audio 6 support
    [    6.389214] [drm] ib test on ring 0 succeeded in 0 usecs
    [    6.389358] [drm] ib test on ring 1 succeeded in 0 usecs
    [    6.389500] [drm] ib test on ring 2 succeeded in 0 usecs
    [    6.389644] [drm] ib test on ring 3 succeeded in 0 usecs
    [    6.389783] [drm] ib test on ring 4 succeeded in 0 usecs
    [    6.410464] [drm] ib test on ring 5 succeeded
    [    6.430682] [drm] Radeon Display Connectors
    [    6.430683] [drm] Connector 0:
    [    6.430684] [drm]   DP-1
    [    6.430685] [drm]   HPD2
    [    6.430686] [drm]   DDC: 0x6530 0x6530 0x6534 0x6534 0x6538 0x6538 0x653c 0x653c
    [    6.430686] [drm]   Encoders:
    [    6.430687] [drm]     DFP1: INTERNAL_UNIPHY2
    [    6.430687] [drm] Connector 1:
    [    6.430688] [drm]   HDMI-A-1
    [    6.430689] [drm]   HPD3
    [    6.430690] [drm]   DDC: 0x6550 0x6550 0x6554 0x6554 0x6558 0x6558 0x655c 0x655c
    [    6.430690] [drm]   Encoders:
    [    6.430691] [drm]     DFP2: INTERNAL_UNIPHY2
    [    6.430691] [drm] Connector 2:
    [    6.430692] [drm]   DVI-D-1
    [    6.430692] [drm]   HPD1
    [    6.430693] [drm]   DDC: 0x6560 0x6560 0x6564 0x6564 0x6568 0x6568 0x656c 0x656c
    [    6.430694] [drm]   Encoders:
    [    6.430694] [drm]     DFP3: INTERNAL_UNIPHY1
    [    6.430695] [drm] Connector 3:
    [    6.430695] [drm]   DVI-I-1
    [    6.430696] [drm]   HPD6
    [    6.430697] [drm]   DDC: 0x6580 0x6580 0x6584 0x6584 0x6588 0x6588 0x658c 0x658c
    [    6.430697] [drm]   Encoders:
    [    6.430698] [drm]     DFP4: INTERNAL_UNIPHY
    [    6.430699] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
    [    6.430793] [drm] Internal thermal controller with fan control <<<<<<<<<<<<<<<<<--------------------- HERE
    [    6.430810] [drm] probing gen 2 caps for device 8086:151 = 261ad02/6
    [    6.430823] == power state 0 ==
    [    6.430823]  ui class: none
    [    6.430824]  internal class: boot 
    [    6.430825]  caps: 
    [    6.430826]  uvd    vclk: 0 dclk: 0
    [    6.430827]          power level 0    sclk: 30000 mclk: 15000 pcie gen: 2 pcie lanes: 16
    [    6.430828]  status: c r b 
    [    6.430829] == power state 1 ==
    [    6.430829]  ui class: performance
    [    6.430830]  internal class: none
    [    6.430831]  caps: 
    [    6.430831]  uvd    vclk: 0 dclk: 0
    [    6.430832]          power level 0    sclk: 30000 mclk: 15000 pcie gen: 2 pcie lanes: 16
    [    6.430833]          power level 1    sclk: 107500 mclk: 150000 pcie gen: 2 pcie lanes: 16
    [    6.430833]  status: 
    [    6.438471] switching from power state:
    [    6.438472]  ui class: none
    [    6.438472]  internal class: boot 
    [    6.438473]  caps: 
    [    6.438474]  uvd    vclk: 0 dclk: 0
    [    6.438475]          power level 0    sclk: 30000 mclk: 15000 pcie gen: 2 pcie lanes: 16
    [    6.438475]  status: c b 
    [    6.438476] switching to power state:
    [    6.438477]  ui class: performance
    [    6.438477]  internal class: none
    [    6.438478]  caps: 
    [    6.438479]  uvd    vclk: 0 dclk: 0
    [    6.438479]          power level 0    sclk: 30000 mclk: 15000 pcie gen: 2 pcie lanes: 16
    [    6.438480]          power level 1    sclk: 107500 mclk: 150000 pcie gen: 2 pcie lanes: 16
    [    6.438481]  status: r 
    [    6.445427] [drm] radeon: dpm initialized
    [    6.489202] [drm] fb mappable at 0xE1488000
    [    6.489204] [drm] vram apper at 0xE0000000
    [    6.489205] [drm] size 8294400
    [    6.489205] [drm] fb depth is 24
    [    6.489206] [drm]    pitch is 7680
    [    6.489294] fbcon: radeondrmfb (fb0) is primary device
    [    6.489400] switching from power state:
    [    6.489401]  ui class: performance
    [    6.489401]  internal class: none
    [    6.489402]  caps: 
    [    6.489402]  uvd    vclk: 0 dclk: 0
    [    6.489403]          power level 0    sclk: 30000 mclk: 15000 pcie gen: 2 pcie lanes: 16
    [    6.489404]          power level 1    sclk: 107500 mclk: 150000 pcie gen: 2 pcie lanes: 16
    [    6.489405]  status: c r 
    [    6.489405] switching to power state:
    [    6.489405]  ui class: performance
    [    6.489406]  internal class: none
    [    6.489406]  caps: 
    [    6.489407]  uvd    vclk: 0 dclk: 0
    [    6.489407]          power level 0    sclk: 30000 mclk: 15000 pcie gen: 2 pcie lanes: 16
    [    6.489408]          power level 1    sclk: 107500 mclk: 150000 pcie gen: 2 pcie lanes: 16
    [    6.489408]  status: c r
    [    6.511149] Console: switching to colour frame buffer device 240x67
    [    6.514537] radeon 0000:01:00.0: fb0: radeondrmfb frame buffer device
    [    6.514539] radeon 0000:01:00.0: registered panic notifier
    [    6.514541] [drm] Initialized radeon 2.34.0 20080528 for 0000:01:00.0 on minor 0
    There are also some suspicous messages from dmesg about GPU lockup
    Code:
    [ 2253.020706] radeon 0000:01:00.0: GPU lockup CP stall for more than 10000msec
    [ 2253.020711] radeon 0000:01:00.0: GPU lockup (waiting for 0x0000000000022c6c last fence id 0x0000000000022c59)
    [ 2253.048033] [drm] Disabling audio 0 support
    [ 2253.048035] [drm] Disabling audio 1 support
    [ 2253.048036] [drm] Disabling audio 2 support
    [ 2253.048037] [drm] Disabling audio 3 support
    [ 2253.048038] [drm] Disabling audio 4 support
    [ 2253.048039] [drm] Disabling audio 5 support
    [ 2253.048040] [drm] Disabling audio 6 support
    [ 2253.048183] radeon 0000:01:00.0: sa_manager is not empty, clearing anyway
    [ 2253.055314] radeon 0000:01:00.0: Saved 1555 dwords of commands on ring 0.
    [ 2253.055317] radeon 0000:01:00.0: Saved 121 dwords of commands on ring 2.
    [ 2253.055331] radeon 0000:01:00.0: GPU softreset: 0x00000008
    [ 2253.055333] radeon 0000:01:00.0:   GRBM_STATUS=0xA0003028
    [ 2253.055335] radeon 0000:01:00.0:   GRBM_STATUS2=0x70000008
    [ 2253.055337] radeon 0000:01:00.0:   GRBM_STATUS_SE0=0x00000006
    [ 2253.055339] radeon 0000:01:00.0:   GRBM_STATUS_SE1=0x00000006
    [ 2253.055340] radeon 0000:01:00.0:   GRBM_STATUS_SE2=0x00000006
    [ 2253.055342] radeon 0000:01:00.0:   GRBM_STATUS_SE3=0x00000006
    ........

  • #2
    i've got the same problem ...

    Originally posted by this.paradis View Post
    I have read, that it's not possible to change fan speed with OSS Radeon driver (well, ok). However is it possible to adjust fan speed by current temperature? This works with fglrx (but has other issues) and with Catalyst in Windows, the card is nicely quiet. With OSS driver fan revolves with the full speed. The model is Gigabyte Radeon 7790, distro Debian unstable, the kernel vanilla 3.12.1 with default config. Power profile is DPM, 3D acceleration via CPU (llvmpipe). Does DRI driver controls power management? DRM module isn't enough?

    temperature:
    Code:
    radeon-pci-0100
    Adapter: PCI adapter
    temp1:        +37.0?C  (crit =  +0.0?C, hyst =  +0.0?C)
    I don't know if you've solved the issue by now, but:

    When I switched today from catalyst to kernel 3.13 and radeonsi for my MSI R7850 OC PowerEdition card, the fan noise, which is always @80% of full speed, for dust removal issues, when powering on my computer, didn't stop after the login screen was loaded.
    Normally this ist stopped, as the windows-login-screen or, with fglrx, the display-manager-login-screen appears.
    In windows, the speed ist lowered to 30% of full speed and supposingly the same is applied via fglrx, which makes it nice and quiet.
    With ne newly installed OSS driver the fan-speed went on and on.

    After googeling a bit I found this bug-report, describing our problem:

    Seems this won't be fixed soon.
    So I looked for a vbios-update, which keeps the fan noise down@idle in the first place and found a vbios, which starts on powerup with the fans @40%.
    This is silent for my card ;-)
    After applying the vbios-update, everything is nice and quit.
    Perhaps Gigabyte offer something simmiliar?

    Comment


    • #3
      I knew about vbios update, but it is a bit risky. The documentation about updating vbios in Gigabyte card is scarce, but it is probably the best solution. Or installing fglrx for now and hoping it won't cause any trouble.

      Comment

      Working...
      X