Help me with Intel Arc Fan control on Linux

Just got my Acer Bifrost Arc 770 16 GB card and the fan is driving me crazy (spinning up and down constantly although the card is cold). So far I was not successful in finding a way to control the fan curve under linux. Is there a way? I’m on latest arch, kernel 6.4.1.

Also I don’t notice much of a change in opencl speed compared to my old rx 580 which is strange to me.

Did you install drivers for it? darktable-cltest results?

1 Like

yeah clinfo works fine. Will try cltest.

Output:

darktable-cltest 
     0,0105 [dt_get_sysresource_level] switched to 2 as `large'
     0,0105   total mem:       64026MB
     0,0105   mipmap cache:    8003MB
     0,0105   available mem:   43767MB
     0,0105   singlebuff:      4001MB
     0,0105   OpenCL tune mem: WANTED
     0,0105   OpenCL pinned:   WANTED
[opencl_init] opencl related configuration options:
[opencl_init] opencl: ON
[opencl_init] opencl_scheduling_profile: 'very fast GPU'
[opencl_init] opencl_library: 'default path'
[opencl_init] opencl_device_priority: '*/!0,*/*/*/!0,*'
[opencl_init] opencl_mandatory_timeout: 400
[opencl_init] opencl library 'libOpenCL' found on your system and loaded
[opencl_init] found 2 platforms
[opencl_init] no devices found for Advanced Micro Devices, Inc. (vendor) - AMD Accelerated Parallel Processing (name)
[opencl_init] found 1 device

[dt_opencl_device_init]
   DEVICE:                   0: 'Intel(R) Arc(TM) A770 Graphics'
   PLATFORM NAME & VENDOR:   Intel(R) OpenCL Graphics, Intel(R) Corporation
   CANONICAL NAME:           intelropenclgraphicsintelrarctma770graphics
   DRIVER VERSION:           23.17.26241
   DEVICE VERSION:           OpenCL 3.0 NEO 
   DEVICE_TYPE:              GPU
   GLOBAL MEM SIZE:          15474 MB
   MAX MEM ALLOC:            4096 MB
   MAX IMAGE SIZE:           16384 x 16384
   MAX WORK GROUP SIZE:      1024
   MAX WORK ITEM DIMENSIONS: 3
   MAX WORK ITEM SIZES:      [ 1024 1024 1024 ]
   ASYNC PIXELPIPE:          NO
   PINNED MEMORY TRANSFER:   WANTED
   MEMORY TUNING:            WANTED
   FORCED HEADROOM:          400
   AVOID ATOMICS:            NO
   MICRO NAP:                250
   ROUNDUP WIDTH:            16
   ROUNDUP HEIGHT:           16
   CHECK EVENT HANDLES:      128
   PERFORMANCE:              17.020
   TILING ADVANTAGE:         0.000
   DEFAULT DEVICE:           NO
   KERNEL BUILD DIRECTORY:   /usr/share/darktable/kernels
   KERNEL DIRECTORY:         /home/panda/.cache/darktable/cached_v1_kernels_for_IntelROpenCLGraphicsIntelRArcTMA770Graphics_231726241
   CL COMPILER OPTION:       
   KERNEL LOADING TIME:       0.0160 sec
[opencl_init] OpenCL successfully initialized. Internal numbers and names of available devices:
[opencl_init]		0	'Intel(R) OpenCL Graphics Intel(R) Arc(TM) A770 Graphics'
[opencl_init] FINALLY: opencl is AVAILABLE and ENABLED.
[dt_opencl_update_priorities] these are your device priorities:
[dt_opencl_update_priorities] 		image	preview	export	thumbs	preview2
[dt_opencl_update_priorities]		0	0	0	0	0
[dt_opencl_update_priorities] show if opencl use is mandatory for a given pixelpipe:
[dt_opencl_update_priorities] 		image	preview	export	thumbs	preview2
[dt_opencl_update_priorities]		1	1	1	1	1
[opencl_synchronization_timeout] synchronization timeout set to 0
[dt_opencl_update_priorities] these are your device priorities:
[dt_opencl_update_priorities] 		image	preview	export	thumbs	preview2
[dt_opencl_update_priorities]		0	0	0	0	0
[dt_opencl_update_priorities] show if opencl use is mandatory for a given pixelpipe:
[dt_opencl_update_priorities] 		image	preview	export	thumbs	preview2
[dt_opencl_update_priorities]		1	1	1	1	1
[opencl_synchronization_timeout] synchronization timeout set to 0

Reported memory seems strange to me. This is my RAM and not the cards DRAM?

ok tuner found it now:

3,4989 [dt_opencl_check_tuning] use 15073MB (tunemem=ON, pinning=OFF) on device `Intel(R) OpenCL Graphics Intel(R) Arc(TM) A770 Graphics' id=0

Try turning off the running and transfer. I don’t think it helps you.

Now use darktable -d perf to see how long it takes to process an image. To see if all the modules are using GPU path.

1 Like

lsgpu -p | grep lmem_ will report memory usage

Is ReBAR working?

1 Like

Yes it is. But this card is going back. The fans are driving me nuts

Might be fixable with a firmware update? Not sure if the windows driver update includes one. I have the limited edition and no fan noise issues at all

1 Like

Yeah the bifrost has bad idle noise performance and I don’t have Windows to set fan curves or anything. Might totally be a Linux issue.

Apparently there is fwupd support?

1 Like

Using the latest fwupd via flatpak shows 4 devices for the Arc 770. Firmware update should be possible from Linux.

Are you sure it’s the GPU fan and not something else? I upgraded my video card recently and had the fan spinning up and down - turns out it wasn’t the GPU fan but the one in my power supply (which was oversized for my old GPU.)

Yes, it was definitely the card