Skip to content
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

crashing on startup with AMD 2990 WX + 2080ti #12

Closed
masterkni6 opened this issue Jan 1, 2021 · 2 comments
Closed

crashing on startup with AMD 2990 WX + 2080ti #12

masterkni6 opened this issue Jan 1, 2021 · 2 comments

Comments

@masterkni6
Copy link

right after loading the ceres.json it crashes with this message

96.625<--1:Ceres user settings loaded from file Ceres.json
96.641<--1:Unhandled exception. System.ComponentModel.Win32Exception (87): The parameter is incorrect.
96.641<--1: at System.Diagnostics.Process.set_ProcessorAffinityCore(IntPtr value)
96.641<--1: at System.Diagnostics.Process.set_ProcessorAffinity(IntPtr value)
96.641<--1: at Ceres.Base.OperatingSystem.HardwareManager.AffinitizeSingleProcessor() in C:\Ceres-main\src\Ceres.Base\OperatingSystem\HardwareManager.cs:line 91
96.641<--1: at Ceres.Base.OperatingSystem.HardwareManager.Initialize(Boolean affinitizeSingleProcessor) in C:\Ceres-main\src\Ceres.Base\OperatingSystem\HardwareManager.cs:line 37
96.641<--1: at Ceres.MCTS.Environment.MCTSEngineInitialization.BaseInitialize() in C:\Ceres-main\src\Ceres.MCTS\Environment\MCTSEngineInitialization.cs:line 40
96.641<--1: at Ceres.Program.Main(String[] args) in C:\Ceres-main\src\Ceres\Program.cs:line 68

@masterkni6
Copy link
Author

masterkni6 commented Jan 1, 2021

someone suggested this may have to do with numa cores on the threadripper?

edit: was solved by disabling numa cores

@dje-dev
Copy link
Owner

dje-dev commented Jan 8, 2021

Worked around with commit 2f09a83. Possibly affinitization will fail on some AMD processors, but will not crash.

@dje-dev dje-dev closed this as completed Feb 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants