New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid config option --kernel #6

Closed
Stassy opened this Issue Jan 30, 2014 · 2 comments

Comments

Projects
None yet
2 participants
@Stassy

Stassy commented Jan 30, 2014

After using one of these API options switchpool:addpool:removepool:save (unable to determine which one, I'm just a user), one line is added in cgminer.conf that prevents cgminer to restart reading the full conf file:
"kernel" : "scrypt,scrypt,scrypt,scrypt,scrypt"

When cgminer restarts, this error is shown:
Error in configuration file, partially loaded.

Using "cgminer -T" indicates:
Invalid config option --kernel: Cannot specify a kernel with scrypt

And when the faulty line is removed, everything is working.
But a new command with API, add again this line.

EDIT: Tested on Windows

Kalroth added a commit that referenced this issue Jan 30, 2014

Save config code updated.
Saving configuration now supports xintensity, rawintensity, cl-filename, gpu engine and memclock exit/disabled values, through both ncurses interface and API. Shaders setting is also being ignored if it is set to zero - first device setting tested only.

Additionally save config function does not save the kernel setting is disabled if scrypt is set to true. This prevents the following issue: #6
@Kalroth

This comment has been minimized.

Show comment
Hide comment
@Kalroth

Kalroth Jan 30, 2014

Owner

Thanks for the issue report. I've gone through the save config code and I believe I've squashed your issue - and a few others as well :)

I've updated my Windows binary and you can see above commit reference for code details.

Owner

Kalroth commented Jan 30, 2014

Thanks for the issue report. I've gone through the save config code and I believe I've squashed your issue - and a few others as well :)

I've updated my Windows binary and you can see above commit reference for code details.

@Stassy

This comment has been minimized.

Show comment
Hide comment
@Stassy

Stassy Jan 31, 2014

Thanks, working now.

Stassy commented Jan 31, 2014

Thanks, working now.

@Stassy Stassy closed this Jan 31, 2014

Elbandi added a commit to Elbandi/cgminer that referenced this issue Feb 5, 2014

Save config code updated.
Saving configuration now supports xintensity, rawintensity, cl-filename, gpu engine and memclock exit/disabled values, through both ncurses interface and API. Shaders setting is also being ignored if it is set to zero - first device setting tested only.

Additionally save config function does not save the kernel setting is disabled if scrypt is set to true. This prevents the following issue: Kalroth/cgminer-3.7.2-kalroth#6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment