Core return BAD_FRAME_CHECKSUM 112

If you think it might be a driver problem, see viewforum.php?f=79

Moderators: Site Moderators, FAHC Science Team

Post Reply
PhilTheNet
Posts: 11
Joined: Wed Mar 11, 2020 8:29 am

Core return BAD_FRAME_CHECKSUM 112

Post by PhilTheNet »

Hello,

I have encountered an error (BAD_FRAME_CHECKSUM, 112) and the WU goes into DUMP mode when restarting the FAH client after an unexpected shutdown.

Is there a way to recover the WU to restart its calculation without DUMP?

Thks
Image
muziqaz
Posts: 2484
Joined: Sun Dec 16, 2007 6:22 pm
Hardware configuration: 9950x, 9950x3d, 7950x3d, 5950x, 5800x3d
7900xtx, RX9070, Radeon 7, 5700xt, 6900xt, RX550, Intel B580
Location: London
Contact:

Re: Core return BAD_FRAME_CHECKSUM 112

Post by muziqaz »

Not from these errors.
Also, check your GPU, it probably is unstable. Or the system RAM
FAH Omega tester
Image
PhilTheNet
Posts: 11
Joined: Wed Mar 11, 2020 8:29 am

Re: Core return BAD_FRAME_CHECKSUM 112

Post by PhilTheNet »

Ok,
Is the checksum calculated by the core or the client?
Image
muziqaz
Posts: 2484
Joined: Sun Dec 16, 2007 6:22 pm
Hardware configuration: 9950x, 9950x3d, 7950x3d, 5950x, 5800x3d
7900xtx, RX9070, Radeon 7, 5700xt, 6900xt, RX550, Intel B580
Location: London
Contact:

Re: Core return BAD_FRAME_CHECKSUM 112

Post by muziqaz »

PhilTheNet wrote: Tue Feb 17, 2026 7:04 am Ok,
Is the checksum calculated by the core or the client?
Core, I believe
FAH Omega tester
Image
PhilTheNet
Posts: 11
Joined: Wed Mar 11, 2020 8:29 am

Re: Core return BAD_FRAME_CHECKSUM 112

Post by PhilTheNet »

Too bad, I can modify the client to fix the problem, but I don't have access to the source code for the core, which is a shame.
Image
muziqaz
Posts: 2484
Joined: Sun Dec 16, 2007 6:22 pm
Hardware configuration: 9950x, 9950x3d, 7950x3d, 5950x, 5800x3d
7900xtx, RX9070, Radeon 7, 5700xt, 6900xt, RX550, Intel B580
Location: London
Contact:

Re: Core return BAD_FRAME_CHECKSUM 112

Post by muziqaz »

PhilTheNet wrote: Tue Feb 17, 2026 7:29 am Too bad, I can modify the client to fix the problem, but I don't have access to the source code for the core, which is a shame.
You cannot fix your hardware instability with core tweak :D
FAH Omega tester
Image
PhilTheNet
Posts: 11
Joined: Wed Mar 11, 2020 8:29 am

Re: Core return BAD_FRAME_CHECKSUM 112

Post by PhilTheNet »

This is not due to hardware instability but to the fact that use shuts down the machine. I would have been interested in adding this recovery feature, but if we don't have access to the core source code, it's not possible.
How to find out how the core calculates this famous chesum...
Image
muziqaz
Posts: 2484
Joined: Sun Dec 16, 2007 6:22 pm
Hardware configuration: 9950x, 9950x3d, 7950x3d, 5950x, 5800x3d
7900xtx, RX9070, Radeon 7, 5700xt, 6900xt, RX550, Intel B580
Location: London
Contact:

Re: Core return BAD_FRAME_CHECKSUM 112

Post by muziqaz »

PhilTheNet wrote: Tue Feb 17, 2026 7:42 am This is not due to hardware instability but to the fact that use shuts down the machine. I would have been interested in adding this recovery feature, but if we don't have access to the core source code, it's not possible.
How to find out how the core calculates this famous chesum...
I feel that you are trying to come up with the solution to overstep your system instability.
Look at why the checksum is failing, not how to recover from it.
There are reasons why WU is dumped after this ;)
FAH Omega tester
Image
PhilTheNet
Posts: 11
Joined: Wed Mar 11, 2020 8:29 am

Re: Core return BAD_FRAME_CHECKSUM 112

Post by PhilTheNet »

You don't understand my approach, I'll try to figure it out on my own.
Thank you for responding.
Image
FaaR
Posts: 79
Joined: Tue Aug 19, 2008 1:32 am

Re: Core return BAD_FRAME_CHECKSUM 112

Post by FaaR »

PhilTheNet wrote: Tue Feb 17, 2026 7:52 am You don't understand my approach, I'll try to figure it out on my own.
Your only recourse is to not shut down your computer while the client is running. You must shut down folding first, since the exact GPU state isn't saved when you shut down the OS, so if you have the client still running when you do that, data will be lost. There's no way to get around that, due to the way GPUs and the driver model running them currently function. There's many many megabytes of data flowing through a big GPU at any one time (AMD Vega64 has over 40MB of SRAM total on the chip in caches, registers and various buffers, and that's an old design today); it's not like CPUs where you have maybe a few dozen registers per core and a flush of the write buffers to keep track of for a state change.

So, don't shut down the computer while the client is running. You could say, "just resume from a previous checkpoint", but you have to realize that to the folding client, abruptly shutting everything down mid-folding looks just like a fault with either the hardware or the work unit itself, and since accuracy and reliability is the most important thing with folding (because actual science relies on these results; F@H is not a competition to gather the most points :D), they will take the safer choice and just throw out the work unit completely it would seem.

So don't shut down your computer while folding is running. That is the solution you are looking for! :D
prcowley
Posts: 38
Joined: Thu Jan 03, 2019 11:03 pm
Hardware configuration: Op Sys: Linux Ubuntu Studio 25.04
Kernel: 6.14.0-34-generic (64-bit)
Processor: AMD Ryzen 7 7800X3D 8-Core Processor
Mem: 32 GB
GPU: NVIDIA GeForce RTX 4080 SUPER/PCIe/SSE2
Location: Gisborne, New Zealand

Re: Core return BAD_FRAME_CHECKSUM 112

Post by prcowley »

What version of FAHClient are you using?

Most of the clients have a way to either pause or wait until the current work Unit has completed before pausing. (at Least versions 8.xx have it)
Once the client is paused or completed then you can safely shut down the computer.

Cheers
Pete Cowley, Gisborne, New Zealand. The first city to see the light of the new day. :D
Image
muziqaz
Posts: 2484
Joined: Sun Dec 16, 2007 6:22 pm
Hardware configuration: 9950x, 9950x3d, 7950x3d, 5950x, 5800x3d
7900xtx, RX9070, Radeon 7, 5700xt, 6900xt, RX550, Intel B580
Location: London
Contact:

Re: Core return BAD_FRAME_CHECKSUM 112

Post by muziqaz »

V8 saves the work progress fine on the stable systems upon restart.
If the system is not stable nothing you change with the client gonna fix the issue. It will be just a lottery and extra work for the user.
FAH Omega tester
Image
Post Reply