0 Replies Latest reply on Jul 13, 2018 1:47 AM by tuxine

    amdgpu fan1: N/A on kernel 4.17.5-gentoo

    tuxine

      Greetings to all.

       

      I am running one

      VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Baffin [Radeon RX 460/560D / Pro 450/455/460/560] (rev c1) Subsystem: Elitegroup Computer Systems Baffin [Radeon RX 460/560D / Pro 450/455/460/560]

      Kernel driver in use: amdgpu

       

      How can I get amdgpu fan1 output to work?

      (Under Windows 10, the output is correct.)


      amdgpu-pci-0b00
      Adapter: PCI adapter
      vddgfx:       +1.00 V  
      fan1:             N/A
      temp1:        +41.0°C  (crit = +94.0°C, hyst = -273.1°C)
      power1:       17.00 W  (cap =  50.00 W)

      Thanks for any hint

       

      Additional Information:

      the installed sys-apps/lm_sensors-3.4.0_p20180318:0/4.4.0::gentoo

       

      tux ~ # dmesg | grep drm
      [    0.905811] [drm] amdgpu kernel modesetting enabled.
      [    0.905906] [drm] initializing kernel modesetting (POLARIS11 0x1002:0x67EF 0x1019:0x0036 0xC1).
      [    0.905912] [drm] register mmio base: 0xFE900000
      [    0.905913] [drm] register mmio size: 262144
      [    0.905919] [drm] probing gen 2 caps for device 1022:1453 = 733903/e
      [    0.905921] [drm] probing mlw for device 1022:1453 = 733903
      [    0.905923] [drm] add ip block number 0 <vi_common>
      [    0.905924] [drm] add ip block number 1 <gmc_v8_0>
      [    0.905926] [drm] add ip block number 2 <tonga_ih>
      [    0.905927] [drm] add ip block number 3 <powerplay>
      [    0.905929] [drm] add ip block number 4 <dm>
      [    0.905930] [drm] add ip block number 5 <gfx_v8_0>
      [    0.905932] [drm] add ip block number 6 <sdma_v3_0>
      [    0.905933] [drm] add ip block number 7 <uvd_v6_0>
      [    0.905935] [drm] add ip block number 8 <vce_v3_0>
      [    0.905946] [drm] UVD is enabled in VM mode
      [    0.905947] [drm] UVD ENC is enabled in VM mode
      [    0.905950] [drm] VCE enabled in VM mode
      [    0.906227] [drm] vm size is 64 GB, 2 levels, block size is 10-bit, fragment size is 9-bit
      [    0.906243] [drm] Detected VRAM RAM=2048M, BAR=256M
      [    0.906245] [drm] RAM width 128bits GDDR5
      [    0.906301] [drm] amdgpu: 2048M of VRAM memory ready
      [    0.906304] [drm] amdgpu: 3072M of GTT memory ready.
      [    0.906306] [drm] GART: num cpu pages 65536, num gpu pages 65536
      [    0.906468] [drm] PCIE GART of 256M enabled (table at 0x000000F400040000).
      [    0.906521] [drm] Chained IB support enabled!
      [    0.907151] [drm] Found UVD firmware Version: 1.130 Family ID: 16
      [    0.907833] [drm] Found VCE firmware Version: 53.26 Binary ID: 3
      [    0.983526] [drm] DM_PPLIB: values for Engine clock
      [    0.983529] [drm] DM_PPLIB:   21400
      [    0.983530] [drm] DM_PPLIB:   54600
      [    0.983531] [drm] DM_PPLIB:   86600
      [    0.983532] [drm] DM_PPLIB:   104500
      [    0.983533] [drm] DM_PPLIB:   109700
      [    0.983534] [drm] DM_PPLIB:   113800
      [    0.983535] [drm] DM_PPLIB:   116700
      [    0.983536] [drm] DM_PPLIB:   118000
      [    0.983537] [drm] DM_PPLIB: Validation clocks:
      [    0.983539] [drm] DM_PPLIB:    engine_max_clock: 118000
      [    0.983540] [drm] DM_PPLIB:    memory_max_clock: 175000
      [    0.983541] [drm] DM_PPLIB:    level           : 0
      [    0.983543] [drm] DM_PPLIB: values for Memory clock
      [    0.983544] [drm] DM_PPLIB:   30000
      [    0.983545] [drm] DM_PPLIB:   175000
      [    0.983546] [drm] DM_PPLIB: Validation clocks:
      [    0.983548] [drm] DM_PPLIB:    engine_max_clock: 118000
      [    0.983549] [drm] DM_PPLIB:    memory_max_clock: 175000
      [    0.983550] [drm] DM_PPLIB:    level           : 0
      [    0.995597] [drm] Display Core initialized with v3.1.38!
      [    1.025967] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
      [    1.025969] [drm] Driver supports precise vblank timestamp query.
      [    1.055545] [drm] UVD and UVD ENC initialized successfully.
      [    1.156477] [drm] VCE initialized successfully.
      [    1.693258] [drm] fb mappable at 0xE056A000
      [    1.693261] [drm] vram apper at 0xE0000000
      [    1.693263] [drm] size 33177600
      [    1.693264] [drm] fb depth is 24
      [    1.693266] [drm]    pitch is 15360
      [    1.693310] fbcon: amdgpudrmfb (fb0) is primary device
      [    1.748456] amdgpu 0000:0b:00.0: fb0: amdgpudrmfb frame buffer device
      [    1.749357] [drm] Initialized amdgpu 3.25.0 20150101 for 0000:0b:00.0 on minor 0
      #

      tux ~ # cat /usr/src/linux/.config | grep AMD


      CONFIG_X86_AMD_PLATFORM_DEVICE=y
      CONFIG_CPU_SUP_AMD=y
      CONFIG_X86_MCE_AMD=y
      # CONFIG_PERF_EVENTS_AMD_POWER is not set
      CONFIG_MICROCODE_AMD=y
      # CONFIG_AMD_MEM_ENCRYPT is not set
      CONFIG_X86_AMD_FREQ_SENSITIVITY=y
      CONFIG_AMD_NB=y
      # CONFIG_PATA_AMD is not set
      # CONFIG_NET_VENDOR_AMD is not set
      # CONFIG_HW_RANDOM_AMD is not set
      # CONFIG_I2C_AMD756 is not set
      # CONFIG_I2C_AMD8111 is not set
      # CONFIG_PINCTRL_AMD is not set
      CONFIG_DRM_AMDGPU=y
      # CONFIG_DRM_AMDGPU_SI is not set
      # CONFIG_DRM_AMDGPU_CIK is not set
      CONFIG_DRM_AMDGPU_USERPTR=y
      CONFIG_DRM_AMD_ACP=y
      CONFIG_DRM_AMD_DC=y
      CONFIG_DRM_AMD_DC_PRE_VEGA=y
      CONFIG_DRM_AMD_DC_FBC=y
      CONFIG_DRM_AMD_DC_DCN1_0=y
      # AMD Library routines
      CONFIG_HSA_AMD=y
      CONFIG_AMD_IOMMU=y
      CONFIG_AMD_IOMMU_V2=y
      CONFIG_KVM_AMD=y
      tux ~ #