Post
Topic
Board Hardware
Merits 7 from 5 users
Re: My review of Avalon 841 .
by
akadamson
on 30/04/2018, 20:25:43 UTC
⭐ Merited by suchmoon (2) ,DarkStar_ (2) ,Steamtyme (1) ,HagssFIN (1) ,frodocooper (1)
With a setting of --avalon8-voltage-level +6 and it does work, I set it back to +2 after that screenshot so it will run cool, so the setting absolutly does work

[...]

WHOA, stop the presses, you are playing with the *wrong* setting.  The actual setting should be --avalon8-voltage-level-offset -1, not -avalon8-voltage-level.  The later has a range of -10 to +10, but it is NOT the undervoltage setting.  The undervolt setting has a range of -2 to +1 and as you see in the code below setting *it* to anything more than +1 does nothing.

And you *have* to put the undervolt setting in the more options line, even though it's in the UI, the setting in the UI does nothing as you have determined, it always defaults to 0.  But if you put it in the more options line, it will work.

Here is the code for the undervolt.

Code:
char *set_avalon8_voltage_level_offset(char *arg)
{
       int val, ret;

       ret = sscanf(arg, "%d", &val);
       if (ret < 1)
               return "No value passed to avalon8-voltage-level-offset";

       if (val < AVA8_DEFAULT_VOLTAGE_LEVEL_OFFSET_MIN || val > AVA8_DEFAULT_VOLTAGE_LEVEL_OFFSET_MAX)
               return "Invalid value passed to avalon8-voltage-level-offset";

       opt_avalon8_voltage_level_offset = val;

       return NULL;
}

And here are the defines

Code:
#define AVA8_DEFAULT_VOLTAGE_LEVEL_OFFSET_MIN -2
#define AVA8_DEFAULT_VOLTAGE_LEVEL_OFFSET 0
#define AVA8_DEFAULT_VOLTAGE_LEVEL_OFFSET_MAX 1

If it's set higher that +1, it just throws an error and defaults to 0.

But I'd be very careful playing with the setting you are playing with, I have no idea what it does.



Moderator's note: This post was edited by frodocooper to trim the quote from Megaquake.