macfand icon indicating copy to clipboard operation
macfand copied to clipboard

MacPro 7,1 Seg fault Core dumped

Open CaptainMorgan12 opened this issue 1 year ago • 1 comments

I edited the configuration and machine profiles (I added two aspi sensors TI0d, and TI1d that provided the highest temp reading) and build and installed the service, on running it I get:

sudo systemctl status macfand
● macfand.service - Mac Fan Control Daemon
     Loaded: loaded (/usr/lib/systemd/system/macfand.service; enabled; preset: enabled)
     Active: activating (auto-restart) (Result: core-dump) since Mon 2024-09-09 17:55:05 PDT; 960ms ago
       Docs: man:macfand(1)
    Process: 29327 ExecStart=/usr/local/bin/macfand -d (code=dumped, signal=SEGV)
   Main PID: 29327 (code=dumped, signal=SEGV)
        CPU: 2ms

There are four fans:

MacPro 7,1 conf edit:

	{
		sensor = "TI0d";
		floor = 5;
		ceiling = 120;
		value = "Highest temp Reading 1";
	},
	{
		sensor = "TI1d";
		floor = 5;
		ceiling = 120;
		value = "Highest temp Reading 2";
	},

Conf edit:

fan_ctrl = (
    {
       # fan 1
       fan_sensors = ("TI0d", "TI1d");
       floor = 45;
       ceiling = 60;
       min_speed = 800;
       max_speed = 3600;
    },
    {
       # fan 2
       fan_sensors = ("TI0d", "TI1d");
       floor = 45;
       ceiling = 60;
       min_speed = 800;
       max_speed = 3600;
    },
    {
       # fan 3
       fan_sensors = ("TI0d", "TI1d");
       floor = 45;
       ceiling = 60;
       min_speed = 800;
       max_speed = 3600;
    },
    {
       # fan 4
       fan_sensors = ("TI0d", "TI1d");
       floor = 45;
       ceiling = 60;
       min_speed = 800;
       max_speed = 3600;
    }
);

Not sure if there was anything else I needed to customize? TI0d, TI1d seem to correspond with GPU temperature on the 7,1 first GPU slot, though not sure where to find actual descriptions of these.

Ideally I would actually like to pick up the following sensors as well from, since these seem to provide higher temp readings:

enp3s0-pci-0300 #0 PHY Temperature 1 MAC Temperature pch_lewisburg-virtual-0 0 Temp

There is also the amdgpu-pci-0700 #0 vddgfx (this is the voltage) 1 AMDGpuT

though that value is below what the Flatpak Resources app reports for the GPU temp.

CaptainMorgan12 avatar Sep 10 '24 01:09 CaptainMorgan12

Hi, I believe the segfault issue has been resolved

ablakely avatar Sep 11 '25 06:09 ablakely