#287 First UCI MultiPV line lost when MultiPV > 1

v.5.2
open
nobody
None
5
7 days ago
7 days ago
Tobias
No

Scid drops multipv 1 when using MultiPV > 1.

For MultiPV=2 the engine sends:

multipv 1 ... e2e4
multipv 2 ... d2d4

but Scid only displays d4. With MultiPV=1, e4 is displayed correctly.

Debugging analysis.tcl shows the first line is stored and then cleared:

before-clear cleared=1 multiPV={1 1.38 e4 0 0.0}
after-clear multiPV=

Changing the reset condition to:

if {$cleared && $analysis(multiPVCount$n) == 1} {
    set analysis(multiPV$n) {}
    set analysis(multiPVraw$n) {}
}

appears to fix the issue.

Reproduced with Maia3 and both the Flatpak and a native Scid build.

I've attached the small diff that I'm currently using as a workaround. It fixes the issue for Maia3; I have not verified whether this reset is required for other UCI engines.

1 Attachments

Discussion


Log in to post a comment.